2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libnfnetlink 1.0.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
='libnfnetlink'
589 PACKAGE_TARNAME
='libnfnetlink'
590 PACKAGE_VERSION
='1.0.1'
591 PACKAGE_STRING
='libnfnetlink 1.0.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>
631 ac_subst_vars
='am__EXEEXT_FALSE
686 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
751 enable_dependency_tracking
760 ac_precious_vars
='build_alias
771 # Initialize some variables set by options.
773 ac_init_version
=false
774 ac_unrecognized_opts
=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
785 program_transform_name
=s
,x
,x
,
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir
='${exec_prefix}/bin'
800 sbindir
='${exec_prefix}/sbin'
801 libexecdir
='${exec_prefix}/libexec'
802 datarootdir
='${prefix}/share'
803 datadir
='${datarootdir}'
804 sysconfdir
='${prefix}/etc'
805 sharedstatedir
='${prefix}/com'
806 localstatedir
='${prefix}/var'
807 includedir
='${prefix}/include'
808 oldincludedir
='/usr/include'
809 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir
='${datarootdir}/info'
815 libdir
='${exec_prefix}/lib'
816 localedir
='${datarootdir}/locale'
817 mandir
='${datarootdir}/man'
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\
$ac_option
831 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836 # Accept the important Cygnus configure options, so we can diagnose typos.
838 case $ac_dashdash$ac_option in
842 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
844 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
847 -build |
--build |
--buil |
--bui |
--bu)
848 ac_prev
=build_alias
;;
849 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
850 build_alias
=$ac_optarg ;;
852 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
853 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
854 ac_prev
=cache_file
;;
855 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
856 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
857 cache_file
=$ac_optarg ;;
860 cache_file
=config.cache
;;
862 -datadir |
--datadir |
--datadi |
--datad)
864 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
865 datadir
=$ac_optarg ;;
867 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
868 |
--dataroo |
--dataro |
--datar)
869 ac_prev
=datarootdir
;;
870 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
871 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
872 datarootdir
=$ac_optarg ;;
874 -disable-* |
--disable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error $?
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=no
;;
890 -docdir |
--docdir |
--docdi |
--doc |
--do)
892 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
895 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
897 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
900 -enable-* |
--enable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error $?
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=\
$ac_optarg ;;
916 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
917 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
918 |
--exec |
--exe |
--ex)
919 ac_prev
=exec_prefix
;;
920 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
921 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
922 |
--exec=* |
--exe=* |
--ex=*)
923 exec_prefix
=$ac_optarg ;;
925 -gas |
--gas |
--ga |
--g)
926 # Obsolete; use --with-gas.
929 -help |
--help |
--hel |
--he |
-h)
931 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
932 ac_init_help
=recursive
;;
933 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
934 ac_init_help
=short
;;
936 -host |
--host |
--hos |
--ho)
937 ac_prev
=host_alias
;;
938 -host=* |
--host=* |
--hos=* |
--ho=*)
939 host_alias
=$ac_optarg ;;
941 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
943 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
945 htmldir
=$ac_optarg ;;
947 -includedir |
--includedir |
--includedi |
--included |
--include \
948 |
--includ |
--inclu |
--incl |
--inc)
949 ac_prev
=includedir
;;
950 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
951 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
952 includedir
=$ac_optarg ;;
954 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
956 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
957 infodir
=$ac_optarg ;;
959 -libdir |
--libdir |
--libdi |
--libd)
961 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
964 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
965 |
--libexe |
--libex |
--libe)
966 ac_prev
=libexecdir
;;
967 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
968 |
--libexe=* |
--libex=* |
--libe=*)
969 libexecdir
=$ac_optarg ;;
971 -localedir |
--localedir |
--localedi |
--localed |
--locale)
973 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
974 localedir
=$ac_optarg ;;
976 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
977 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
978 ac_prev
=localstatedir
;;
979 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
980 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
981 localstatedir
=$ac_optarg ;;
983 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
985 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
989 # Obsolete; use --without-fp.
992 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
993 |
--no-cr |
--no-c |
-n)
996 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
997 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1000 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1001 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1002 |
--oldin |
--oldi |
--old |
--ol |
--o)
1003 ac_prev
=oldincludedir
;;
1004 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1005 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1006 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1007 oldincludedir
=$ac_optarg ;;
1009 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1011 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1012 prefix
=$ac_optarg ;;
1014 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1015 |
--program-pre |
--program-pr |
--program-p)
1016 ac_prev
=program_prefix
;;
1017 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1018 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1019 program_prefix
=$ac_optarg ;;
1021 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1022 |
--program-suf |
--program-su |
--program-s)
1023 ac_prev
=program_suffix
;;
1024 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1025 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1026 program_suffix
=$ac_optarg ;;
1028 -program-transform-name |
--program-transform-name \
1029 |
--program-transform-nam |
--program-transform-na \
1030 |
--program-transform-n |
--program-transform- \
1031 |
--program-transform |
--program-transfor \
1032 |
--program-transfo |
--program-transf \
1033 |
--program-trans |
--program-tran \
1034 |
--progr-tra |
--program-tr |
--program-t)
1035 ac_prev
=program_transform_name
;;
1036 -program-transform-name=* |
--program-transform-name=* \
1037 |
--program-transform-nam=* |
--program-transform-na=* \
1038 |
--program-transform-n=* |
--program-transform-=* \
1039 |
--program-transform=* |
--program-transfor=* \
1040 |
--program-transfo=* |
--program-transf=* \
1041 |
--program-trans=* |
--program-tran=* \
1042 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1043 program_transform_name
=$ac_optarg ;;
1045 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1047 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1048 pdfdir
=$ac_optarg ;;
1050 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1052 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1056 |
-silent |
--silent |
--silen |
--sile |
--sil)
1059 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1061 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1063 sbindir
=$ac_optarg ;;
1065 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1066 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1067 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1069 ac_prev
=sharedstatedir
;;
1070 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1071 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1072 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1074 sharedstatedir
=$ac_optarg ;;
1076 -site |
--site |
--sit)
1078 -site=* |
--site=* |
--sit=*)
1081 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1083 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1084 srcdir
=$ac_optarg ;;
1086 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1087 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1088 ac_prev
=sysconfdir
;;
1089 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1090 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1091 sysconfdir
=$ac_optarg ;;
1093 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1094 ac_prev
=target_alias
;;
1095 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1096 target_alias
=$ac_optarg ;;
1098 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1101 -version |
--version |
--versio |
--versi |
--vers |
-V)
1102 ac_init_version
=: ;;
1105 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1108 as_fn_error $?
"invalid package name: $ac_useropt"
1109 ac_useropt_orig
=$ac_useropt
1110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep
=', ';;
1118 eval with_
$ac_useropt=\
$ac_optarg ;;
1120 -without-* |
--without-*)
1121 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error $?
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=no
;;
1137 # Obsolete; use --with-x.
1140 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1141 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1142 ac_prev
=x_includes
;;
1143 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1144 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1145 x_includes
=$ac_optarg ;;
1147 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1148 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1149 ac_prev
=x_libraries
;;
1150 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1151 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1152 x_libraries
=$ac_optarg ;;
1154 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1163 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1165 eval $ac_envvar=\
$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1179 if test -n "$ac_prev"; then
1180 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error $?
"missing argument to $ac_option"
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1187 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 # Check all directory arguments for consistency.
1193 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val
=\$
$ac_var
1199 # Remove trailing slashes.
1202 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\
$ac_val;;
1205 # Be sure to have absolute directory names.
1207 [\\/$
]* | ?
:[\\/]* ) continue;;
1208 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1210 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1218 target
=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x
; then
1222 if test "x$build_alias" = x
; then
1223 cross_compiling
=maybe
1224 elif test "x$build_alias" != "x$host_alias"; then
1230 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1232 test "$silent" = yes && exec 6>/dev
/null
1235 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di
=`ls -di .` &&
1237 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1238 as_fn_error $?
"working directory cannot be determined"
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240 as_fn_error $?
"pwd does not report name of working directory"
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted
=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir
=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted
=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1279 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1281 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1293 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 for ac_var
in $ac_precious_vars; do
1296 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1298 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1303 # Report the --help message.
1305 if test "$ac_init_help" = "long"; then
1306 # Omit some internal or obsolete options to make the list less imposing.
1307 # This message is too long to be a string in the A/UX 3.1 sh.
1309 \`configure' configures libnfnetlink 1.0.1 to adapt to many kinds of systems.
1311 Usage: $0 [OPTION]... [VAR=VALUE]...
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314 VAR=VALUE. See below for descriptions of some of the useful variables.
1316 Defaults for the options are specified in brackets.
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking ...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1329 Installation directories:
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1331 [$ac_default_prefix]
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335 By default, \`make install' will install all the files in
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1340 For better control, use the options below.
1342 Fine tuning of the installation directories:
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root [DATAROOTDIR/doc/libnfnetlink]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
1367 --program-prefix=PREFIX prepend PREFIX to installed program names
1368 --program-suffix=SUFFIX append SUFFIX to installed program names
1369 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1372 --build=BUILD configure
for building on BUILD
[guessed
]
1373 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1377 if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive
) echo "Configuration of libnfnetlink 1.0.1:";;
1384 --disable-option-checking ignore unrecognized
--enable/--with options
1385 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1386 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1387 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1388 --disable-silent-rules verbose build output (undo: `make V
=0')
1389 --disable-dependency-tracking speeds up one-time build
1390 --enable-dependency-tracking do not reject slow dependency extractors
1391 --enable-static[=PKGS] build static libraries [default=no]
1392 --enable-shared[=PKGS] build shared libraries [default=yes]
1393 --enable-fast-install[=PKGS]
1394 optimize for fast installation [default=yes]
1395 --disable-libtool-lock avoid locking (might break parallel builds)
1398 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1399 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1400 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1402 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1403 --with-sysroot=DIR Search for dependent libraries within DIR
1404 (or the compiler's sysroot
if not specified
).
1406 Some influential environment variables
:
1407 CC C compiler
command
1408 CFLAGS C compiler flags
1409 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1410 nonstandard directory
<lib dir
>
1411 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1412 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1413 you have headers
in a nonstandard directory
<include dir
>
1416 Use these variables to override the choices made by
`configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1419 Report bugs to the package provider.
1424 if test "$ac_init_help" = "recursive"; then
1425 # If there are subdirs, report their specific --help.
1426 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1427 test -d "$ac_dir" ||
1428 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1436 # A ".." for each directory in $ac_dir_suffix.
1437 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1438 case $ac_top_builddir_sub in
1439 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443 ac_abs_top_builddir=$ac_pwd
1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir=$ac_top_build_prefix
1449 .) # We are building in place.
1451 ac_top_srcdir=$ac_top_builddir_sub
1452 ac_abs_top_srcdir=$ac_pwd ;;
1453 [\\/]* | ?:[\\/]* ) # Absolute name.
1454 ac_srcdir=$srcdir$ac_dir_suffix;
1455 ac_top_srcdir=$srcdir
1456 ac_abs_top_srcdir=$srcdir ;;
1458 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459 ac_top_srcdir=$ac_top_build_prefix$srcdir
1460 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464 cd "$ac_dir" || { ac_status=$?; continue; }
1465 # Check for guested configure.
1466 if test -f "$ac_srcdir/configure.gnu"; then
1468 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469 elif test -f "$ac_srcdir/configure"; then
1471 $SHELL "$ac_srcdir/configure" --help=recursive
1473 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475 cd "$ac_pwd" || { ac_status=$?; break; }
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1482 libnfnetlink configure 1.0.1
1483 generated by GNU Autoconf 2.69
1485 Copyright (C) 2012 Free Software Foundation, Inc.
1486 This configure script is free software; the Free Software Foundation
1487 gives unlimited permission to copy, distribute and modify it.
1492 ## ------------------------ ##
1493 ## Autoconf initialization. ##
1494 ## ------------------------ ##
1496 # ac_fn_c_try_compile LINENO
1497 # --------------------------
1498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_compile ()
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 rm -f conftest.$ac_objext
1503 if { { ac_try="$ac_compile"
1505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1506 *) ac_try_echo
=$ac_try;;
1508 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510 (eval "$ac_compile") 2>conftest.err
1512 if test -s conftest.err
; then
1513 grep -v '^ *+' conftest.err
>conftest.er1
1514 cat conftest.er1
>&5
1515 mv -f conftest.er1 conftest.err
1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518 test $ac_status = 0; } && {
1519 test -z "$ac_c_werror_flag" ||
1520 test ! -s conftest.err
1521 } && test -s conftest.
$ac_objext; then :
1524 $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.
$ac_ext >&5
1529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1530 as_fn_set_status
$ac_retval
1532 } # ac_fn_c_try_compile
1534 # ac_fn_c_try_link LINENO
1535 # -----------------------
1536 # Try to link conftest.$ac_ext, and return whether this succeeded.
1539 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1540 rm -f conftest.
$ac_objext conftest
$ac_exeext
1541 if { { ac_try
="$ac_link"
1543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_link") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest$ac_exeext && {
1560 test "$cross_compiling" = yes ||
1561 test -x conftest$ac_exeext
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1570 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1571 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1572 # interfere with the next link command; also delete a directory that is
1573 # left behind by Apple's compiler. We do this before executing the actions.
1574 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576 as_fn_set_status $ac_retval
1578 } # ac_fn_c_try_link
1580 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1581 # -------------------------------------------------------
1582 # Tests whether HEADER exists and can be compiled using the include files in
1583 # INCLUDES, setting the cache variable VAR accordingly.
1584 ac_fn_c_check_header_compile ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1588 $as_echo_n "checking for $2... " >&6; }
1589 if eval \${$3+:} false; then :
1590 $as_echo_n "(cached) " >&6
1592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593 /* end confdefs.h. */
1597 if ac_fn_c_try_compile "$LINENO"; then :
1602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 } # ac_fn_c_check_header_compile
1611 # ac_fn_c_try_cpp LINENO
1612 # ----------------------
1613 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 if { { ac_try="$ac_cpp conftest.$ac_ext"
1619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1620 *) ac_try_echo
=$ac_try;;
1622 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1626 if test -s conftest.err
; then
1627 grep -v '^ *+' conftest.err
>conftest.er1
1628 cat conftest.er1
>&5
1629 mv -f conftest.er1 conftest.err
1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; } > conftest.i
&& {
1633 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1634 test ! -s conftest.err
1638 $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.
$ac_ext >&5
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status
$ac_retval
1648 # ac_fn_c_try_run LINENO
1649 # ----------------------
1650 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1651 # that executables *can* be run.
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 if { { ac_try
="$ac_link"
1657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_link") 2>&5
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1666 { { case "(($ac_try" in
1667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1668 *) ac_try_echo
=$ac_try;;
1670 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_try") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; }; }; then :
1678 $as_echo "$as_me: program exited with status $ac_status" >&5
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.
$ac_ext >&5
1682 ac_retval
=$ac_status
1684 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status
$ac_retval
1690 # ac_fn_c_check_func LINENO FUNC VAR
1691 # ----------------------------------
1692 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1693 ac_fn_c_check_func
()
1695 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1697 $as_echo_n "checking for $2... " >&6; }
1698 if eval \
${$3+:} false
; then :
1699 $as_echo_n "(cached) " >&6
1701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1702 /* end confdefs.h. */
1703 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1705 #define $2 innocuous_$2
1707 /* System header to define __stub macros and hopefully few prototypes,
1708 which can conflict with char $2 (); below.
1709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1710 <limits.h> exists even on freestanding compilers. */
1713 # include <limits.h>
1715 # include <assert.h>
1720 /* Override any GCC internal prototype to avoid an error.
1721 Use char because int might match the return type of a GCC
1722 builtin and then its argument prototype would still apply. */
1727 /* The GNU C library defines this for functions which it implements
1728 to always fail with ENOSYS. Some functions are actually named
1729 something starting with __ and the normal name is an alias. */
1730 #if defined __stub_$2 || defined __stub___$2
1742 if ac_fn_c_try_link
"$LINENO"; then :
1747 rm -f core conftest.err conftest.
$ac_objext \
1748 conftest
$ac_exeext conftest.
$ac_ext
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 } # ac_fn_c_check_func
1756 cat >config.log
<<_ACEOF
1757 This file contains any messages produced by compilers while
1758 running configure, to aid debugging if configure makes a mistake.
1760 It was created by libnfnetlink $as_me 1.0.1, which was
1761 generated by GNU Autoconf 2.69. Invocation command line was
1773 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1774 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1775 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1776 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1777 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1779 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1780 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1782 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1783 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1784 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1785 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1786 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1787 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1788 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir
=.
1797 $as_echo "PATH: $as_dir"
1813 # Keep a trace of the command line.
1814 # Strip out --no-create and --no-recursion so they do not pile up.
1815 # Strip out --silent because we don't want to record it for future runs.
1816 # Also quote any args containing shell meta-characters.
1817 # Make two passes to allow for proper duplicate-argument suppression.
1821 ac_must_keep_next
=false
1827 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1828 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1829 |
-silent |
--silent |
--silen |
--sile |
--sil)
1832 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1835 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1837 as_fn_append ac_configure_args1
" '$ac_arg'"
1838 if test $ac_must_keep_next = true
; then
1839 ac_must_keep_next
=false
# Got value, back to normal.
1842 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1843 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1844 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1845 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1846 case "$ac_configure_args0 " in
1847 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1850 -* ) ac_must_keep_next
=true
;;
1853 as_fn_append ac_configure_args
" '$ac_arg'"
1858 { ac_configure_args0
=; unset ac_configure_args0
;}
1859 { ac_configure_args1
=; unset ac_configure_args1
;}
1861 # When interrupted or exit'd, cleanup temporary files, and complete
1862 # config.log. We remove comments because anyway the quotes in there
1863 # would cause problems or look ugly.
1864 # WARNING: Use '\'' to represent an apostrophe within the trap.
1865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1866 trap 'exit_status=$?
1867 # Save into config.log some information that might help in debugging.
1871 $as_echo "## ---------------- ##
1872 ## Cache variables. ##
1873 ## ---------------- ##"
1875 # The following way of writing the cache mishandles newlines in values,
1877 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1878 eval ac_val=\$$ac_var
1882 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1883 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1886 _ | IFS | as_nl) ;; #(
1887 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1888 *) { eval $ac_var=; unset $ac_var;} ;;
1893 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1894 *${as_nl}ac_space=\ *)
1896 "s/'\''/'\''\\\\'\'''\''/g;
1897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1907 $as_echo "## ----------------- ##
1908 ## Output variables. ##
1909 ## ----------------- ##"
1911 for ac_var in $ac_subst_vars
1913 eval ac_val=\$$ac_var
1915 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1917 $as_echo "$ac_var='\''$ac_val'\''"
1921 if test -n "$ac_subst_files"; then
1922 $as_echo "## ------------------- ##
1923 ## File substitutions. ##
1924 ## ------------------- ##"
1926 for ac_var
in $ac_subst_files
1928 eval ac_val
=\$
$ac_var
1930 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1932 $as_echo "$ac_var='\''$ac_val'\''"
1937 if test -s confdefs.h; then
1938 $as_echo "## ----------- ##
1945 test "$ac_signal" != 0 &&
1946 $as_echo "$as_me: caught signal $ac_signal"
1947 $as_echo "$as_me: exit $exit_status"
1949 rm -f core *.core core.conftest.* &&
1950 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1953 for ac_signal
in 1 2 13 15; do
1954 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1958 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1959 rm -f -r conftest
* confdefs.h
1961 $as_echo "/* confdefs.h */" > confdefs.h
1963 # Predefined preprocessor variables.
1965 cat >>confdefs.h
<<_ACEOF
1966 #define PACKAGE_NAME "$PACKAGE_NAME"
1969 cat >>confdefs.h
<<_ACEOF
1970 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1973 cat >>confdefs.h
<<_ACEOF
1974 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1977 cat >>confdefs.h
<<_ACEOF
1978 #define PACKAGE_STRING "$PACKAGE_STRING"
1981 cat >>confdefs.h
<<_ACEOF
1982 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1985 cat >>confdefs.h
<<_ACEOF
1986 #define PACKAGE_URL "$PACKAGE_URL"
1990 # Let the site file select an alternate cache file if it wants to.
1991 # Prefer an explicitly selected file to automatically selected ones.
1994 if test -n "$CONFIG_SITE"; then
1995 # We do not want a PATH search for config.site.
1996 case $CONFIG_SITE in #((
1997 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1998 */*) ac_site_file1
=$CONFIG_SITE;;
1999 *) ac_site_file1
=.
/$CONFIG_SITE;;
2001 elif test "x$prefix" != xNONE
; then
2002 ac_site_file1
=$prefix/share
/config.site
2003 ac_site_file2
=$prefix/etc
/config.site
2005 ac_site_file1
=$ac_default_prefix/share
/config.site
2006 ac_site_file2
=$ac_default_prefix/etc
/config.site
2008 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2010 test "x$ac_site_file" = xNONE
&& continue
2011 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2013 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2014 sed 's/^/| /' "$ac_site_file" >&5
2016 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2018 as_fn_error $?
"failed to load site script $ac_site_file
2019 See \`config.log' for more details" "$LINENO" 5; }
2023 if test -r "$cache_file"; then
2024 # Some versions of bash will fail to source /dev/null (special files
2025 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2026 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2028 $as_echo "$as_me: loading cache $cache_file" >&6;}
2030 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2031 *) .
"./$cache_file";;
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2036 $as_echo "$as_me: creating cache $cache_file" >&6;}
2040 # Check that the precious variables saved in the cache have kept the same
2042 ac_cache_corrupted
=false
2043 for ac_var
in $ac_precious_vars; do
2044 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2045 eval ac_new_set
=\
$ac_env_${ac_var}_set
2046 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2047 eval ac_new_val
=\
$ac_env_${ac_var}_value
2048 case $ac_old_set,$ac_new_set in
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2051 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2052 ac_cache_corrupted
=: ;;
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2055 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2056 ac_cache_corrupted
=: ;;
2059 if test "x$ac_old_val" != "x$ac_new_val"; then
2060 # differences in whitespace do not lead to failure.
2061 ac_old_val_w
=`echo x $ac_old_val`
2062 ac_new_val_w
=`echo x $ac_new_val`
2063 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2065 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2066 ac_cache_corrupted
=:
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2069 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2070 eval $ac_var=\
$ac_old_val
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2073 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2075 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2078 # Pass precious variables to config.status.
2079 if test "$ac_new_set" = set; then
2081 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2082 *) ac_arg
=$ac_var=$ac_new_val ;;
2084 case " $ac_configure_args " in
2085 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2086 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2090 if $ac_cache_corrupted; then
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2094 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2095 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2097 ## -------------------- ##
2098 ## Main body of script. ##
2099 ## -------------------- ##
2102 ac_cpp
='$CPP $CPPFLAGS'
2103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2109 for ac_dir
in build-aux
"$srcdir"/build-aux
; do
2110 if test -f "$ac_dir/install-sh"; then
2112 ac_install_sh
="$ac_aux_dir/install-sh -c"
2114 elif test -f "$ac_dir/install.sh"; then
2116 ac_install_sh
="$ac_aux_dir/install.sh -c"
2118 elif test -f "$ac_dir/shtool"; then
2120 ac_install_sh
="$ac_aux_dir/shtool install -c"
2124 if test -z "$ac_aux_dir"; then
2125 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2128 # These three variables are undocumented and unsupported,
2129 # and are intended to be withdrawn in a future Autoconf release.
2130 # They can cause serious problems if a builder's source tree is in a directory
2131 # whose full name contains unusual characters.
2132 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2133 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2134 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2138 # Make sure we can run config.sub.
2139 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2140 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2143 $as_echo_n "checking build system type... " >&6; }
2144 if ${ac_cv_build+:} false
; then :
2145 $as_echo_n "(cached) " >&6
2147 ac_build_alias
=$build_alias
2148 test "x$ac_build_alias" = x
&&
2149 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2150 test "x$ac_build_alias" = x
&&
2151 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2152 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2153 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2157 $as_echo "$ac_cv_build" >&6; }
2158 case $ac_cv_build in
2160 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2163 ac_save_IFS
=$IFS; IFS
='-'
2169 # Remember, the first character of IFS is used to create $*,
2170 # except with old shells:
2173 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2177 $as_echo_n "checking host system type... " >&6; }
2178 if ${ac_cv_host+:} false
; then :
2179 $as_echo_n "(cached) " >&6
2181 if test "x$host_alias" = x
; then
2182 ac_cv_host
=$ac_cv_build
2184 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2185 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2190 $as_echo "$ac_cv_host" >&6; }
2193 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2196 ac_save_IFS
=$IFS; IFS
='-'
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2206 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2210 am__api_version
='1.11'
2212 # Find a good install program. We prefer a C program (faster),
2213 # so one script is as good as another. But avoid the broken or
2214 # incompatible versions:
2215 # SysV /etc/install, /usr/sbin/install
2216 # SunOS /usr/etc/install
2217 # IRIX /sbin/install
2219 # AmigaOS /C/install, which installs bootblocks on floppy discs
2220 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2221 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2222 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2223 # OS/2's system install, which has a completely different semantic
2224 # ./install, which can be erroneously created by make from ./install.sh.
2225 # Reject install programs that cannot install multiple files.
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2227 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2228 if test -z "$INSTALL"; then
2229 if ${ac_cv_path_install+:} false
; then :
2230 $as_echo_n "(cached) " >&6
2232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2236 test -z "$as_dir" && as_dir
=.
2237 # Account for people who put trailing slashes in PATH elements.
2238 case $as_dir/ in #((
2239 .
/ | .
// |
/[cC
]/* | \
2240 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2241 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2244 # OSF1 and SCO ODT 3.0 have their own names for install.
2245 # Don't use installbsd from OSF since it installs stuff as root
2247 for ac_prog
in ginstall scoinst
install; do
2248 for ac_exec_ext
in '' $ac_executable_extensions; do
2249 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2250 if test $ac_prog = install &&
2251 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2252 # AIX install. It has an incompatible calling convention.
2254 elif test $ac_prog = install &&
2255 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2256 # program-specific install script used by HP pwplus--don't use.
2259 rm -rf conftest.one conftest.two conftest.dir
2260 echo one
> conftest.one
2261 echo two
> conftest.two
2263 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2264 test -s conftest.one
&& test -s conftest.two
&&
2265 test -s conftest.dir
/conftest.one
&&
2266 test -s conftest.dir
/conftest.two
2268 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2281 rm -rf conftest.one conftest.two conftest.dir
2284 if test "${ac_cv_path_install+set}" = set; then
2285 INSTALL
=$ac_cv_path_install
2287 # As a last resort, use the slow shell script. Don't cache a
2288 # value for INSTALL within a source directory, because that will
2289 # break other packages using the cache if that directory is
2290 # removed, or if the value is a relative name.
2291 INSTALL
=$ac_install_sh
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2295 $as_echo "$INSTALL" >&6; }
2297 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2298 # It thinks the first close brace ends the variable substitution.
2299 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2301 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2303 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2306 $as_echo_n "checking whether build environment is sane... " >&6; }
2309 echo timestamp
> conftest.
file
2310 # Reject unsafe characters in $srcdir or the absolute working directory
2311 # name. Accept space and tab only in the latter.
2315 *[\\\"\
#\$\&\'\`$am_lf]*)
2316 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2319 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2320 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2323 # Do `set' in a subshell so we don't clobber the current shell's
2324 # arguments. Must try -L first in case configure is actually a
2325 # symlink; some systems play weird games with the mod time of symlinks
2326 # (eg FreeBSD returns the mod time of the symlink's containing
2329 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2330 if test "$*" = "X"; then
2332 set X
`ls -t "$srcdir/configure" conftest.file`
2335 if test "$*" != "X $srcdir/configure conftest.file" \
2336 && test "$*" != "X conftest.file $srcdir/configure"; then
2338 # If neither matched, then we have a broken ls. This can happen
2339 # if, for instance, CONFIG_SHELL is bash and it inherits a
2340 # broken ls alias from the environment. This has actually
2341 # happened. Such a system could not be considered "sane".
2342 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2343 alias in your environment" "$LINENO" 5
2346 test "$2" = conftest.
file
2352 as_fn_error $?
"newly created file is older than distributed files!
2353 Check your system clock" "$LINENO" 5
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2356 $as_echo "yes" >&6; }
2357 test "$program_prefix" != NONE
&&
2358 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2359 # Use a double $ so make ignores it.
2360 test "$program_suffix" != NONE
&&
2361 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2362 # Double any \ or $.
2363 # By default was `s,x,x', remove it if useless.
2364 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2365 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2367 # expand $ac_aux_dir to an absolute path
2368 am_aux_dir
=`cd $ac_aux_dir && pwd`
2370 if test x
"${MISSING+set}" != xset
; then
2373 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2375 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2378 # Use eval to expand $SHELL
2379 if eval "$MISSING --run true"; then
2380 am_missing_run
="$MISSING --run "
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2384 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2387 if test x
"${install_sh}" != xset
; then
2390 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2392 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2396 # Installed binaries are usually stripped using `strip' when the user
2397 # run `make install-strip'. However `strip' might not be the right
2398 # tool to use in cross-compilation environments, therefore Automake
2399 # will honor the `STRIP' environment variable to overrule this program.
2400 if test "$cross_compiling" != no
; then
2401 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2403 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2405 $as_echo_n "checking for $ac_word... " >&6; }
2406 if ${ac_cv_prog_STRIP+:} false
; then :
2407 $as_echo_n "(cached) " >&6
2409 if test -n "$STRIP"; then
2410 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 STRIP
=$ac_cv_prog_STRIP
2430 if test -n "$STRIP"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2432 $as_echo "$STRIP" >&6; }
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2440 if test -z "$ac_cv_prog_STRIP"; then
2442 # Extract the first word of "strip", so it can be a program name with args.
2443 set dummy strip
; ac_word
=$2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445 $as_echo_n "checking for $ac_word... " >&6; }
2446 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2447 $as_echo_n "(cached) " >&6
2449 if test -n "$ac_ct_STRIP"; then
2450 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_ac_ct_STRIP
="strip"
2460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2470 if test -n "$ac_ct_STRIP"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2472 $as_echo "$ac_ct_STRIP" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2478 if test "x$ac_ct_STRIP" = x
; then
2481 case $cross_compiling:$ac_tool_warned in
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2485 ac_tool_warned
=yes ;;
2490 STRIP
="$ac_cv_prog_STRIP"
2494 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2497 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2498 if test -z "$MKDIR_P"; then
2499 if ${ac_cv_path_mkdir+:} false
; then :
2500 $as_echo_n "(cached) " >&6
2502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2503 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2506 test -z "$as_dir" && as_dir
=.
2507 for ac_prog
in mkdir gmkdir
; do
2508 for ac_exec_ext
in '' $ac_executable_extensions; do
2509 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2510 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2511 'mkdir (GNU coreutils) '* | \
2512 'mkdir (coreutils) '* | \
2513 'mkdir (fileutils) '4.1*)
2514 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2524 test -d .
/--version && rmdir .
/--version
2525 if test "${ac_cv_path_mkdir+set}" = set; then
2526 MKDIR_P
="$ac_cv_path_mkdir -p"
2528 # As a last resort, use the slow shell script. Don't cache a
2529 # value for MKDIR_P within a source directory, because that will
2530 # break other packages using the cache if that directory is
2531 # removed, or if the value is a relative name.
2532 MKDIR_P
="$ac_install_sh -d"
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2536 $as_echo "$MKDIR_P" >&6; }
2540 [\\/$
]* | ?
:[\\/]*) ;;
2541 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2544 for ac_prog
in gawk mawk nawk
awk
2546 # Extract the first word of "$ac_prog", so it can be a program name with args.
2547 set dummy
$ac_prog; ac_word
=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if ${ac_cv_prog_AWK+:} false
; then :
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$AWK"; then
2554 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir
=.
2561 for ac_exec_ext
in '' $ac_executable_extensions; do
2562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2563 ac_cv_prog_AWK
="$ac_prog"
2564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 if test -n "$AWK"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2576 $as_echo "$AWK" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2583 test -n "$AWK" && break
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2587 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2589 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2590 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2591 $as_echo_n "(cached) " >&6
2593 cat >conftest.
make <<\_ACEOF
2596 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2601 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2603 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2607 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2609 $as_echo "yes" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2614 SET_MAKE
="MAKE=${MAKE-make}"
2617 rm -rf .tst
2>/dev
/null
2618 mkdir .tst
2>/dev
/null
2619 if test -d .tst
; then
2624 rmdir .tst
2>/dev
/null
2626 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2627 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2628 # is not polluted with repeated "-I."
2629 am__isrc
=' -I$(srcdir)'
2630 # test to see if srcdir already configured
2631 if test -f $srcdir/config.status
; then
2632 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2636 # test whether we have cygpath
2637 if test -z "$CYGPATH_W"; then
2638 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2639 CYGPATH_W
='cygpath -w'
2646 # Define the identity of the package.
2647 PACKAGE
='libnfnetlink'
2651 cat >>confdefs.h
<<_ACEOF
2652 #define PACKAGE "$PACKAGE"
2656 cat >>confdefs.h
<<_ACEOF
2657 #define VERSION "$VERSION"
2660 # Some tools Automake needs.
2662 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2665 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2668 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2671 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2674 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2676 # We need awk for the "check" target. The system "awk" is bad on
2678 # Always define AMTAR for backward compatibility. Yes, it's still used
2679 # in the wild :-( We should find a proper way to deprecate it ...
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2684 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2685 # Loop over all known methods to create a tar archive until one works.
2686 _am_tools
='gnutar pax cpio none'
2687 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
2688 # Do not fold the above two line into one, because Tru64 sh and
2689 # Solaris sh will not grok spaces in the rhs of `-'.
2690 for _am_tool
in $_am_tools
2694 for _am_tar
in tar gnutar gtar
;
2696 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2697 ($_am_tar --version) >&5 2>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } && break
2702 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
2703 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
2704 am__untar
="$_am_tar -xf -"
2707 # Must skip GNU tar: if it does not support --format= it doesn't create
2708 # ustar tarball either.
2709 (tar --version) >/dev
/null
2>&1 && continue
2710 am__tar
='tar chf - "$$tardir"'
2711 am__tar_
='tar chf - "$tardir"'
2712 am__untar
='tar xf -'
2715 am__tar
='pax -L -x pax -w "$$tardir"'
2716 am__tar_
='pax -L -x pax -w "$tardir"'
2720 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
2721 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
2722 am__untar
='cpio -i -H pax -d'
2731 # If the value was cached, stop now. We just wanted to have am__tar
2732 # and am__untar set.
2733 test -n "${am_cv_prog_tar_pax}" && break
2735 # tar/untar a dummy directory, and stop if the command works
2738 echo GrepMe
> conftest.dir
/file
2739 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2740 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }
2745 if test -s conftest.
tar; then
2746 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2747 ($am__untar <conftest.
tar) >&5 2>&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }
2751 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2756 if ${am_cv_prog_tar_pax+:} false
; then :
2757 $as_echo_n "(cached) " >&6
2759 am_cv_prog_tar_pax
=$_am_tool
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2763 $as_echo "$am_cv_prog_tar_pax" >&6; }
2770 # Check whether --enable-silent-rules was given.
2771 if test "${enable_silent_rules+set}" = set; then :
2772 enableval
=$enable_silent_rules;
2775 case $enable_silent_rules in
2776 yes) AM_DEFAULT_VERBOSITY
=0;;
2777 no
) AM_DEFAULT_VERBOSITY
=1;;
2778 *) AM_DEFAULT_VERBOSITY
=0;;
2780 am_make
=${MAKE-make}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2782 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2783 if ${am_cv_make_support_nested_variables+:} false
; then :
2784 $as_echo_n "(cached) " >&6
2786 if $as_echo 'TRUE=$(BAR$(V))
2792 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2793 am_cv_make_support_nested_variables
=yes
2795 am_cv_make_support_nested_variables
=no
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2799 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2800 if test $am_cv_make_support_nested_variables = yes; then
2802 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2804 AM_V
=$AM_DEFAULT_VERBOSITY
2805 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2813 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2815 if test -n "$ac_tool_prefix"; then
2816 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2817 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_CC+:} false; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$CC"; then
2824 ac_cv_prog_CC="$CC" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 if test -n "$CC"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2846 $as_echo "$CC" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2854 if test -z "$ac_cv_prog_CC"; then
2856 # Extract the first word of "gcc", so it can be a program name with args.
2857 set dummy gcc; ac_word=$2
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859 $as_echo_n "checking for $ac_word... " >&6; }
2860 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 if test -n "$ac_ct_CC"; then
2864 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873 ac_cv_prog_ac_ct_CC="gcc"
2874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2884 if test -n "$ac_ct_CC"; then
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2886 $as_echo "$ac_ct_CC" >&6; }
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2892 if test "x$ac_ct_CC" = x; then
2895 case $cross_compiling:$ac_tool_warned in
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2899 ac_tool_warned=yes ;;
2907 if test -z "$CC"; then
2908 if test -n "$ac_tool_prefix"; then
2909 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2910 set dummy ${ac_tool_prefix}cc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC="$CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_CC="${ac_tool_prefix}cc"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2948 if test -z "$CC"; then
2949 # Extract the first word of "cc", so it can be a program name with args.
2950 set dummy cc; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_CC+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$CC"; then
2957 ac_cv_prog_CC="$CC" # Let the user override the test.
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2968 ac_prog_rejected=yes
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test $ac_prog_rejected = yes; then
2980 # We found a bogon in the path, so make sure we never use it.
2981 set dummy $ac_cv_prog_CC
2983 if test $# != 0; then
2984 # We chose a different compiler from the bogus one.
2985 # However, it has the same basename, so the bogon will be chosen
2986 # first if we set CC to just the basename; use the full file name.
2988 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2994 if test -n "$CC"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3004 if test -z "$CC"; then
3005 if test -n "$ac_tool_prefix"; then
3006 for ac_prog in cl.exe
3008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_CC+:} false; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$CC"; then
3016 ac_cv_prog_CC="$CC" # Let the user override the test.
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 if test -n "$CC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3038 $as_echo "$CC" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3045 test -n "$CC" && break
3048 if test -z "$CC"; then
3050 for ac_prog in cl.exe
3052 # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy $ac_prog; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3057 $as_echo_n "(cached) " >&6
3059 if test -n "$ac_ct_CC"; then
3060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 ac_cv_prog_ac_ct_CC="$ac_prog"
3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3080 if test -n "$ac_ct_CC"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3082 $as_echo "$ac_ct_CC" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3089 test -n "$ac_ct_CC" && break
3092 if test "x$ac_ct_CC" = x; then
3095 case $cross_compiling:$ac_tool_warned in
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3099 ac_tool_warned=yes ;;
3108 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3110 as_fn_error $? "no acceptable C compiler found in \$PATH
3111 See \`config.log
' for more details" "$LINENO" 5; }
3113 # Provide some information about the compiler.
3114 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3117 for ac_option in --version -v -V -qversion; do
3118 { { ac_try="$ac_compiler $ac_option >&5"
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3127 if test -s conftest.err; then
3129 ... rest of stderr output deleted ...
3130 10q
' conftest.err >conftest.er1
3131 cat conftest.er1 >&5
3133 rm -f conftest.er1 conftest.err
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3149 ac_clean_files_save=$ac_clean_files
3150 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3151 # Try to create an executable without -o first, disregard a.out.
3152 # It will help us diagnose broken compilers, and finding out an intuition
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3155 $as_echo_n "checking whether the C compiler works... " >&6; }
3156 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3158 # The possible output files:
3159 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3162 for ac_file in $ac_files
3165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3166 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3171 if { { ac_try="$ac_link_default"
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_link_default") 2>&5
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }; then :
3182 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3183 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3184 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3185 # so that the user can short-circuit this test for compilers unknown to
3187 for ac_file
in $ac_files ''
3189 test -f "$ac_file" ||
continue
3191 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3194 # We found the default executable, but exeext='' is most
3198 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3200 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3202 # We set ac_cv_exeext here because the later test for it is not
3203 # safe: cross compilers may not add the suffix if given an `-o'
3204 # argument, so we may need to know it at that point already.
3205 # Even if this section looks crufty: it has the advantage of
3212 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3217 if test -z "$ac_file"; then :
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.
$ac_ext >&5
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error
77 "C compiler cannot create executables
3226 See \`config.log' for more details" "$LINENO" 5; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3229 $as_echo "yes" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3232 $as_echo_n "checking for C compiler default output file name... " >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3234 $as_echo "$ac_file" >&6; }
3235 ac_exeext
=$ac_cv_exeext
3237 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3238 ac_clean_files
=$ac_clean_files_save
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3240 $as_echo_n "checking for suffix of executables... " >&6; }
3241 if { { ac_try
="$ac_link"
3243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_link") 2>&5
3250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251 test $ac_status = 0; }; then :
3252 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3253 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3254 # work properly (i.e., refer to `conftest.exe'), while it won't with
3256 for ac_file
in conftest.exe conftest conftest.
*; do
3257 test -f "$ac_file" ||
continue
3259 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3260 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3269 See \`config.log' for more details" "$LINENO" 5; }
3271 rm -f conftest conftest
$ac_cv_exeext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3273 $as_echo "$ac_cv_exeext" >&6; }
3275 rm -f conftest.
$ac_ext
3276 EXEEXT
=$ac_cv_exeext
3278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3284 FILE *f = fopen ("conftest.out", "w");
3285 return ferror (f) || fclose (f) != 0;
3291 ac_clean_files
="$ac_clean_files conftest.out"
3292 # Check that the compiler produces executables we can run. If not, either
3293 # the compiler is broken, or we cross compile.
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3295 $as_echo_n "checking whether we are cross compiling... " >&6; }
3296 if test "$cross_compiling" != yes; then
3297 { { ac_try
="$ac_link"
3299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304 (eval "$ac_link") 2>&5
3306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307 test $ac_status = 0; }
3308 if { ac_try='./conftest$ac_cv_exeext'
3309 { { case "(($ac_try" in
3310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3311 *) ac_try_echo
=$ac_try;;
3313 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315 (eval "$ac_try") 2>&5
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }; }; then
3321 if test "$cross_compiling" = maybe
; then
3324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 as_fn_error $?
"cannot run C compiled programs.
3327 If you meant to cross compile, use \`--host'.
3328 See \`config.log' for more details" "$LINENO" 5; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3333 $as_echo "$cross_compiling" >&6; }
3335 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3336 ac_clean_files
=$ac_clean_files_save
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3338 $as_echo_n "checking for suffix of object files... " >&6; }
3339 if ${ac_cv_objext+:} false
; then :
3340 $as_echo_n "(cached) " >&6
3342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3353 rm -f conftest.o conftest.obj
3354 if { { ac_try
="$ac_compile"
3356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_compile") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; then :
3365 for ac_file in conftest.o conftest.obj conftest.*; do
3366 test -f "$ac_file" || continue;
3368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3369 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3374 $as_echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.$ac_ext >&5
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3380 See \
`config.log' for more details" "$LINENO" 5; }
3382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3385 $as_echo "$ac_cv_objext" >&6; }
3386 OBJEXT=$ac_cv_objext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3389 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3390 if ${ac_cv_c_compiler_gnu+:} false; then :
3391 $as_echo_n "(cached) " >&6
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3407 if ac_fn_c_try_compile "$LINENO"; then :
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3417 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3418 if test $ac_compiler_gnu = yes; then
3423 ac_test_CFLAGS=${CFLAGS+set}
3424 ac_save_CFLAGS=$CFLAGS
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3426 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3427 if ${ac_cv_prog_cc_g+:} false; then :
3428 $as_echo_n "(cached) " >&6
3430 ac_save_c_werror_flag=$ac_c_werror_flag
3431 ac_c_werror_flag=yes
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 if ac_fn_c_try_compile "$LINENO"; then :
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3460 if ac_fn_c_try_compile "$LINENO"; then :
3463 ac_c_werror_flag=$ac_save_c_werror_flag
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3476 if ac_fn_c_try_compile "$LINENO"; then :
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_c_werror_flag=$ac_save_c_werror_flag
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3487 $as_echo "$ac_cv_prog_cc_g" >&6; }
3488 if test "$ac_test_CFLAGS" = set; then
3489 CFLAGS=$ac_save_CFLAGS
3490 elif test $ac_cv_prog_cc_g = yes; then
3491 if test "$GCC" = yes; then
3497 if test "$GCC" = yes; then
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3504 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3505 if ${ac_cv_prog_cc_c89+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 ac_cv_prog_cc_c89=no
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h. */
3515 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3516 struct buf { int x; };
3517 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3518 static char *e (p, i)
3524 static char *f (char * (*g) (char **, int), char **p, ...)
3529 s = g (p, va_arg (v,int));
3534 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3535 function prototypes and stuff, but not '\xHH' hex character constants.
3536 These don't provoke an error unfortunately, instead are silently treated
3537 as 'x'. The following induces an error, until -std is added to get
3538 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3539 array size at least. It's necessary to write '\x00'==0 to get something
3540 that's true only with -std. */
3541 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3543 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3544 inside strings and character constants. */
3546 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3548 int test (int i, double x);
3549 struct s1 {int (*f) (int a);};
3550 struct s2 {int (*f) (double a);};
3551 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3557 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3562 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3563 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3565 CC="$ac_save_CC $ac_arg"
3566 if ac_fn_c_try_compile "$LINENO"; then :
3567 ac_cv_prog_cc_c89=$ac_arg
3569 rm -f core conftest.err conftest.$ac_objext
3570 test "x$ac_cv_prog_cc_c89" != "xno" && break
3572 rm -f conftest.$ac_ext
3577 case "x$ac_cv_prog_cc_c89" in
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3580 $as_echo "none needed" >&6; } ;;
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3583 $as_echo "unsupported" >&6; } ;;
3585 CC="$CC $ac_cv_prog_cc_c89"
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3587 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3589 if test "x$ac_cv_prog_cc_c89" != xno; then :
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598 DEPDIR="${am__leading_dot}deps"
3600 ac_config_commands="$ac_config_commands depfiles"
3603 am_make=${MAKE-make}
3604 cat > confinc << 'END'
3606 @echo this is the am__doit target
3609 # If we don't find an include directive, just comment out the code.
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3611 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3615 # First try GNU make style include.
3616 echo "include confinc" > confmf
3617 # Ignore all kinds of additional output from `make'.
3618 case `$am_make -s -f confmf 2> /dev/null` in #(
3619 *the\ am__doit\ target*)
3625 # Now try BSD make style include.
3626 if test "$am__include" = "#"; then
3627 echo '.include
"confinc"' > confmf
3628 case `$am_make -s -f confmf 2> /dev/null` in #(
3629 *the\ am__doit\ target*)
3630 am__include=.include
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3639 $as_echo "$_am_result" >&6; }
3640 rm -f confinc confmf
3642 # Check whether --enable-dependency-tracking was given.
3643 if test "${enable_dependency_tracking+set}" = set; then :
3644 enableval=$enable_dependency_tracking;
3647 if test "x$enable_dependency_tracking" != xno; then
3648 am_depcomp="$ac_aux_dir/depcomp"
3652 if test "x$enable_dependency_tracking" != xno
; then
3662 depcc
="$CC" am_compiler_list
=
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3665 $as_echo_n "checking dependency style of $depcc... " >&6; }
3666 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3667 $as_echo_n "(cached) " >&6
3669 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3670 # We make a subdir and do the tests there. Otherwise we can end up
3671 # making bogus files that we don't know about and never remove. For
3672 # instance it was reported that on HP-UX the gcc test will end up
3673 # making a dummy file named `D' -- because `-MD' means `put the output
3677 # Copy depcomp to subdir because otherwise we won't find it if we're
3678 # using a relative directory.
3679 cp "$am_depcomp" conftest.dir
3681 # We will build objects and dependencies in a subdirectory because
3682 # it helps to detect inapplicable dependency modes. For instance
3683 # both Tru64's cc and ICC support -MD to output dependencies as a
3684 # side effect of compilation, but ICC will put the dependencies in
3685 # the current directory while Tru64 will put them in the object
3689 am_cv_CC_dependencies_compiler_type
=none
3690 if test "$am_compiler_list" = ""; then
3691 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3694 case " $depcc " in #(
3695 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3698 for depmode
in $am_compiler_list; do
3699 # Setup a source with many dependencies, because some compilers
3700 # like to wrap large dependency lists on column 80 (with \), and
3701 # we should not choose a depcomp mode which is confused by this.
3703 # We need to recreate these files for each test, as the compiler may
3704 # overwrite some of them when testing with obscure command lines.
3705 # This happens at least with the AIX C compiler.
3707 for i
in 1 2 3 4 5 6; do
3708 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3709 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3710 # Solaris 8's {/usr,}/bin/sh.
3711 touch sub
/conftst
$i.h
3713 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3715 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3716 # mode. It turns out that the SunPro C++ compiler does not properly
3717 # handle `-M -o', and we need to detect this. Also, some Intel
3718 # versions had trouble with output in subdirs
3719 am__obj
=sub
/conftest.
${OBJEXT-o}
3720 am__minus_obj
="-o $am__obj"
3723 # This depmode causes a compiler race in universal mode.
3724 test "$am__universal" = false ||
continue
3727 # after this tag, mechanisms are not by side-effect, so they'll
3728 # only be used when explicitly requested
3729 if test "x$enable_dependency_tracking" = xyes
; then
3735 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3736 # This compiler won't grok `-c -o', but also, the minuso test has
3737 # not run yet. These depmodes are late enough in the game, and
3738 # so weak that their functioning should not be impacted.
3739 am__obj
=conftest.
${OBJEXT-o}
3744 if depmode
=$depmode \
3745 source=sub
/conftest.c object
=$am__obj \
3746 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3747 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3748 >/dev
/null
2>conftest.err
&&
3749 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3750 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3751 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3752 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3753 # icc doesn't choke on unknown options, it will just issue warnings
3754 # or remarks (even with -Werror). So we grep stderr for any message
3755 # that says an option was ignored or not supported.
3756 # When given -MP, icc 7.0 and 7.1 complain thusly:
3757 # icc: Command line warning: ignoring option '-M'; no argument required
3758 # The diagnosis changed in icc 8.0:
3759 # icc: Command line remark: option '-MP' not supported
3760 if (grep 'ignoring option' conftest.err ||
3761 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3762 am_cv_CC_dependencies_compiler_type
=$depmode
3771 am_cv_CC_dependencies_compiler_type
=none
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3776 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3777 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3780 test "x$enable_dependency_tracking" != xno \
3781 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3783 am__fastdepCC_FALSE
='#'
3785 am__fastdepCC_TRUE
='#'
3786 am__fastdepCC_FALSE
=
3790 if test "x$CC" != xcc
; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3792 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3795 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3797 set dummy
$CC; ac_cc
=`$as_echo "$2" |
3798 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3799 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
3800 $as_echo_n "(cached) " >&6
3802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 # Make sure it works both with $CC and with simple cc.
3814 # We do the test twice because some compilers refuse to overwrite an
3815 # existing .o file with -o, though they will create one.
3816 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3818 if { { case "(($ac_try" in
3819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3820 *) ac_try_echo=$ac_try;;
3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3823 $as_echo "$ac_try_echo"; } >&5
3824 (eval "$ac_try") 2>&5
3826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; } &&
3828 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3830 *) ac_try_echo
=$ac_try;;
3832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3833 $as_echo "$ac_try_echo"; } >&5
3834 (eval "$ac_try") 2>&5
3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837 test $ac_status = 0; };
3839 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3840 if test "x$CC" != xcc
; then
3841 # Test first that cc exists at all.
3842 if { ac_try
='cc -c conftest.$ac_ext >&5'
3843 { { case "(($ac_try" in
3844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_try") 2>&5
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }; }; then
3853 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3855 if { { case "(($ac_try" in
3856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3857 *) ac_try_echo
=$ac_try;;
3859 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861 (eval "$ac_try") 2>&5
3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864 test $ac_status = 0; } &&
3865 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
3866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870 $as_echo "$ac_try_echo"; } >&5
3871 (eval "$ac_try") 2>&5
3873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874 test $ac_status = 0; };
3879 # cc exists but doesn't like -o.
3880 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3885 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3887 rm -f core conftest*
3890 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3895 $as_echo "no" >&6; }
3897 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3901 # FIXME: we rely on the cache variable name because
3902 # there is no other way.
3904 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3905 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3906 if test "$am_t" != yes; then
3907 # Losing compiler, so override with the script.
3908 # FIXME: It is wrong to rewrite CC.
3909 # But if we don't then we get into trouble of one sort or another.
3910 # A longer-term fix would be to have automake use am__CC in this case,
3911 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3912 CC="$am_aux_dir/compile $CC"
3916 # Check whether --enable-static was given.
3917 if test "${enable_static+set}" = set; then :
3918 enableval=$enable_static; p=${PACKAGE-default}
3920 yes) enable_static=yes ;;
3921 no) enable_static=no ;;
3924 # Look at the argument we got. We use all the common list separators.
3925 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3926 for pkg in $enableval; do
3928 if test "X$pkg" = "X$p"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3950 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3955 macro_version='2.4.2'
3956 macro_revision='1.3337'
3970 ltmain="$ac_aux_dir/ltmain.sh"
3972 # Backslashify metacharacters that are still active within
3973 # double-quoted strings.
3974 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
3976 # Same as above, but do not quote variable references.
3977 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
3979 # Sed substitution to delay expansion of an escaped shell variable in a
3980 # double_quote_subst'ed string.
3981 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3983 # Sed substitution to delay expansion of an escaped single quote.
3984 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3986 # Sed substitution to avoid accidental globbing in evaled expressions
3987 no_glob_subst='s/\*/\\\*/g'
3989 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3990 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3991 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
3994 $as_echo_n "checking how to print
strings...
" >&6; }
3995 # Test print first, because it will be a builtin if present.
3996 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
3997 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
3999 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4002 # Use this function as a fallback that always works.
4003 func_fallback_echo ()
4005 eval 'cat <<_LTECHO_EOF
4009 ECHO='func_fallback_echo'
4012 # func_echo_all arg...
4013 # Invoke $ECHO with all args, space-separated.
4020 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4021 $as_echo "printf" >&6; } ;;
4022 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4023 $as_echo "print
-r" >&6; } ;;
4024 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4025 $as_echo "cat" >&6; } ;;
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4042 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4043 if ${ac_cv_path_SED+:} false; then :
4044 $as_echo_n "(cached
) " >&6
4046 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4047 for ac_i in 1 2 3 4 5 6 7; do
4048 ac_script="$ac_script$as_nl$ac_script"
4050 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4051 { ac_script=; unset ac_script;}
4052 if test -z "$SED"; then
4053 ac_path_SED_found=false
4054 # Loop through the user's path and test for each of PROGNAME-LIST
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir=.
4060 for ac_prog in sed gsed; do
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4063 as_fn_executable_p "$ac_path_SED" || continue
4064 # Check for GNU ac_path_SED and select it if it is found.
4065 # Check for GNU $ac_path_SED
4066 case `"$ac_path_SED" --version 2>&1` in
4068 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4071 $as_echo_n 0123456789 >"conftest.
in"
4074 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4075 mv "conftest.tmp
" "conftest.
in"
4076 cp "conftest.
in" "conftest.
nl"
4077 $as_echo '' >> "conftest.
nl"
4078 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4079 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4080 as_fn_arith $ac_count + 1 && ac_count=$as_val
4081 if test $ac_count -gt ${ac_path_SED_max-0}; then
4082 # Best one so far, save it but keep looking for a better one
4083 ac_cv_path_SED="$ac_path_SED"
4084 ac_path_SED_max=$ac_count
4086 # 10*(2^10) chars as input seems more than enough
4087 test $ac_count -gt 10 && break
4089 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4092 $ac_path_SED_found && break 3
4097 if test -z "$ac_cv_path_SED"; then
4098 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4106 $as_echo "$ac_cv_path_SED" >&6; }
4107 SED="$ac_cv_path_SED"
4110 test -z "$SED" && SED=sed
4111 Xsed="$SED -e 1s
/^X
//"
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4124 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4125 if ${ac_cv_path_GREP+:} false; then :
4126 $as_echo_n "(cached
) " >&6
4128 if test -z "$GREP"; then
4129 ac_path_GREP_found=false
4130 # Loop through the user's path and test for each of PROGNAME-LIST
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4135 test -z "$as_dir" && as_dir=.
4136 for ac_prog in grep ggrep; do
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4139 as_fn_executable_p "$ac_path_GREP" || continue
4140 # Check for GNU ac_path_GREP and select it if it is found.
4141 # Check for GNU $ac_path_GREP
4142 case `"$ac_path_GREP" --version 2>&1` in
4144 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4147 $as_echo_n 0123456789 >"conftest.
in"
4150 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4151 mv "conftest.tmp
" "conftest.
in"
4152 cp "conftest.
in" "conftest.
nl"
4153 $as_echo 'GREP' >> "conftest.
nl"
4154 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4155 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4156 as_fn_arith $ac_count + 1 && ac_count=$as_val
4157 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4158 # Best one so far, save it but keep looking for a better one
4159 ac_cv_path_GREP="$ac_path_GREP"
4160 ac_path_GREP_max=$ac_count
4162 # 10*(2^10) chars as input seems more than enough
4163 test $ac_count -gt 10 && break
4165 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4168 $ac_path_GREP_found && break 3
4173 if test -z "$ac_cv_path_GREP"; then
4174 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4177 ac_cv_path_GREP=$GREP
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4182 $as_echo "$ac_cv_path_GREP" >&6; }
4183 GREP="$ac_cv_path_GREP"
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4187 $as_echo_n "checking
for egrep...
" >&6; }
4188 if ${ac_cv_path_EGREP+:} false; then :
4189 $as_echo_n "(cached
) " >&6
4191 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4192 then ac_cv_path_EGREP="$GREP -E"
4194 if test -z "$EGREP"; then
4195 ac_path_EGREP_found=false
4196 # Loop through the user's path and test for each of PROGNAME-LIST
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4201 test -z "$as_dir" && as_dir=.
4202 for ac_prog in egrep; do
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4205 as_fn_executable_p "$ac_path_EGREP" || continue
4206 # Check for GNU ac_path_EGREP and select it if it is found.
4207 # Check for GNU $ac_path_EGREP
4208 case `"$ac_path_EGREP" --version 2>&1` in
4210 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4213 $as_echo_n 0123456789 >"conftest.
in"
4216 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4217 mv "conftest.tmp
" "conftest.
in"
4218 cp "conftest.
in" "conftest.
nl"
4219 $as_echo 'EGREP' >> "conftest.
nl"
4220 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4221 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4222 as_fn_arith $ac_count + 1 && ac_count=$as_val
4223 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4224 # Best one so far, save it but keep looking for a better one
4225 ac_cv_path_EGREP="$ac_path_EGREP"
4226 ac_path_EGREP_max=$ac_count
4228 # 10*(2^10) chars as input seems more than enough
4229 test $ac_count -gt 10 && break
4231 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4234 $ac_path_EGREP_found && break 3
4239 if test -z "$ac_cv_path_EGREP"; then
4240 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4243 ac_cv_path_EGREP=$EGREP
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4249 $as_echo "$ac_cv_path_EGREP" >&6; }
4250 EGREP="$ac_cv_path_EGREP"
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4254 $as_echo_n "checking
for fgrep...
" >&6; }
4255 if ${ac_cv_path_FGREP+:} false; then :
4256 $as_echo_n "(cached
) " >&6
4258 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4259 then ac_cv_path_FGREP="$GREP -F"
4261 if test -z "$FGREP"; then
4262 ac_path_FGREP_found=false
4263 # Loop through the user's path and test for each of PROGNAME-LIST
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4268 test -z "$as_dir" && as_dir=.
4269 for ac_prog in fgrep; do
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4272 as_fn_executable_p "$ac_path_FGREP" || continue
4273 # Check for GNU ac_path_FGREP and select it if it is found.
4274 # Check for GNU $ac_path_FGREP
4275 case `"$ac_path_FGREP" --version 2>&1` in
4277 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4280 $as_echo_n 0123456789 >"conftest.
in"
4283 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4284 mv "conftest.tmp
" "conftest.
in"
4285 cp "conftest.
in" "conftest.
nl"
4286 $as_echo 'FGREP' >> "conftest.
nl"
4287 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4288 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4289 as_fn_arith $ac_count + 1 && ac_count=$as_val
4290 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4291 # Best one so far, save it but keep looking for a better one
4292 ac_cv_path_FGREP="$ac_path_FGREP"
4293 ac_path_FGREP_max=$ac_count
4295 # 10*(2^10) chars as input seems more than enough
4296 test $ac_count -gt 10 && break
4298 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4301 $ac_path_FGREP_found && break 3
4306 if test -z "$ac_cv_path_FGREP"; then
4307 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4310 ac_cv_path_FGREP=$FGREP
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4316 $as_echo "$ac_cv_path_FGREP" >&6; }
4317 FGREP="$ac_cv_path_FGREP"
4320 test -z "$GREP" && GREP=grep
4340 # Check whether --with-gnu-ld was given.
4341 if test "${with_gnu_ld+set}" = set; then :
4342 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4348 if test "$GCC" = yes; then
4349 # Check if gcc -print-prog-name=ld gives a path.
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4351 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4354 # gcc leaves a trailing carriage return which upsets mingw
4355 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4357 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4360 # Accept absolute paths.
4362 re_direlt='/[^/][^/]*/\.\./'
4363 # Canonicalize the pathname of ld
4364 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4365 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4366 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4368 test -z "$LD" && LD="$ac_prog"
4371 # If it fails, then pretend we aren't using GCC.
4375 # If it is relative, then search for the first ld in PATH.
4379 elif test "$with_gnu_ld" = yes; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4381 $as_echo_n "checking
for GNU ld...
" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4384 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4386 if ${lt_cv_path_LD+:} false; then :
4387 $as_echo_n "(cached
) " >&6
4389 if test -z "$LD"; then
4390 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4391 for ac_dir in $PATH; do
4393 test -z "$ac_dir" && ac_dir=.
4394 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4395 lt_cv_path_LD="$ac_dir/$ac_prog"
4396 # Check to see if the program is GNU ld. I'd rather use --version,
4397 # but apparently some variants of GNU ld only accept -v.
4398 # Break only if it was the GNU/non-GNU ld that we prefer.
4399 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4400 *GNU* | *'with BFD'*)
4401 test "$with_gnu_ld" != no && break
4404 test "$with_gnu_ld" != yes && break
4411 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4416 if test -n "$LD"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4418 $as_echo "$LD" >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4421 $as_echo "no
" >&6; }
4423 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4425 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4426 if ${lt_cv_prog_gnu_ld+:} false; then :
4427 $as_echo_n "(cached
) " >&6
4429 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4430 case `$LD -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 lt_cv_prog_gnu_ld=yes
4435 lt_cv_prog_gnu_ld=no
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4441 with_gnu_ld=$lt_cv_prog_gnu_ld
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4452 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4453 if ${lt_cv_path_NM+:} false; then :
4454 $as_echo_n "(cached
) " >&6
4456 if test -n "$NM"; then
4457 # Let the user override the test.
4460 lt_nm_to_check="${ac_tool_prefix}nm
"
4461 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4462 lt_nm_to_check="$lt_nm_to_check nm
"
4464 for lt_tmp_nm in $lt_nm_to_check; do
4465 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4466 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4468 test -z "$ac_dir" && ac_dir=.
4469 tmp_nm="$ac_dir/$lt_tmp_nm"
4470 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4471 # Check to see if the nm accepts a BSD-compat flag.
4472 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4473 # nm: unknown option "B
" ignored
4474 # Tru64's nm complains that /dev/null is an invalid object file
4475 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4476 */dev/null* | *'Invalid file or object type'*)
4477 lt_cv_path_NM="$tmp_nm -B"
4481 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4483 lt_cv_path_NM="$tmp_nm -p"
4487 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4488 continue # so that we can try to find one that supports BSD flags
4497 : ${lt_cv_path_NM=no}
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4501 $as_echo "$lt_cv_path_NM" >&6; }
4502 if test "$lt_cv_path_NM" != "no
"; then
4505 # Didn't find any BSD compatible name lister, look for dumpbin.
4506 if test -n "$DUMPBIN"; then :
4507 # Let the user override the test.
4509 if test -n "$ac_tool_prefix"; then
4510 for ac_prog in dumpbin "link
-dump"
4512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4515 $as_echo_n "checking
for $ac_word...
" >&6; }
4516 if ${ac_cv_prog_DUMPBIN+:} false; then :
4517 $as_echo_n "(cached
) " >&6
4519 if test -n "$DUMPBIN"; then
4520 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4539 DUMPBIN=$ac_cv_prog_DUMPBIN
4540 if test -n "$DUMPBIN"; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4542 $as_echo "$DUMPBIN" >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4545 $as_echo "no
" >&6; }
4549 test -n "$DUMPBIN" && break
4552 if test -z "$DUMPBIN"; then
4553 ac_ct_DUMPBIN=$DUMPBIN
4554 for ac_prog in dumpbin "link
-dump"
4556 # Extract the first word of "$ac_prog", so it can be a program name with args.
4557 set dummy $ac_prog; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4559 $as_echo_n "checking
for $ac_word...
" >&6; }
4560 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4561 $as_echo_n "(cached
) " >&6
4563 if test -n "$ac_ct_DUMPBIN"; then
4564 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4583 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4584 if test -n "$ac_ct_DUMPBIN"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4586 $as_echo "$ac_ct_DUMPBIN" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4589 $as_echo "no
" >&6; }
4593 test -n "$ac_ct_DUMPBIN" && break
4596 if test "x
$ac_ct_DUMPBIN" = x; then
4599 case $cross_compiling:$ac_tool_warned in
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4602 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4603 ac_tool_warned=yes ;;
4605 DUMPBIN=$ac_ct_DUMPBIN
4609 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4611 DUMPBIN="$DUMPBIN -symbols"
4619 if test "$DUMPBIN" != ":"; then
4623 test -z "$NM" && NM=nm
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4631 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4632 if ${lt_cv_nm_interface+:} false; then :
4633 $as_echo_n "(cached
) " >&6
4635 lt_cv_nm_interface="BSD nm
"
4636 echo "int some_variable
= 0;" > conftest.$ac_ext
4637 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4638 (eval "$ac_compile" 2>conftest.err)
4639 cat conftest.err >&5
4640 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4641 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4642 cat conftest.err >&5
4643 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4644 cat conftest.out >&5
4645 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4646 lt_cv_nm_interface="MS dumpbin
"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4651 $as_echo "$lt_cv_nm_interface" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
4654 $as_echo_n "checking whether
ln -s works...
" >&6; }
4656 if test "$LN_S" = "ln -s"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4658 $as_echo "yes" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
4661 $as_echo "no
, using
$LN_S" >&6; }
4664 # find the maximum length of command line arguments
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4666 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4667 if ${lt_cv_sys_max_cmd_len+:} false; then :
4668 $as_echo_n "(cached
) " >&6
4675 # On DJGPP, this test can blow up pretty badly due to problems in libc
4676 # (any single argument exceeding 2000 bytes causes a buffer overrun
4677 # during glob expansion). Even if it were fixed, the result of this
4678 # check would be larger than it should be.
4679 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4683 # Under GNU Hurd, this test is not required because there is
4684 # no limit to the length of command line arguments.
4685 # Libtool will interpret -1 as no limit whatsoever
4686 lt_cv_sys_max_cmd_len=-1;
4689 cygwin* | mingw* | cegcc*)
4690 # On Win9x/ME, this test blows up -- it succeeds, but takes
4691 # about 5 minutes as the teststring grows exponentially.
4692 # Worse, since 9x/ME are not pre-emptively multitasking,
4693 # you end up with a "frozen
" computer, even though with patience
4694 # the test eventually succeeds (with a max line length of 256k).
4695 # Instead, let's just punt: use the minimum linelength reported by
4696 # all of the supported platforms: 8192 (on NT/2K/XP).
4697 lt_cv_sys_max_cmd_len=8192;
4701 # On MiNT this can take a long time and run out of memory.
4702 lt_cv_sys_max_cmd_len=8192;
4706 # On AmigaOS with pdksh, this test takes hours, literally.
4707 # So we just punt and use a minimum line length of 8192.
4708 lt_cv_sys_max_cmd_len=8192;
4711 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4712 # This has been around since 386BSD, at least. Likely further.
4713 if test -x /sbin/sysctl; then
4714 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4715 elif test -x /usr/sbin/sysctl; then
4716 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4718 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4720 # And add a safety zone
4721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4722 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4726 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4727 lt_cv_sys_max_cmd_len=196608
4731 # The test takes a long time on OS/2.
4732 lt_cv_sys_max_cmd_len=8192
4736 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4737 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4738 # nice to cause kernel panics so lets avoid the loop below.
4739 # First set a reasonable default.
4740 lt_cv_sys_max_cmd_len=16384
4742 if test -x /sbin/sysconfig; then
4743 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4744 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4749 lt_cv_sys_max_cmd_len=102400
4751 sysv5* | sco5v6* | sysv4.2uw2*)
4752 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4753 if test -n "$kargmax"; then
4754 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4756 lt_cv_sys_max_cmd_len=32768
4760 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4761 if test -n "$lt_cv_sys_max_cmd_len"; then
4762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4763 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4765 # Make teststring a little bigger before we do anything with it.
4766 # a 1K string should be a reasonable start.
4767 for i in 1 2 3 4 5 6 7 8 ; do
4768 teststring=$teststring$teststring
4770 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4771 # If test is not a shell built-in, we'll probably end up computing a
4772 # maximum length that is only half of the actual maximum length, but
4774 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
4775 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4776 test $i != 17 # 1/2 MB should be enough
4779 teststring=$teststring$teststring
4781 # Only check the string length outside the loop.
4782 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4784 # Add a significant safety factor because C++ compilers can tack on
4785 # massive amounts of additional arguments before passing them to the
4786 # linker. It appears as though 1/2 is a usable value.
4787 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4794 if test -n $lt_cv_sys_max_cmd_len ; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4796 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4799 $as_echo "none
" >&6; }
4801 max_cmd_len=$lt_cv_sys_max_cmd_len
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
4813 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
4814 # Try some XSI features
4817 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4819 && eval 'test $(( 1 + 1 )) -eq 2 \
4820 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4823 $as_echo "$xsi_shell" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4827 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4829 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4831 && lt_shell_append
=yes
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4833 $as_echo "$lt_shell_append" >&6; }
4836 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4846 # test EBCDIC or ASCII
4847 case `echo X|tr X '\101'` in
4848 A
) # ASCII based system
4849 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4850 lt_SP2NL
='tr \040 \012'
4851 lt_NL2SP
='tr \015\012 \040\040'
4853 *) # EBCDIC based system
4854 lt_SP2NL
='tr \100 \n'
4855 lt_NL2SP
='tr \r\n \100\100'
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4868 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4869 if ${lt_cv_to_host_file_cmd+:} false
; then :
4870 $as_echo_n "(cached) " >&6
4875 *-*-mingw* ) # actually msys
4876 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4879 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4881 * ) # otherwise, assume *nix
4882 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4888 *-*-mingw* ) # actually msys
4889 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4892 lt_cv_to_host_file_cmd
=func_convert_file_noop
4894 * ) # otherwise, assume *nix
4895 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4899 * ) # unhandled hosts (and "normal" native builds)
4900 lt_cv_to_host_file_cmd
=func_convert_file_noop
4906 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4908 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4915 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4916 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4919 #assume ordinary cross tools, or native build.
4920 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4924 *-*-mingw* ) # actually msys
4925 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4933 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4935 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4942 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4943 if ${lt_cv_ld_reload_flag+:} false
; then :
4944 $as_echo_n "(cached) " >&6
4946 lt_cv_ld_reload_flag
='-r'
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4949 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4950 reload_flag
=$lt_cv_ld_reload_flag
4951 case $reload_flag in
4953 *) reload_flag
=" $reload_flag" ;;
4955 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4957 cygwin
* | mingw
* | pw32
* | cegcc
*)
4958 if test "$GCC" != yes; then
4963 if test "$GCC" = yes; then
4964 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4966 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4981 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$OBJDUMP"; then
4988 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 OBJDUMP
=$ac_cv_prog_OBJDUMP
5008 if test -n "$OBJDUMP"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5010 $as_echo "$OBJDUMP" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5018 if test -z "$ac_cv_prog_OBJDUMP"; then
5019 ac_ct_OBJDUMP
=$OBJDUMP
5020 # Extract the first word of "objdump", so it can be a program name with args.
5021 set dummy objdump
; ac_word
=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$ac_ct_OBJDUMP"; then
5028 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir
=.
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5048 if test -n "$ac_ct_OBJDUMP"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5050 $as_echo "$ac_ct_OBJDUMP" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5056 if test "x$ac_ct_OBJDUMP" = x
; then
5059 case $cross_compiling:$ac_tool_warned in
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063 ac_tool_warned
=yes ;;
5065 OBJDUMP
=$ac_ct_OBJDUMP
5068 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5071 test -z "$OBJDUMP" && OBJDUMP
=objdump
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5082 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5083 if ${lt_cv_deplibs_check_method+:} false
; then :
5084 $as_echo_n "(cached) " >&6
5086 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5087 lt_cv_file_magic_test_file
=
5088 lt_cv_deplibs_check_method
='unknown'
5089 # Need to set the preceding variable on all platforms that support
5090 # interlibrary dependencies.
5091 # 'none' -- dependencies not supported.
5092 # `unknown' -- same as none, but documents that we really don't know.
5093 # 'pass_all' -- all dependencies passed with no checks.
5094 # 'test_compile' -- check by making test program.
5095 # 'file_magic [[regex]]' -- check by looking for files in library path
5096 # which responds to the $file_magic_cmd with a given extended regex.
5097 # If you have `file' or equivalent on your system and you're not sure
5098 # whether `pass_all' will *always* work, you probably want this one.
5102 lt_cv_deplibs_check_method
=pass_all
5106 lt_cv_deplibs_check_method
=pass_all
5110 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5111 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5112 lt_cv_file_magic_test_file
=/shlib
/libc.so
5116 # func_win32_libid is a shell function defined in ltmain.sh
5117 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5118 lt_cv_file_magic_cmd
='func_win32_libid'
5122 # Base MSYS/MinGW do not provide the 'file' command needed by
5123 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5124 # unless we find 'file', for example because we are cross-compiling.
5125 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5126 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5127 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5128 lt_cv_file_magic_cmd
='func_win32_libid'
5130 # Keep this pattern in sync with the one in func_win32_libid.
5131 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5132 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5137 # use the weaker test based on 'objdump'. See mingw*.
5138 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5139 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5142 darwin
* | rhapsody
*)
5143 lt_cv_deplibs_check_method
=pass_all
5146 freebsd
* | dragonfly
*)
5147 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5150 # Not sure whether the presence of OpenBSD here was a mistake.
5151 # Let's accept both of them until this is cleared up.
5152 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5153 lt_cv_file_magic_cmd
=/usr
/bin
/file
5154 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5158 lt_cv_deplibs_check_method
=pass_all
5163 lt_cv_deplibs_check_method
=pass_all
5166 hpux10.20
* | hpux11
*)
5167 lt_cv_file_magic_cmd
=/usr
/bin
/file
5170 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5171 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5174 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]'
5175 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5178 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5179 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5185 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5186 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5189 irix5
* | irix6
* | nonstopux
*)
5191 *-32|
*"-32 ") libmagic
=32-bit;;
5192 *-n32|
*"-n32 ") libmagic
=N32
;;
5193 *-64|
*"-64 ") libmagic
=64-bit;;
5194 *) libmagic
=never-match
;;
5196 lt_cv_deplibs_check_method
=pass_all
5199 # This must be glibc/ELF.
5200 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
5201 lt_cv_deplibs_check_method
=pass_all
5204 netbsd
* | netbsdelf
*-gnu)
5205 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5206 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5208 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5213 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5214 lt_cv_file_magic_cmd
=/usr
/bin
/file
5215 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5219 lt_cv_deplibs_check_method
=pass_all
5223 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5224 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5226 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5230 osf3
* | osf4
* | osf5
*)
5231 lt_cv_deplibs_check_method
=pass_all
5235 lt_cv_deplibs_check_method
=pass_all
5239 lt_cv_deplibs_check_method
=pass_all
5242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5243 lt_cv_deplibs_check_method
=pass_all
5247 case $host_vendor in
5249 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]'
5250 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5253 lt_cv_deplibs_check_method
=pass_all
5256 lt_cv_file_magic_cmd
='/bin/file'
5257 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5260 lt_cv_file_magic_cmd
='/bin/file'
5261 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5262 lt_cv_file_magic_test_file
=/lib
/libc.so
5265 lt_cv_deplibs_check_method
=pass_all
5268 lt_cv_deplibs_check_method
=pass_all
5274 lt_cv_deplibs_check_method
=pass_all
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5280 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5284 if test "$build" = "$host"; then
5287 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5290 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5296 file_magic_cmd
=$lt_cv_file_magic_cmd
5297 deplibs_check_method
=$lt_cv_deplibs_check_method
5298 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5323 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5327 $as_echo_n "(cached) " >&6
5329 if test -n "$DLLTOOL"; then
5330 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_exec_ext
in '' $ac_executable_extensions; do
5338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 DLLTOOL
=$ac_cv_prog_DLLTOOL
5350 if test -n "$DLLTOOL"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5352 $as_echo "$DLLTOOL" >&6; }
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_DLLTOOL"; then
5361 ac_ct_DLLTOOL
=$DLLTOOL
5362 # Extract the first word of "dlltool", so it can be a program name with args.
5363 set dummy dlltool
; ac_word
=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$ac_ct_DLLTOOL"; then
5370 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir
=.
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5390 if test -n "$ac_ct_DLLTOOL"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5392 $as_echo "$ac_ct_DLLTOOL" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_DLLTOOL" = x
; then
5401 case $cross_compiling:$ac_tool_warned in
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned
=yes ;;
5407 DLLTOOL
=$ac_ct_DLLTOOL
5410 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5413 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5425 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5426 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5429 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5432 cygwin
* | mingw
* | pw32
* | cegcc
*)
5433 # two different shell functions defined in ltmain.sh
5434 # decide which to use based on capabilities of $DLLTOOL
5435 case `$DLLTOOL --help 2>&1` in
5436 *--identify-strict*)
5437 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5440 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5445 # fallback: assume linklib IS sharedlib
5446 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5452 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5453 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5454 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5463 if test -n "$ac_tool_prefix"; then
5466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5467 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_AR+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 if test -n "$AR"; then
5474 ac_cv_prog_AR
="$AR" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 if test -n "$AR"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5496 $as_echo "$AR" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5503 test -n "$AR" && break
5506 if test -z "$AR"; then
5510 # Extract the first word of "$ac_prog", so it can be a program name with args.
5511 set dummy
$ac_prog; ac_word
=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -n "$ac_ct_AR"; then
5518 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir
=.
5525 for ac_exec_ext
in '' $ac_executable_extensions; do
5526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_AR
="$ac_prog"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5538 if test -n "$ac_ct_AR"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5540 $as_echo "$ac_ct_AR" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5547 test -n "$ac_ct_AR" && break
5550 if test "x$ac_ct_AR" = x
; then
5553 case $cross_compiling:$ac_tool_warned in
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned
=yes ;;
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5577 $as_echo_n "checking for archiver @FILE support... " >&6; }
5578 if ${lt_cv_ar_at_file+:} false
; then :
5579 $as_echo_n "(cached) " >&6
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5593 if ac_fn_c_try_compile
"$LINENO"; then :
5594 echo conftest.
$ac_objext > conftest.lst
5595 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5596 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5597 (eval $lt_ar_try) 2>&5
5599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5600 test $ac_status = 0; }
5601 if test "$ac_status" -eq 0; then
5602 # Ensure the archiver fails upon bogus file names.
5603 rm -f conftest.
$ac_objext libconftest.a
5604 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5605 (eval $lt_ar_try) 2>&5
5607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5608 test $ac_status = 0; }
5609 if test "$ac_status" -ne 0; then
5613 rm -f conftest.
* libconftest.a
5616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5620 $as_echo "$lt_cv_ar_at_file" >&6; }
5622 if test "x$lt_cv_ar_at_file" = xno
; then
5625 archiver_list_spec
=$lt_cv_ar_at_file
5634 if test -n "$ac_tool_prefix"; then
5635 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5636 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_STRIP+:} false
; then :
5640 $as_echo_n "(cached) " >&6
5642 if test -n "$STRIP"; then
5643 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir
=.
5650 for ac_exec_ext
in '' $ac_executable_extensions; do
5651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 STRIP
=$ac_cv_prog_STRIP
5663 if test -n "$STRIP"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5665 $as_echo "$STRIP" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5673 if test -z "$ac_cv_prog_STRIP"; then
5675 # Extract the first word of "strip", so it can be a program name with args.
5676 set dummy strip
; ac_word
=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5682 if test -n "$ac_ct_STRIP"; then
5683 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_ac_ct_STRIP
="strip"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5703 if test -n "$ac_ct_STRIP"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5705 $as_echo "$ac_ct_STRIP" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5711 if test "x$ac_ct_STRIP" = x
; then
5714 case $cross_compiling:$ac_tool_warned in
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5718 ac_tool_warned
=yes ;;
5723 STRIP
="$ac_cv_prog_STRIP"
5726 test -z "$STRIP" && STRIP
=:
5733 if test -n "$ac_tool_prefix"; then
5734 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5735 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_RANLIB+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$RANLIB"; then
5742 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir
=.
5749 for ac_exec_ext
in '' $ac_executable_extensions; do
5750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 RANLIB
=$ac_cv_prog_RANLIB
5762 if test -n "$RANLIB"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5764 $as_echo "$RANLIB" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5772 if test -z "$ac_cv_prog_RANLIB"; then
5773 ac_ct_RANLIB
=$RANLIB
5774 # Extract the first word of "ranlib", so it can be a program name with args.
5775 set dummy ranlib
; ac_word
=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5779 $as_echo_n "(cached) " >&6
5781 if test -n "$ac_ct_RANLIB"; then
5782 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir
=.
5789 for ac_exec_ext
in '' $ac_executable_extensions; do
5790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5791 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5802 if test -n "$ac_ct_RANLIB"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5804 $as_echo "$ac_ct_RANLIB" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5810 if test "x$ac_ct_RANLIB" = x
; then
5813 case $cross_compiling:$ac_tool_warned in
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817 ac_tool_warned
=yes ;;
5819 RANLIB
=$ac_ct_RANLIB
5822 RANLIB
="$ac_cv_prog_RANLIB"
5825 test -z "$RANLIB" && RANLIB
=:
5832 # Determine commands to create old-style static archives.
5833 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5834 old_postinstall_cmds
='chmod 644 $oldlib'
5835 old_postuninstall_cmds
=
5837 if test -n "$RANLIB"; then
5840 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5843 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5846 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5851 lock_old_archive_extraction
=yes ;;
5853 lock_old_archive_extraction
=no
;;
5894 # If no C compiler was specified, use CC.
5897 # If no C compiler flags were specified, use CFLAGS.
5898 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5900 # Allow CC to be a program name with arguments.
5904 # Check for command to grab the raw symbol name followed by C symbol from nm.
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5906 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5907 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5908 $as_echo_n "(cached) " >&6
5911 # These are sane defaults that work on at least a few old systems.
5912 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5914 # Character class describing NM global symbol codes.
5915 symcode
='[BCDEGRST]'
5917 # Regexp to match symbols that can be accessed directly from C.
5918 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5920 # Define system-specific variables.
5925 cygwin
* | mingw
* | pw32
* | cegcc
*)
5926 symcode
='[ABCDGISTW]'
5929 if test "$host_cpu" = ia64
; then
5930 symcode
='[ABCDEGRST]'
5934 symcode
='[BCDEGRST]'
5937 symcode
='[BCDEGQRST]'
5948 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5956 # If we're using GNU nm, then use its standard symbol codes.
5957 case `$NM -V 2>&1` in
5958 *GNU
* |
*'with BFD'*)
5959 symcode
='[ABCDGIRSTW]' ;;
5962 # Transform an extracted symbol line into a proper C declaration.
5963 # Some systems (esp. on ia64) link data and code symbols differently,
5964 # so use this general approach.
5965 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5967 # Transform an extracted symbol line into symbol name and symbol address
5968 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5969 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5971 # Handle CRLF in mingw tool chain
5975 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5979 # Try without a prefix underscore, then with it.
5980 for ac_symprfx
in "" "_"; do
5982 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5983 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5985 # Write the raw and C identifiers.
5986 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5987 # Fake it for dumpbin and say T for any non-static function
5988 # and D for any global variable.
5989 # Also find C++ and __fastcall symbols from MSVC++,
5990 # which start with @ or ?.
5991 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5992 " {last_section=section; section=\$ 3};"\
5993 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5994 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5995 " \$ 0!~/External *\|/{next};"\
5996 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5997 " {if(hide[section]) next};"\
5998 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5999 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6000 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6001 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6002 " ' prfx=^$ac_symprfx"
6004 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6006 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6008 # Check to see that the pipe works correctly.
6012 cat > conftest.
$ac_ext <<_LT_EOF
6017 void nm_test_func(void);
6018 void nm_test_func(void){}
6022 int main(){nm_test_var='a';nm_test_func();return(0);}
6025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6026 (eval $ac_compile) 2>&5
6028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6029 test $ac_status = 0; }; then
6030 # Now try to grab the symbols.
6032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6033 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6036 test $ac_status = 0; } && test -s "$nlist"; then
6037 # Try sorting and uniquifying the output.
6038 if sort "$nlist" |
uniq > "$nlist"T
; then
6039 mv -f "$nlist"T
"$nlist"
6044 # Make sure that we snagged all the symbols we need.
6045 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6046 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6047 cat <<_LT_EOF > conftest.$ac_ext
6048 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6049 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6050 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6051 relocations are performed -- see ld's documentation on pseudo-relocs. */
6052 # define LT_DLSYM_CONST
6053 #elif defined(__osf__)
6054 /* This system does not cope well with relocations in const data. */
6055 # define LT_DLSYM_CONST
6057 # define LT_DLSYM_CONST const
6065 # Now generate the symbol file.
6066 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6068 cat <<_LT_EOF >> conftest.$ac_ext
6070 /* The mapping between symbol names and symbols. */
6071 LT_DLSYM_CONST struct {
6075 lt__PROGRAM__LTX_preloaded_symbols[] =
6077 { "@PROGRAM@", (void *) 0 },
6079 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6080 cat <<\_LT_EOF
>> conftest.
$ac_ext
6084 /* This works around a problem
in FreeBSD linker
*/
6085 #ifdef FREEBSD_WORKAROUND
6086 static const void
*lt_preloaded_setup
() {
6087 return lt__PROGRAM__LTX_preloaded_symbols
;
6095 # Now try linking the two files.
6096 mv conftest.
$ac_objext conftstm.
$ac_objext
6097 lt_globsym_save_LIBS
=$LIBS
6098 lt_globsym_save_CFLAGS
=$CFLAGS
6099 LIBS
="conftstm.$ac_objext"
6100 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6102 (eval $ac_link) 2>&5
6104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6105 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6108 LIBS
=$lt_globsym_save_LIBS
6109 CFLAGS
=$lt_globsym_save_CFLAGS
6111 echo "cannot find nm_test_func in $nlist" >&5
6114 echo "cannot find nm_test_var in $nlist" >&5
6117 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6120 echo "$progname: failed program was:" >&5
6121 cat conftest.
$ac_ext >&5
6123 rm -rf conftest
* conftst
*
6125 # Do not use the global_symbol_pipe unless it works.
6126 if test "$pipe_works" = yes; then
6129 lt_cv_sys_global_symbol_pipe
=
6135 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6136 lt_cv_sys_global_symbol_to_cdecl
=
6138 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6140 $as_echo "failed" >&6; }
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6143 $as_echo "ok" >&6; }
6146 # Response file support.
6147 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6148 nm_file_list_spec
='@'
6149 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
6150 nm_file_list_spec
='@'
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6180 $as_echo_n "checking for sysroot... " >&6; }
6182 # Check whether --with-sysroot was given.
6183 if test "${with_sysroot+set}" = set; then :
6184 withval
=$with_sysroot;
6191 case ${with_sysroot} in #(
6193 if test "$GCC" = yes; then
6194 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6198 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6204 $as_echo "${with_sysroot}" >&6; }
6205 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6210 $as_echo "${lt_sysroot:-no}" >&6; }
6216 # Check whether --enable-libtool-lock was given.
6217 if test "${enable_libtool_lock+set}" = set; then :
6218 enableval
=$enable_libtool_lock;
6221 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6223 # Some flags need to be propagated to the compiler or linker for good
6227 # Find out which ABI we are using.
6228 echo 'int i;' > conftest.
$ac_ext
6229 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6230 (eval $ac_compile) 2>&5
6232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6233 test $ac_status = 0; }; then
6234 case `/usr/bin/file conftest.$ac_objext` in
6246 # Find out which ABI we are using.
6247 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6249 (eval $ac_compile) 2>&5
6251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252 test $ac_status = 0; }; then
6253 if test "$lt_cv_prog_gnu_ld" = yes; then
6254 case `/usr/bin/file conftest.$ac_objext` in
6256 LD
="${LD-ld} -melf32bsmip"
6259 LD
="${LD-ld} -melf32bmipn32"
6262 LD
="${LD-ld} -melf64bmip"
6266 case `/usr/bin/file conftest.$ac_objext` in
6282 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6283 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6284 # Find out which ABI we are using.
6285 echo 'int i;' > conftest.
$ac_ext
6286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6287 (eval $ac_compile) 2>&5
6289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6290 test $ac_status = 0; }; then
6291 case `/usr/bin/file conftest.o` in
6294 x86_64-
*kfreebsd
*-gnu)
6295 LD
="${LD-ld} -m elf_i386_fbsd"
6298 LD
="${LD-ld} -m elf_i386"
6300 ppc64-
*linux
*|powerpc64-
*linux
*)
6301 LD
="${LD-ld} -m elf32ppclinux"
6304 LD
="${LD-ld} -m elf_s390"
6307 LD
="${LD-ld} -m elf32_sparc"
6313 x86_64-
*kfreebsd
*-gnu)
6314 LD
="${LD-ld} -m elf_x86_64_fbsd"
6317 LD
="${LD-ld} -m elf_x86_64"
6319 ppc
*-*linux
*|powerpc
*-*linux
*)
6320 LD
="${LD-ld} -m elf64ppc"
6322 s390
*-*linux
*|s390
*-*tpf
*)
6323 LD
="${LD-ld} -m elf64_s390"
6326 LD
="${LD-ld} -m elf64_sparc"
6336 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6337 SAVE_CFLAGS
="$CFLAGS"
6338 CFLAGS
="$CFLAGS -belf"
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6340 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6341 if ${lt_cv_cc_needs_belf+:} false
; then :
6342 $as_echo_n "(cached) " >&6
6345 ac_cpp
='$CPP $CPPFLAGS'
6346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6361 if ac_fn_c_try_link
"$LINENO"; then :
6362 lt_cv_cc_needs_belf
=yes
6364 lt_cv_cc_needs_belf
=no
6366 rm -f core conftest.err conftest.
$ac_objext \
6367 conftest
$ac_exeext conftest.
$ac_ext
6369 ac_cpp
='$CPP $CPPFLAGS'
6370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6376 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6377 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6378 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6379 CFLAGS
="$SAVE_CFLAGS"
6383 # Find out which ABI we are using.
6384 echo 'int i;' > conftest.
$ac_ext
6385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6386 (eval $ac_compile) 2>&5
6388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6389 test $ac_status = 0; }; then
6390 case `/usr/bin/file conftest.o` in
6392 case $lt_cv_prog_gnu_ld in
6396 LD
="${LD-ld} -m elf_x86_64"
6399 LD
="${LD-ld} -m elf64_sparc"
6402 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6403 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6408 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6420 need_locks
="$enable_libtool_lock"
6422 if test -n "$ac_tool_prefix"; then
6423 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6424 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6428 $as_echo_n "(cached) " >&6
6430 if test -n "$MANIFEST_TOOL"; then
6431 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir
=.
6438 for ac_exec_ext
in '' $ac_executable_extensions; do
6439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6451 if test -n "$MANIFEST_TOOL"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6453 $as_echo "$MANIFEST_TOOL" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6461 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6462 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6463 # Extract the first word of "mt", so it can be a program name with args.
6464 set dummy mt
; ac_word
=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6468 $as_echo_n "(cached) " >&6
6470 if test -n "$ac_ct_MANIFEST_TOOL"; then
6471 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6477 test -z "$as_dir" && as_dir
=.
6478 for ac_exec_ext
in '' $ac_executable_extensions; do
6479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6491 if test -n "$ac_ct_MANIFEST_TOOL"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6493 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6499 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6502 case $cross_compiling:$ac_tool_warned in
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6506 ac_tool_warned
=yes ;;
6508 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6511 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6514 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6516 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6517 if ${lt_cv_path_mainfest_tool+:} false
; then :
6518 $as_echo_n "(cached) " >&6
6520 lt_cv_path_mainfest_tool
=no
6521 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6522 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6523 cat conftest.err
>&5
6524 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6525 lt_cv_path_mainfest_tool
=yes
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6530 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6531 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6541 rhapsody
* | darwin
*)
6542 if test -n "$ac_tool_prefix"; then
6543 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6544 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6548 $as_echo_n "(cached) " >&6
6550 if test -n "$DSYMUTIL"; then
6551 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir
=.
6558 for ac_exec_ext
in '' $ac_executable_extensions; do
6559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6571 if test -n "$DSYMUTIL"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6573 $as_echo "$DSYMUTIL" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6581 if test -z "$ac_cv_prog_DSYMUTIL"; then
6582 ac_ct_DSYMUTIL
=$DSYMUTIL
6583 # Extract the first word of "dsymutil", so it can be a program name with args.
6584 set dummy dsymutil
; ac_word
=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6588 $as_echo_n "(cached) " >&6
6590 if test -n "$ac_ct_DSYMUTIL"; then
6591 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir
=.
6598 for ac_exec_ext
in '' $ac_executable_extensions; do
6599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6611 if test -n "$ac_ct_DSYMUTIL"; then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6613 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6619 if test "x$ac_ct_DSYMUTIL" = x
; then
6622 case $cross_compiling:$ac_tool_warned in
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6626 ac_tool_warned
=yes ;;
6628 DSYMUTIL
=$ac_ct_DSYMUTIL
6631 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6634 if test -n "$ac_tool_prefix"; then
6635 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6636 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_NMEDIT+:} false
; then :
6640 $as_echo_n "(cached) " >&6
6642 if test -n "$NMEDIT"; then
6643 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6649 test -z "$as_dir" && as_dir
=.
6650 for ac_exec_ext
in '' $ac_executable_extensions; do
6651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 NMEDIT
=$ac_cv_prog_NMEDIT
6663 if test -n "$NMEDIT"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6665 $as_echo "$NMEDIT" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6673 if test -z "$ac_cv_prog_NMEDIT"; then
6674 ac_ct_NMEDIT
=$NMEDIT
6675 # Extract the first word of "nmedit", so it can be a program name with args.
6676 set dummy nmedit
; ac_word
=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6680 $as_echo_n "(cached) " >&6
6682 if test -n "$ac_ct_NMEDIT"; then
6683 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir
=.
6690 for ac_exec_ext
in '' $ac_executable_extensions; do
6691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6703 if test -n "$ac_ct_NMEDIT"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6705 $as_echo "$ac_ct_NMEDIT" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6711 if test "x$ac_ct_NMEDIT" = x
; then
6714 case $cross_compiling:$ac_tool_warned in
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6718 ac_tool_warned
=yes ;;
6720 NMEDIT
=$ac_ct_NMEDIT
6723 NMEDIT
="$ac_cv_prog_NMEDIT"
6726 if test -n "$ac_tool_prefix"; then
6727 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6728 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_prog_LIPO+:} false
; then :
6732 $as_echo_n "(cached) " >&6
6734 if test -n "$LIPO"; then
6735 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6741 test -z "$as_dir" && as_dir
=.
6742 for ac_exec_ext
in '' $ac_executable_extensions; do
6743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 LIPO
=$ac_cv_prog_LIPO
6755 if test -n "$LIPO"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6757 $as_echo "$LIPO" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6765 if test -z "$ac_cv_prog_LIPO"; then
6767 # Extract the first word of "lipo", so it can be a program name with args.
6768 set dummy lipo
; ac_word
=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6772 $as_echo_n "(cached) " >&6
6774 if test -n "$ac_ct_LIPO"; then
6775 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6781 test -z "$as_dir" && as_dir
=.
6782 for ac_exec_ext
in '' $ac_executable_extensions; do
6783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6784 ac_cv_prog_ac_ct_LIPO
="lipo"
6785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6795 if test -n "$ac_ct_LIPO"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6797 $as_echo "$ac_ct_LIPO" >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6803 if test "x$ac_ct_LIPO" = x
; then
6806 case $cross_compiling:$ac_tool_warned in
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6810 ac_tool_warned
=yes ;;
6815 LIPO
="$ac_cv_prog_LIPO"
6818 if test -n "$ac_tool_prefix"; then
6819 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6820 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if ${ac_cv_prog_OTOOL+:} false
; then :
6824 $as_echo_n "(cached) " >&6
6826 if test -n "$OTOOL"; then
6827 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir
=.
6834 for ac_exec_ext
in '' $ac_executable_extensions; do
6835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 OTOOL
=$ac_cv_prog_OTOOL
6847 if test -n "$OTOOL"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6849 $as_echo "$OTOOL" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6857 if test -z "$ac_cv_prog_OTOOL"; then
6859 # Extract the first word of "otool", so it can be a program name with args.
6860 set dummy otool
; ac_word
=$2
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 $as_echo_n "checking for $ac_word... " >&6; }
6863 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6864 $as_echo_n "(cached) " >&6
6866 if test -n "$ac_ct_OTOOL"; then
6867 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6873 test -z "$as_dir" && as_dir
=.
6874 for ac_exec_ext
in '' $ac_executable_extensions; do
6875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_ac_ct_OTOOL
="otool"
6877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6887 if test -n "$ac_ct_OTOOL"; then
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6889 $as_echo "$ac_ct_OTOOL" >&6; }
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6895 if test "x$ac_ct_OTOOL" = x
; then
6898 case $cross_compiling:$ac_tool_warned in
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned
=yes ;;
6907 OTOOL
="$ac_cv_prog_OTOOL"
6910 if test -n "$ac_tool_prefix"; then
6911 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6912 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if ${ac_cv_prog_OTOOL64+:} false
; then :
6916 $as_echo_n "(cached) " >&6
6918 if test -n "$OTOOL64"; then
6919 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6925 test -z "$as_dir" && as_dir
=.
6926 for ac_exec_ext
in '' $ac_executable_extensions; do
6927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6928 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 OTOOL64
=$ac_cv_prog_OTOOL64
6939 if test -n "$OTOOL64"; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6941 $as_echo "$OTOOL64" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6949 if test -z "$ac_cv_prog_OTOOL64"; then
6950 ac_ct_OTOOL64
=$OTOOL64
6951 # Extract the first word of "otool64", so it can be a program name with args.
6952 set dummy otool64
; ac_word
=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6956 $as_echo_n "(cached) " >&6
6958 if test -n "$ac_ct_OTOOL64"; then
6959 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir
=.
6966 for ac_exec_ext
in '' $ac_executable_extensions; do
6967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6979 if test -n "$ac_ct_OTOOL64"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6981 $as_echo "$ac_ct_OTOOL64" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6987 if test "x$ac_ct_OTOOL64" = x
; then
6990 case $cross_compiling:$ac_tool_warned in
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6994 ac_tool_warned
=yes ;;
6996 OTOOL64
=$ac_ct_OTOOL64
6999 OTOOL64
="$ac_cv_prog_OTOOL64"
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7029 $as_echo_n "checking for -single_module linker flag... " >&6; }
7030 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7031 $as_echo_n "(cached) " >&6
7033 lt_cv_apple_cc_single_mod
=no
7034 if test -z "${LT_MULTI_MODULE}"; then
7035 # By default we will add the -single_module flag. You can override
7036 # by either setting the environment variable LT_MULTI_MODULE
7037 # non-empty at configure time, or by adding -multi_module to the
7039 rm -rf libconftest.dylib
*
7040 echo "int foo(void){return 1;}" > conftest.c
7041 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7042 -dynamiclib -Wl,-single_module conftest.c" >&5
7043 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7044 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7046 # If there is a non-empty error log, and "single_module"
7047 # appears in it, assume the flag caused a linker warning
7048 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7049 cat conftest.err
>&5
7050 # Otherwise, if the output was created with a 0 exit code from
7051 # the compiler, it worked.
7052 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
7053 lt_cv_apple_cc_single_mod
=yes
7055 cat conftest.err
>&5
7057 rm -rf libconftest.dylib
*
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7062 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7065 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7066 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7067 $as_echo_n "(cached) " >&6
7069 lt_cv_ld_exported_symbols_list
=no
7070 save_LDFLAGS
=$LDFLAGS
7071 echo "_main" > conftest.sym
7072 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7084 if ac_fn_c_try_link
"$LINENO"; then :
7085 lt_cv_ld_exported_symbols_list
=yes
7087 lt_cv_ld_exported_symbols_list
=no
7089 rm -f core conftest.err conftest.
$ac_objext \
7090 conftest
$ac_exeext conftest.
$ac_ext
7091 LDFLAGS
="$save_LDFLAGS"
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7095 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7098 $as_echo_n "checking for -force_load linker flag... " >&6; }
7099 if ${lt_cv_ld_force_load+:} false
; then :
7100 $as_echo_n "(cached) " >&6
7102 lt_cv_ld_force_load
=no
7103 cat > conftest.c
<< _LT_EOF
7104 int forced_loaded() { return 2;}
7106 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7107 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7108 echo "$AR cru libconftest.a conftest.o" >&5
7109 $AR cru libconftest.a conftest.o
2>&5
7110 echo "$RANLIB libconftest.a" >&5
7111 $RANLIB libconftest.a
2>&5
7112 cat > conftest.c
<< _LT_EOF
7113 int main() { return 0;}
7115 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7116 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7118 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7119 cat conftest.err
>&5
7120 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7121 lt_cv_ld_force_load
=yes
7123 cat conftest.err
>&5
7125 rm -f conftest.err libconftest.a conftest conftest.c
7126 rm -rf conftest.dSYM
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7130 $as_echo "$lt_cv_ld_force_load" >&6; }
7132 rhapsody
* | darwin1.
[012])
7133 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7135 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7136 darwin
*) # darwin 5.x on
7137 # if running on 10.5 or later, the deployment target defaults
7138 # to the OS version, if on x86, and 10.4, the deployment
7139 # target defaults to 10.4. Don't you love it?
7140 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7141 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7142 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7144 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7146 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7150 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7151 _lt_dar_single_mod
='$single_module'
7153 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7154 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7156 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7158 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7159 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7167 ac_cpp
='$CPP $CPPFLAGS'
7168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7172 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7173 # On Suns, sometimes $CPP names a directory.
7174 if test -n "$CPP" && test -d "$CPP"; then
7177 if test -z "$CPP"; then
7178 if ${ac_cv_prog_CPP+:} false
; then :
7179 $as_echo_n "(cached) " >&6
7181 # Double quotes because CPP needs to be expanded
7182 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7185 for ac_c_preproc_warn_flag
in '' yes
7187 # Use a header file that comes with gcc, so configuring glibc
7188 # with a fresh cross-compiler works.
7189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7190 # <limits.h> exists even on freestanding compilers.
7191 # On the NeXT, cc -E runs the code through the compiler's parser,
7192 # not just through cpp. "Syntax error" is here to catch this case.
7193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7196 # include <limits.h>
7198 # include <assert.h>
7202 if ac_fn_c_try_cpp
"$LINENO"; then :
7205 # Broken: fails on valid input.
7208 rm -f conftest.err conftest.i conftest.
$ac_ext
7210 # OK, works on sane cases. Now check whether nonexistent headers
7211 # can be detected and how.
7212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7214 #include <ac_nonexistent.h>
7216 if ac_fn_c_try_cpp
"$LINENO"; then :
7217 # Broken: success on invalid input.
7220 # Passes both tests.
7224 rm -f conftest.err conftest.i conftest.
$ac_ext
7227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7228 rm -f conftest.i conftest.err conftest.
$ac_ext
7229 if $ac_preproc_ok; then :
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7242 $as_echo "$CPP" >&6; }
7244 for ac_c_preproc_warn_flag
in '' yes
7246 # Use a header file that comes with gcc, so configuring glibc
7247 # with a fresh cross-compiler works.
7248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7249 # <limits.h> exists even on freestanding compilers.
7250 # On the NeXT, cc -E runs the code through the compiler's parser,
7251 # not just through cpp. "Syntax error" is here to catch this case.
7252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7255 # include <limits.h>
7257 # include <assert.h>
7261 if ac_fn_c_try_cpp
"$LINENO"; then :
7264 # Broken: fails on valid input.
7267 rm -f conftest.err conftest.i conftest.
$ac_ext
7269 # OK, works on sane cases. Now check whether nonexistent headers
7270 # can be detected and how.
7271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h. */
7273 #include <ac_nonexistent.h>
7275 if ac_fn_c_try_cpp
"$LINENO"; then :
7276 # Broken: success on invalid input.
7279 # Passes both tests.
7283 rm -f conftest.err conftest.i conftest.
$ac_ext
7286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7287 rm -f conftest.i conftest.err conftest.
$ac_ext
7288 if $ac_preproc_ok; then :
7291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7293 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7294 See \`config.log' for more details" "$LINENO" 5; }
7298 ac_cpp
='$CPP $CPPFLAGS'
7299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7305 $as_echo_n "checking for ANSI C header files... " >&6; }
7306 if ${ac_cv_header_stdc+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h. */
7324 if ac_fn_c_try_compile
"$LINENO"; then :
7325 ac_cv_header_stdc
=yes
7327 ac_cv_header_stdc
=no
7329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7331 if test $ac_cv_header_stdc = yes; then
7332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7339 $EGREP "memchr" >/dev
/null
2>&1; then :
7342 ac_cv_header_stdc
=no
7348 if test $ac_cv_header_stdc = yes; then
7349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7351 /* end confdefs.h. */
7355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7356 $EGREP "free" >/dev
/null
2>&1; then :
7359 ac_cv_header_stdc
=no
7365 if test $ac_cv_header_stdc = yes; then
7366 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7367 if test "$cross_compiling" = yes; then :
7370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7374 #if ((' ' & 0x0FF) == 0x020)
7375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7378 # define ISLOWER(c) \
7379 (('a' <= (c) && (c) <= 'i') \
7380 || ('j' <= (c) && (c) <= 'r') \
7381 || ('s' <= (c) && (c) <= 'z'))
7382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7390 for (i = 0; i < 256; i++)
7391 if (XOR (islower (i), ISLOWER (i))
7392 || toupper (i) != TOUPPER (i))
7397 if ac_fn_c_try_run
"$LINENO"; then :
7400 ac_cv_header_stdc
=no
7402 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7403 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7409 $as_echo "$ac_cv_header_stdc" >&6; }
7410 if test $ac_cv_header_stdc = yes; then
7412 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7416 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7417 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7418 inttypes.h stdint.h unistd.h
7420 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7421 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7423 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7424 cat >>confdefs.h
<<_ACEOF
7425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7433 for ac_header
in dlfcn.h
7435 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7437 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7438 cat >>confdefs.h
<<_ACEOF
7439 #define HAVE_DLFCN_H 1
7460 # Check whether --enable-shared was given.
7461 if test "${enable_shared+set}" = set; then :
7462 enableval
=$enable_shared; p
=${PACKAGE-default}
7464 yes) enable_shared
=yes ;;
7465 no
) enable_shared
=no
;;
7468 # Look at the argument we got. We use all the common list separators.
7469 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7470 for pkg
in $enableval; do
7472 if test "X$pkg" = "X$p"; then
7493 # Check whether --with-pic was given.
7494 if test "${with_pic+set}" = set; then :
7495 withval
=$with_pic; lt_p
=${PACKAGE-default}
7497 yes|no
) pic_mode
=$withval ;;
7500 # Look at the argument we got. We use all the common list separators.
7501 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7502 for lt_pkg
in $withval; do
7504 if test "X$lt_pkg" = "X$lt_p"; then
7516 test -z "$pic_mode" && pic_mode
=default
7524 # Check whether --enable-fast-install was given.
7525 if test "${enable_fast_install+set}" = set; then :
7526 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7528 yes) enable_fast_install
=yes ;;
7529 no
) enable_fast_install
=no
;;
7531 enable_fast_install
=no
7532 # Look at the argument we got. We use all the common list separators.
7533 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7534 for pkg
in $enableval; do
7536 if test "X$pkg" = "X$p"; then
7537 enable_fast_install
=yes
7544 enable_fast_install
=yes
7557 # This can be used to rebuild libtool when needed
7558 LIBTOOL_DEPS
="$ltmain"
7560 # Always use our own libtool.
7561 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7592 test -z "$LN_S" && LN_S
="ln -s"
7607 if test -n "${ZSH_VERSION+set}" ; then
7608 setopt NO_GLOB_SUBST
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7612 $as_echo_n "checking for objdir... " >&6; }
7613 if ${lt_cv_objdir+:} false
; then :
7614 $as_echo_n "(cached) " >&6
7616 rm -f .libs
2>/dev
/null
7617 mkdir .libs
2>/dev
/null
7618 if test -d .libs
; then
7621 # MS-DOS does not allow filenames that begin with a dot.
7624 rmdir .libs
2>/dev
/null
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7627 $as_echo "$lt_cv_objdir" >&6; }
7628 objdir
=$lt_cv_objdir
7634 cat >>confdefs.h
<<_ACEOF
7635 #define LT_OBJDIR "$lt_cv_objdir/"
7643 # AIX sometimes has problems with the GCC collect2 program. For some
7644 # reason, if we set the COLLECT_NAMES environment variable, the problems
7645 # vanish in a puff of smoke.
7646 if test "X${COLLECT_NAMES+set}" != Xset
; then
7648 export COLLECT_NAMES
7655 can_build_shared
=yes
7657 # All known linkers require a `.a' archive for static linking (except MSVC,
7658 # which needs '.lib').
7661 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7664 old_CFLAGS
="$CFLAGS"
7666 # Set sane defaults for various variables
7667 test -z "$CC" && CC
=cc
7668 test -z "$LTCC" && LTCC
=$CC
7669 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7670 test -z "$LD" && LD
=ld
7671 test -z "$ac_objext" && ac_objext
=o
7673 for cc_temp
in $compiler""; do
7675 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7676 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7681 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7684 # Only perform the check for file, if the check method requires it
7685 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7686 case $deplibs_check_method in
7688 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7690 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7691 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7692 $as_echo_n "(cached) " >&6
7696 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7699 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7700 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7701 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7702 for ac_dir
in $ac_dummy; do
7704 test -z "$ac_dir" && ac_dir
=.
7705 if test -f $ac_dir/${ac_tool_prefix}file; then
7706 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7707 if test -n "$file_magic_test_file"; then
7708 case $deplibs_check_method in
7710 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7711 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7712 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7713 $EGREP "$file_magic_regex" > /dev
/null
; then
7718 *** Warning: the command libtool uses to detect shared libraries,
7719 *** $file_magic_cmd, produces output that libtool cannot recognize.
7720 *** The result is that libtool may fail to recognize shared libraries
7721 *** as such. This will affect the creation of libtool libraries that
7722 *** depend on shared libraries, but programs linked with such libtool
7723 *** libraries will work regardless of this problem. Nevertheless, you
7724 *** may want to report the problem to your system manager and/or to
7725 *** bug-libtool@gnu.org
7735 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7740 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7741 if test -n "$MAGIC_CMD"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7743 $as_echo "$MAGIC_CMD" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7753 if test -z "$lt_cv_path_MAGIC_CMD"; then
7754 if test -n "$ac_tool_prefix"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7756 $as_echo_n "checking for file... " >&6; }
7757 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7758 $as_echo_n "(cached) " >&6
7762 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7765 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7766 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7767 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7768 for ac_dir
in $ac_dummy; do
7770 test -z "$ac_dir" && ac_dir
=.
7771 if test -f $ac_dir/file; then
7772 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7773 if test -n "$file_magic_test_file"; then
7774 case $deplibs_check_method in
7776 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7777 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7778 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7779 $EGREP "$file_magic_regex" > /dev
/null
; then
7784 *** Warning: the command libtool uses to detect shared libraries,
7785 *** $file_magic_cmd, produces output that libtool cannot recognize.
7786 *** The result is that libtool may fail to recognize shared libraries
7787 *** as such. This will affect the creation of libtool libraries that
7788 *** depend on shared libraries, but programs linked with such libtool
7789 *** libraries will work regardless of this problem. Nevertheless, you
7790 *** may want to report the problem to your system manager and/or to
7791 *** bug-libtool@gnu.org
7801 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7806 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7807 if test -n "$MAGIC_CMD"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7809 $as_echo "$MAGIC_CMD" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812 $as_echo "no" >&6; }
7825 # Use C for the default configuration in the libtool script
7829 ac_cpp
='$CPP $CPPFLAGS'
7830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7835 # Source file extension for C test sources.
7838 # Object file extension for compiled C test sources.
7842 # Code to be used in simple compile tests
7843 lt_simple_compile_test_code
="int some_variable = 0;"
7845 # Code to be used in simple link tests
7846 lt_simple_link_test_code
='int main(){return(0);}'
7854 # If no C compiler was specified, use CC.
7857 # If no C compiler flags were specified, use CFLAGS.
7858 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7860 # Allow CC to be a program name with arguments.
7863 # Save the default compiler, since it gets overwritten when the other
7864 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7865 compiler_DEFAULT
=$CC
7867 # save warnings/boilerplate of simple test code
7868 ac_outfile
=conftest.
$ac_objext
7869 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7870 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7871 _lt_compiler_boilerplate
=`cat conftest.err`
7874 ac_outfile
=conftest.
$ac_objext
7875 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7876 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7877 _lt_linker_boilerplate
=`cat conftest.err`
7882 ## There is no encapsulation within the following macros, do not change
7883 ## the running order or otherwise move them around unless you know exactly
7884 ## what you are doing...
7885 if test -n "$compiler"; then
7887 lt_prog_compiler_no_builtin_flag
=
7889 if test "$GCC" = yes; then
7890 case $cc_basename in
7892 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7894 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7898 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7899 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7900 $as_echo_n "(cached) " >&6
7902 lt_cv_prog_compiler_rtti_exceptions
=no
7903 ac_outfile
=conftest.
$ac_objext
7904 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7905 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7906 # Insert the option either (1) after the last *FLAGS variable, or
7907 # (2) before a word containing "conftest.", or (3) at the end.
7908 # Note that $ac_compile itself does not contain backslashes and begins
7909 # with a dollar sign (not a hyphen), so the echo should work correctly.
7910 # The option is referenced via a variable to avoid confusing sed.
7911 lt_compile
=`echo "$ac_compile" | $SED \
7912 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7913 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7914 -e 's:$: $lt_compiler_flag:'`
7915 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7916 (eval "$lt_compile" 2>conftest.err
)
7918 cat conftest.err
>&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 if (exit $ac_status) && test -s "$ac_outfile"; then
7921 # The compiler can only warn and ignore the option if not recognized
7922 # So say no if there are warnings other than the usual output.
7923 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7924 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7925 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7926 lt_cv_prog_compiler_rtti_exceptions
=yes
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7933 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7935 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7936 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7948 lt_prog_compiler_wl
=
7949 lt_prog_compiler_pic
=
7950 lt_prog_compiler_static
=
7953 if test "$GCC" = yes; then
7954 lt_prog_compiler_wl
='-Wl,'
7955 lt_prog_compiler_static
='-static'
7959 # All AIX code is PIC.
7960 if test "$host_cpu" = ia64
; then
7961 # AIX 5 now supports IA64 processor
7962 lt_prog_compiler_static
='-Bstatic'
7969 # see comment about AmigaOS4 .so support
7970 lt_prog_compiler_pic
='-fPIC'
7973 # FIXME: we need at least 68020 code to build shared libraries, but
7974 # adding the `-m68020' flag to GCC prevents building anything better,
7976 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7981 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7982 # PIC is the default for these OSes.
7985 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7986 # This hack is so that the source file can tell whether it is being
7987 # built for inclusion in a dll (and should export symbols for example).
7988 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7989 # (--disable-auto-import) libraries
7990 lt_prog_compiler_pic
='-DDLL_EXPORT'
7993 darwin
* | rhapsody
*)
7994 # PIC is the default on this platform
7995 # Common symbols not allowed in MH_DYLIB files
7996 lt_prog_compiler_pic
='-fno-common'
8000 # PIC is the default for Haiku.
8001 # The "-static" flag exists, but is broken.
8002 lt_prog_compiler_static
=
8006 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8007 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8008 # sets the default TLS model and affects inlining.
8014 lt_prog_compiler_pic
='-fPIC'
8020 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8021 # Instead, we relocate shared libraries at runtime.
8025 # Just because we use GCC doesn't mean we suddenly get shared libraries
8026 # on systems that don't support them.
8027 lt_prog_compiler_can_build_shared
=no
8032 # QNX uses GNU C++, but need to define -shared option too, otherwise
8034 lt_prog_compiler_pic
='-fPIC -shared'
8038 if test -d /usr
/nec
; then
8039 lt_prog_compiler_pic
=-Kconform_pic
8044 lt_prog_compiler_pic
='-fPIC'
8048 case $cc_basename in
8049 nvcc
*) # Cuda Compiler Driver 2.2
8050 lt_prog_compiler_wl
='-Xlinker '
8051 if test -n "$lt_prog_compiler_pic"; then
8052 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8057 # PORTME Check for flag to pass linker flags through the system compiler.
8060 lt_prog_compiler_wl
='-Wl,'
8061 if test "$host_cpu" = ia64
; then
8062 # AIX 5 now supports IA64 processor
8063 lt_prog_compiler_static
='-Bstatic'
8065 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8069 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8070 # This hack is so that the source file can tell whether it is being
8071 # built for inclusion in a dll (and should export symbols for example).
8072 lt_prog_compiler_pic
='-DDLL_EXPORT'
8075 hpux9
* | hpux10
* | hpux11
*)
8076 lt_prog_compiler_wl
='-Wl,'
8077 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8084 lt_prog_compiler_pic
='+Z'
8087 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8088 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8091 irix5
* | irix6
* | nonstopux
*)
8092 lt_prog_compiler_wl
='-Wl,'
8093 # PIC (with -KPIC) is the default.
8094 lt_prog_compiler_static
='-non_shared'
8097 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8098 case $cc_basename in
8099 # old Intel for x86_64 which still supported -KPIC.
8101 lt_prog_compiler_wl
='-Wl,'
8102 lt_prog_compiler_pic
='-KPIC'
8103 lt_prog_compiler_static
='-static'
8105 # icc used to be incompatible with GCC.
8106 # ICC 10 doesn't accept -KPIC any more.
8108 lt_prog_compiler_wl
='-Wl,'
8109 lt_prog_compiler_pic
='-fPIC'
8110 lt_prog_compiler_static
='-static'
8112 # Lahey Fortran 8.1.
8114 lt_prog_compiler_wl
='-Wl,'
8115 lt_prog_compiler_pic
='--shared'
8116 lt_prog_compiler_static
='--static'
8119 # NAG Fortran compiler
8120 lt_prog_compiler_wl
='-Wl,-Wl,,'
8121 lt_prog_compiler_pic
='-PIC'
8122 lt_prog_compiler_static
='-Bstatic'
8124 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8125 # Portland Group compilers (*not* the Pentium gcc compiler,
8126 # which looks to be a dead project)
8127 lt_prog_compiler_wl
='-Wl,'
8128 lt_prog_compiler_pic
='-fpic'
8129 lt_prog_compiler_static
='-Bstatic'
8132 lt_prog_compiler_wl
='-Wl,'
8133 # All Alpha code is PIC.
8134 lt_prog_compiler_static
='-non_shared'
8136 xl
* | bgxl
* | bgf
* | mpixl
*)
8137 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8138 lt_prog_compiler_wl
='-Wl,'
8139 lt_prog_compiler_pic
='-qpic'
8140 lt_prog_compiler_static
='-qstaticlink'
8143 case `$CC -V 2>&1 | sed 5q` in
8144 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8145 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8146 lt_prog_compiler_pic
='-KPIC'
8147 lt_prog_compiler_static
='-Bstatic'
8148 lt_prog_compiler_wl
=''
8150 *Sun\ F
* |
*Sun
*Fortran
*)
8151 lt_prog_compiler_pic
='-KPIC'
8152 lt_prog_compiler_static
='-Bstatic'
8153 lt_prog_compiler_wl
='-Qoption ld '
8157 lt_prog_compiler_pic
='-KPIC'
8158 lt_prog_compiler_static
='-Bstatic'
8159 lt_prog_compiler_wl
='-Wl,'
8161 *Intel
*\
[CF
]*Compiler
*)
8162 lt_prog_compiler_wl
='-Wl,'
8163 lt_prog_compiler_pic
='-fPIC'
8164 lt_prog_compiler_static
='-static'
8167 lt_prog_compiler_wl
='-Wl,'
8168 lt_prog_compiler_pic
='-fpic'
8169 lt_prog_compiler_static
='-Bstatic'
8177 lt_prog_compiler_pic
='-KPIC'
8178 lt_prog_compiler_static
='-Bstatic'
8182 # QNX uses GNU C++, but need to define -shared option too, otherwise
8184 lt_prog_compiler_pic
='-fPIC -shared'
8187 osf3
* | osf4
* | osf5
*)
8188 lt_prog_compiler_wl
='-Wl,'
8189 # All OSF/1 code is PIC.
8190 lt_prog_compiler_static
='-non_shared'
8194 lt_prog_compiler_static
='-non_shared'
8198 lt_prog_compiler_pic
='-KPIC'
8199 lt_prog_compiler_static
='-Bstatic'
8200 case $cc_basename in
8201 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8202 lt_prog_compiler_wl
='-Qoption ld ';;
8204 lt_prog_compiler_wl
='-Wl,';;
8209 lt_prog_compiler_wl
='-Qoption ld '
8210 lt_prog_compiler_pic
='-PIC'
8211 lt_prog_compiler_static
='-Bstatic'
8214 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8215 lt_prog_compiler_wl
='-Wl,'
8216 lt_prog_compiler_pic
='-KPIC'
8217 lt_prog_compiler_static
='-Bstatic'
8221 if test -d /usr
/nec
;then
8222 lt_prog_compiler_pic
='-Kconform_pic'
8223 lt_prog_compiler_static
='-Bstatic'
8227 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8228 lt_prog_compiler_wl
='-Wl,'
8229 lt_prog_compiler_pic
='-KPIC'
8230 lt_prog_compiler_static
='-Bstatic'
8234 lt_prog_compiler_wl
='-Wl,'
8235 lt_prog_compiler_can_build_shared
=no
8239 lt_prog_compiler_pic
='-pic'
8240 lt_prog_compiler_static
='-Bstatic'
8244 lt_prog_compiler_can_build_shared
=no
8250 # For platforms which do not support PIC, -DPIC is meaningless:
8252 lt_prog_compiler_pic
=
8255 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8260 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8261 if ${lt_cv_prog_compiler_pic+:} false
; then :
8262 $as_echo_n "(cached) " >&6
8264 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8267 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8268 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8271 # Check to make sure the PIC flag actually works.
8273 if test -n "$lt_prog_compiler_pic"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8275 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8276 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8277 $as_echo_n "(cached) " >&6
8279 lt_cv_prog_compiler_pic_works
=no
8280 ac_outfile
=conftest.
$ac_objext
8281 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8282 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8283 # Insert the option either (1) after the last *FLAGS variable, or
8284 # (2) before a word containing "conftest.", or (3) at the end.
8285 # Note that $ac_compile itself does not contain backslashes and begins
8286 # with a dollar sign (not a hyphen), so the echo should work correctly.
8287 # The option is referenced via a variable to avoid confusing sed.
8288 lt_compile
=`echo "$ac_compile" | $SED \
8289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8291 -e 's:$: $lt_compiler_flag:'`
8292 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8293 (eval "$lt_compile" 2>conftest.err
)
8295 cat conftest.err
>&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 if (exit $ac_status) && test -s "$ac_outfile"; then
8298 # The compiler can only warn and ignore the option if not recognized
8299 # So say no if there are warnings other than the usual output.
8300 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8301 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8302 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8303 lt_cv_prog_compiler_pic_works
=yes
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8310 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8312 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8313 case $lt_prog_compiler_pic in
8315 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8318 lt_prog_compiler_pic
=
8319 lt_prog_compiler_can_build_shared
=no
8335 # Check to make sure the static flag actually works.
8337 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8339 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8340 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8341 $as_echo_n "(cached) " >&6
8343 lt_cv_prog_compiler_static_works
=no
8344 save_LDFLAGS
="$LDFLAGS"
8345 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8346 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8347 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8348 # The linker can only warn and ignore the option if not recognized
8349 # So say no if there are warnings
8350 if test -s conftest.err
; then
8351 # Append any errors to the config.log.
8352 cat conftest.err
1>&5
8353 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8354 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8355 if diff conftest.exp conftest.er2
>/dev
/null
; then
8356 lt_cv_prog_compiler_static_works
=yes
8359 lt_cv_prog_compiler_static_works
=yes
8363 LDFLAGS
="$save_LDFLAGS"
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8367 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8369 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8372 lt_prog_compiler_static
=
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8382 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8383 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8384 $as_echo_n "(cached) " >&6
8386 lt_cv_prog_compiler_c_o
=no
8387 $RM -r conftest
2>/dev
/null
8391 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8393 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8394 # Insert the option either (1) after the last *FLAGS variable, or
8395 # (2) before a word containing "conftest.", or (3) at the end.
8396 # Note that $ac_compile itself does not contain backslashes and begins
8397 # with a dollar sign (not a hyphen), so the echo should work correctly.
8398 lt_compile
=`echo "$ac_compile" | $SED \
8399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8401 -e 's:$: $lt_compiler_flag:'`
8402 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8403 (eval "$lt_compile" 2>out
/conftest.err
)
8405 cat out
/conftest.err
>&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8409 # The compiler can only warn and ignore the option if not recognized
8410 # So say no if there are warnings
8411 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8412 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8413 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8414 lt_cv_prog_compiler_c_o
=yes
8419 # SGI C++ compiler will create directory out/ii_files/ for
8420 # template instantiation
8421 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8422 $RM out
/* && rmdir out
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8429 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8437 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8438 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8439 $as_echo_n "(cached) " >&6
8441 lt_cv_prog_compiler_c_o
=no
8442 $RM -r conftest
2>/dev
/null
8446 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8448 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8449 # Insert the option either (1) after the last *FLAGS variable, or
8450 # (2) before a word containing "conftest.", or (3) at the end.
8451 # Note that $ac_compile itself does not contain backslashes and begins
8452 # with a dollar sign (not a hyphen), so the echo should work correctly.
8453 lt_compile
=`echo "$ac_compile" | $SED \
8454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8456 -e 's:$: $lt_compiler_flag:'`
8457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8458 (eval "$lt_compile" 2>out
/conftest.err
)
8460 cat out
/conftest.err
>&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8464 # The compiler can only warn and ignore the option if not recognized
8465 # So say no if there are warnings
8466 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8467 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8468 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8469 lt_cv_prog_compiler_c_o
=yes
8474 # SGI C++ compiler will create directory out/ii_files/ for
8475 # template instantiation
8476 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8477 $RM out
/* && rmdir out
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8484 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8489 hard_links
="nottested"
8490 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8491 # do not overwrite the value of need_locks provided by the user
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8493 $as_echo_n "checking if we can lock with hard links... " >&6; }
8496 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8498 ln conftest.a conftest.b
2>&5 || hard_links
=no
8499 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8501 $as_echo "$hard_links" >&6; }
8502 if test "$hard_links" = no
; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8504 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8517 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8520 allow_undefined_flag
=
8521 always_export_symbols
=no
8523 archive_expsym_cmds
=
8524 compiler_needs_object
=no
8525 enable_shared_with_static_runtimes
=no
8526 export_dynamic_flag_spec
=
8527 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8528 hardcode_automatic
=no
8530 hardcode_direct_absolute
=no
8531 hardcode_libdir_flag_spec
=
8532 hardcode_libdir_separator
=
8534 hardcode_shlibpath_var
=unsupported
8536 link_all_deplibs
=unknown
8539 old_archive_from_new_cmds
=
8540 old_archive_from_expsyms_cmds
=
8541 thread_safe_flag_spec
=
8542 whole_archive_flag_spec
=
8543 # include_expsyms should be a list of space-separated symbols to be *always*
8544 # included in the symbol list
8546 # exclude_expsyms can be an extended regexp of symbols to exclude
8547 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8548 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8549 # as well as any symbol that contains `d'.
8550 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8551 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8552 # platforms (ab)use it in PIC code, but their linkers get confused if
8553 # the symbol is explicitly referenced. Since portable code cannot
8554 # rely on this symbol name, it's probably fine to never include it in
8555 # preloaded symbol tables.
8556 # Exclude shared library initialization/finalization symbols.
8557 extract_expsyms_cmds
=
8560 cygwin
* | mingw
* | pw32
* | cegcc
*)
8561 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8562 # When not using gcc, we currently assume that we are using
8563 # Microsoft Visual C++.
8564 if test "$GCC" != yes; then
8569 # we just hope/assume this is gcc and not c89 (= MSVC++)
8575 linux
* | k
*bsd
*-gnu | gnu
*)
8582 # On some targets, GNU ld is compatible enough with the native linker
8583 # that we're better off using the native interface for both.
8584 lt_use_gnu_ld_interface
=no
8585 if test "$with_gnu_ld" = yes; then
8588 # The AIX port of GNU ld has always aspired to compatibility
8589 # with the native linker. However, as the warning in the GNU ld
8590 # block says, versions before 2.19.5* couldn't really create working
8591 # shared libraries, regardless of the interface used.
8592 case `$LD -v 2>&1` in
8593 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8594 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8595 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8597 lt_use_gnu_ld_interface
=yes
8602 lt_use_gnu_ld_interface
=yes
8607 if test "$lt_use_gnu_ld_interface" = yes; then
8608 # If archive_cmds runs LD, not CC, wlarc should be empty
8611 # Set some defaults for GNU ld with shared library support. These
8612 # are reset later if shared libraries are not supported. Putting them
8613 # here allows them to be overridden if necessary.
8614 runpath_var
=LD_RUN_PATH
8615 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8616 export_dynamic_flag_spec
='${wl}--export-dynamic'
8617 # ancient GNU ld didn't support --whole-archive et. al.
8618 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8619 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8621 whole_archive_flag_spec
=
8623 supports_anon_versioning
=no
8624 case `$LD -v 2>&1` in
8625 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8626 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8627 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8628 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8629 *\
2.11.
*) ;; # other 2.11 versions
8630 *) supports_anon_versioning
=yes ;;
8633 # See if GNU ld supports shared libraries.
8636 # On AIX/PPC, the GNU linker is very broken
8637 if test "$host_cpu" != ia64
; then
8641 *** Warning: the GNU linker, at least up to release 2.19, is reported
8642 *** to be unable to reliably create shared libraries on AIX.
8643 *** Therefore, libtool is disabling shared libraries support. If you
8644 *** really care for shared libraries, you may want to install binutils
8645 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8646 *** You will then need to restart the configuration process.
8655 # see comment about AmigaOS4 .so support
8656 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8657 archive_expsym_cmds
=''
8660 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)'
8661 hardcode_libdir_flag_spec
='-L$libdir'
8662 hardcode_minus_L
=yes
8668 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8669 allow_undefined_flag
=unsupported
8670 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8671 # support --undefined. This deserves some investigation. FIXME
8672 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8678 cygwin
* | mingw
* | pw32
* | cegcc
*)
8679 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8680 # as there is no search path for DLLs.
8681 hardcode_libdir_flag_spec
='-L$libdir'
8682 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8683 allow_undefined_flag
=unsupported
8684 always_export_symbols
=no
8685 enable_shared_with_static_runtimes
=yes
8686 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'
8687 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8689 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8690 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8691 # If the export-symbols file already is a .def file (1st line
8692 # is EXPORTS), use it as is; otherwise, prepend...
8693 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8694 cp $export_symbols $output_objdir/$soname.def;
8696 echo EXPORTS > $output_objdir/$soname.def;
8697 cat $export_symbols >> $output_objdir/$soname.def;
8699 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8706 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8707 link_all_deplibs
=yes
8712 hardcode_shlibpath_var
=no
8713 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8714 export_dynamic_flag_spec
='${wl}-E'
8715 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8716 # Instead, shared libraries are loaded at an image base (0x10000000 by
8717 # default) and relocated if they conflict, which is a slow very memory
8718 # consuming and fragmenting process. To avoid this, we pick a random,
8719 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8720 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8721 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8722 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'
8725 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8727 if test "$host_os" = linux-dietlibc
; then
8728 case $cc_basename in
8729 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8732 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8733 && test "$tmp_diet" = no
8735 tmp_addflag
=' $pic_flag'
8736 tmp_sharedflag
='-shared'
8737 case $cc_basename,$host_cpu in
8738 pgcc
*) # Portland Group C compiler
8739 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'
8740 tmp_addflag
=' $pic_flag'
8742 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8743 # Portland Group f77 and f90 compilers
8744 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'
8745 tmp_addflag
=' $pic_flag -Mnomain' ;;
8746 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8747 tmp_addflag
=' -i_dynamic' ;;
8748 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8749 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8750 ifc
* | ifort
*) # Intel Fortran compiler
8751 tmp_addflag
=' -nofor_main' ;;
8752 lf95
*) # Lahey Fortran 8.1
8753 whole_archive_flag_spec
=
8754 tmp_sharedflag
='--shared' ;;
8755 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8756 tmp_sharedflag
='-qmkshrobj'
8758 nvcc
*) # Cuda Compiler Driver 2.2
8759 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'
8760 compiler_needs_object
=yes
8763 case `$CC -V 2>&1 | sed 5q` in
8764 *Sun\ C
*) # Sun C 5.9
8765 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'
8766 compiler_needs_object
=yes
8767 tmp_sharedflag
='-G' ;;
8768 *Sun\ F
*) # Sun Fortran 8.3
8769 tmp_sharedflag
='-G' ;;
8771 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8773 if test "x$supports_anon_versioning" = xyes
; then
8774 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8775 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8776 echo "local: *; };" >> $output_objdir/$libname.ver~
8777 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8780 case $cc_basename in
8781 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8782 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8783 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8784 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8785 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8786 if test "x$supports_anon_versioning" = xyes
; then
8787 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8788 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8789 echo "local: *; };" >> $output_objdir/$libname.ver~
8790 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8799 netbsd
* | netbsdelf
*-gnu)
8800 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8801 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8804 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8805 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8810 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8814 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8815 *** create shared libraries on Solaris systems. Therefore, libtool
8816 *** is disabling shared libraries support. We urge you to upgrade GNU
8817 *** binutils to release 2.9.1 or newer. Another option is to modify
8818 *** your PATH or compiler configuration so that the native linker is
8819 *** used, and then restart.
8822 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8823 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8824 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8830 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8831 case `$LD -v 2>&1` in
8832 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8836 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8837 *** reliably create shared libraries on SCO systems. Therefore, libtool
8838 *** is disabling shared libraries support. We urge you to upgrade GNU
8839 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8840 *** your PATH or compiler configuration so that the native linker is
8841 *** used, and then restart.
8846 # For security reasons, it is highly recommended that you always
8847 # use absolute paths for naming shared libraries, and exclude the
8848 # DT_RUNPATH tag from executables and libraries. But doing so
8849 # requires that you compile everything twice, which is a pain.
8850 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8851 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8852 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8862 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8865 hardcode_shlibpath_var
=no
8869 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8870 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8871 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8878 if test "$ld_shlibs" = no
; then
8880 hardcode_libdir_flag_spec
=
8881 export_dynamic_flag_spec
=
8882 whole_archive_flag_spec
=
8885 # PORTME fill in a description of your system's linker (not GNU ld)
8888 allow_undefined_flag
=unsupported
8889 always_export_symbols
=yes
8890 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'
8891 # Note: this linker hardcodes the directories in LIBPATH if there
8892 # are no directories specified by -L.
8893 hardcode_minus_L
=yes
8894 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8895 # Neither direct hardcoding nor static linking is supported with a
8897 hardcode_direct
=unsupported
8902 if test "$host_cpu" = ia64
; then
8903 # On IA64, the linker does run time linking by default, so we don't
8904 # have to do anything special.
8905 aix_use_runtimelinking
=no
8906 exp_sym_flag
='-Bexport'
8909 # If we're using GNU nm, then we don't want the "-C" option.
8910 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8911 # Also, AIX nm treats weak defined symbols like other global
8912 # defined symbols, whereas GNU nm marks them as "W".
8913 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8914 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8916 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8918 aix_use_runtimelinking
=no
8920 # Test if we are trying to use run time linking or normal
8921 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8922 # need to do runtime linking.
8923 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8924 for ld_flag
in $LDFLAGS; do
8925 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8926 aix_use_runtimelinking
=yes
8933 exp_sym_flag
='-bexport'
8934 no_entry_flag
='-bnoentry'
8937 # When large executables or shared objects are built, AIX ld can
8938 # have problems creating the table of contents. If linking a library
8939 # or program results in "error TOC overflow" add -mminimal-toc to
8940 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8941 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8945 hardcode_direct_absolute
=yes
8946 hardcode_libdir_separator
=':'
8947 link_all_deplibs
=yes
8948 file_list_spec
='${wl}-f,'
8950 if test "$GCC" = yes; then
8951 case $host_os in aix4.
[012]|aix4.
[012].
*)
8952 # We only want to do this on AIX 4.2 and lower, the check
8953 # below for broken collect2 doesn't work under 4.3+
8954 collect2name
=`${CC} -print-prog-name=collect2`
8955 if test -f "$collect2name" &&
8956 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8958 # We have reworked collect2
8961 # We have old collect2
8962 hardcode_direct
=unsupported
8963 # It fails to find uninstalled libraries when the uninstalled
8964 # path is not listed in the libpath. Setting hardcode_minus_L
8965 # to unsupported forces relinking
8966 hardcode_minus_L
=yes
8967 hardcode_libdir_flag_spec
='-L$libdir'
8968 hardcode_libdir_separator
=
8972 shared_flag
='-shared'
8973 if test "$aix_use_runtimelinking" = yes; then
8974 shared_flag
="$shared_flag "'${wl}-G'
8979 if test "$host_cpu" = ia64
; then
8980 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8981 # chokes on -Wl,-G. The following line is correct:
8984 if test "$aix_use_runtimelinking" = yes; then
8985 shared_flag
='${wl}-G'
8987 shared_flag
='${wl}-bM:SRE'
8992 export_dynamic_flag_spec
='${wl}-bexpall'
8993 # It seems that -bexpall does not export symbols beginning with
8994 # underscore (_), so it is better to generate a list of symbols to export.
8995 always_export_symbols
=yes
8996 if test "$aix_use_runtimelinking" = yes; then
8997 # Warning - without using the other runtime loading flags (-brtl),
8998 # -berok will link without error, but may produce a broken library.
8999 allow_undefined_flag
='-berok'
9000 # Determine the default libpath from the value encoded in an
9002 if test "${lt_cv_aix_libpath+set}" = set; then
9003 aix_libpath
=$lt_cv_aix_libpath
9005 if ${lt_cv_aix_libpath_+:} false
; then :
9006 $as_echo_n "(cached) " >&6
9008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9009 /* end confdefs.h. */
9019 if ac_fn_c_try_link
"$LINENO"; then :
9021 lt_aix_libpath_sed
='
9022 /Import File Strings/,/^$/ {
9024 s/^0 *\([^ ]*\) *$/\1/
9028 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9029 # Check for a 64-bit object if we didn't find anything.
9030 if test -z "$lt_cv_aix_libpath_"; then
9031 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9034 rm -f core conftest.err conftest.
$ac_objext \
9035 conftest
$ac_exeext conftest.
$ac_ext
9036 if test -z "$lt_cv_aix_libpath_"; then
9037 lt_cv_aix_libpath_
="/usr/lib:/lib"
9042 aix_libpath
=$lt_cv_aix_libpath_
9045 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9046 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9048 if test "$host_cpu" = ia64
; then
9049 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9050 allow_undefined_flag
="-z nodefs"
9051 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"
9053 # Determine the default libpath from the value encoded in an
9055 if test "${lt_cv_aix_libpath+set}" = set; then
9056 aix_libpath
=$lt_cv_aix_libpath
9058 if ${lt_cv_aix_libpath_+:} false
; then :
9059 $as_echo_n "(cached) " >&6
9061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9072 if ac_fn_c_try_link
"$LINENO"; then :
9074 lt_aix_libpath_sed
='
9075 /Import File Strings/,/^$/ {
9077 s/^0 *\([^ ]*\) *$/\1/
9081 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9082 # Check for a 64-bit object if we didn't find anything.
9083 if test -z "$lt_cv_aix_libpath_"; then
9084 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9087 rm -f core conftest.err conftest.
$ac_objext \
9088 conftest
$ac_exeext conftest.
$ac_ext
9089 if test -z "$lt_cv_aix_libpath_"; then
9090 lt_cv_aix_libpath_
="/usr/lib:/lib"
9095 aix_libpath
=$lt_cv_aix_libpath_
9098 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9099 # Warning - without using the other run time loading flags,
9100 # -berok will link without error, but may produce a broken library.
9101 no_undefined_flag
=' ${wl}-bernotok'
9102 allow_undefined_flag
=' ${wl}-berok'
9103 if test "$with_gnu_ld" = yes; then
9104 # We only use this code for GNU lds that support --whole-archive.
9105 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9107 # Exported symbols can be pulled into shared objects from archives
9108 whole_archive_flag_spec
='$convenience'
9110 archive_cmds_need_lc
=yes
9111 # This is similar to how AIX traditionally builds its shared libraries.
9112 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9120 # see comment about AmigaOS4 .so support
9121 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 archive_expsym_cmds
=''
9125 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)'
9126 hardcode_libdir_flag_spec
='-L$libdir'
9127 hardcode_minus_L
=yes
9133 export_dynamic_flag_spec
=-rdynamic
9136 cygwin
* | mingw
* | pw32
* | cegcc
*)
9137 # When not using gcc, we currently assume that we are using
9138 # Microsoft Visual C++.
9139 # hardcode_libdir_flag_spec is actually meaningless, as there is
9140 # no search path for DLLs.
9141 case $cc_basename in
9144 hardcode_libdir_flag_spec
=' '
9145 allow_undefined_flag
=unsupported
9146 always_export_symbols
=yes
9148 # Tell ltmain to make .lib files, not .a files.
9150 # Tell ltmain to make .dll files, not .so files.
9152 # FIXME: Setting linknames here is a bad hack.
9153 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9154 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9155 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9157 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9159 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9161 # The linker will not automatically build a static lib if we build a DLL.
9162 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9163 enable_shared_with_static_runtimes
=yes
9164 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9165 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9167 old_postinstall_cmds
='chmod 644 $oldlib'
9168 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9169 lt_tool_outputfile="@TOOL_OUTPUT@"~
9170 case $lt_outputfile in
9173 lt_outputfile="$lt_outputfile.exe"
9174 lt_tool_outputfile="$lt_tool_outputfile.exe"
9177 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9178 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9179 $RM "$lt_outputfile.manifest";
9183 # Assume MSVC wrapper
9184 hardcode_libdir_flag_spec
=' '
9185 allow_undefined_flag
=unsupported
9186 # Tell ltmain to make .lib files, not .a files.
9188 # Tell ltmain to make .dll files, not .so files.
9190 # FIXME: Setting linknames here is a bad hack.
9191 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9192 # The linker will automatically build a .lib file if we build a DLL.
9193 old_archive_from_new_cmds
='true'
9194 # FIXME: Should let the user specify the lib program.
9195 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9196 enable_shared_with_static_runtimes
=yes
9201 darwin
* | rhapsody
*)
9204 archive_cmds_need_lc
=no
9206 hardcode_automatic
=yes
9207 hardcode_shlibpath_var
=unsupported
9208 if test "$lt_cv_ld_force_load" = "yes"; then
9209 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\"`'
9212 whole_archive_flag_spec
=''
9214 link_all_deplibs
=yes
9215 allow_undefined_flag
="$_lt_dar_allow_undefined"
9216 case $cc_basename in
9217 ifort
*) _lt_dar_can_shared
=yes ;;
9218 *) _lt_dar_can_shared
=$GCC ;;
9220 if test "$_lt_dar_can_shared" = "yes"; then
9221 output_verbose_link_cmd
=func_echo_all
9222 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9223 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9224 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}"
9225 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}"
9234 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9235 hardcode_libdir_flag_spec
='-L$libdir'
9236 hardcode_shlibpath_var
=no
9239 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9240 # support. Future versions do this automatically, but an explicit c++rt0.o
9241 # does not break anything, and helps significantly (at the cost of a little
9244 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9245 hardcode_libdir_flag_spec
='-R$libdir'
9247 hardcode_shlibpath_var
=no
9250 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9252 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9254 hardcode_minus_L
=yes
9255 hardcode_shlibpath_var
=no
9258 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9259 freebsd
* | dragonfly
*)
9260 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9261 hardcode_libdir_flag_spec
='-R$libdir'
9263 hardcode_shlibpath_var
=no
9267 if test "$GCC" = yes; then
9268 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9270 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9272 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9273 hardcode_libdir_separator
=:
9276 # hardcode_minus_L: Not really in the search PATH,
9277 # but as the default location of the library.
9278 hardcode_minus_L
=yes
9279 export_dynamic_flag_spec
='${wl}-E'
9283 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9284 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9286 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9288 if test "$with_gnu_ld" = no
; then
9289 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9290 hardcode_libdir_separator
=:
9292 hardcode_direct_absolute
=yes
9293 export_dynamic_flag_spec
='${wl}-E'
9294 # hardcode_minus_L: Not really in the search PATH,
9295 # but as the default location of the library.
9296 hardcode_minus_L
=yes
9301 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9304 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9307 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9310 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9316 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9319 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9323 # Older versions of the 11.00 compiler do not understand -b yet
9324 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9326 $as_echo_n "checking if $CC understands -b... " >&6; }
9327 if ${lt_cv_prog_compiler__b+:} false
; then :
9328 $as_echo_n "(cached) " >&6
9330 lt_cv_prog_compiler__b
=no
9331 save_LDFLAGS
="$LDFLAGS"
9332 LDFLAGS
="$LDFLAGS -b"
9333 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9334 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9335 # The linker can only warn and ignore the option if not recognized
9336 # So say no if there are warnings
9337 if test -s conftest.err
; then
9338 # Append any errors to the config.log.
9339 cat conftest.err
1>&5
9340 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9341 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9342 if diff conftest.exp conftest.er2
>/dev
/null
; then
9343 lt_cv_prog_compiler__b
=yes
9346 lt_cv_prog_compiler__b
=yes
9350 LDFLAGS
="$save_LDFLAGS"
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9354 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9356 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9357 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9365 if test "$with_gnu_ld" = no
; then
9366 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9367 hardcode_libdir_separator
=:
9372 hardcode_shlibpath_var
=no
9376 hardcode_direct_absolute
=yes
9377 export_dynamic_flag_spec
='${wl}-E'
9379 # hardcode_minus_L: Not really in the search PATH,
9380 # but as the default location of the library.
9381 hardcode_minus_L
=yes
9387 irix5
* | irix6
* | nonstopux
*)
9388 if test "$GCC" = yes; then
9389 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'
9390 # Try to use the -exported_symbol ld option, if it does not
9391 # work, assume that -exports_file does not work either and
9392 # implicitly export all symbols.
9393 # This should be the same for all languages, so no per-tag cache variable.
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9395 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9396 if ${lt_cv_irix_exported_symbol+:} false
; then :
9397 $as_echo_n "(cached) " >&6
9399 save_LDFLAGS
="$LDFLAGS"
9400 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int foo (void) { return 0; }
9405 if ac_fn_c_try_link
"$LINENO"; then :
9406 lt_cv_irix_exported_symbol
=yes
9408 lt_cv_irix_exported_symbol
=no
9410 rm -f core conftest.err conftest.
$ac_objext \
9411 conftest
$ac_exeext conftest.
$ac_ext
9412 LDFLAGS
="$save_LDFLAGS"
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9415 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9416 if test "$lt_cv_irix_exported_symbol" = yes; then
9417 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'
9420 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'
9421 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'
9423 archive_cmds_need_lc
='no'
9424 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9425 hardcode_libdir_separator
=:
9427 link_all_deplibs
=yes
9430 netbsd
* | netbsdelf
*-gnu)
9431 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9432 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9434 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9436 hardcode_libdir_flag_spec
='-R$libdir'
9438 hardcode_shlibpath_var
=no
9442 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9445 hardcode_libdir_separator
=:
9446 hardcode_shlibpath_var
=no
9453 if test -f /usr
/libexec
/ld.so
; then
9455 hardcode_shlibpath_var
=no
9456 hardcode_direct_absolute
=yes
9457 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9458 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9459 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9460 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9461 export_dynamic_flag_spec
='${wl}-E'
9464 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9465 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9466 hardcode_libdir_flag_spec
='-R$libdir'
9469 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9470 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9480 hardcode_libdir_flag_spec
='-L$libdir'
9481 hardcode_minus_L
=yes
9482 allow_undefined_flag
=unsupported
9483 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9484 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9488 if test "$GCC" = yes; then
9489 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9490 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'
9492 allow_undefined_flag
=' -expect_unresolved \*'
9493 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'
9495 archive_cmds_need_lc
='no'
9496 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9497 hardcode_libdir_separator
=:
9500 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9501 if test "$GCC" = yes; then
9502 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9503 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'
9504 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9506 allow_undefined_flag
=' -expect_unresolved \*'
9507 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'
9508 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~
9509 $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'
9511 # Both c and cxx compiler support -rpath directly
9512 hardcode_libdir_flag_spec
='-rpath $libdir'
9514 archive_cmds_need_lc
='no'
9515 hardcode_libdir_separator
=:
9519 no_undefined_flag
=' -z defs'
9520 if test "$GCC" = yes; then
9522 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9524 $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'
9526 case `$CC -V 2>&1` in
9529 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9531 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9535 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9536 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9537 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9541 hardcode_libdir_flag_spec
='-R$libdir'
9542 hardcode_shlibpath_var
=no
9544 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9546 # The compiler driver will combine and reorder linker options,
9547 # but understands `-z linker_flag'. GCC discards it without `$wl',
9548 # but is careful enough not to reorder.
9549 # Supported since Solaris 2.6 (maybe 2.5.1?)
9550 if test "$GCC" = yes; then
9551 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9553 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9557 link_all_deplibs
=yes
9561 if test "x$host_vendor" = xsequent
; then
9562 # Use $CC to link under sequent, because it throws in some extra .o
9563 # files that make .init and .fini sections work.
9564 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9566 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9568 hardcode_libdir_flag_spec
='-L$libdir'
9570 hardcode_minus_L
=yes
9571 hardcode_shlibpath_var
=no
9575 case $host_vendor in
9577 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9578 hardcode_direct
=yes # is this really true???
9581 ## LD is ld it makes a PLAMLIB
9582 ## CC just makes a GrossModule.
9583 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9584 reload_cmds
='$CC -r -o $output$reload_objs'
9588 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9589 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9592 runpath_var
='LD_RUN_PATH'
9593 hardcode_shlibpath_var
=no
9597 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9598 hardcode_shlibpath_var
=no
9599 export_dynamic_flag_spec
='-Bexport'
9603 if test -d /usr
/nec
; then
9604 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9605 hardcode_shlibpath_var
=no
9606 runpath_var
=LD_RUN_PATH
9607 hardcode_runpath_var
=yes
9612 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9613 no_undefined_flag
='${wl}-z,text'
9614 archive_cmds_need_lc
=no
9615 hardcode_shlibpath_var
=no
9616 runpath_var
='LD_RUN_PATH'
9618 if test "$GCC" = yes; then
9619 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9627 sysv5
* | sco3.2v5
* | sco5v6
*)
9628 # Note: We can NOT use -z defs as we might desire, because we do not
9629 # link with -lc, and that would cause any symbols used from libc to
9630 # always be unresolved, which means just about no library would
9631 # ever link correctly. If we're not using GNU ld we use -z text
9632 # though, which does catch some bad symbols but isn't as heavy-handed
9634 no_undefined_flag
='${wl}-z,text'
9635 allow_undefined_flag
='${wl}-z,nodefs'
9636 archive_cmds_need_lc
=no
9637 hardcode_shlibpath_var
=no
9638 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9639 hardcode_libdir_separator
=':'
9640 link_all_deplibs
=yes
9641 export_dynamic_flag_spec
='${wl}-Bexport'
9642 runpath_var
='LD_RUN_PATH'
9644 if test "$GCC" = yes; then
9645 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9655 hardcode_libdir_flag_spec
='-L$libdir'
9656 hardcode_shlibpath_var
=no
9664 if test x
$host_vendor = xsni
; then
9666 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9667 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9674 $as_echo "$ld_shlibs" >&6; }
9675 test "$ld_shlibs" = no
&& can_build_shared
=no
9677 with_gnu_ld
=$with_gnu_ld
9694 # Do we need to explicitly link libc?
9696 case "x$archive_cmds_need_lc" in
9698 # Assume -lc should be added
9699 archive_cmds_need_lc
=yes
9701 if test "$enable_shared" = yes && test "$GCC" = yes; then
9702 case $archive_cmds in
9704 # FIXME: we may have to deal with multi-command sequences.
9707 # Test whether the compiler implicitly links with -lc since on some
9708 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9709 # to ld, don't add -lc before -lgcc.
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9711 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9712 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9713 $as_echo_n "(cached) " >&6
9716 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9719 (eval $ac_compile) 2>&5
9721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9722 test $ac_status = 0; } 2>conftest.err
; then
9725 libobjs
=conftest.
$ac_objext
9727 wl
=$lt_prog_compiler_wl
9728 pic_flag
=$lt_prog_compiler_pic
9734 lt_save_allow_undefined_flag
=$allow_undefined_flag
9735 allow_undefined_flag
=
9736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9737 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9740 test $ac_status = 0; }
9742 lt_cv_archive_cmds_need_lc
=no
9744 lt_cv_archive_cmds_need_lc
=yes
9746 allow_undefined_flag
=$lt_save_allow_undefined_flag
9748 cat conftest.err
1>&5
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9754 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9755 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9914 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9916 if test "$GCC" = yes; then
9918 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9919 *) lt_awk_arg
="/^libraries:/" ;;
9922 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9923 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9925 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9926 case $lt_search_path_spec in
9928 # if the path contains ";" then we assume it to be the separator
9929 # otherwise default to the standard path separator (i.e. ":") - it is
9930 # assumed that no part of a normal pathname contains ";" but that should
9931 # okay in the real world where ";" in dirpaths is itself problematic.
9932 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9935 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9938 # Ok, now we have the path, separated by spaces, we can step through it
9939 # and add multilib dir if necessary.
9940 lt_tmp_lt_search_path_spec
=
9941 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9942 for lt_sys_path
in $lt_search_path_spec; do
9943 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9944 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9946 test -d "$lt_sys_path" && \
9947 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9950 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9951 BEGIN {RS=" "; FS="/|\n";} {
9954 for (lt_i = NF; lt_i > 0; lt_i--) {
9955 if ($lt_i != "" && $lt_i != ".") {
9956 if ($lt_i == "..") {
9959 if (lt_count == 0) {
9960 lt_foo="/" $lt_i lt_foo;
9967 if (lt_foo != "") { lt_freq[lt_foo]++; }
9968 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9970 # AWK program above erroneously prepends '/' to C:/dos/paths
9973 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9974 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9976 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9978 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9981 libname_spec
='lib$name'
9989 shlibpath_overrides_runpath
=unknown
9991 dynamic_linker
="$host_os ld.so"
9992 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9993 need_lib_prefix
=unknown
9994 hardcode_into_libs
=no
9996 # when you set need_version to no, make sure it does not cause -set_version
9997 # flags to be left without arguments
9998 need_version
=unknown
10002 version_type
=linux
# correct to gnu/linux during the next big refactor
10003 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10004 shlibpath_var
=LIBPATH
10006 # AIX 3 has no versioning support, so we append a major version to the name.
10007 soname_spec
='${libname}${release}${shared_ext}$major'
10011 version_type
=linux
# correct to gnu/linux during the next big refactor
10014 hardcode_into_libs
=yes
10015 if test "$host_cpu" = ia64
; then
10016 # AIX 5 supports IA64
10017 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10018 shlibpath_var
=LD_LIBRARY_PATH
10020 # With GCC up to 2.95.x, collect2 would create an import file
10021 # for dependence libraries. The import file would start with
10022 # the line `#! .'. This would cause the generated library to
10023 # depend on `.', always an invalid library. This was fixed in
10024 # development snapshots of GCC prior to 3.0.
10026 aix4 | aix4.
[01] | aix4.
[01].
*)
10027 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10029 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10032 can_build_shared
=no
10036 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10037 # soname into executable. Probably we can add versioning support to
10038 # collect2, so additional links can be useful in future.
10039 if test "$aix_use_runtimelinking" = yes; then
10040 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10041 # instead of lib<name>.a to let people know that these are not
10042 # typical AIX shared libraries.
10043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10045 # We preserve .a as extension for shared libraries through AIX4.2
10046 # and later when we are not doing run time linking.
10047 library_names_spec
='${libname}${release}.a $libname.a'
10048 soname_spec
='${libname}${release}${shared_ext}$major'
10050 shlibpath_var
=LIBPATH
10057 # Since July 2007 AmigaOS4 officially supports .so libraries.
10058 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10062 library_names_spec
='$libname.ixlibrary $libname.a'
10063 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10064 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10070 library_names_spec
='${libname}${shared_ext}'
10071 dynamic_linker
="$host_os ld.so"
10072 shlibpath_var
=LIBRARY_PATH
10076 version_type
=linux
# correct to gnu/linux during the next big refactor
10078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10079 soname_spec
='${libname}${release}${shared_ext}$major'
10080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10081 shlibpath_var
=LD_LIBRARY_PATH
10082 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10083 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10084 # the default ld.so.conf also contains /usr/contrib/lib and
10085 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10086 # libtool to hard-code these into programs
10089 cygwin
* | mingw
* | pw32
* | cegcc
*)
10090 version_type
=windows
10095 case $GCC,$cc_basename in
10098 library_names_spec
='$libname.dll.a'
10099 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10100 postinstall_cmds
='base_file=`basename \${file}`~
10101 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10102 dldir=$destdir/`dirname \$dlpath`~
10103 test -d \$dldir || mkdir -p \$dldir~
10104 $install_prog $dir/$dlname \$dldir/$dlname~
10105 chmod a+x \$dldir/$dlname~
10106 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10107 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10109 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10110 dlpath=$dir/\$dldll~
10112 shlibpath_overrides_runpath
=yes
10116 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10117 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10119 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10122 # MinGW DLLs use traditional 'lib' prefix
10123 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10126 # pw32 DLLs use 'pw' prefix rather than 'lib'
10127 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10130 dynamic_linker
='Win32 ld.exe'
10135 libname_spec
='$name'
10136 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10137 library_names_spec
='${libname}.dll.lib'
10141 sys_lib_search_path_spec
=
10144 for lt_path
in $LIB
10147 # Let DOS variable expansion print the short 8.3 style file name.
10148 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10149 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10152 # Convert to MSYS style.
10153 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10156 # Convert to unix form, then to dos form, then back to unix form
10157 # but this time dos style (no spaces!) so that the unix form looks
10158 # like /cygdrive/c/PROGRA~1:/cygdr...
10159 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10160 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10161 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10164 sys_lib_search_path_spec
="$LIB"
10165 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10166 # It is most probably a Windows format PATH.
10167 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10169 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10171 # FIXME: find the short name or the path components, as spaces are
10172 # common. (e.g. "Program Files" -> "PROGRA~1")
10176 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10177 postinstall_cmds
='base_file=`basename \${file}`~
10178 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10179 dldir=$destdir/`dirname \$dlpath`~
10180 test -d \$dldir || mkdir -p \$dldir~
10181 $install_prog $dir/$dlname \$dldir/$dlname'
10182 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10183 dlpath=$dir/\$dldll~
10185 shlibpath_overrides_runpath
=yes
10186 dynamic_linker
='Win32 link.exe'
10190 # Assume MSVC wrapper
10191 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10192 dynamic_linker
='Win32 ld.exe'
10195 # FIXME: first we should search . and the directory the executable is in
10199 darwin
* | rhapsody
*)
10200 dynamic_linker
="$host_os dyld"
10201 version_type
=darwin
10204 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10205 soname_spec
='${libname}${release}${major}$shared_ext'
10206 shlibpath_overrides_runpath
=yes
10207 shlibpath_var
=DYLD_LIBRARY_PATH
10208 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10210 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10211 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10215 version_type
=linux
# correct to gnu/linux during the next big refactor
10218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10219 soname_spec
='${libname}${release}${shared_ext}$major'
10220 shlibpath_var
=LD_LIBRARY_PATH
10223 freebsd
* | dragonfly
*)
10224 # DragonFly does not have aout. When/if they implement a new
10225 # versioning mechanism, adjust this.
10226 if test -x /usr
/bin
/objformat
; then
10227 objformat
=`/usr/bin/objformat`
10230 freebsd
[23].
*) objformat
=aout
;;
10231 *) objformat
=elf
;;
10234 version_type
=freebsd-
$objformat
10235 case $version_type in
10237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10242 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10246 shlibpath_var
=LD_LIBRARY_PATH
10249 shlibpath_overrides_runpath
=yes
10251 freebsd3.
[01]* | freebsdelf3.
[01]*)
10252 shlibpath_overrides_runpath
=yes
10253 hardcode_into_libs
=yes
10255 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10256 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10257 shlibpath_overrides_runpath
=no
10258 hardcode_into_libs
=yes
10260 *) # from 4.6 on, and DragonFly
10261 shlibpath_overrides_runpath
=yes
10262 hardcode_into_libs
=yes
10268 version_type
=linux
# correct to gnu/linux during the next big refactor
10271 dynamic_linker
="$host_os runtime_loader"
10272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10273 soname_spec
='${libname}${release}${shared_ext}$major'
10274 shlibpath_var
=LIBRARY_PATH
10275 shlibpath_overrides_runpath
=yes
10276 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10277 hardcode_into_libs
=yes
10280 hpux9
* | hpux10
* | hpux11
*)
10281 # Give a soname corresponding to the major version so that dld.sl refuses to
10282 # link against other versions.
10289 hardcode_into_libs
=yes
10290 dynamic_linker
="$host_os dld.so"
10291 shlibpath_var
=LD_LIBRARY_PATH
10292 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10294 soname_spec
='${libname}${release}${shared_ext}$major'
10295 if test "X$HPUX_IA64_MODE" = X32
; then
10296 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10298 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10300 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10304 hardcode_into_libs
=yes
10305 dynamic_linker
="$host_os dld.sl"
10306 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10307 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 soname_spec
='${libname}${release}${shared_ext}$major'
10310 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10311 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10315 dynamic_linker
="$host_os dld.sl"
10316 shlibpath_var
=SHLIB_PATH
10317 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319 soname_spec
='${libname}${release}${shared_ext}$major'
10322 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10323 postinstall_cmds
='chmod 555 $lib'
10324 # or fails outright, so override atomically:
10325 install_override_mode
=555
10329 version_type
=linux
# correct to gnu/linux during the next big refactor
10332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10333 soname_spec
='${libname}${release}${shared_ext}$major'
10334 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10335 shlibpath_var
=LD_LIBRARY_PATH
10336 shlibpath_overrides_runpath
=no
10337 hardcode_into_libs
=yes
10340 irix5
* | irix6
* | nonstopux
*)
10342 nonstopux
*) version_type
=nonstopux
;;
10344 if test "$lt_cv_prog_gnu_ld" = yes; then
10345 version_type
=linux
# correct to gnu/linux during the next big refactor
10352 soname_spec
='${libname}${release}${shared_ext}$major'
10353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10355 irix5
* | nonstopux
*)
10356 libsuff
= shlibsuff
=
10359 case $LD in # libtool.m4 will add one of these switches to LD
10360 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10361 libsuff
= shlibsuff
= libmagic
=32-bit;;
10362 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10363 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10364 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10365 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10366 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10370 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10371 shlibpath_overrides_runpath
=no
10372 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10373 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10374 hardcode_into_libs
=yes
10377 # No shared lib support for Linux oldld, aout, or coff.
10378 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10382 # This must be glibc/ELF.
10383 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10384 version_type
=linux
# correct to gnu/linux during the next big refactor
10387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388 soname_spec
='${libname}${release}${shared_ext}$major'
10389 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10390 shlibpath_var
=LD_LIBRARY_PATH
10391 shlibpath_overrides_runpath
=no
10393 # Some binutils ld are patched to set DT_RUNPATH
10394 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10395 $as_echo_n "(cached) " >&6
10397 lt_cv_shlibpath_overrides_runpath
=no
10398 save_LDFLAGS
=$LDFLAGS
10399 save_libdir
=$libdir
10400 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10401 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10413 if ac_fn_c_try_link
"$LINENO"; then :
10414 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10415 lt_cv_shlibpath_overrides_runpath
=yes
10418 rm -f core conftest.err conftest.
$ac_objext \
10419 conftest
$ac_exeext conftest.
$ac_ext
10420 LDFLAGS
=$save_LDFLAGS
10421 libdir
=$save_libdir
10425 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10427 # This implies no fast_install, which is unacceptable.
10428 # Some rework will be needed to allow for fast_install
10429 # before this can be enabled.
10430 hardcode_into_libs
=yes
10432 # Append ld.so.conf contents to the search path
10433 if test -f /etc
/ld.so.conf
; then
10434 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' ' '`
10435 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10438 # We used to test for /lib/ld.so.1 and disable shared libraries on
10439 # powerpc, because MkLinux only supported shared libraries with the
10440 # GNU dynamic linker. Since this was broken with cross compilers,
10441 # most powerpc-linux boxes support dynamic linking these days and
10442 # people can always --disable-shared, the test was removed, and we
10443 # assume the GNU/Linux dynamic linker is in use.
10444 dynamic_linker
='GNU/Linux ld.so'
10451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10452 soname_spec
='${libname}${release}${shared_ext}$major'
10453 shlibpath_var
=LD_LIBRARY_PATH
10454 shlibpath_overrides_runpath
=no
10455 hardcode_into_libs
=yes
10456 dynamic_linker
='NetBSD ld.elf_so'
10463 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10466 dynamic_linker
='NetBSD (a.out) ld.so'
10468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10469 soname_spec
='${libname}${release}${shared_ext}$major'
10470 dynamic_linker
='NetBSD ld.elf_so'
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath
=yes
10474 hardcode_into_libs
=yes
10478 version_type
=linux
# correct to gnu/linux during the next big refactor
10479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 shlibpath_var
=LD_LIBRARY_PATH
10481 shlibpath_overrides_runpath
=yes
10488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489 soname_spec
='${libname}${release}${shared_ext}$major'
10490 shlibpath_var
=LD_LIBRARY_PATH
10491 shlibpath_overrides_runpath
=no
10492 hardcode_into_libs
=yes
10493 dynamic_linker
='ldqnx.so'
10498 sys_lib_dlsearch_path_spec
="/usr/lib"
10500 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10502 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10503 *) need_version
=no
;;
10505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10507 shlibpath_var
=LD_LIBRARY_PATH
10508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10510 openbsd2.
[89] | openbsd2.
[89].
*)
10511 shlibpath_overrides_runpath
=no
10514 shlibpath_overrides_runpath
=yes
10518 shlibpath_overrides_runpath
=yes
10523 libname_spec
='$name'
10526 library_names_spec
='$libname${shared_ext} $libname.a'
10527 dynamic_linker
='OS/2 ld.exe'
10528 shlibpath_var
=LIBPATH
10531 osf3
* | osf4
* | osf5
*)
10535 soname_spec
='${libname}${release}${shared_ext}$major'
10536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 shlibpath_var
=LD_LIBRARY_PATH
10538 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10539 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10547 version_type
=linux
# correct to gnu/linux during the next big refactor
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 shlibpath_overrides_runpath
=yes
10554 hardcode_into_libs
=yes
10555 # ldd complains unless libraries are executable
10556 postinstall_cmds
='chmod +x $lib'
10561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10562 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10563 shlibpath_var
=LD_LIBRARY_PATH
10564 shlibpath_overrides_runpath
=yes
10565 if test "$with_gnu_ld" = yes; then
10572 version_type
=linux
# correct to gnu/linux during the next big refactor
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 soname_spec
='${libname}${release}${shared_ext}$major'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 case $host_vendor in
10578 shlibpath_overrides_runpath
=no
10580 runpath_var
=LD_RUN_PATH
10588 shlibpath_overrides_runpath
=no
10589 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10595 if test -d /usr
/nec
;then
10596 version_type
=linux
# correct to gnu/linux during the next big refactor
10597 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10598 soname_spec
='$libname${shared_ext}.$major'
10599 shlibpath_var
=LD_LIBRARY_PATH
10603 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10604 version_type
=freebsd-elf
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10608 soname_spec
='${libname}${release}${shared_ext}$major'
10609 shlibpath_var
=LD_LIBRARY_PATH
10610 shlibpath_overrides_runpath
=yes
10611 hardcode_into_libs
=yes
10612 if test "$with_gnu_ld" = yes; then
10613 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10615 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10618 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10622 sys_lib_dlsearch_path_spec
='/usr/lib'
10626 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10627 version_type
=linux
# correct to gnu/linux during the next big refactor
10630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631 shlibpath_var
=LD_LIBRARY_PATH
10632 shlibpath_overrides_runpath
=no
10633 hardcode_into_libs
=yes
10637 version_type
=linux
# correct to gnu/linux during the next big refactor
10638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec
='${libname}${release}${shared_ext}$major'
10640 shlibpath_var
=LD_LIBRARY_PATH
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10648 $as_echo "$dynamic_linker" >&6; }
10649 test "$dynamic_linker" = no
&& can_build_shared
=no
10651 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10652 if test "$GCC" = yes; then
10653 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10656 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10657 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10659 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10660 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10755 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10757 if test -n "$hardcode_libdir_flag_spec" ||
10758 test -n "$runpath_var" ||
10759 test "X$hardcode_automatic" = "Xyes" ; then
10761 # We can hardcode non-existent directories.
10762 if test "$hardcode_direct" != no
&&
10763 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10764 # have to relink, otherwise we might link with an installed library
10765 # when we should be linking with a yet-to-be-installed one
10766 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10767 test "$hardcode_minus_L" != no
; then
10768 # Linking always hardcodes the temporary library directory.
10769 hardcode_action
=relink
10771 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10772 hardcode_action
=immediate
10775 # We cannot hardcode anything, or else we can only hardcode existing
10777 hardcode_action
=unsupported
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10780 $as_echo "$hardcode_action" >&6; }
10782 if test "$hardcode_action" = relink ||
10783 test "$inherit_rpath" = yes; then
10784 # Fast installation is not supported
10785 enable_fast_install
=no
10786 elif test "$shlibpath_overrides_runpath" = yes ||
10787 test "$enable_shared" = no
; then
10788 # Fast installation is not necessary
10789 enable_fast_install
=needless
10797 if test "x$enable_dlopen" != xyes
; then
10798 enable_dlopen
=unknown
10799 enable_dlopen_self
=unknown
10800 enable_dlopen_self_static
=unknown
10807 lt_cv_dlopen
="load_add_on"
10809 lt_cv_dlopen_self
=yes
10812 mingw
* | pw32
* | cegcc
*)
10813 lt_cv_dlopen
="LoadLibrary"
10818 lt_cv_dlopen
="dlopen"
10823 # if libdl is installed we need to link against it
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10826 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10849 if ac_fn_c_try_link
"$LINENO"; then :
10850 ac_cv_lib_dl_dlopen
=yes
10852 ac_cv_lib_dl_dlopen
=no
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10860 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10861 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10864 lt_cv_dlopen
="dyld"
10866 lt_cv_dlopen_self
=yes
10873 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10874 if test "x$ac_cv_func_shl_load" = xyes
; then :
10875 lt_cv_dlopen
="shl_load"
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10878 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10879 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10880 $as_echo_n "(cached) " >&6
10882 ac_check_lib_save_LIBS
=$LIBS
10884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10897 return shl_load ();
10902 if ac_fn_c_try_link
"$LINENO"; then :
10903 ac_cv_lib_dld_shl_load
=yes
10905 ac_cv_lib_dld_shl_load
=no
10907 rm -f core conftest.err conftest.
$ac_objext \
10908 conftest
$ac_exeext conftest.
$ac_ext
10909 LIBS
=$ac_check_lib_save_LIBS
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10912 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10913 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10914 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10916 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10917 if test "x$ac_cv_func_dlopen" = xyes
; then :
10918 lt_cv_dlopen
="dlopen"
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10921 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10922 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10923 $as_echo_n "(cached) " >&6
10925 ac_check_lib_save_LIBS
=$LIBS
10927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10930 /* Override any GCC internal prototype to avoid an error.
10931 Use char because int might match the return type of a GCC
10932 builtin and then its argument prototype would still apply. */
10945 if ac_fn_c_try_link
"$LINENO"; then :
10946 ac_cv_lib_dl_dlopen
=yes
10948 ac_cv_lib_dl_dlopen
=no
10950 rm -f core conftest.err conftest.
$ac_objext \
10951 conftest
$ac_exeext conftest.
$ac_ext
10952 LIBS
=$ac_check_lib_save_LIBS
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10955 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10956 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10957 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10960 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10961 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_lib_save_LIBS
=$LIBS
10965 LIBS
="-lsvld $LIBS"
10966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10984 if ac_fn_c_try_link
"$LINENO"; then :
10985 ac_cv_lib_svld_dlopen
=yes
10987 ac_cv_lib_svld_dlopen
=no
10989 rm -f core conftest.err conftest.
$ac_objext \
10990 conftest
$ac_exeext conftest.
$ac_ext
10991 LIBS
=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10994 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10995 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10996 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10999 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11000 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS
=$LIBS
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11018 return dld_link ();
11023 if ac_fn_c_try_link
"$LINENO"; then :
11024 ac_cv_lib_dld_dld_link
=yes
11026 ac_cv_lib_dld_dld_link
=no
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11033 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11034 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11035 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11056 if test "x$lt_cv_dlopen" != xno
; then
11062 case $lt_cv_dlopen in
11064 save_CPPFLAGS
="$CPPFLAGS"
11065 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11067 save_LDFLAGS
="$LDFLAGS"
11068 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11071 LIBS
="$lt_cv_dlopen_libs $LIBS"
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11074 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11075 if ${lt_cv_dlopen_self+:} false
; then :
11076 $as_echo_n "(cached) " >&6
11078 if test "$cross_compiling" = yes; then :
11079 lt_cv_dlopen_self
=cross
11081 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11082 lt_status
=$lt_dlunknown
11083 cat > conftest.
$ac_ext <<_LT_EOF
11084 #line $LINENO "configure"
11085 #include "confdefs.h"
11094 # define LT_DLGLOBAL RTLD_GLOBAL
11097 # define LT_DLGLOBAL DL_GLOBAL
11099 # define LT_DLGLOBAL 0
11103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11104 find out it does not work in some platform. */
11105 #ifndef LT_DLLAZY_OR_NOW
11107 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11110 # define LT_DLLAZY_OR_NOW DL_LAZY
11113 # define LT_DLLAZY_OR_NOW RTLD_NOW
11116 # define LT_DLLAZY_OR_NOW DL_NOW
11118 # define LT_DLLAZY_OR_NOW 0
11125 /* When -fvisbility=hidden is used, assume the code has been annotated
11126 correspondingly for the symbols needed. */
11127 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11128 int fnord () __attribute__((visibility("default")));
11131 int fnord () { return 42; }
11134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11135 int status = $lt_dlunknown;
11139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11142 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11143 else puts (dlerror ());
11145 /* dlclose (self); */
11153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11154 (eval $ac_link) 2>&5
11156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11157 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11158 (.
/conftest
; exit; ) >&5 2>/dev
/null
11160 case x
$lt_status in
11161 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11162 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11163 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11166 # compilation failed
11167 lt_cv_dlopen_self
=no
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11175 $as_echo "$lt_cv_dlopen_self" >&6; }
11177 if test "x$lt_cv_dlopen_self" = xyes
; then
11178 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11180 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11181 if ${lt_cv_dlopen_self_static+:} false
; then :
11182 $as_echo_n "(cached) " >&6
11184 if test "$cross_compiling" = yes; then :
11185 lt_cv_dlopen_self_static
=cross
11187 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11188 lt_status
=$lt_dlunknown
11189 cat > conftest.
$ac_ext <<_LT_EOF
11190 #line $LINENO "configure"
11191 #include "confdefs.h"
11200 # define LT_DLGLOBAL RTLD_GLOBAL
11203 # define LT_DLGLOBAL DL_GLOBAL
11205 # define LT_DLGLOBAL 0
11209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11210 find out it does not work in some platform. */
11211 #ifndef LT_DLLAZY_OR_NOW
11213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11216 # define LT_DLLAZY_OR_NOW DL_LAZY
11219 # define LT_DLLAZY_OR_NOW RTLD_NOW
11222 # define LT_DLLAZY_OR_NOW DL_NOW
11224 # define LT_DLLAZY_OR_NOW 0
11231 /* When -fvisbility=hidden is used, assume the code has been annotated
11232 correspondingly for the symbols needed. */
11233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11234 int fnord () __attribute__((visibility("default")));
11237 int fnord () { return 42; }
11240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11241 int status = $lt_dlunknown;
11245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11249 else puts (dlerror ());
11251 /* dlclose (self); */
11259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11260 (eval $ac_link) 2>&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11263 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11264 (.
/conftest
; exit; ) >&5 2>/dev
/null
11266 case x
$lt_status in
11267 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11268 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11269 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11272 # compilation failed
11273 lt_cv_dlopen_self_static
=no
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11281 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11284 CPPFLAGS
="$save_CPPFLAGS"
11285 LDFLAGS
="$save_LDFLAGS"
11290 case $lt_cv_dlopen_self in
11291 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11292 *) enable_dlopen_self
=unknown
;;
11295 case $lt_cv_dlopen_self_static in
11296 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11297 *) enable_dlopen_self_static
=unknown
;;
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11320 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11321 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11322 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11323 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11325 $as_echo "yes" >&6; }
11327 # FIXME - insert some real tests, host_os isn't really good enough
11330 if test -n "$STRIP" ; then
11331 striplib
="$STRIP -x"
11332 old_striplib
="$STRIP -S"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11334 $as_echo "yes" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11342 $as_echo "no" >&6; }
11358 # Report which library types will actually be built
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11360 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11362 $as_echo "$can_build_shared" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11365 $as_echo_n "checking whether to build shared libraries... " >&6; }
11366 test "$can_build_shared" = "no" && enable_shared
=no
11368 # On AIX, shared libraries and static libraries use the same namespace, and
11369 # are all built from PIC.
11372 test "$enable_shared" = yes && enable_static
=no
11373 if test -n "$RANLIB"; then
11374 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11375 postinstall_cmds
='$RANLIB $lib'
11380 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11381 test "$enable_shared" = yes && enable_static
=no
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11386 $as_echo "$enable_shared" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11389 $as_echo_n "checking whether to build static libraries... " >&6; }
11390 # Make sure either enable_shared or enable_static is yes.
11391 test "$enable_shared" = yes || enable_static
=yes
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11393 $as_echo "$enable_static" >&6; }
11400 ac_cpp
='$CPP $CPPFLAGS'
11401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11421 ac_config_commands
="$ac_config_commands libtool"
11426 # Only expand once:
11432 *) as_fn_error $?
"Linux only, dude!" "$LINENO" 5;;
11438 ac_config_files
="$ac_config_files Makefile src/Makefile include/Makefile include/libnfnetlink/Makefile utils/Makefile libnfnetlink.pc"
11440 cat >confcache
<<\_ACEOF
11441 # This file is a shell script that caches the results of configure
11442 # tests run on this system so they can be shared between configure
11443 # scripts and configure runs, see configure's option --config-cache.
11444 # It is not useful on other systems. If it contains results you don't
11445 # want to keep, you may remove or edit it.
11447 # config.status only pays attention to the cache file if you give it
11448 # the --recheck option to rerun configure.
11450 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11451 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11452 # following values.
11456 # The following way of writing the cache mishandles newlines in values,
11457 # but we know of no workaround that is simple, portable, and efficient.
11458 # So, we kill variables containing newlines.
11459 # Ultrix sh set writes to stderr and can't be redirected directly,
11460 # and sets the high bit in the cache file unless we assign to the vars.
11462 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11463 eval ac_val
=\$
$ac_var
11467 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11468 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11471 _ | IFS | as_nl
) ;; #(
11472 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11473 *) { eval $ac_var=; unset $ac_var;} ;;
11479 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11480 *${as_nl}ac_space
=\
*)
11481 # `set' does not quote correctly, so add quotes: double-quote
11482 # substitution turns \\\\ into \\, and sed turns \\ into \.
11485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11488 # `set' quotes correctly as required by POSIX, so do not add quotes.
11489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11500 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11502 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11503 if test -w "$cache_file"; then
11504 if test "x$cache_file" != "x/dev/null"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11506 $as_echo "$as_me: updating cache $cache_file" >&6;}
11507 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11508 cat confcache
>"$cache_file"
11510 case $cache_file in #(
11512 mv -f confcache
"$cache_file"$$
&&
11513 mv -f "$cache_file"$$
"$cache_file" ;; #(
11515 mv -f confcache
"$cache_file" ;;
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11521 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11526 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11527 # Let make expand exec_prefix.
11528 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11530 # Transform confdefs.h into DEFS.
11531 # Protect against shell expansion while executing Makefile rules.
11532 # Protect against Makefile macro expansion.
11534 # If the first sed substitution is executed (which looks for macros that
11535 # take arguments), then branch to the quote section. Otherwise,
11536 # look for a macro that doesn't take arguments.
11546 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11548 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11552 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11565 DEFS
=`sed -n "$ac_script" confdefs.h`
11571 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11572 # 1. Remove the extension, and $U if already installed.
11573 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11574 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11575 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11576 # will be set to the directory where LIBOBJS objects are built.
11577 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11578 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11580 LIBOBJS
=$ac_libobjs
11582 LTLIBOBJS
=$ac_ltlibobjs
11585 if test -n "$EXEEXT"; then
11587 am__EXEEXT_FALSE
='#'
11589 am__EXEEXT_TRUE
='#'
11593 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11594 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11597 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11598 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11602 : "${CONFIG_STATUS=./config.status}"
11604 ac_clean_files_save
=$ac_clean_files
11605 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11611 # Generated by $as_me.
11612 # Run this file to recreate the current configuration.
11613 # Compiler output produced by configure, useful for debugging
11614 # configure, is in config.log if it exists.
11617 ac_cs_recheck=false
11620 SHELL=\${CONFIG_SHELL-$SHELL}
11623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11624 ## -------------------- ##
11625 ## M4sh Initialization. ##
11626 ## -------------------- ##
11628 # Be more Bourne compatible
11629 DUALCASE
=1; export DUALCASE
# for MKS sh
11630 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11634 # is contrary to our usage. Disable this feature.
11635 alias -g '${1+"$@"}'='"$@"'
11636 setopt NO_GLOB_SUBST
11638 case `(set -o) 2>/dev/null` in #(
11650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11651 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11654 # Prefer a ksh shell builtin over an external printf program on Solaris,
11655 # but without wasting forks for bash or zsh.
11656 if test -z "$BASH_VERSION$ZSH_VERSION" \
11657 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11658 as_echo='print
-r --'
11659 as_echo_n='print
-rn --'
11660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11661 as_echo='printf %s
\n'
11662 as_echo_n='printf %s
'
11664 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11665 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11666 as_echo_n='/usr
/ucb
/echo -n'
11668 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11669 as_echo_n_body='eval
11673 expr "X$arg" : "X\\(.*\\)$as_nl";
11674 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11676 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11678 export as_echo_n_body
11679 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11681 export as_echo_body
11682 as_echo='sh
-c $as_echo_body as_echo
'
11685 # The user is always right.
11686 if test "${PATH_SEPARATOR+set}" != set; then
11688 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11689 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11696 # We need space, tab and new line, in precisely that order. Quoting is
11697 # there to prevent editors from complaining about space-tab.
11698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11699 # splitting by setting IFS to empty value.)
11702 # Find who we are. Look in the path if we contain no directory separator.
11705 *[\\/]* ) as_myself=$0 ;;
11706 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11707 for as_dir in $PATH
11710 test -z "$as_dir" && as_dir=.
11711 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11717 # We did not find ourselves, most probably we were run as `sh COMMAND'
11718 # in which case we are not to be found in the path.
11719 if test "x$as_myself" = x
; then
11722 if test ! -f "$as_myself"; then
11723 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11727 # Unset variables that we do not need and which cause bugs (e.g. in
11728 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11729 # suppresses any "Segmentation fault" message there. '((' could
11730 # trigger a bug in pdksh 5.2.14.
11731 for as_var
in BASH_ENV ENV MAIL MAILPATH
11732 do eval test x\
${$as_var+set} = xset \
11733 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11746 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11749 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11750 # ----------------------------------------
11751 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11752 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11753 # script with STATUS, using 1 if that was 0.
11756 as_status
=$1; test $as_status -eq 0 && as_status
=1
11758 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11759 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11761 $as_echo "$as_me: error: $2" >&2
11762 as_fn_exit
$as_status
11766 # as_fn_set_status STATUS
11767 # -----------------------
11768 # Set $? to STATUS, without forking.
11769 as_fn_set_status
()
11772 } # as_fn_set_status
11774 # as_fn_exit STATUS
11775 # -----------------
11776 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11780 as_fn_set_status
$1
11786 # Portably unset VAR.
11789 { eval $1=; unset $1;}
11791 as_unset
=as_fn_unset
11792 # as_fn_append VAR VALUE
11793 # ----------------------
11794 # Append the text in VALUE to the end of the definition contained in VAR. Take
11795 # advantage of any shell optimizations that allow amortized linear growth over
11796 # repeated appends, instead of the typical quadratic growth present in naive
11798 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11799 eval 'as_fn_append ()
11810 # as_fn_arith ARG...
11811 # ------------------
11812 # Perform arithmetic evaluation on the ARGs, and store the result in the
11813 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11814 # must be portable across $(()) and expr.
11815 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11816 eval 'as_fn_arith ()
11823 as_val
=`expr "$@" || test $? -eq 1`
11828 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11829 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11835 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11836 as_basename
=basename
11841 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11847 as_me
=`$as_basename -- "$0" ||
11848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11849 X"$0" : 'X\(//\)$' \| \
11850 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11852 sed '/^.*\/\([^/][^/]*\)\/*$/{
11866 # Avoid depending upon Character Ranges.
11867 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11868 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11869 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11870 as_cr_digits
='0123456789'
11871 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11873 ECHO_C
= ECHO_N
= ECHO_T
=
11874 case `echo -n x` in #(((((
11876 case `echo 'xy\c'` in
11877 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11879 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11886 rm -f conf$$ conf$$.exe conf$$.
file
11887 if test -d conf$$.dir
; then
11888 rm -f conf$$.dir
/conf$$.
file
11891 mkdir conf$$.dir
2>/dev
/null
11893 if (echo >conf$$.
file) 2>/dev
/null
; then
11894 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11896 # ... but there are two gotchas:
11897 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11898 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11899 # In both cases, we have to default to `cp -pR'.
11900 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11902 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11910 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11911 rmdir conf$$.dir
2>/dev
/null
11916 # Create "$as_dir" as a directory, including parents if necessary.
11921 -*) as_dir
=.
/$as_dir;;
11923 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11927 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11928 *) as_qdir
=$as_dir;;
11930 as_dirs
="'$as_qdir' $as_dirs"
11931 as_dir
=`$as_dirname -- "$as_dir" ||
11932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11933 X"$as_dir" : 'X\(//\)[^/]' \| \
11934 X"$as_dir" : 'X\(//\)$' \| \
11935 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11936 $as_echo X"$as_dir" |
11937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11941 /^X\(\/\/\)[^/].*/{
11954 test -d "$as_dir" && break
11956 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11957 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
11961 if mkdir
-p .
2>/dev
/null
; then
11962 as_mkdir_p
='mkdir -p "$as_dir"'
11964 test -d .
/-p && rmdir .
/-p
11969 # as_fn_executable_p FILE
11970 # -----------------------
11971 # Test if FILE is an executable regular file.
11972 as_fn_executable_p
()
11974 test -f "$1" && test -x "$1"
11975 } # as_fn_executable_p
11976 as_test_x
='test -x'
11977 as_executable_p
=as_fn_executable_p
11979 # Sed expression to map a string onto a valid CPP name.
11980 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11982 # Sed expression to map a string onto a valid variable name.
11983 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11987 ## ----------------------------------- ##
11988 ## Main body of $CONFIG_STATUS script. ##
11989 ## ----------------------------------- ##
11991 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11994 # Save the log message, to keep $0 and so on meaningful, and to
11995 # report actual input values of CONFIG_FILES etc. instead of their
11996 # values after options handling.
11998 This file was extended by libnfnetlink $as_me 1.0.1, which was
11999 generated by GNU Autoconf 2.69. Invocation command line was
12001 CONFIG_FILES = $CONFIG_FILES
12002 CONFIG_HEADERS = $CONFIG_HEADERS
12003 CONFIG_LINKS = $CONFIG_LINKS
12004 CONFIG_COMMANDS = $CONFIG_COMMANDS
12007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12012 case $ac_config_files in *"
12013 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12019 # Files that config.status was made for.
12020 config_files="$ac_config_files"
12021 config_commands="$ac_config_commands"
12025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12027 \`$as_me' instantiates files and other configuration actions
12028 from templates according to the current configuration. Unless the files
12029 and actions are specified as TAGs, all are instantiated by default.
12031 Usage: $0 [OPTION]... [TAG]...
12033 -h, --help print this help, then exit
12034 -V, --version print version number and configuration settings, then exit
12035 --config print configuration, then exit
12036 -q, --quiet, --silent
12037 do not print progress messages
12038 -d, --debug don't remove temporary files
12039 --recheck update $as_me by reconfiguring in the same conditions
12040 --file=FILE[:TEMPLATE]
12041 instantiate the configuration file FILE
12043 Configuration files:
12046 Configuration commands:
12049 Report bugs to the package provider."
12052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12053 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12055 libnfnetlink config.status 1.0.1
12056 configured by $0, generated by GNU Autoconf 2.69,
12057 with options \\"\$ac_cs_config\\"
12059 Copyright (C) 2012 Free Software Foundation, Inc.
12060 This config.status script is free software; the Free Software Foundation
12061 gives unlimited permission to copy, distribute and modify it."
12068 test -n "\$AWK" || AWK=awk
12071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12072 # The default lists apply if the user does not specify any file.
12078 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12079 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12083 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12095 # Handling of the options.
12096 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12098 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12099 $as_echo "$ac_cs_version"; exit ;;
12100 --config |
--confi |
--conf |
--con |
--co |
--c )
12101 $as_echo "$ac_cs_config"; exit ;;
12102 --debug |
--debu |
--deb |
--de |
--d |
-d )
12104 --file |
--fil |
--fi |
--f )
12107 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12108 '') as_fn_error $?
"missing file argument" ;;
12110 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12111 ac_need_defaults
=false
;;
12112 --he |
--h |
--help |
--hel |
-h )
12113 $as_echo "$ac_cs_usage"; exit ;;
12114 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12115 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12118 # This is an error.
12119 -*) as_fn_error $?
"unrecognized option: \`$1'
12120 Try \`$0 --help' for more information." ;;
12122 *) as_fn_append ac_config_targets
" $1"
12123 ac_need_defaults
=false
;;
12129 ac_configure_extra_args
=
12131 if $ac_cs_silent; then
12133 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12138 if \$ac_cs_recheck; then
12139 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12141 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12142 CONFIG_SHELL='$SHELL'
12143 export CONFIG_SHELL
12148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12152 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12153 ## Running $as_me. ##
12159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12163 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12166 # The HP-UX ksh and POSIX shell print the target directory to stdout
12167 # if CDPATH is set.
12168 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12170 sed_quote_subst='$sed_quote_subst'
12171 double_quote_subst='$double_quote_subst'
12172 delay_variable_subst='$delay_variable_subst'
12173 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12174 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12175 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12176 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12177 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12178 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12179 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12180 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12181 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12182 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12183 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12184 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12185 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12186 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12187 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12188 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12189 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12190 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12191 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12192 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12193 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12194 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12195 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12196 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12197 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12198 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12199 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12200 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12201 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12202 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12203 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12204 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12205 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12206 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12207 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12208 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12209 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12210 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12211 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12212 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12213 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12214 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12215 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12216 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12217 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12218 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12219 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12220 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12221 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12222 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12223 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12224 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12225 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12226 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12227 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12228 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12229 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"`'
12230 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12231 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12232 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12233 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12234 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12235 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12236 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12237 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12238 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12239 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12240 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12241 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12242 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12243 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12244 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12245 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12246 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12247 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12248 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12249 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12250 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12251 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12252 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12253 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12254 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12255 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12256 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12257 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12258 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12259 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12260 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12261 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12262 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12263 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12264 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12265 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12266 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12267 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12268 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12269 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12270 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12271 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12272 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12273 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12274 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12275 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12276 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12277 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12278 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12279 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12280 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12281 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12282 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12283 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12284 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12285 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12286 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12287 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12288 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12289 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12290 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12291 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12292 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12293 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12294 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12295 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12296 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12297 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12298 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12299 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12300 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12301 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12302 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12305 LTCFLAGS='$LTCFLAGS'
12306 compiler='$compiler_DEFAULT'
12308 # A function that is used when there is no print builtin or printf.
12309 func_fallback_echo ()
12311 eval 'cat <<_LTECHO_EOF
12316 # Quote evaled strings.
12331 deplibs_check_method \
12336 sharedlib_from_linklib_cmd \
12339 archiver_list_spec \
12345 lt_cv_sys_global_symbol_pipe \
12346 lt_cv_sys_global_symbol_to_cdecl \
12347 lt_cv_sys_global_symbol_to_c_name_address \
12348 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12349 nm_file_list_spec \
12350 lt_prog_compiler_no_builtin_flag \
12351 lt_prog_compiler_pic \
12352 lt_prog_compiler_wl \
12353 lt_prog_compiler_static \
12354 lt_cv_prog_compiler_c_o \
12363 export_dynamic_flag_spec \
12364 whole_archive_flag_spec \
12365 compiler_needs_object \
12367 allow_undefined_flag \
12368 no_undefined_flag \
12369 hardcode_libdir_flag_spec \
12370 hardcode_libdir_separator \
12374 variables_saved_for_relink \
12376 library_names_spec \
12378 install_override_mode \
12382 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12383 *[\\\\\\\`\\"\\\$]*)
12384 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12387 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12392 # Double-quote double-evaled strings.
12393 for var in reload_cmds \
12394 old_postinstall_cmds \
12395 old_postuninstall_cmds \
12397 extract_expsyms_cmds \
12398 old_archive_from_new_cmds \
12399 old_archive_from_expsyms_cmds \
12401 archive_expsym_cmds \
12403 module_expsym_cmds \
12404 export_symbols_cmds \
12408 postuninstall_cmds \
12410 sys_lib_search_path_spec \
12411 sys_lib_dlsearch_path_spec; do
12412 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12413 *[\\\\\\\`\\"\\\$]*)
12414 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12417 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12422 ac_aux_dir='$ac_aux_dir'
12423 xsi_shell='$xsi_shell'
12424 lt_shell_append='$lt_shell_append'
12426 # See if we are running on zsh, and set the options which allow our
12427 # commands through without removal of \ escapes INIT.
12428 if test -n "\${ZSH_VERSION+set}" ; then
12429 setopt NO_GLOB_SUBST
12435 TIMESTAMP='$TIMESTAMP'
12444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12446 # Handling of arguments.
12447 for ac_config_target
in $ac_config_targets
12449 case $ac_config_target in
12450 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12451 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12452 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12453 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
12454 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12455 "include/libnfnetlink/Makefile") CONFIG_FILES
="$CONFIG_FILES include/libnfnetlink/Makefile" ;;
12456 "utils/Makefile") CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
12457 "libnfnetlink.pc") CONFIG_FILES
="$CONFIG_FILES libnfnetlink.pc" ;;
12459 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12464 # If the user did not use the arguments to specify the items to instantiate,
12465 # then the envvar interface is used. Set only those that are not.
12466 # We use the long form for the default assignment because of an extremely
12467 # bizarre bug on SunOS 4.1.3.
12468 if $ac_need_defaults; then
12469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12470 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12473 # Have a temporary directory for convenience. Make it in the build tree
12474 # simply because there is no reason against having it here, and in addition,
12475 # creating and moving files from /tmp can sometimes cause problems.
12476 # Hook for its removal unless debugging.
12477 # Note that there is a small window in which the directory will not be cleaned:
12478 # after its creation but before its name has been assigned to `$tmp'.
12482 trap 'exit_status=$?
12483 : "${ac_tmp:=$tmp}"
12484 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12486 trap 'as_fn_exit 1' 1 2 13 15
12488 # Create a (secure) tmp directory for tmp files.
12491 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12495 tmp
=.
/conf$$
-$RANDOM
12496 (umask 077 && mkdir
"$tmp")
12497 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12500 # Set up the scripts for CONFIG_FILES section.
12501 # No need to generate them if there are no CONFIG_FILES.
12502 # This happens for instance with `./config.status config.h'.
12503 if test -n "$CONFIG_FILES"; then
12506 ac_cr
=`echo X | tr X '\015'`
12507 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12508 # But we know of no other shell where ac_cr would be empty at this
12509 # point, so we can use a bashism as a fallback.
12510 if test "x$ac_cr" = x
; then
12511 eval ac_cr
=\$
\'\\r
\'
12513 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12514 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12517 ac_cs_awk_cr
=$ac_cr
12520 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12525 echo "cat >conf$$subs.awk <<_ACEOF" &&
12526 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12528 } >conf$$subs.sh ||
12529 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12530 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12532 for ac_last_try in false false false false false :; do
12533 . ./conf$$subs.sh ||
12534 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12536 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12537 if test $ac_delim_n = $ac_delim_num; then
12539 elif $ac_last_try; then
12540 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12542 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12545 rm -f conf$$subs.sh
12547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12548 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12552 s/^/S["/; s
/!.
*/"]=/
12562 s/\(.\{148\}\)..*/\1/
12564 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12569 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12576 s/\(.\{148\}\)..*/\1/
12578 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12582 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12587 ' <conf$$subs.awk | sed '
12592 ' >>$CONFIG_STATUS || ac_write_fail=1
12593 rm -f conf$$subs.awk
12594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12596 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12597 for (key in S) S_is_set[key] = 1
12603 nfields = split(line, field, "@
")
12605 len = length(field[1])
12606 for (i = 2; i < nfields; i++) {
12608 keylen = length(key)
12609 if (S_is_set[key]) {
12611 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12612 len += length(value) + length(field[++i])
12623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12624 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12625 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12628 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12629 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12632 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12633 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12634 # trailing colons and then remove the whole line if VPATH becomes empty
12635 # (actually we leave an empty line to preserve line numbers).
12636 if test "x
$srcdir" = x.; then
12637 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12656 fi # test -n "$CONFIG_FILES"
12659 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
12664 :[FHLC]) ac_mode=$ac_tag; continue;;
12666 case $ac_mode$ac_tag in
12668 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
12669 :[FH]-) ac_tag=-:-;;
12670 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12687 -) ac_f="$ac_tmp/stdin";;
12688 *) # Look for the file first in the build tree, then in the source tree
12689 # (if the path is not absolute). The absolute path cannot be DOS-style,
12690 # because $ac_f cannot contain `:'.
12694 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12696 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12698 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
12699 as_fn_append ac_file_inputs " '$ac_f'"
12702 # Let's still pretend it is `configure' which instantiates (i.e., don't
12703 # use $as_me), people would be surprised to read:
12704 # /* config.h. Generated by config.status. */
12705 configure_input='Generated from '`
12706 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12708 if test x"$ac_file" != x-; then
12709 configure_input="$ac_file.
$configure_input"
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
12711 $as_echo "$as_me: creating
$ac_file" >&6;}
12713 # Neutralize special characters interpreted by sed in replacement strings.
12714 case $configure_input in #(
12715 *\&* | *\|* | *\\* )
12716 ac_sed_conf_input=`$as_echo "$configure_input" |
12717 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12718 *) ac_sed_conf_input=$configure_input;;
12722 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
12723 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
12728 ac_dir=`$as_dirname -- "$ac_file" ||
12729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12730 X"$ac_file" : 'X\(//\)[^/]' \| \
12731 X"$ac_file" : 'X\(//\)$' \| \
12732 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12733 $as_echo X"$ac_file" |
12734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12738 /^X\(\/\/\)[^/].*/{
12751 as_dir="$ac_dir"; as_fn_mkdir_p
12755 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12757 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12758 # A "..
" for each directory in $ac_dir_suffix.
12759 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12760 case $ac_top_builddir_sub in
12761 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12762 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12765 ac_abs_top_builddir=$ac_pwd
12766 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12767 # for backward compatibility:
12768 ac_top_builddir=$ac_top_build_prefix
12771 .) # We are building in place.
12773 ac_top_srcdir=$ac_top_builddir_sub
12774 ac_abs_top_srcdir=$ac_pwd ;;
12775 [\\/]* | ?:[\\/]* ) # Absolute name.
12776 ac_srcdir=$srcdir$ac_dir_suffix;
12777 ac_top_srcdir=$srcdir
12778 ac_abs_top_srcdir=$srcdir ;;
12779 *) # Relative name.
12780 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12781 ac_top_srcdir=$ac_top_build_prefix$srcdir
12782 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12784 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12794 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12795 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12797 ac_MKDIR_P=$MKDIR_P
12799 [\\/$]* | ?:[\\/]* ) ;;
12800 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12805 # If the template does not know about datarootdir, expand it.
12806 # FIXME: This hack should be removed a few years after 2.60.
12807 ac_datarootdir_hack=; ac_datarootdir_seen=
12818 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
12819 *datarootdir*) ac_datarootdir_seen=yes;;
12820 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
12822 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
12824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12825 ac_datarootdir_hack='
12826 s&@datadir@&$datadir&g
12827 s&@docdir@&$docdir&g
12828 s&@infodir@&$infodir&g
12829 s&@localedir@&$localedir&g
12830 s&@mandir@&$mandir&g
12831 s&\\\${datarootdir}&$datarootdir&g' ;;
12835 # Neutralize VPATH when `$srcdir' = `.'.
12836 # Shell code in configure.ac might set extrasub.
12837 # FIXME: do we really want to maintain this feature?
12838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12839 ac_sed_extra="$ac_vpsub
12842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12844 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12845 s|@configure_input@|
$ac_sed_conf_input|
;t t
12846 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12847 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12848 s
&@srcdir@
&$ac_srcdir&;t t
12849 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12850 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12851 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12852 s
&@builddir@
&$ac_builddir&;t t
12853 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12854 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12855 s
&@INSTALL@
&$ac_INSTALL&;t t
12856 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12857 $ac_datarootdir_hack
12859 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
12860 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12862 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12863 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
12864 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12865 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12867 which seems to be undefined. Please make sure it is defined" >&5
12868 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12869 which seems to be undefined. Please make sure it is defined" >&2;}
12871 rm -f "$ac_tmp/stdin"
12873 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12874 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12880 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12881 $as_echo "$as_me: executing $ac_file commands" >&6;}
12886 case $ac_file$ac_mode in
12887 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12888 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12889 # are listed without --file. Let's play safe and only
enable the
eval
12890 # if we detect the quoting.
12891 case $CONFIG_FILES in
12892 *\'*) eval set x
"$CONFIG_FILES" ;;
12893 *) set x
$CONFIG_FILES ;;
12898 # Strip MF so we end up with the name of the file.
12899 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12900 # Check whether this is an Automake generated Makefile or not.
12901 # We used to match only the files named `Makefile.in', but
12902 # some people rename them; so instead we look at the file content.
12903 # Grep'ing the first line is not enough: some people post-process
12904 # each Makefile.in and add a new line on top of each file to say so.
12905 # Grep'ing the whole file is not good either: AIX grep has a line
12906 # limit of 2048, but all sed's we know have understand at least 4000.
12907 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12908 dirpart
=`$as_dirname -- "$mf" ||
12909 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12910 X"$mf" : 'X\(//\)[^/]' \| \
12911 X"$mf" : 'X\(//\)$' \| \
12912 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12918 /^X\(\/\/\)[^/].*/{
12934 # Extract the definition of DEPDIR, am__include, and am__quote
12935 # from the Makefile without running `make'.
12936 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12937 test -z "$DEPDIR" && continue
12938 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12939 test -z "am__include" && continue
12940 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12941 # When using ansi2knr, U may be empty or an underscore; expand it
12942 U
=`sed -n 's/^U = //p' < "$mf"`
12943 # Find all dependency output files, they are included files with
12944 # $(DEPDIR) in their names. We invoke sed twice because it is the
12945 # simplest approach to changing $(DEPDIR) to its actual value in the
12947 for file in `sed -n "
12948 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12949 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12950 # Make sure the directory exists.
12951 test -f "$dirpart/$file" && continue
12952 fdir
=`$as_dirname -- "$file" ||
12953 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12954 X"$file" : 'X\(//\)[^/]' \| \
12955 X"$file" : 'X\(//\)$' \| \
12956 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12957 $as_echo X"$file" |
12958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12962 /^X\(\/\/\)[^/].*/{
12975 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12976 # echo "creating $dirpart/$file"
12977 echo '# dummy' > "$dirpart/$file"
12984 # See if we are running on zsh, and set the options which allow our
12985 # commands through without removal of \ escapes.
12986 if test -n "${ZSH_VERSION+set}" ; then
12987 setopt NO_GLOB_SUBST
12990 cfgfile
="${ofile}T"
12991 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12994 cat <<_LT_EOF >> "$cfgfile"
12997 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12998 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12999 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13000 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13002 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13003 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13005 # Written by Gordon Matzigkeit, 1996
13007 # This file is part of GNU Libtool.
13009 # GNU Libtool is free software; you can redistribute it and/or
13010 # modify it under the terms of the GNU General Public License as
13011 # published by the Free Software Foundation; either version 2 of
13012 # the License, or (at your option) any later version.
13014 # As a special exception to the GNU General Public License,
13015 # if you distribute this file as part of a program or library that
13016 # is built using GNU Libtool, you may include this file under the
13017 # same distribution terms that you use for the rest of that program.
13019 # GNU Libtool is distributed in the hope that it will be useful,
13020 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13021 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13022 # GNU General Public License for more details.
13024 # You should have received a copy of the GNU General Public License
13025 # along with GNU Libtool; see the file COPYING. If not, a copy
13026 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13027 # obtained by writing to the Free Software Foundation, Inc.,
13028 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13031 # The names of the tagged configurations supported by this script.
13034 # ### BEGIN LIBTOOL CONFIG
13036 # Whether or not to build static libraries.
13037 build_old_libs=$enable_static
13039 # Which release of libtool.m4 was used?
13040 macro_version=$macro_version
13041 macro_revision=$macro_revision
13043 # Whether or not to build shared libraries.
13044 build_libtool_libs=$enable_shared
13046 # What type of objects to build.
13049 # Whether or not to optimize for fast installation.
13050 fast_install=$enable_fast_install
13052 # Shell to use when invoking shell scripts.
13055 # An echo program that protects backslashes.
13058 # The PATH separator for the build system.
13059 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13062 host_alias=$host_alias
13066 # The build system.
13067 build_alias=$build_alias
13071 # A sed program that does not truncate output.
13074 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13075 Xsed="\$SED -e 1s/^X//"
13077 # A grep program that handles long lines.
13083 # A literal string matcher.
13086 # A BSD- or MS-compatible name lister.
13089 # Whether we need soft or hard links.
13092 # What is the maximum length of a command?
13093 max_cmd_len=$max_cmd_len
13095 # Object file suffix (normally "o").
13098 # Executable file suffix (normally "").
13101 # whether the shell understands "unset".
13104 # turn spaces into newlines.
13107 # turn newlines into spaces.
13110 # convert \$build file names to \$host format.
13111 to_host_file_cmd=$lt_cv_to_host_file_cmd
13113 # convert \$build files to toolchain format.
13114 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13116 # An object symbol dumper.
13117 OBJDUMP=$lt_OBJDUMP
13119 # Method to check whether dependent libraries are shared objects.
13120 deplibs_check_method=$lt_deplibs_check_method
13122 # Command to use when deplibs_check_method = "file_magic".
13123 file_magic_cmd=$lt_file_magic_cmd
13125 # How to find potential files when deplibs_check_method = "file_magic".
13126 file_magic_glob=$lt_file_magic_glob
13128 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13129 want_nocaseglob=$lt_want_nocaseglob
13131 # DLL creation program.
13132 DLLTOOL=$lt_DLLTOOL
13134 # Command to associate shared and link libraries.
13135 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13140 # Flags to create an archive.
13141 AR_FLAGS=$lt_AR_FLAGS
13143 # How to feed a file listing to the archiver.
13144 archiver_list_spec=$lt_archiver_list_spec
13146 # A symbol stripping program.
13149 # Commands used to install an old-style archive.
13151 old_postinstall_cmds=$lt_old_postinstall_cmds
13152 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13154 # Whether to use a lock for old archive extraction.
13155 lock_old_archive_extraction=$lock_old_archive_extraction
13160 # LTCC compiler flags.
13161 LTCFLAGS=$lt_CFLAGS
13163 # Take the output of nm and produce a listing of raw symbols and C names.
13164 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13166 # Transform the output of nm in a proper C declaration.
13167 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13169 # Transform the output of nm in a C name address pair.
13170 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13172 # Transform the output of nm in a C name address pair when lib prefix is needed.
13173 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13175 # Specify filename containing input files for \$NM.
13176 nm_file_list_spec=$lt_nm_file_list_spec
13178 # The root where to search for dependent libraries,and in which our libraries should be installed.
13179 lt_sysroot=$lt_sysroot
13181 # The name of the directory that contains temporary libtool files.
13184 # Used to examine libraries when file_magic_cmd begins with "file".
13185 MAGIC_CMD=$MAGIC_CMD
13187 # Must we lock files when doing compilation?
13188 need_locks=$lt_need_locks
13191 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13193 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13194 DSYMUTIL=$lt_DSYMUTIL
13196 # Tool to change global to local symbols on Mac OS X.
13199 # Tool to manipulate fat objects and archives on Mac OS X.
13202 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13205 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13206 OTOOL64=$lt_OTOOL64
13208 # Old archive suffix (normally "a").
13211 # Shared library suffix (normally ".so").
13212 shrext_cmds=$lt_shrext_cmds
13214 # The commands to extract the exported symbol list from a shared archive.
13215 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13217 # Variables whose values should be saved in libtool wrapper scripts and
13218 # restored at link time.
13219 variables_saved_for_relink=$lt_variables_saved_for_relink
13221 # Do we need the "lib" prefix for modules?
13222 need_lib_prefix=$need_lib_prefix
13224 # Do we need a version for libraries?
13225 need_version=$need_version
13227 # Library versioning type.
13228 version_type=$version_type
13230 # Shared library runtime path variable.
13231 runpath_var=$runpath_var
13233 # Shared library path variable.
13234 shlibpath_var=$shlibpath_var
13236 # Is shlibpath searched before the hard-coded library search path?
13237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13239 # Format of library name prefix.
13240 libname_spec=$lt_libname_spec
13242 # List of archive names. First name is the real one, the rest are links.
13243 # The last name is the one that the linker finds with -lNAME
13244 library_names_spec=$lt_library_names_spec
13246 # The coded name of the library, if different from the real name.
13247 soname_spec=$lt_soname_spec
13249 # Permission mode override for installation of shared libraries.
13250 install_override_mode=$lt_install_override_mode
13252 # Command to use after installation of a shared archive.
13253 postinstall_cmds=$lt_postinstall_cmds
13255 # Command to use after uninstallation of a shared archive.
13256 postuninstall_cmds=$lt_postuninstall_cmds
13258 # Commands used to finish a libtool library installation in a directory.
13259 finish_cmds=$lt_finish_cmds
13261 # As "finish_cmds", except a single script fragment to be evaled but
13263 finish_eval=$lt_finish_eval
13265 # Whether we should hardcode library paths into libraries.
13266 hardcode_into_libs=$hardcode_into_libs
13268 # Compile-time system search path for libraries.
13269 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13271 # Run-time system search path for libraries.
13272 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13274 # Whether dlopen is supported.
13275 dlopen_support=$enable_dlopen
13277 # Whether dlopen of programs is supported.
13278 dlopen_self=$enable_dlopen_self
13280 # Whether dlopen of statically linked programs is supported.
13281 dlopen_self_static=$enable_dlopen_self_static
13283 # Commands to strip libraries.
13284 old_striplib=$lt_old_striplib
13285 striplib=$lt_striplib
13288 # The linker used to build libraries.
13291 # How to create reloadable object files.
13292 reload_flag=$lt_reload_flag
13293 reload_cmds=$lt_reload_cmds
13295 # Commands used to build an old-style archive.
13296 old_archive_cmds=$lt_old_archive_cmds
13298 # A language specific compiler.
13301 # Is the compiler the GNU compiler?
13304 # Compiler flag to turn off builtin functions.
13305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13307 # Additional compiler flags for building library objects.
13308 pic_flag=$lt_lt_prog_compiler_pic
13310 # How to pass a linker flag through the compiler.
13311 wl=$lt_lt_prog_compiler_wl
13313 # Compiler flag to prevent dynamic linking.
13314 link_static_flag=$lt_lt_prog_compiler_static
13316 # Does compiler simultaneously support -c and -o options?
13317 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13319 # Whether or not to add -lc for building shared libraries.
13320 build_libtool_need_lc=$archive_cmds_need_lc
13322 # Whether or not to disallow shared libs when runtime libs are static.
13323 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13325 # Compiler flag to allow reflexive dlopens.
13326 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13328 # Compiler flag to generate shared objects directly from archives.
13329 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13331 # Whether the compiler copes with passing no objects directly.
13332 compiler_needs_object=$lt_compiler_needs_object
13334 # Create an old-style archive from a shared archive.
13335 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13337 # Create a temporary old-style archive to link instead of a shared archive.
13338 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13340 # Commands used to build a shared archive.
13341 archive_cmds=$lt_archive_cmds
13342 archive_expsym_cmds=$lt_archive_expsym_cmds
13344 # Commands used to build a loadable module if different from building
13345 # a shared archive.
13346 module_cmds=$lt_module_cmds
13347 module_expsym_cmds=$lt_module_expsym_cmds
13349 # Whether we are building with GNU ld or not.
13350 with_gnu_ld=$lt_with_gnu_ld
13352 # Flag that allows shared libraries with undefined symbols to be built.
13353 allow_undefined_flag=$lt_allow_undefined_flag
13355 # Flag that enforces no undefined symbols.
13356 no_undefined_flag=$lt_no_undefined_flag
13358 # Flag to hardcode \$libdir into a binary during linking.
13359 # This must work even if \$libdir does not exist
13360 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13362 # Whether we need a single "-rpath" flag with a separated argument.
13363 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13365 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13366 # DIR into the resulting binary.
13367 hardcode_direct=$hardcode_direct
13369 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13370 # DIR into the resulting binary and the resulting library dependency is
13371 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13372 # library is relocated.
13373 hardcode_direct_absolute=$hardcode_direct_absolute
13375 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13376 # into the resulting binary.
13377 hardcode_minus_L=$hardcode_minus_L
13379 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13380 # into the resulting binary.
13381 hardcode_shlibpath_var=$hardcode_shlibpath_var
13383 # Set to "yes" if building a shared library automatically hardcodes DIR
13384 # into the library and all subsequent libraries and executables linked
13386 hardcode_automatic=$hardcode_automatic
13388 # Set to yes if linker adds runtime paths of dependent libraries
13389 # to runtime path list.
13390 inherit_rpath=$inherit_rpath
13392 # Whether libtool must link a program against all its dependency libraries.
13393 link_all_deplibs=$link_all_deplibs
13395 # Set to "yes" if exported symbols are required.
13396 always_export_symbols=$always_export_symbols
13398 # The commands to list exported symbols.
13399 export_symbols_cmds=$lt_export_symbols_cmds
13401 # Symbols that should not be listed in the preloaded symbols.
13402 exclude_expsyms=$lt_exclude_expsyms
13404 # Symbols that must always be exported.
13405 include_expsyms=$lt_include_expsyms
13407 # Commands necessary for linking programs (against libraries) with templates.
13408 prelink_cmds=$lt_prelink_cmds
13410 # Commands necessary for finishing linking programs.
13411 postlink_cmds=$lt_postlink_cmds
13413 # Specify filename containing input files.
13414 file_list_spec=$lt_file_list_spec
13416 # How to hardcode a shared library path into an executable.
13417 hardcode_action=$hardcode_action
13419 # ### END LIBTOOL CONFIG
13425 cat <<\_LT_EOF
>> "$cfgfile"
13426 # AIX sometimes has problems with the GCC collect2 program. For some
13427 # reason, if we set the COLLECT_NAMES environment variable, the problems
13428 # vanish in a puff of smoke.
13429 if test "X${COLLECT_NAMES+set}" != Xset
; then
13431 export COLLECT_NAMES
13438 ltmain
="$ac_aux_dir/ltmain.sh"
13441 # We use sed instead of cat because bash on DJGPP gets confused if
13442 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13443 # text mode, it properly converts lines to CR/LF. This bash problem
13444 # is reportedly fixed, but why not run on old versions too?
13445 sed '$q' "$ltmain" >> "$cfgfile" \
13446 ||
(rm -f "$cfgfile"; exit 1)
13448 if test x
"$xsi_shell" = xyes
; then
13449 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13453 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13454 \ * ) func_dirname_result="${3}" ;;\
13456 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13457 && mv -f "$cfgfile.tmp" "$cfgfile" \
13458 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13459 test 0 -eq $? || _lt_function_replace_fail
=:
13462 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13465 \ func_basename_result="${1##*/}"\
13466 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13467 && mv -f "$cfgfile.tmp" "$cfgfile" \
13468 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13469 test 0 -eq $? || _lt_function_replace_fail
=:
13472 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13473 func_dirname_and_basename ()\
13476 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13477 \ * ) func_dirname_result="${3}" ;;\
13479 \ func_basename_result="${1##*/}"\
13480 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13481 && mv -f "$cfgfile.tmp" "$cfgfile" \
13482 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13483 test 0 -eq $? || _lt_function_replace_fail
=:
13486 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13489 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13490 \ # positional parameters, so assign one to ordinary parameter first.\
13491 \ func_stripname_result=${3}\
13492 \ func_stripname_result=${func_stripname_result#"${1}"}\
13493 \ func_stripname_result=${func_stripname_result%"${2}"}\
13494 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13495 && mv -f "$cfgfile.tmp" "$cfgfile" \
13496 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13497 test 0 -eq $? || _lt_function_replace_fail
=:
13500 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13501 func_split_long_opt ()\
13503 \ func_split_long_opt_name=${1%%=*}\
13504 \ func_split_long_opt_arg=${1#*=}\
13505 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13506 && mv -f "$cfgfile.tmp" "$cfgfile" \
13507 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13508 test 0 -eq $? || _lt_function_replace_fail
=:
13511 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13512 func_split_short_opt ()\
13514 \ func_split_short_opt_arg=${1#??}\
13515 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13516 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13517 && mv -f "$cfgfile.tmp" "$cfgfile" \
13518 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13519 test 0 -eq $? || _lt_function_replace_fail
=:
13522 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13526 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13527 \ *) func_lo2o_result=${1} ;;\
13529 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13530 && mv -f "$cfgfile.tmp" "$cfgfile" \
13531 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13532 test 0 -eq $? || _lt_function_replace_fail
=:
13535 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13538 func_xform_result=${1%.*}.lo\
13539 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13540 && mv -f "$cfgfile.tmp" "$cfgfile" \
13541 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13542 test 0 -eq $? || _lt_function_replace_fail
=:
13545 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13548 func_arith_result=$(( $* ))\
13549 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13550 && mv -f "$cfgfile.tmp" "$cfgfile" \
13551 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13552 test 0 -eq $? || _lt_function_replace_fail
=:
13555 sed -e '/^func_len ()$/,/^} # func_len /c\
13558 func_len_result=${#1}\
13559 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13560 && mv -f "$cfgfile.tmp" "$cfgfile" \
13561 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13562 test 0 -eq $? || _lt_function_replace_fail
=:
13566 if test x
"$lt_shell_append" = xyes
; then
13567 sed -e '/^func_append ()$/,/^} # func_append /c\
13570 eval "${1}+=\\${2}"\
13571 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13572 && mv -f "$cfgfile.tmp" "$cfgfile" \
13573 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13574 test 0 -eq $? || _lt_function_replace_fail
=:
13577 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13578 func_append_quoted ()\
13580 \ func_quote_for_eval "${2}"\
13581 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13582 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13583 && mv -f "$cfgfile.tmp" "$cfgfile" \
13584 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13585 test 0 -eq $? || _lt_function_replace_fail
=:
13588 # Save a `func_append' function call where possible by direct use of '+='
13589 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13590 && mv -f "$cfgfile.tmp" "$cfgfile" \
13591 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13592 test 0 -eq $? || _lt_function_replace_fail
=:
13594 # Save a `func_append' function call even when '+=' is not available
13595 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13596 && mv -f "$cfgfile.tmp" "$cfgfile" \
13597 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13598 test 0 -eq $? || _lt_function_replace_fail
=:
13601 if test x
"$_lt_function_replace_fail" = x
":"; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13603 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13607 mv -f "$cfgfile" "$ofile" ||
13608 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13619 ac_clean_files
=$ac_clean_files_save
13621 test $ac_write_fail = 0 ||
13622 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13625 # configure is writing to config.log, and then calls config.status.
13626 # config.status does its own redirection, appending to config.log.
13627 # Unfortunately, on DOS this fails, as config.log is still kept open
13628 # by configure, so config.status won't be able to write to it; its
13629 # output is simply discarded. So we exec the FD to /dev/null,
13630 # effectively closing config.log, so it can be properly (re)opened and
13631 # appended to by config.status. When coming back to configure, we
13632 # need to make the FD available again.
13633 if test "$no_create" != yes; then
13635 ac_config_status_args
=
13636 test "$silent" = yes &&
13637 ac_config_status_args
="$ac_config_status_args --quiet"
13639 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13642 # would make configure fail if this is the last instruction.
13643 $ac_cs_success || as_fn_exit
1
13645 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13647 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}