2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
593 PACKAGE_TARNAME
='sim'
595 PACKAGE_STRING
='sim 0'
596 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
597 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
637 enable_option_checking
=no
638 ac_subst_vars
='am__EXEEXT_FALSE
641 SIM_ENABLE_IGEN_FALSE
666 INSTALL_STRIP_PROGRAM
678 MAINTAINER_MODE_FALSE
778 program_transform_name
793 enable_option_checking
804 enable_maintainer_mode
805 enable_dependency_tracking
814 enable_sim_environment
819 enable_build_warnings
820 enable_sim_build_warnings
822 ac_precious_vars
='build_alias
831 ac_subdirs_all
='aarch64
864 # Initialize some variables set by options.
866 ac_init_version
=false
867 ac_unrecognized_opts
=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
878 program_transform_name
=s
,x
,x
,
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir
='${exec_prefix}/bin'
893 sbindir
='${exec_prefix}/sbin'
894 libexecdir
='${exec_prefix}/libexec'
895 datarootdir
='${prefix}/share'
896 datadir
='${datarootdir}'
897 sysconfdir
='${prefix}/etc'
898 sharedstatedir
='${prefix}/com'
899 localstatedir
='${prefix}/var'
900 includedir
='${prefix}/include'
901 oldincludedir
='/usr/include'
902 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir
='${datarootdir}/info'
908 libdir
='${exec_prefix}/lib'
909 localedir
='${datarootdir}/locale'
910 mandir
='${datarootdir}/man'
916 # If the previous option needs an argument, assign it.
917 if test -n "$ac_prev"; then
918 eval $ac_prev=\
$ac_option
924 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
929 # Accept the important Cygnus configure options, so we can diagnose typos.
931 case $ac_dashdash$ac_option in
935 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
937 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
940 -build |
--build |
--buil |
--bui |
--bu)
941 ac_prev
=build_alias
;;
942 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
943 build_alias
=$ac_optarg ;;
945 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
946 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
947 ac_prev
=cache_file
;;
948 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
949 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
950 cache_file
=$ac_optarg ;;
953 cache_file
=config.cache
;;
955 -datadir |
--datadir |
--datadi |
--datad)
957 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
958 datadir
=$ac_optarg ;;
960 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
961 |
--dataroo |
--dataro |
--datar)
962 ac_prev
=datarootdir
;;
963 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
964 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
965 datarootdir
=$ac_optarg ;;
967 -disable-* |
--disable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error $?
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=no
;;
983 -docdir |
--docdir |
--docdi |
--doc |
--do)
985 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
988 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
990 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
993 -enable-* |
--enable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=\
$ac_optarg ;;
1009 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1010 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1011 |
--exec |
--exe |
--ex)
1012 ac_prev
=exec_prefix
;;
1013 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1014 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1015 |
--exec=* |
--exe=* |
--ex=*)
1016 exec_prefix
=$ac_optarg ;;
1018 -gas |
--gas |
--ga |
--g)
1019 # Obsolete; use --with-gas.
1022 -help |
--help |
--hel |
--he |
-h)
1023 ac_init_help
=long
;;
1024 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1025 ac_init_help
=recursive
;;
1026 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1027 ac_init_help
=short
;;
1029 -host |
--host |
--hos |
--ho)
1030 ac_prev
=host_alias
;;
1031 -host=* |
--host=* |
--hos=* |
--ho=*)
1032 host_alias
=$ac_optarg ;;
1034 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1036 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1038 htmldir
=$ac_optarg ;;
1040 -includedir |
--includedir |
--includedi |
--included |
--include \
1041 |
--includ |
--inclu |
--incl |
--inc)
1042 ac_prev
=includedir
;;
1043 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1044 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1045 includedir
=$ac_optarg ;;
1047 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1049 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1050 infodir
=$ac_optarg ;;
1052 -libdir |
--libdir |
--libdi |
--libd)
1054 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1055 libdir
=$ac_optarg ;;
1057 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1058 |
--libexe |
--libex |
--libe)
1059 ac_prev
=libexecdir
;;
1060 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1061 |
--libexe=* |
--libex=* |
--libe=*)
1062 libexecdir
=$ac_optarg ;;
1064 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1065 ac_prev
=localedir
;;
1066 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1067 localedir
=$ac_optarg ;;
1069 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1070 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1071 ac_prev
=localstatedir
;;
1072 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1073 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1074 localstatedir
=$ac_optarg ;;
1076 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1078 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1079 mandir
=$ac_optarg ;;
1081 -nfp |
--nfp |
--nf)
1082 # Obsolete; use --without-fp.
1085 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1086 |
--no-cr |
--no-c |
-n)
1089 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1090 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1093 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1094 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1095 |
--oldin |
--oldi |
--old |
--ol |
--o)
1096 ac_prev
=oldincludedir
;;
1097 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1098 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1099 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1100 oldincludedir
=$ac_optarg ;;
1102 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1104 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1105 prefix
=$ac_optarg ;;
1107 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1108 |
--program-pre |
--program-pr |
--program-p)
1109 ac_prev
=program_prefix
;;
1110 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1111 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1112 program_prefix
=$ac_optarg ;;
1114 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1115 |
--program-suf |
--program-su |
--program-s)
1116 ac_prev
=program_suffix
;;
1117 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1118 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1119 program_suffix
=$ac_optarg ;;
1121 -program-transform-name |
--program-transform-name \
1122 |
--program-transform-nam |
--program-transform-na \
1123 |
--program-transform-n |
--program-transform- \
1124 |
--program-transform |
--program-transfor \
1125 |
--program-transfo |
--program-transf \
1126 |
--program-trans |
--program-tran \
1127 |
--progr-tra |
--program-tr |
--program-t)
1128 ac_prev
=program_transform_name
;;
1129 -program-transform-name=* |
--program-transform-name=* \
1130 |
--program-transform-nam=* |
--program-transform-na=* \
1131 |
--program-transform-n=* |
--program-transform-=* \
1132 |
--program-transform=* |
--program-transfor=* \
1133 |
--program-transfo=* |
--program-transf=* \
1134 |
--program-trans=* |
--program-tran=* \
1135 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1136 program_transform_name
=$ac_optarg ;;
1138 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1140 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1141 pdfdir
=$ac_optarg ;;
1143 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1145 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1148 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1149 |
-silent |
--silent |
--silen |
--sile |
--sil)
1152 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1154 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1156 sbindir
=$ac_optarg ;;
1158 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1159 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1160 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1162 ac_prev
=sharedstatedir
;;
1163 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1164 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1165 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1167 sharedstatedir
=$ac_optarg ;;
1169 -site |
--site |
--sit)
1171 -site=* |
--site=* |
--sit=*)
1174 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1176 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1177 srcdir
=$ac_optarg ;;
1179 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1180 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1181 ac_prev
=sysconfdir
;;
1182 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1183 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1184 sysconfdir
=$ac_optarg ;;
1186 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1187 ac_prev
=target_alias
;;
1188 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1189 target_alias
=$ac_optarg ;;
1191 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1194 -version |
--version |
--versio |
--versi |
--vers |
-V)
1195 ac_init_version
=: ;;
1198 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error $?
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=\
$ac_optarg ;;
1213 -without-* |
--without-*)
1214 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=no
;;
1230 # Obsolete; use --with-x.
1233 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1234 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1235 ac_prev
=x_includes
;;
1236 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1237 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1238 x_includes
=$ac_optarg ;;
1240 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1241 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1242 ac_prev
=x_libraries
;;
1243 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1244 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1245 x_libraries
=$ac_optarg ;;
1247 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1248 Try \`$0 --help' for more information"
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 case $ac_envvar in #(
1255 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1256 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1258 eval $ac_envvar=\
$ac_optarg
1259 export $ac_envvar ;;
1262 # FIXME: should be removed in autoconf 3.0.
1263 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1265 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1272 if test -n "$ac_prev"; then
1273 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1274 as_fn_error $?
"missing argument to $ac_option"
1277 if test -n "$ac_unrecognized_opts"; then
1278 case $enable_option_checking in
1280 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1281 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 # Check all directory arguments for consistency.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1292 # Remove trailing slashes.
1295 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1296 eval $ac_var=\
$ac_val;;
1298 # Be sure to have absolute directory names.
1300 [\\/$
]* | ?
:[\\/]* ) continue;;
1301 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1303 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1311 target
=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x
; then
1315 if test "x$build_alias" = x
; then
1316 cross_compiling
=maybe
1317 elif test "x$build_alias" != "x$host_alias"; then
1323 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1325 test "$silent" = yes && exec 6>/dev
/null
1328 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di
=`ls -di .` &&
1330 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error $?
"working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error $?
"pwd does not report name of working directory"
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted
=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir
=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted
=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1372 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1374 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures sim 0 to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking ...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1467 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1471 if test -n "$ac_init_help"; then
1472 case $ac_init_help in
1473 short | recursive
) echo "Configuration of sim 0:";;
1478 --disable-option-checking ignore unrecognized
--enable/--with options
1479 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1480 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1481 --enable-plugins Enable support
for plugins
1482 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1483 --enable-static[=PKGS
] build static libraries
[default
=yes]
1484 --enable-fast-install[=PKGS
]
1485 optimize
for fast installation
[default
=yes]
1486 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1487 --enable-maintainer-mode
1488 enable make rules and dependencies not useful
(and
1489 sometimes confusing
) to the casual installer
1490 --enable-dependency-tracking
1491 do not reject slow dependency extractors
1492 --disable-dependency-tracking
1493 speeds up one-time build
1494 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1495 --disable-silent-rules verbose build output
(undo
: "make V=0")
1496 --enable-sim Enable the GNU simulator
1497 --enable-example-sims enable example GNU simulators
1498 --enable-targets alternative target configurations
1499 --enable-sim-alignment=align
1500 Specify strict
, nonstrict or forced alignment of
1502 --enable-sim-assert Specify whether to perform random assertions
1503 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1505 --enable-sim-endian=endian
1506 Specify target byte endian orientation
1507 --enable-sim-environment=environment
1508 Specify mixed
, user
, virtual or operating
1510 --enable-sim-profile=opts
1511 Enable profiling flags
1512 --enable-sim-stdio Specify whether to use stdio
for console
1514 --enable-sim-trace=opts Enable tracing of simulated programs
1515 --enable-werror treat compile warnings as errors
1516 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1517 --enable-sim-build-warnings
1518 enable SIM specific build-time compiler warnings
if
1522 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1523 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1524 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1525 --with-bugurl=URL Direct users to URL to report a bug
1526 --with-system-zlib use installed libz
1527 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1529 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1531 Some influential environment variables
:
1532 CC C compiler
command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1535 nonstandard directory
<lib dir
>
1536 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1537 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1538 you have headers
in a nonstandard directory
<include dir
>
1541 Use these variables to override the choices made by
`configure' or to help
1542 it to find libraries and programs with nonstandard names/locations.
1544 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1545 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1550 if test "$ac_init_help" = "recursive"; then
1551 # If there are subdirs, report their specific --help.
1552 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1553 test -d "$ac_dir" ||
1554 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1562 # A ".." for each directory in $ac_dir_suffix.
1563 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1564 case $ac_top_builddir_sub in
1565 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1569 ac_abs_top_builddir=$ac_pwd
1570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1571 # for backward compatibility:
1572 ac_top_builddir=$ac_top_build_prefix
1575 .) # We are building in place.
1577 ac_top_srcdir=$ac_top_builddir_sub
1578 ac_abs_top_srcdir=$ac_pwd ;;
1579 [\\/]* | ?:[\\/]* ) # Absolute name.
1580 ac_srcdir=$srcdir$ac_dir_suffix;
1581 ac_top_srcdir=$srcdir
1582 ac_abs_top_srcdir=$srcdir ;;
1584 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1585 ac_top_srcdir=$ac_top_build_prefix$srcdir
1586 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590 cd "$ac_dir" || { ac_status=$?; continue; }
1591 # Check for guested configure.
1592 if test -f "$ac_srcdir/configure.gnu"; then
1594 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1595 elif test -f "$ac_srcdir/configure"; then
1597 $SHELL "$ac_srcdir/configure" --help=recursive
1599 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601 cd "$ac_pwd" || { ac_status=$?; break; }
1605 test -n "$ac_init_help" && exit $ac_status
1606 if $ac_init_version; then
1609 generated by GNU Autoconf 2.69
1611 Copyright (C) 2012 Free Software Foundation, Inc.
1612 This configure script is free software; the Free Software Foundation
1613 gives unlimited permission to copy, distribute and modify it.
1618 ## ------------------------ ##
1619 ## Autoconf initialization. ##
1620 ## ------------------------ ##
1622 # ac_fn_c_try_compile LINENO
1623 # --------------------------
1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_compile ()
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 rm -f conftest.$ac_objext
1629 if { { ac_try="$ac_compile"
1631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1632 *) ac_try_echo
=$ac_try;;
1634 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_compile") 2>conftest.err
1638 if test -s conftest.err
; then
1639 grep -v '^ *+' conftest.err
>conftest.er1
1640 cat conftest.er1
>&5
1641 mv -f conftest.er1 conftest.err
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest.
$ac_objext; then :
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.
$ac_ext >&5
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status
$ac_retval
1658 } # ac_fn_c_try_compile
1660 # ac_fn_c_try_cpp LINENO
1661 # ----------------------
1662 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1665 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1666 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1669 *) ac_try_echo=$ac_try;;
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1675 if test -s conftest.err; then
1676 grep -v '^ *+' conftest.err >conftest.er1
1677 cat conftest.er1 >&5
1678 mv -f conftest.er1 conftest.err
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; } > conftest.i && {
1682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1683 test ! -s conftest.err
1687 $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 as_fn_set_status $ac_retval
1697 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1700 # the include files in INCLUDES and setting the cache variable VAR
1702 ac_fn_c_check_header_mongrel ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if eval \${$3+:} false; then :
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1715 # Is the header compilable?
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1717 $as_echo_n "checking $2 usability... " >&6; }
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1723 if ac_fn_c_try_compile "$LINENO"; then :
1724 ac_header_compiler=yes
1726 ac_header_compiler=no
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1730 $as_echo "$ac_header_compiler" >&6; }
1732 # Is the header present?
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1734 $as_echo_n "checking $2 presence... " >&6; }
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1739 if ac_fn_c_try_cpp "$LINENO"; then :
1740 ac_header_preproc=yes
1742 ac_header_preproc=no
1744 rm -f conftest.err conftest.i conftest.$ac_ext
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1746 $as_echo "$ac_header_preproc" >&6; }
1748 # So? What about this header?
1749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1752 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1754 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1758 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1760 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1762 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1764 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1766 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1767 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1768 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1769 ## -------------------------------------------------------------------------------------- ##"
1770 ) | sed "s/^/$as_me: WARNING: /" >&2
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6
1778 eval "$3=\$ac_header_compiler"
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 } # ac_fn_c_check_header_mongrel
1788 # ac_fn_c_try_run LINENO
1789 # ----------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1791 # that executables *can* be run.
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 if { { ac_try="$ac_link"
1797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1798 *) ac_try_echo
=$ac_try;;
1800 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>&5
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1806 { { case "(($ac_try" in
1807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_try") 2>&5
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; }; }; then :
1818 $as_echo "$as_me: program exited with status $ac_status" >&5
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1822 ac_retval=$ac_status
1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 as_fn_set_status $ac_retval
1830 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1831 # -------------------------------------------------------
1832 # Tests whether HEADER exists and can be compiled using the include files in
1833 # INCLUDES, setting the cache variable VAR accordingly.
1834 ac_fn_c_check_header_compile ()
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838 $as_echo_n "checking for $2... " >&6; }
1839 if eval \${$3+:} false; then :
1840 $as_echo_n "(cached) " >&6
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1847 if ac_fn_c_try_compile "$LINENO"; then :
1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_header_compile
1861 # ac_fn_c_try_link LINENO
1862 # -----------------------
1863 # Try to link conftest.$ac_ext, and return whether this succeeded.
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 rm -f conftest.$ac_objext conftest$ac_exeext
1868 if { { ac_try="$ac_link"
1870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1871 *) ac_try_echo
=$ac_try;;
1873 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_link") 2>conftest.err
1877 if test -s conftest.err
; then
1878 grep -v '^ *+' conftest.err
>conftest.er1
1879 cat conftest.er1
>&5
1880 mv -f conftest.er1 conftest.err
1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883 test $ac_status = 0; } && {
1884 test -z "$ac_c_werror_flag" ||
1885 test ! -s conftest.err
1886 } && test -s conftest
$ac_exeext && {
1887 test "$cross_compiling" = yes ||
1888 test -x conftest
$ac_exeext
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.
$ac_ext >&5
1897 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1898 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1899 # interfere with the next link command; also delete a directory that is
1900 # left behind by Apple's compiler. We do this before executing the actions.
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 as_fn_set_status
$ac_retval
1905 } # ac_fn_c_try_link
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func
()
1912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \
${$3+:} false
; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1922 #define $2 innocuous_$2
1924 /* System header to define __stub macros and hopefully few prototypes,
1925 which can conflict with char $2 (); below.
1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927 <limits.h> exists even on freestanding compilers. */
1930 # include <limits.h>
1932 # include <assert.h>
1937 /* Override any GCC internal prototype to avoid an error.
1938 Use char because int might match the return type of a GCC
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined __stub_$2 || defined __stub___$2
1959 if ac_fn_c_try_link
"$LINENO"; then :
1964 rm -f core conftest.err conftest.
$ac_objext \
1965 conftest
$ac_exeext conftest.
$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_check_func
1974 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1975 # ----------------------------------------------------
1976 # Tries to find if the field MEMBER exists in type AGGR, after including
1977 # INCLUDES, setting cache variable VAR accordingly.
1978 ac_fn_c_check_member
()
1980 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1982 $as_echo_n "checking for $2.$3... " >&6; }
1983 if eval \
${$4+:} false
; then :
1984 $as_echo_n "(cached) " >&6
1986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1999 if ac_fn_c_try_compile
"$LINENO"; then :
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2009 if (sizeof ac_aggr.$3)
2015 if ac_fn_c_try_compile
"$LINENO"; then :
2020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 } # ac_fn_c_check_member
2031 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2032 # ---------------------------------------------
2033 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2035 ac_fn_c_check_decl
()
2037 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2038 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2039 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2041 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2042 if eval \
${$3+:} false
; then :
2043 $as_echo_n "(cached) " >&6
2045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2051 #ifndef $as_decl_name
2053 (void) $as_decl_use;
2055 (void) $as_decl_name;
2063 if ac_fn_c_try_compile
"$LINENO"; then :
2068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075 } # ac_fn_c_check_decl
2077 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2078 # -------------------------------------------
2079 # Tests whether TYPE exists after having included INCLUDES, setting cache
2080 # variable VAR accordingly.
2081 ac_fn_c_check_type
()
2083 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085 $as_echo_n "checking for $2... " >&6; }
2086 if eval \
${$3+:} false
; then :
2087 $as_echo_n "(cached) " >&6
2090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2102 if ac_fn_c_try_compile
"$LINENO"; then :
2103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2115 if ac_fn_c_try_compile
"$LINENO"; then :
2120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129 } # ac_fn_c_check_type
2130 cat >config.log
<<_ACEOF
2131 This file contains any messages produced by compilers while
2132 running configure, to aid debugging if configure makes a mistake.
2134 It was created by sim $as_me 0, which was
2135 generated by GNU Autoconf 2.69. Invocation command line was
2147 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2148 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2149 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2150 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2151 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2153 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2154 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2156 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2157 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2158 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2159 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2160 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2161 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2162 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 $as_echo "PATH: $as_dir"
2187 # Keep a trace of the command line.
2188 # Strip out --no-create and --no-recursion so they do not pile up.
2189 # Strip out --silent because we don't want to record it for future runs.
2190 # Also quote any args containing shell meta-characters.
2191 # Make two passes to allow for proper duplicate-argument suppression.
2195 ac_must_keep_next
=false
2201 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2202 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2203 |
-silent |
--silent |
--silen |
--sile |
--sil)
2206 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2209 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2211 as_fn_append ac_configure_args1
" '$ac_arg'"
2212 if test $ac_must_keep_next = true
; then
2213 ac_must_keep_next
=false
# Got value, back to normal.
2216 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2217 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2218 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2219 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2220 case "$ac_configure_args0 " in
2221 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2224 -* ) ac_must_keep_next
=true
;;
2227 as_fn_append ac_configure_args
" '$ac_arg'"
2232 { ac_configure_args0
=; unset ac_configure_args0
;}
2233 { ac_configure_args1
=; unset ac_configure_args1
;}
2235 # When interrupted or exit'd, cleanup temporary files, and complete
2236 # config.log. We remove comments because anyway the quotes in there
2237 # would cause problems or look ugly.
2238 # WARNING: Use '\'' to represent an apostrophe within the trap.
2239 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2240 trap 'exit_status=$?
2241 # Save into config.log some information that might help in debugging.
2245 $as_echo "## ---------------- ##
2246 ## Cache variables. ##
2247 ## ---------------- ##"
2249 # The following way of writing the cache mishandles newlines in values,
2251 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2252 eval ac_val=\$$ac_var
2256 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2257 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2260 _ | IFS | as_nl) ;; #(
2261 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2262 *) { eval $ac_var=; unset $ac_var;} ;;
2267 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2268 *${as_nl}ac_space=\ *)
2270 "s/'\''/'\''\\\\'\'''\''/g;
2271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2274 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2281 $as_echo "## ----------------- ##
2282 ## Output variables. ##
2283 ## ----------------- ##"
2285 for ac_var in $ac_subst_vars
2287 eval ac_val=\$$ac_var
2289 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 $as_echo "$ac_var='\''$ac_val'\''"
2295 if test -n "$ac_subst_files"; then
2296 $as_echo "## ------------------- ##
2297 ## File substitutions. ##
2298 ## ------------------- ##"
2300 for ac_var
in $ac_subst_files
2302 eval ac_val
=\$
$ac_var
2304 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2306 $as_echo "$ac_var='\''$ac_val'\''"
2311 if test -s confdefs.h; then
2312 $as_echo "## ----------- ##
2319 test "$ac_signal" != 0 &&
2320 $as_echo "$as_me: caught signal $ac_signal"
2321 $as_echo "$as_me: exit $exit_status"
2323 rm -f core *.core core.conftest.* &&
2324 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2327 for ac_signal
in 1 2 13 15; do
2328 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2332 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2333 rm -f -r conftest
* confdefs.h
2335 $as_echo "/* confdefs.h */" > confdefs.h
2337 # Predefined preprocessor variables.
2339 cat >>confdefs.h
<<_ACEOF
2340 #define PACKAGE_NAME "$PACKAGE_NAME"
2343 cat >>confdefs.h
<<_ACEOF
2344 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2347 cat >>confdefs.h
<<_ACEOF
2348 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2351 cat >>confdefs.h
<<_ACEOF
2352 #define PACKAGE_STRING "$PACKAGE_STRING"
2355 cat >>confdefs.h
<<_ACEOF
2356 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2359 cat >>confdefs.h
<<_ACEOF
2360 #define PACKAGE_URL "$PACKAGE_URL"
2364 # Let the site file select an alternate cache file if it wants to.
2365 # Prefer an explicitly selected file to automatically selected ones.
2368 if test -n "$CONFIG_SITE"; then
2369 # We do not want a PATH search for config.site.
2370 case $CONFIG_SITE in #((
2371 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2372 */*) ac_site_file1
=$CONFIG_SITE;;
2373 *) ac_site_file1
=.
/$CONFIG_SITE;;
2375 elif test "x$prefix" != xNONE
; then
2376 ac_site_file1
=$prefix/share
/config.site
2377 ac_site_file2
=$prefix/etc
/config.site
2379 ac_site_file1
=$ac_default_prefix/share
/config.site
2380 ac_site_file2
=$ac_default_prefix/etc
/config.site
2382 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2384 test "x$ac_site_file" = xNONE
&& continue
2385 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2387 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2388 sed 's/^/| /' "$ac_site_file" >&5
2390 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 as_fn_error $?
"failed to load site script $ac_site_file
2393 See \`config.log' for more details" "$LINENO" 5; }
2397 if test -r "$cache_file"; then
2398 # Some versions of bash will fail to source /dev/null (special files
2399 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2400 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2402 $as_echo "$as_me: loading cache $cache_file" >&6;}
2404 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2405 *) .
"./$cache_file";;
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2410 $as_echo "$as_me: creating cache $cache_file" >&6;}
2414 as_fn_append ac_header_list
" dlfcn.h"
2415 as_fn_append ac_header_list
" fcntl.h"
2416 as_fn_append ac_header_list
" fpu_control.h"
2417 as_fn_append ac_header_list
" termios.h"
2418 as_fn_append ac_header_list
" unistd.h"
2419 as_fn_append ac_header_list
" utime.h"
2420 as_fn_append ac_header_list
" linux/if_tun.h"
2421 as_fn_append ac_header_list
" linux/mii.h"
2422 as_fn_append ac_header_list
" linux/types.h"
2423 as_fn_append ac_header_list
" net/if.h"
2424 as_fn_append ac_header_list
" netinet/in.h"
2425 as_fn_append ac_header_list
" netinet/tcp.h"
2426 as_fn_append ac_header_list
" sys/ioctl.h"
2427 as_fn_append ac_header_list
" sys/mman.h"
2428 as_fn_append ac_header_list
" sys/mount.h"
2429 as_fn_append ac_header_list
" sys/param.h"
2430 as_fn_append ac_header_list
" sys/resource.h"
2431 as_fn_append ac_header_list
" sys/socket.h"
2432 as_fn_append ac_header_list
" sys/stat.h"
2433 as_fn_append ac_header_list
" sys/statfs.h"
2434 as_fn_append ac_header_list
" sys/termio.h"
2435 as_fn_append ac_header_list
" sys/termios.h"
2436 as_fn_append ac_header_list
" sys/types.h"
2437 as_fn_append ac_header_list
" sys/vfs.h"
2438 as_fn_append ac_func_list
" __setfpucw"
2439 as_fn_append ac_func_list
" access"
2440 as_fn_append ac_func_list
" aint"
2441 as_fn_append ac_func_list
" anint"
2442 as_fn_append ac_func_list
" cfgetispeed"
2443 as_fn_append ac_func_list
" cfgetospeed"
2444 as_fn_append ac_func_list
" cfsetispeed"
2445 as_fn_append ac_func_list
" cfsetospeed"
2446 as_fn_append ac_func_list
" chdir"
2447 as_fn_append ac_func_list
" chmod"
2448 as_fn_append ac_func_list
" dup"
2449 as_fn_append ac_func_list
" dup2"
2450 as_fn_append ac_func_list
" execv"
2451 as_fn_append ac_func_list
" execve"
2452 as_fn_append ac_func_list
" fcntl"
2453 as_fn_append ac_func_list
" fork"
2454 as_fn_append ac_func_list
" fstat"
2455 as_fn_append ac_func_list
" fstatfs"
2456 as_fn_append ac_func_list
" ftruncate"
2457 as_fn_append ac_func_list
" getdirentries"
2458 as_fn_append ac_func_list
" getegid"
2459 as_fn_append ac_func_list
" geteuid"
2460 as_fn_append ac_func_list
" getgid"
2461 as_fn_append ac_func_list
" getpid"
2462 as_fn_append ac_func_list
" getppid"
2463 as_fn_append ac_func_list
" getrusage"
2464 as_fn_append ac_func_list
" gettimeofday"
2465 as_fn_append ac_func_list
" getuid"
2466 as_fn_append ac_func_list
" ioctl"
2467 as_fn_append ac_func_list
" kill"
2468 as_fn_append ac_func_list
" link"
2469 as_fn_append ac_func_list
" lseek"
2470 as_fn_append ac_func_list
" mmap"
2471 as_fn_append ac_func_list
" munmap"
2472 as_fn_append ac_func_list
" pipe"
2473 as_fn_append ac_func_list
" posix_fallocate"
2474 as_fn_append ac_func_list
" pread"
2475 as_fn_append ac_func_list
" rmdir"
2476 as_fn_append ac_func_list
" setregid"
2477 as_fn_append ac_func_list
" setreuid"
2478 as_fn_append ac_func_list
" setgid"
2479 as_fn_append ac_func_list
" setuid"
2480 as_fn_append ac_func_list
" sigaction"
2481 as_fn_append ac_func_list
" sigprocmask"
2482 as_fn_append ac_func_list
" sqrt"
2483 as_fn_append ac_func_list
" stat"
2484 as_fn_append ac_func_list
" strsignal"
2485 as_fn_append ac_func_list
" symlink"
2486 as_fn_append ac_func_list
" tcdrain"
2487 as_fn_append ac_func_list
" tcflow"
2488 as_fn_append ac_func_list
" tcflush"
2489 as_fn_append ac_func_list
" tcgetattr"
2490 as_fn_append ac_func_list
" tcgetpgrp"
2491 as_fn_append ac_func_list
" tcsendbreak"
2492 as_fn_append ac_func_list
" tcsetattr"
2493 as_fn_append ac_func_list
" tcsetpgrp"
2494 as_fn_append ac_func_list
" time"
2495 as_fn_append ac_func_list
" truncate"
2496 as_fn_append ac_func_list
" umask"
2497 as_fn_append ac_func_list
" unlink"
2498 as_fn_append ac_func_list
" utime"
2499 # Check that the precious variables saved in the cache have kept the same
2501 ac_cache_corrupted
=false
2502 for ac_var
in $ac_precious_vars; do
2503 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2504 eval ac_new_set
=\
$ac_env_${ac_var}_set
2505 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2506 eval ac_new_val
=\
$ac_env_${ac_var}_value
2507 case $ac_old_set,$ac_new_set in
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2510 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2511 ac_cache_corrupted
=: ;;
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2514 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2515 ac_cache_corrupted
=: ;;
2518 if test "x$ac_old_val" != "x$ac_new_val"; then
2519 # differences in whitespace do not lead to failure.
2520 ac_old_val_w
=`echo x $ac_old_val`
2521 ac_new_val_w
=`echo x $ac_new_val`
2522 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2524 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2525 ac_cache_corrupted
=:
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2528 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2529 eval $ac_var=\
$ac_old_val
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2532 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2534 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2537 # Pass precious variables to config.status.
2538 if test "$ac_new_set" = set; then
2540 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2541 *) ac_arg
=$ac_var=$ac_new_val ;;
2543 case " $ac_configure_args " in
2544 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2545 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2549 if $ac_cache_corrupted; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2553 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2554 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2556 ## -------------------- ##
2557 ## Main body of script. ##
2558 ## -------------------- ##
2561 ac_cpp
='$CPP $CPPFLAGS'
2562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2573 # Check whether --with-pkgversion was given.
2574 if test "${with_pkgversion+set}" = set; then :
2575 withval
=$with_pkgversion; case "$withval" in
2576 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2578 *) PKGVERSION
="($withval) " ;;
2588 cat >>confdefs.h
<<_ACEOF
2589 #define PKGVERSION "$PKGVERSION"
2594 # Check whether --with-bugurl was given.
2595 if test "${with_bugurl+set}" = set; then :
2596 withval
=$with_bugurl; case "$withval" in
2597 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2600 *) BUGURL
="$withval"
2604 BUGURL
="$PACKAGE_BUGREPORT"
2614 REPORT_BUGS_TO
="<$BUGURL>"
2615 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2622 cat >>confdefs.h
<<_ACEOF
2623 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2627 ac_config_headers
="$ac_config_headers config.h"
2631 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2632 if test -f "$ac_dir/install-sh"; then
2634 ac_install_sh
="$ac_aux_dir/install-sh -c"
2636 elif test -f "$ac_dir/install.sh"; then
2638 ac_install_sh
="$ac_aux_dir/install.sh -c"
2640 elif test -f "$ac_dir/shtool"; then
2642 ac_install_sh
="$ac_aux_dir/shtool install -c"
2646 if test -z "$ac_aux_dir"; then
2647 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2650 # These three variables are undocumented and unsupported,
2651 # and are intended to be withdrawn in a future Autoconf release.
2652 # They can cause serious problems if a builder's source tree is in a directory
2653 # whose full name contains unusual characters.
2654 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2655 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2656 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2659 # Make sure we can run config.sub.
2660 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2661 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2664 $as_echo_n "checking build system type... " >&6; }
2665 if ${ac_cv_build+:} false
; then :
2666 $as_echo_n "(cached) " >&6
2668 ac_build_alias
=$build_alias
2669 test "x$ac_build_alias" = x
&&
2670 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2671 test "x$ac_build_alias" = x
&&
2672 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2673 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2674 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2678 $as_echo "$ac_cv_build" >&6; }
2679 case $ac_cv_build in
2681 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2684 ac_save_IFS
=$IFS; IFS
='-'
2690 # Remember, the first character of IFS is used to create $*,
2691 # except with old shells:
2694 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2698 $as_echo_n "checking host system type... " >&6; }
2699 if ${ac_cv_host+:} false
; then :
2700 $as_echo_n "(cached) " >&6
2702 if test "x$host_alias" = x
; then
2703 ac_cv_host
=$ac_cv_build
2705 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2706 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2711 $as_echo "$ac_cv_host" >&6; }
2714 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2717 ac_save_IFS
=$IFS; IFS
='-'
2723 # Remember, the first character of IFS is used to create $*,
2724 # except with old shells:
2727 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2731 $as_echo_n "checking target system type... " >&6; }
2732 if ${ac_cv_target+:} false
; then :
2733 $as_echo_n "(cached) " >&6
2735 if test "x$target_alias" = x
; then
2736 ac_cv_target
=$ac_cv_host
2738 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2739 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2744 $as_echo "$ac_cv_target" >&6; }
2745 case $ac_cv_target in
2747 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2749 target
=$ac_cv_target
2750 ac_save_IFS
=$IFS; IFS
='-'
2756 # Remember, the first character of IFS is used to create $*,
2757 # except with old shells:
2760 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2763 # The aliases save the names the user supplied, while $host etc.
2764 # will get canonicalized.
2765 test -n "$target_alias" &&
2766 test "$program_prefix$program_suffix$program_transform_name" = \
2768 program_prefix
=${target_alias}-
2769 # Expand $ac_aux_dir to an absolute path.
2770 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2773 ac_cpp
='$CPP $CPPFLAGS'
2774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2779 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if ${ac_cv_prog_CC+:} false
; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$CC"; then
2786 ac_cv_prog_CC
="$CC" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 if test -n "$CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2808 $as_echo "$CC" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2816 if test -z "$ac_cv_prog_CC"; then
2818 # Extract the first word of "gcc", so it can be a program name with args.
2819 set dummy gcc
; ac_word
=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$ac_ct_CC"; then
2826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 for ac_exec_ext
in '' $ac_executable_extensions; do
2834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2835 ac_cv_prog_ac_ct_CC
="gcc"
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2846 if test -n "$ac_ct_CC"; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2848 $as_echo "$ac_ct_CC" >&6; }
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851 $as_echo "no" >&6; }
2854 if test "x$ac_ct_CC" = x
; then
2857 case $cross_compiling:$ac_tool_warned in
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2861 ac_tool_warned
=yes ;;
2869 if test -z "$CC"; then
2870 if test -n "$ac_tool_prefix"; then
2871 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2872 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if ${ac_cv_prog_CC+:} false
; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$CC"; then
2879 ac_cv_prog_CC
="$CC" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 if test -n "$CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901 $as_echo "$CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2910 if test -z "$CC"; then
2911 # Extract the first word of "cc", so it can be a program name with args.
2912 set dummy cc
; ac_word
=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if ${ac_cv_prog_CC+:} false
; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$CC"; then
2919 ac_cv_prog_CC
="$CC" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2929 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2930 ac_prog_rejected
=yes
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test $ac_prog_rejected = yes; then
2942 # We found a bogon in the path, so make sure we never use it.
2943 set dummy
$ac_cv_prog_CC
2945 if test $# != 0; then
2946 # We chose a different compiler from the bogus one.
2947 # However, it has the same basename, so the bogon will be chosen
2948 # first if we set CC to just the basename; use the full file name.
2950 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2956 if test -n "$CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958 $as_echo "$CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2966 if test -z "$CC"; then
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog
in cl.exe
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_CC+:} false
; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC
="$CC" # Let the user override the test.
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test -n "$CC"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000 $as_echo "$CC" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3007 test -n "$CC" && break
3010 if test -z "$CC"; then
3012 for ac_prog
in cl.exe
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy
$ac_prog; ac_word
=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3019 $as_echo_n "(cached) " >&6
3021 if test -n "$ac_ct_CC"; then
3022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir
=.
3029 for ac_exec_ext
in '' $ac_executable_extensions; do
3030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3031 ac_cv_prog_ac_ct_CC
="$ac_prog"
3032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3042 if test -n "$ac_ct_CC"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3044 $as_echo "$ac_ct_CC" >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3051 test -n "$ac_ct_CC" && break
3054 if test "x$ac_ct_CC" = x
; then
3057 case $cross_compiling:$ac_tool_warned in
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3061 ac_tool_warned
=yes ;;
3070 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3072 as_fn_error $?
"no acceptable C compiler found in \$PATH
3073 See \`config.log' for more details" "$LINENO" 5; }
3075 # Provide some information about the compiler.
3076 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3079 for ac_option
in --version -v -V -qversion; do
3080 { { ac_try
="$ac_compiler $ac_option >&5"
3082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3089 if test -s conftest.err; then
3091 ... rest of stderr output deleted ...
3092 10q' conftest.err >conftest.er1
3093 cat conftest.er1 >&5
3095 rm -f conftest.er1 conftest.err
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; }
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3111 ac_clean_files_save=$ac_clean_files
3112 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3113 # Try to create an executable without -o first, disregard a.out.
3114 # It will help us diagnose broken compilers, and finding out an intuition
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3117 $as_echo_n "checking whether the C compiler works... " >&6; }
3118 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3120 # The possible output files:
3121 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3124 for ac_file in $ac_files
3127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3128 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3133 if { { ac_try="$ac_link_default"
3135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3136 *) ac_try_echo
=$ac_try;;
3138 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3139 $as_echo "$ac_try_echo"; } >&5
3140 (eval "$ac_link_default") 2>&5
3142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 test $ac_status = 0; }; then :
3144 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3145 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3146 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3147 # so that the user can short-circuit this test for compilers unknown to
3149 for ac_file
in $ac_files ''
3151 test -f "$ac_file" ||
continue
3153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3156 # We found the default executable, but exeext='' is most
3160 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3162 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3164 # We set ac_cv_exeext here because the later test for it is not
3165 # safe: cross compilers may not add the suffix if given an `-o'
3166 # argument, so we may need to know it at that point already.
3167 # Even if this section looks crufty: it has the advantage of
3174 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3179 if test -z "$ac_file"; then :
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3182 $as_echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.
$ac_ext >&5
3185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error
77 "C compiler cannot create executables
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3191 $as_echo "yes" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3194 $as_echo_n "checking for C compiler default output file name... " >&6; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3196 $as_echo "$ac_file" >&6; }
3197 ac_exeext
=$ac_cv_exeext
3199 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3200 ac_clean_files
=$ac_clean_files_save
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3202 $as_echo_n "checking for suffix of executables... " >&6; }
3203 if { { ac_try
="$ac_link"
3205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_link") 2>&5
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }; then :
3214 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3215 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3216 # work properly (i.e., refer to `conftest.exe'), while it won't with
3218 for ac_file
in conftest.exe conftest conftest.
*; do
3219 test -f "$ac_file" ||
continue
3221 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3222 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3231 See \`config.log' for more details" "$LINENO" 5; }
3233 rm -f conftest conftest
$ac_cv_exeext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3235 $as_echo "$ac_cv_exeext" >&6; }
3237 rm -f conftest.
$ac_ext
3238 EXEEXT
=$ac_cv_exeext
3240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3246 FILE *f = fopen ("conftest.out", "w");
3247 return ferror (f) || fclose (f) != 0;
3253 ac_clean_files
="$ac_clean_files conftest.out"
3254 # Check that the compiler produces executables we can run. If not, either
3255 # the compiler is broken, or we cross compile.
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3257 $as_echo_n "checking whether we are cross compiling... " >&6; }
3258 if test "$cross_compiling" != yes; then
3259 { { ac_try
="$ac_link"
3261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3265 $as_echo "$ac_try_echo"; } >&5
3266 (eval "$ac_link") 2>&5
3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3269 test $ac_status = 0; }
3270 if { ac_try='./conftest$ac_cv_exeext'
3271 { { case "(($ac_try" in
3272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3273 *) ac_try_echo
=$ac_try;;
3275 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3276 $as_echo "$ac_try_echo"; } >&5
3277 (eval "$ac_try") 2>&5
3279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3280 test $ac_status = 0; }; }; then
3283 if test "$cross_compiling" = maybe
; then
3286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3288 as_fn_error $?
"cannot run C compiled programs.
3289 If you meant to cross compile, use \`--host'.
3290 See \`config.log' for more details" "$LINENO" 5; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3295 $as_echo "$cross_compiling" >&6; }
3297 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3298 ac_clean_files
=$ac_clean_files_save
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3300 $as_echo_n "checking for suffix of object files... " >&6; }
3301 if ${ac_cv_objext+:} false
; then :
3302 $as_echo_n "(cached) " >&6
3304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3315 rm -f conftest.o conftest.obj
3316 if { { ac_try
="$ac_compile"
3318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323 (eval "$ac_compile") 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }; then :
3327 for ac_file in conftest.o conftest.obj conftest.*; do
3328 test -f "$ac_file" || continue;
3330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3331 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3336 $as_echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3342 See \
`config.log' for more details" "$LINENO" 5; }
3344 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3347 $as_echo "$ac_cv_objext" >&6; }
3348 OBJEXT=$ac_cv_objext
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3351 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3352 if ${ac_cv_c_compiler_gnu+:} false; then :
3353 $as_echo_n "(cached) " >&6
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3369 if ac_fn_c_try_compile "$LINENO"; then :
3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3379 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3380 if test $ac_compiler_gnu = yes; then
3385 ac_test_CFLAGS=${CFLAGS+set}
3386 ac_save_CFLAGS=$CFLAGS
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3388 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3389 if ${ac_cv_prog_cc_g+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 ac_save_c_werror_flag=$ac_c_werror_flag
3393 ac_c_werror_flag=yes
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3407 if ac_fn_c_try_compile "$LINENO"; then :
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3422 if ac_fn_c_try_compile "$LINENO"; then :
3425 ac_c_werror_flag=$ac_save_c_werror_flag
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 if ac_fn_c_try_compile "$LINENO"; then :
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_c_werror_flag=$ac_save_c_werror_flag
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3449 $as_echo "$ac_cv_prog_cc_g" >&6; }
3450 if test "$ac_test_CFLAGS" = set; then
3451 CFLAGS=$ac_save_CFLAGS
3452 elif test $ac_cv_prog_cc_g = yes; then
3453 if test "$GCC" = yes; then
3459 if test "$GCC" = yes; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3466 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3467 if ${ac_cv_prog_cc_c89+:} false; then :
3468 $as_echo_n "(cached) " >&6
3470 ac_cv_prog_cc_c89=no
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3477 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3478 struct buf { int x; };
3479 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3480 static char *e (p, i)
3486 static char *f (char * (*g) (char **, int), char **p, ...)
3491 s = g (p, va_arg (v,int));
3496 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3497 function prototypes and stuff, but not '\xHH' hex character constants.
3498 These don't provoke an error unfortunately, instead are silently treated
3499 as 'x'. The following induces an error, until -std is added to get
3500 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3501 array size at least. It's necessary to write '\x00'==0 to get something
3502 that's true only with -std. */
3503 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3505 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3506 inside strings and character constants. */
3508 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3510 int test (int i, double x);
3511 struct s1 {int (*f) (int a);};
3512 struct s2 {int (*f) (double a);};
3513 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3519 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3524 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3525 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3527 CC="$ac_save_CC $ac_arg"
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529 ac_cv_prog_cc_c89=$ac_arg
3531 rm -f core conftest.err conftest.$ac_objext
3532 test "x$ac_cv_prog_cc_c89" != "xno" && break
3534 rm -f conftest.$ac_ext
3539 case "x$ac_cv_prog_cc_c89" in
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3542 $as_echo "none needed" >&6; } ;;
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3545 $as_echo "unsupported" >&6; } ;;
3547 CC="$CC $ac_cv_prog_cc_c89"
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3549 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3551 if test "x$ac_cv_prog_cc_c89" != xno; then :
3556 ac_cpp='$CPP $CPPFLAGS'
3557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3567 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3568 if ${am_cv_prog_cc_c_o+:} false; then :
3569 $as_echo_n "(cached) " >&6
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3582 # Make sure it works both with $CC and with simple cc.
3583 # Following AC_PROG_CC_C_O, we do the test twice because some
3584 # compilers refuse to overwrite an existing .o file with -o,
3585 # though they will create one.
3586 am_cv_prog_cc_c_o=yes
3588 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3589 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } \
3593 && test -f conftest2.$ac_objext; then
3596 am_cv_prog_cc_c_o=no
3600 rm -f core conftest*
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3604 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3605 if test "$am_cv_prog_cc_c_o" != yes; then
3606 # Losing compiler, so override with the script.
3607 # FIXME: It is wrong to rewrite CC.
3608 # But if we don't then we get into trouble of one sort or another.
3609 # A longer-term fix would be to have automake use am__CC in this case,
3610 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3611 CC="$am_aux_dir/compile $CC"
3614 ac_cpp='$CPP $CPPFLAGS'
3615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622 ac_cpp='$CPP $CPPFLAGS'
3623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3627 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3628 # On Suns, sometimes $CPP names a directory.
3629 if test -n "$CPP" && test -d "$CPP"; then
3632 if test -z "$CPP"; then
3633 if ${ac_cv_prog_CPP+:} false; then :
3634 $as_echo_n "(cached) " >&6
3636 # Double quotes because CPP needs to be expanded
3637 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3640 for ac_c_preproc_warn_flag in '' yes
3642 # Use a header file that comes with gcc, so configuring glibc
3643 # with a fresh cross-compiler works.
3644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3645 # <limits.h> exists even on freestanding compilers.
3646 # On the NeXT, cc -E runs the code through the compiler's parser,
3647 # not just through cpp. "Syntax error" is here to catch this case.
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3651 # include <limits.h>
3653 # include <assert.h>
3657 if ac_fn_c_try_cpp "$LINENO"; then :
3660 # Broken: fails on valid input.
3663 rm -f conftest.err conftest.i conftest.$ac_ext
3665 # OK, works on sane cases. Now check whether nonexistent headers
3666 # can be detected and how.
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3671 if ac_fn_c_try_cpp "$LINENO"; then :
3672 # Broken: success on invalid input.
3675 # Passes both tests.
3679 rm -f conftest.err conftest.i conftest.$ac_ext
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.i conftest.err conftest.
$ac_ext
3684 if $ac_preproc_ok; then :
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3697 $as_echo "$CPP" >&6; }
3699 for ac_c_preproc_warn_flag
in '' yes
3701 # Use a header file that comes with gcc, so configuring glibc
3702 # with a fresh cross-compiler works.
3703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3704 # <limits.h> exists even on freestanding compilers.
3705 # On the NeXT, cc -E runs the code through the compiler's parser,
3706 # not just through cpp. "Syntax error" is here to catch this case.
3707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3710 # include <limits.h>
3712 # include <assert.h>
3716 if ac_fn_c_try_cpp
"$LINENO"; then :
3719 # Broken: fails on valid input.
3722 rm -f conftest.err conftest.i conftest.
$ac_ext
3724 # OK, works on sane cases. Now check whether nonexistent headers
3725 # can be detected and how.
3726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3728 #include <ac_nonexistent.h>
3730 if ac_fn_c_try_cpp
"$LINENO"; then :
3731 # Broken: success on invalid input.
3734 # Passes both tests.
3738 rm -f conftest.err conftest.i conftest.
$ac_ext
3741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3742 rm -f conftest.i conftest.err conftest.
$ac_ext
3743 if $ac_preproc_ok; then :
3746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3748 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3749 See \`config.log' for more details" "$LINENO" 5; }
3753 ac_cpp
='$CPP $CPPFLAGS'
3754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3760 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3761 if ${ac_cv_path_GREP+:} false
; then :
3762 $as_echo_n "(cached) " >&6
3764 if test -z "$GREP"; then
3765 ac_path_GREP_found
=false
3766 # Loop through the user's path and test for each of PROGNAME-LIST
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3768 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_prog
in grep ggrep
; do
3773 for ac_exec_ext
in '' $ac_executable_extensions; do
3774 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3775 as_fn_executable_p
"$ac_path_GREP" ||
continue
3776 # Check for GNU ac_path_GREP and select it if it is found.
3777 # Check for GNU $ac_path_GREP
3778 case `"$ac_path_GREP" --version 2>&1` in
3780 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3783 $as_echo_n 0123456789 >"conftest.in"
3786 cat "conftest.in" "conftest.in" >"conftest.tmp"
3787 mv "conftest.tmp" "conftest.in"
3788 cp "conftest.in" "conftest.nl"
3789 $as_echo 'GREP' >> "conftest.nl"
3790 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3791 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3792 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3793 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3794 # Best one so far, save it but keep looking for a better one
3795 ac_cv_path_GREP
="$ac_path_GREP"
3796 ac_path_GREP_max
=$ac_count
3798 # 10*(2^10) chars as input seems more than enough
3799 test $ac_count -gt 10 && break
3801 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3804 $ac_path_GREP_found && break 3
3809 if test -z "$ac_cv_path_GREP"; then
3810 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3813 ac_cv_path_GREP
=$GREP
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3818 $as_echo "$ac_cv_path_GREP" >&6; }
3819 GREP
="$ac_cv_path_GREP"
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3823 $as_echo_n "checking for egrep... " >&6; }
3824 if ${ac_cv_path_EGREP+:} false
; then :
3825 $as_echo_n "(cached) " >&6
3827 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3828 then ac_cv_path_EGREP
="$GREP -E"
3830 if test -z "$EGREP"; then
3831 ac_path_EGREP_found
=false
3832 # Loop through the user's path and test for each of PROGNAME-LIST
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_prog
in egrep; do
3839 for ac_exec_ext
in '' $ac_executable_extensions; do
3840 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3841 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3842 # Check for GNU ac_path_EGREP and select it if it is found.
3843 # Check for GNU $ac_path_EGREP
3844 case `"$ac_path_EGREP" --version 2>&1` in
3846 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3849 $as_echo_n 0123456789 >"conftest.in"
3852 cat "conftest.in" "conftest.in" >"conftest.tmp"
3853 mv "conftest.tmp" "conftest.in"
3854 cp "conftest.in" "conftest.nl"
3855 $as_echo 'EGREP' >> "conftest.nl"
3856 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3857 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3858 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3859 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3860 # Best one so far, save it but keep looking for a better one
3861 ac_cv_path_EGREP
="$ac_path_EGREP"
3862 ac_path_EGREP_max
=$ac_count
3864 # 10*(2^10) chars as input seems more than enough
3865 test $ac_count -gt 10 && break
3867 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3870 $ac_path_EGREP_found && break 3
3875 if test -z "$ac_cv_path_EGREP"; then
3876 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3879 ac_cv_path_EGREP
=$EGREP
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3885 $as_echo "$ac_cv_path_EGREP" >&6; }
3886 EGREP
="$ac_cv_path_EGREP"
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3890 $as_echo_n "checking for ANSI C header files... " >&6; }
3891 if ${ac_cv_header_stdc+:} false
; then :
3892 $as_echo_n "(cached) " >&6
3894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3909 if ac_fn_c_try_compile
"$LINENO"; then :
3910 ac_cv_header_stdc
=yes
3912 ac_cv_header_stdc
=no
3914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3916 if test $ac_cv_header_stdc = yes; then
3917 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3924 $EGREP "memchr" >/dev
/null
2>&1; then :
3927 ac_cv_header_stdc
=no
3933 if test $ac_cv_header_stdc = yes; then
3934 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941 $EGREP "free" >/dev
/null
2>&1; then :
3944 ac_cv_header_stdc
=no
3950 if test $ac_cv_header_stdc = yes; then
3951 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3952 if test "$cross_compiling" = yes; then :
3955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3959 #if ((' ' & 0x0FF) == 0x020)
3960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3961 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3963 # define ISLOWER(c) \
3964 (('a' <= (c) && (c) <= 'i') \
3965 || ('j' <= (c) && (c) <= 'r') \
3966 || ('s' <= (c) && (c) <= 'z'))
3967 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3975 for (i = 0; i < 256; i++)
3976 if (XOR (islower (i), ISLOWER (i))
3977 || toupper (i) != TOUPPER (i))
3982 if ac_fn_c_try_run
"$LINENO"; then :
3985 ac_cv_header_stdc
=no
3987 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3988 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3994 $as_echo "$ac_cv_header_stdc" >&6; }
3995 if test $ac_cv_header_stdc = yes; then
3997 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4001 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4002 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4003 inttypes.h stdint.h unistd.h
4005 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4006 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4008 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4009 cat >>confdefs.h
<<_ACEOF
4010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4019 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4020 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4027 if test "$MINIX" = yes; then
4029 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4032 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4035 $as_echo "#define _MINIX 1" >>confdefs.h
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4041 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4042 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4043 $as_echo_n "(cached) " >&6
4045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4048 # define __EXTENSIONS__ 1
4049 $ac_includes_default
4058 if ac_fn_c_try_compile
"$LINENO"; then :
4059 ac_cv_safe_to_define___extensions__
=yes
4061 ac_cv_safe_to_define___extensions__
=no
4063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4066 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4067 test $ac_cv_safe_to_define___extensions__ = yes &&
4068 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4070 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4072 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4074 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4076 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4079 test "$program_prefix" != NONE
&&
4080 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4081 # Use a double $ so make ignores it.
4082 test "$program_suffix" != NONE
&&
4083 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4084 # Double any \ or $.
4085 # By default was `s,x,x', remove it if useless.
4086 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4087 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4089 # Find a good install program. We prefer a C program (faster),
4090 # so one script is as good as another. But avoid the broken or
4091 # incompatible versions:
4092 # SysV /etc/install, /usr/sbin/install
4093 # SunOS /usr/etc/install
4094 # IRIX /sbin/install
4096 # AmigaOS /C/install, which installs bootblocks on floppy discs
4097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4100 # OS/2's system install, which has a completely different semantic
4101 # ./install, which can be erroneously created by make from ./install.sh.
4102 # Reject install programs that cannot install multiple files.
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4104 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4105 if test -z "$INSTALL"; then
4106 if ${ac_cv_path_install+:} false
; then :
4107 $as_echo_n "(cached) " >&6
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 # Account for people who put trailing slashes in PATH elements.
4115 case $as_dir/ in #((
4116 .
/ | .
// |
/[cC
]/* | \
4117 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4118 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4121 # OSF1 and SCO ODT 3.0 have their own names for install.
4122 # Don't use installbsd from OSF since it installs stuff as root
4124 for ac_prog
in ginstall scoinst
install; do
4125 for ac_exec_ext
in '' $ac_executable_extensions; do
4126 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4127 if test $ac_prog = install &&
4128 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4129 # AIX install. It has an incompatible calling convention.
4131 elif test $ac_prog = install &&
4132 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4133 # program-specific install script used by HP pwplus--don't use.
4136 rm -rf conftest.one conftest.two conftest.dir
4137 echo one
> conftest.one
4138 echo two
> conftest.two
4140 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4141 test -s conftest.one
&& test -s conftest.two
&&
4142 test -s conftest.dir
/conftest.one
&&
4143 test -s conftest.dir
/conftest.two
4145 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4158 rm -rf conftest.one conftest.two conftest.dir
4161 if test "${ac_cv_path_install+set}" = set; then
4162 INSTALL
=$ac_cv_path_install
4164 # As a last resort, use the slow shell script. Don't cache a
4165 # value for INSTALL within a source directory, because that will
4166 # break other packages using the cache if that directory is
4167 # removed, or if the value is a relative name.
4168 INSTALL
=$ac_install_sh
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4172 $as_echo "$INSTALL" >&6; }
4174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4175 # It thinks the first close brace ends the variable substitution.
4176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4180 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4187 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4188 if ${ac_cv_c_bigendian+:} false
; then :
4189 $as_echo_n "(cached) " >&6
4191 ac_cv_c_bigendian
=unknown
4192 # See if we're dealing with a universal compiler.
4193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4195 #ifndef __APPLE_CC__
4196 not a universal capable compiler
4201 if ac_fn_c_try_compile
"$LINENO"; then :
4203 # Check for potential -arch flags. It is not universal unless
4204 # there are at least two -arch flags with different values.
4207 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4208 if test -n "$ac_prev"; then
4210 i?
86 | x86_64 | ppc | ppc64
)
4211 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4214 ac_cv_c_bigendian
=universal
4220 elif test "x$ac_word" = "x-arch"; then
4225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4226 if test $ac_cv_c_bigendian = unknown
; then
4227 # See if sys/param.h defines the BYTE_ORDER macro.
4228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4230 #include <sys/types.h>
4231 #include <sys/param.h>
4236 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4237 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4246 if ac_fn_c_try_compile
"$LINENO"; then :
4247 # It does; now see whether it defined to BIG_ENDIAN or not.
4248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250 #include <sys/types.h>
4251 #include <sys/param.h>
4256 #if BYTE_ORDER != BIG_ENDIAN
4264 if ac_fn_c_try_compile
"$LINENO"; then :
4265 ac_cv_c_bigendian
=yes
4267 ac_cv_c_bigendian
=no
4269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4273 if test $ac_cv_c_bigendian = unknown
; then
4274 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4282 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4290 if ac_fn_c_try_compile
"$LINENO"; then :
4291 # It does; now see whether it defined to _BIG_ENDIAN or not.
4292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4307 if ac_fn_c_try_compile
"$LINENO"; then :
4308 ac_cv_c_bigendian
=yes
4310 ac_cv_c_bigendian
=no
4312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4316 if test $ac_cv_c_bigendian = unknown
; then
4317 # Compile a test program.
4318 if test "$cross_compiling" = yes; then :
4319 # Try to guess by grepping values from an object file.
4320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4322 short int ascii_mm[] =
4323 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4324 short int ascii_ii[] =
4325 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4326 int use_ascii (int i) {
4327 return ascii_mm[i] + ascii_ii[i];
4329 short int ebcdic_ii[] =
4330 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4331 short int ebcdic_mm[] =
4332 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4333 int use_ebcdic (int i) {
4334 return ebcdic_mm[i] + ebcdic_ii[i];
4341 return use_ascii (foo) == use_ebcdic (foo);
4346 if ac_fn_c_try_compile
"$LINENO"; then :
4347 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4348 ac_cv_c_bigendian
=yes
4350 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4351 if test "$ac_cv_c_bigendian" = unknown
; then
4352 ac_cv_c_bigendian
=no
4354 # finding both strings is unlikely to happen, but who knows?
4355 ac_cv_c_bigendian
=unknown
4359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4363 $ac_includes_default
4368 /* Are we little or big endian? From Harbison&Steele. */
4372 char c[sizeof (long int)];
4375 return u.c[sizeof (long int) - 1] == 1;
4381 if ac_fn_c_try_run
"$LINENO"; then :
4382 ac_cv_c_bigendian
=no
4384 ac_cv_c_bigendian
=yes
4386 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4387 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4393 $as_echo "$ac_cv_c_bigendian" >&6; }
4394 case $ac_cv_c_bigendian in #(
4396 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4402 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4406 as_fn_error $?
"unknown endianness
4407 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4413 if test -n "$ac_tool_prefix"; then
4414 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
4415 set dummy
${ac_tool_prefix}dtc
; ac_word
=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_DTC+:} false
; then :
4419 $as_echo_n "(cached) " >&6
4421 if test -n "$DTC"; then
4422 ac_cv_prog_DTC
="$DTC" # Let the user override the test.
4424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir
=.
4429 for ac_exec_ext
in '' $ac_executable_extensions; do
4430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_DTC
="${ac_tool_prefix}dtc"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 if test -n "$DTC"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
4444 $as_echo "$DTC" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4452 if test -z "$ac_cv_prog_DTC"; then
4454 # Extract the first word of "dtc", so it can be a program name with args.
4455 set dummy dtc
; ac_word
=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_ac_ct_DTC+:} false
; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$ac_ct_DTC"; then
4462 ac_cv_prog_ac_ct_DTC
="$ac_ct_DTC" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_ac_ct_DTC
="dtc"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ac_ct_DTC
=$ac_cv_prog_ac_ct_DTC
4482 if test -n "$ac_ct_DTC"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
4484 $as_echo "$ac_ct_DTC" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4490 if test "x$ac_ct_DTC" = x
; then
4493 case $cross_compiling:$ac_tool_warned in
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4497 ac_tool_warned
=yes ;;
4502 DTC
="$ac_cv_prog_DTC"
4506 if test "x$cross_compiling" = "xno"; then
4507 : "${AR_FOR_BUILD:=\$(AR)}"
4508 : "${CC_FOR_BUILD:=\$(CC)}"
4509 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4510 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4511 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4513 : "${AR_FOR_BUILD:=ar}"
4514 : "${CC_FOR_BUILD:=gcc}"
4515 : "${RANLIB_FOR_BUILD:=ranlib}"
4516 : "${CFLAGS_FOR_BUILD:=-g -O}"
4517 : "${LDLFAGS_FOR_BUILD:=}"
4526 if test -n "$ac_tool_prefix"; then
4527 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4528 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_prog_AR+:} false
; then :
4532 $as_echo_n "(cached) " >&6
4534 if test -n "$AR"; then
4535 ac_cv_prog_AR
="$AR" # Let the user override the test.
4537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir
=.
4542 for ac_exec_ext
in '' $ac_executable_extensions; do
4543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 if test -n "$AR"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4557 $as_echo "$AR" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4565 if test -z "$ac_cv_prog_AR"; then
4567 # Extract the first word of "ar", so it can be a program name with args.
4568 set dummy
ar; ac_word
=$2
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570 $as_echo_n "checking for $ac_word... " >&6; }
4571 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4572 $as_echo_n "(cached) " >&6
4574 if test -n "$ac_ct_AR"; then
4575 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir
=.
4582 for ac_exec_ext
in '' $ac_executable_extensions; do
4583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4584 ac_cv_prog_ac_ct_AR
="ar"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4595 if test -n "$ac_ct_AR"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4597 $as_echo "$ac_ct_AR" >&6; }
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4603 if test "x$ac_ct_AR" = x
; then
4606 case $cross_compiling:$ac_tool_warned in
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4610 ac_tool_warned
=yes ;;
4618 if test -n "$ac_tool_prefix"; then
4619 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4620 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if ${ac_cv_prog_RANLIB+:} false
; then :
4624 $as_echo_n "(cached) " >&6
4626 if test -n "$RANLIB"; then
4627 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir
=.
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 RANLIB
=$ac_cv_prog_RANLIB
4647 if test -n "$RANLIB"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4649 $as_echo "$RANLIB" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4657 if test -z "$ac_cv_prog_RANLIB"; then
4658 ac_ct_RANLIB
=$RANLIB
4659 # Extract the first word of "ranlib", so it can be a program name with args.
4660 set dummy ranlib
; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$ac_ct_RANLIB"; then
4667 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4687 if test -n "$ac_ct_RANLIB"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4689 $as_echo "$ac_ct_RANLIB" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4695 if test "x$ac_ct_RANLIB" = x
; then
4698 case $cross_compiling:$ac_tool_warned in
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4702 ac_tool_warned
=yes ;;
4704 RANLIB
=$ac_ct_RANLIB
4707 RANLIB
="$ac_cv_prog_RANLIB"
4711 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4712 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4713 # is C99. So handle it ourselves.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4717 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4721 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4722 # error "C11 support not found"
4726 if ac_fn_c_try_compile
"$LINENO"; then :
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4728 $as_echo "yes" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4734 $as_echo_n "checking for -std=c11 support... " >&6; }
4737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4740 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4741 # error "C11 support not found"
4745 if ac_fn_c_try_compile
"$LINENO"; then :
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4748 $as_echo "yes" >&6; }
4750 C_DIALECT
="-std=c11"
4753 as_fn_error $?
"C11 is required" "$LINENO" 5
4755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4763 for ac_header
in $ac_header_list
4765 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4766 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4768 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4769 cat >>confdefs.h
<<_ACEOF
4770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4828 for ac_func
in $ac_func_list
4830 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4831 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4832 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4833 cat >>confdefs.h
<<_ACEOF
4834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4963 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4964 if ${ac_cv_struct_tm+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4969 #include <sys/types.h>
4976 int *p = &tm.tm_sec;
4982 if ac_fn_c_try_compile
"$LINENO"; then :
4983 ac_cv_struct_tm
=time.h
4985 ac_cv_struct_tm
=sys
/time.h
4987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4990 $as_echo "$ac_cv_struct_tm" >&6; }
4991 if test $ac_cv_struct_tm = sys
/time.h
; then
4993 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4998 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4999 if ${ac_cv_type_uid_t+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5004 #include <sys/types.h>
5007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5008 $EGREP "uid_t" >/dev
/null
2>&1; then :
5009 ac_cv_type_uid_t
=yes
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5017 $as_echo "$ac_cv_type_uid_t" >&6; }
5018 if test $ac_cv_type_uid_t = no
; then
5020 $as_echo "#define uid_t int" >>confdefs.h
5023 $as_echo "#define gid_t int" >>confdefs.h
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5030 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5035 macro_version
='2.2.7a'
5036 macro_revision
='1.3134'
5050 ltmain
="$ac_aux_dir/ltmain.sh"
5052 # Backslashify metacharacters that are still active within
5053 # double-quoted strings.
5054 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5056 # Same as above, but do not quote variable references.
5057 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5059 # Sed substitution to delay expansion of an escaped shell variable in a
5060 # double_quote_subst'ed string.
5061 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5063 # Sed substitution to delay expansion of an escaped single quote.
5064 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5066 # Sed substitution to avoid accidental globbing in evaled expressions
5067 no_glob_subst
='s/\*/\\\*/g'
5069 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5070 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5071 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5074 $as_echo_n "checking how to print strings... " >&6; }
5075 # Test print first, because it will be a builtin if present.
5076 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5077 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5079 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5082 # Use this function as a fallback that always works.
5083 func_fallback_echo ()
5085 eval 'cat <<_LTECHO_EOF
5089 ECHO='func_fallback_echo
'
5092 # func_echo_all arg...
5093 # Invoke $ECHO with all args, space-separated.
5100 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5101 $as_echo "printf" >&6; } ;;
5102 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5103 $as_echo "print -r" >&6; } ;;
5104 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5105 $as_echo "cat" >&6; } ;;
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5122 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5123 if ${ac_cv_path_SED+:} false; then :
5124 $as_echo_n "(cached) " >&6
5126 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5127 for ac_i in 1 2 3 4 5 6 7; do
5128 ac_script="$ac_script$as_nl$ac_script"
5130 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5131 { ac_script=; unset ac_script;}
5132 if test -z "$SED"; then
5133 ac_path_SED_found=false
5134 # Loop through the user's path and
test for each of PROGNAME-LIST
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_prog
in sed gsed
; do
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5143 as_fn_executable_p
"$ac_path_SED" ||
continue
5144 # Check for GNU ac_path_SED and select it if it is found.
5145 # Check for GNU $ac_path_SED
5146 case `"$ac_path_SED" --version 2>&1` in
5148 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5151 $as_echo_n 0123456789 >"conftest.in"
5154 cat "conftest.in" "conftest.in" >"conftest.tmp"
5155 mv "conftest.tmp" "conftest.in"
5156 cp "conftest.in" "conftest.nl"
5157 $as_echo '' >> "conftest.nl"
5158 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5159 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5160 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5161 if test $ac_count -gt ${ac_path_SED_max-0}; then
5162 # Best one so far, save it but keep looking for a better one
5163 ac_cv_path_SED
="$ac_path_SED"
5164 ac_path_SED_max
=$ac_count
5166 # 10*(2^10) chars as input seems more than enough
5167 test $ac_count -gt 10 && break
5169 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5172 $ac_path_SED_found && break 3
5177 if test -z "$ac_cv_path_SED"; then
5178 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5186 $as_echo "$ac_cv_path_SED" >&6; }
5187 SED
="$ac_cv_path_SED"
5190 test -z "$SED" && SED
=sed
5191 Xsed
="$SED -e 1s/^X//"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5204 $as_echo_n "checking for fgrep... " >&6; }
5205 if ${ac_cv_path_FGREP+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5209 then ac_cv_path_FGREP
="$GREP -F"
5211 if test -z "$FGREP"; then
5212 ac_path_FGREP_found
=false
5213 # Loop through the user's path and test for each of PROGNAME-LIST
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_prog
in fgrep
; do
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5222 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5223 # Check for GNU ac_path_FGREP and select it if it is found.
5224 # Check for GNU $ac_path_FGREP
5225 case `"$ac_path_FGREP" --version 2>&1` in
5227 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5230 $as_echo_n 0123456789 >"conftest.in"
5233 cat "conftest.in" "conftest.in" >"conftest.tmp"
5234 mv "conftest.tmp" "conftest.in"
5235 cp "conftest.in" "conftest.nl"
5236 $as_echo 'FGREP' >> "conftest.nl"
5237 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5238 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5239 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5240 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5241 # Best one so far, save it but keep looking for a better one
5242 ac_cv_path_FGREP
="$ac_path_FGREP"
5243 ac_path_FGREP_max
=$ac_count
5245 # 10*(2^10) chars as input seems more than enough
5246 test $ac_count -gt 10 && break
5248 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5251 $ac_path_FGREP_found && break 3
5256 if test -z "$ac_cv_path_FGREP"; then
5257 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5260 ac_cv_path_FGREP
=$FGREP
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5266 $as_echo "$ac_cv_path_FGREP" >&6; }
5267 FGREP
="$ac_cv_path_FGREP"
5270 test -z "$GREP" && GREP
=grep
5290 # Check whether --with-gnu-ld was given.
5291 if test "${with_gnu_ld+set}" = set; then :
5292 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5298 if test "$GCC" = yes; then
5299 # Check if gcc -print-prog-name=ld gives a path.
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5301 $as_echo_n "checking for ld used by $CC... " >&6; }
5304 # gcc leaves a trailing carriage return which upsets mingw
5305 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5307 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5310 # Accept absolute paths.
5312 re_direlt
='/[^/][^/]*/\.\./'
5313 # Canonicalize the pathname of ld
5314 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5315 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5316 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5318 test -z "$LD" && LD
="$ac_prog"
5321 # If it fails, then pretend we aren't using GCC.
5325 # If it is relative, then search for the first ld in PATH.
5329 elif test "$with_gnu_ld" = yes; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5331 $as_echo_n "checking for GNU ld... " >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5334 $as_echo_n "checking for non-GNU ld... " >&6; }
5336 if ${lt_cv_path_LD+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -z "$LD"; then
5340 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5341 for ac_dir
in $PATH; do
5343 test -z "$ac_dir" && ac_dir
=.
5344 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5345 lt_cv_path_LD
="$ac_dir/$ac_prog"
5346 # Check to see if the program is GNU ld. I'd rather use --version,
5347 # but apparently some variants of GNU ld only accept -v.
5348 # Break only if it was the GNU/non-GNU ld that we prefer.
5349 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5350 *GNU
* |
*'with BFD'*)
5351 test "$with_gnu_ld" != no
&& break
5354 test "$with_gnu_ld" != yes && break
5361 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5366 if test -n "$LD"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5368 $as_echo "$LD" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5373 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5375 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5376 if ${lt_cv_prog_gnu_ld+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5379 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5380 case `$LD -v 2>&1 </dev/null` in
5381 *GNU
* |
*'with BFD'*)
5382 lt_cv_prog_gnu_ld
=yes
5385 lt_cv_prog_gnu_ld
=no
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5390 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5391 with_gnu_ld
=$lt_cv_prog_gnu_ld
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5402 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5403 if ${lt_cv_path_NM+:} false
; then :
5404 $as_echo_n "(cached) " >&6
5406 if test -n "$NM"; then
5407 # Let the user override the test.
5410 lt_nm_to_check
="${ac_tool_prefix}nm"
5411 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5412 lt_nm_to_check
="$lt_nm_to_check nm"
5414 for lt_tmp_nm
in $lt_nm_to_check; do
5415 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5416 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5418 test -z "$ac_dir" && ac_dir
=.
5419 tmp_nm
="$ac_dir/$lt_tmp_nm"
5420 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5421 # Check to see if the nm accepts a BSD-compat flag.
5422 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5423 # nm: unknown option "B" ignored
5424 # Tru64's nm complains that /dev/null is an invalid object file
5425 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5426 */dev
/null
* |
*'Invalid file or object type'*)
5427 lt_cv_path_NM
="$tmp_nm -B"
5431 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5433 lt_cv_path_NM
="$tmp_nm -p"
5437 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5438 continue # so that we can try to find one that supports BSD flags
5447 : ${lt_cv_path_NM=no}
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5451 $as_echo "$lt_cv_path_NM" >&6; }
5452 if test "$lt_cv_path_NM" != "no"; then
5455 # Didn't find any BSD compatible name lister, look for dumpbin.
5456 if test -n "$DUMPBIN"; then :
5457 # Let the user override the test.
5459 if test -n "$ac_tool_prefix"; then
5460 for ac_prog
in dumpbin
"link -dump"
5462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5463 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 if test -n "$DUMPBIN"; then
5470 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 DUMPBIN
=$ac_cv_prog_DUMPBIN
5490 if test -n "$DUMPBIN"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5492 $as_echo "$DUMPBIN" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5499 test -n "$DUMPBIN" && break
5502 if test -z "$DUMPBIN"; then
5503 ac_ct_DUMPBIN
=$DUMPBIN
5504 for ac_prog
in dumpbin
"link -dump"
5506 # Extract the first word of "$ac_prog", so it can be a program name with args.
5507 set dummy
$ac_prog; ac_word
=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -n "$ac_ct_DUMPBIN"; then
5514 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir
=.
5521 for ac_exec_ext
in '' $ac_executable_extensions; do
5522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5534 if test -n "$ac_ct_DUMPBIN"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5536 $as_echo "$ac_ct_DUMPBIN" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5543 test -n "$ac_ct_DUMPBIN" && break
5546 if test "x$ac_ct_DUMPBIN" = x
; then
5549 case $cross_compiling:$ac_tool_warned in
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned
=yes ;;
5555 DUMPBIN
=$ac_ct_DUMPBIN
5559 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5561 DUMPBIN
="$DUMPBIN -symbols"
5569 if test "$DUMPBIN" != ":"; then
5573 test -z "$NM" && NM
=nm
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5581 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5582 if ${lt_cv_nm_interface+:} false
; then :
5583 $as_echo_n "(cached) " >&6
5585 lt_cv_nm_interface
="BSD nm"
5586 echo "int some_variable = 0;" > conftest.
$ac_ext
5587 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5588 (eval "$ac_compile" 2>conftest.err
)
5589 cat conftest.err
>&5
5590 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5591 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5592 cat conftest.err
>&5
5593 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5594 cat conftest.out
>&5
5595 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5596 lt_cv_nm_interface
="MS dumpbin"
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5601 $as_echo "$lt_cv_nm_interface" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5604 $as_echo_n "checking whether ln -s works... " >&6; }
5606 if test "$LN_S" = "ln -s"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5608 $as_echo "yes" >&6; }
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5611 $as_echo "no, using $LN_S" >&6; }
5614 # find the maximum length of command line arguments
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5616 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5617 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5618 $as_echo_n "(cached) " >&6
5625 # On DJGPP, this test can blow up pretty badly due to problems in libc
5626 # (any single argument exceeding 2000 bytes causes a buffer overrun
5627 # during glob expansion). Even if it were fixed, the result of this
5628 # check would be larger than it should be.
5629 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5633 # Under GNU Hurd, this test is not required because there is
5634 # no limit to the length of command line arguments.
5635 # Libtool will interpret -1 as no limit whatsoever
5636 lt_cv_sys_max_cmd_len
=-1;
5639 cygwin
* | mingw
* | cegcc
*)
5640 # On Win9x/ME, this test blows up -- it succeeds, but takes
5641 # about 5 minutes as the teststring grows exponentially.
5642 # Worse, since 9x/ME are not pre-emptively multitasking,
5643 # you end up with a "frozen" computer, even though with patience
5644 # the test eventually succeeds (with a max line length of 256k).
5645 # Instead, let's just punt: use the minimum linelength reported by
5646 # all of the supported platforms: 8192 (on NT/2K/XP).
5647 lt_cv_sys_max_cmd_len
=8192;
5651 # On MiNT this can take a long time and run out of memory.
5652 lt_cv_sys_max_cmd_len
=8192;
5656 # On AmigaOS with pdksh, this test takes hours, literally.
5657 # So we just punt and use a minimum line length of 8192.
5658 lt_cv_sys_max_cmd_len
=8192;
5661 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5662 # This has been around since 386BSD, at least. Likely further.
5663 if test -x /sbin
/sysctl
; then
5664 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5665 elif test -x /usr
/sbin
/sysctl
; then
5666 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5668 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5670 # And add a safety zone
5671 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5672 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5676 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5677 lt_cv_sys_max_cmd_len
=196608
5681 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5682 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5683 # nice to cause kernel panics so lets avoid the loop below.
5684 # First set a reasonable default.
5685 lt_cv_sys_max_cmd_len
=16384
5687 if test -x /sbin
/sysconfig
; then
5688 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5689 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5694 lt_cv_sys_max_cmd_len
=102400
5696 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5697 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5698 if test -n "$kargmax"; then
5699 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5701 lt_cv_sys_max_cmd_len
=32768
5705 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5706 if test -n "$lt_cv_sys_max_cmd_len"; then
5707 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5708 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5710 # Make teststring a little bigger before we do anything with it.
5711 # a 1K string should be a reasonable start.
5712 for i
in 1 2 3 4 5 6 7 8 ; do
5713 teststring
=$teststring$teststring
5715 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5716 # If test is not a shell built-in, we'll probably end up computing a
5717 # maximum length that is only half of the actual maximum length, but
5719 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5720 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5721 test $i != 17 # 1/2 MB should be enough
5724 teststring
=$teststring$teststring
5726 # Only check the string length outside the loop.
5727 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5729 # Add a significant safety factor because C++ compilers can tack on
5730 # massive amounts of additional arguments before passing them to the
5731 # linker. It appears as though 1/2 is a usable value.
5732 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5739 if test -n $lt_cv_sys_max_cmd_len ; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5741 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5744 $as_echo "none" >&6; }
5746 max_cmd_len
=$lt_cv_sys_max_cmd_len
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5758 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5759 # Try some XSI features
5762 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5764 && eval 'test $(( 1 + 1 )) -eq 2 \
5765 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5768 $as_echo "$xsi_shell" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5772 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5774 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5776 && lt_shell_append=yes
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5778 $as_echo "$lt_shell_append" >&6; }
5781 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5791 # test EBCDIC or ASCII
5792 case `echo X|tr X '\101'` in
5793 A) # ASCII based system
5794 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5795 lt_SP2NL='tr \040 \012'
5796 lt_NL2SP='tr \015\012 \040\040'
5798 *) # EBCDIC based system
5799 lt_SP2NL='tr \100 \n'
5800 lt_NL2SP='tr \r\n \100\100'
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5813 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5814 if ${lt_cv_ld_reload_flag+:} false; then :
5815 $as_echo_n "(cached
) " >&6
5817 lt_cv_ld_reload_flag='-r'
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5820 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5821 reload_flag=$lt_cv_ld_reload_flag
5822 case $reload_flag in
5824 *) reload_flag=" $reload_flag" ;;
5826 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5829 if test "$GCC" = yes; then
5830 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5832 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5845 if test -n "$ac_tool_prefix"; then
5846 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5847 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5849 $as_echo_n "checking
for $ac_word...
" >&6; }
5850 if ${ac_cv_prog_OBJDUMP+:} false; then :
5851 $as_echo_n "(cached
) " >&6
5853 if test -n "$OBJDUMP"; then
5854 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5873 OBJDUMP=$ac_cv_prog_OBJDUMP
5874 if test -n "$OBJDUMP"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5876 $as_echo "$OBJDUMP" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5879 $as_echo "no
" >&6; }
5884 if test -z "$ac_cv_prog_OBJDUMP"; then
5885 ac_ct_OBJDUMP=$OBJDUMP
5886 # Extract the first word of "objdump
", so it can be a program name with args.
5887 set dummy objdump; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5889 $as_echo_n "checking
for $ac_word...
" >&6; }
5890 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5891 $as_echo_n "(cached
) " >&6
5893 if test -n "$ac_ct_OBJDUMP"; then
5894 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5903 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5913 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5914 if test -n "$ac_ct_OBJDUMP"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5916 $as_echo "$ac_ct_OBJDUMP" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5919 $as_echo "no
" >&6; }
5922 if test "x
$ac_ct_OBJDUMP" = x; then
5925 case $cross_compiling:$ac_tool_warned in
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5928 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5929 ac_tool_warned=yes ;;
5931 OBJDUMP=$ac_ct_OBJDUMP
5934 OBJDUMP="$ac_cv_prog_OBJDUMP"
5937 test -z "$OBJDUMP" && OBJDUMP=objdump
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5948 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5949 if ${lt_cv_deplibs_check_method+:} false; then :
5950 $as_echo_n "(cached
) " >&6
5952 lt_cv_file_magic_cmd='$MAGIC_CMD'
5953 lt_cv_file_magic_test_file=
5954 lt_cv_deplibs_check_method='unknown'
5955 # Need to set the preceding variable on all platforms that support
5956 # interlibrary dependencies.
5957 # 'none' -- dependencies not supported.
5958 # `unknown' -- same as none, but documents that we really don't know.
5959 # 'pass_all' -- all dependencies passed with no checks.
5960 # 'test_compile' -- check by making test program.
5961 # 'file_magic [[regex]]' -- check by looking for files in library path
5962 # which responds to the $file_magic_cmd with a given extended regex.
5963 # If you have `file' or equivalent on your system and you're not sure
5964 # whether `pass_all' will *always* work, you probably want this one.
5968 lt_cv_deplibs_check_method=pass_all
5972 lt_cv_deplibs_check_method=pass_all
5976 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5977 lt_cv_file_magic_cmd='/usr/bin/file -L'
5978 lt_cv_file_magic_test_file=/shlib/libc.so
5982 # func_win32_libid is a shell function defined in ltmain.sh
5983 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5984 lt_cv_file_magic_cmd='func_win32_libid'
5988 # Base MSYS/MinGW do not provide the 'file' command needed by
5989 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5990 # unless we find 'file', for example because we are cross-compiling.
5991 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5992 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5993 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5994 lt_cv_file_magic_cmd='func_win32_libid'
5996 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5997 lt_cv_file_magic_cmd='$OBJDUMP -f'
6002 # use the weaker test based on 'objdump'. See mingw*.
6003 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6004 lt_cv_file_magic_cmd='$OBJDUMP -f'
6007 darwin* | rhapsody*)
6008 lt_cv_deplibs_check_method=pass_all
6011 freebsd* | dragonfly*)
6012 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6015 # Not sure whether the presence of OpenBSD here was a mistake.
6016 # Let's accept both of them until this is cleared up.
6017 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6018 lt_cv_file_magic_cmd=/usr/bin/file
6019 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6023 lt_cv_deplibs_check_method=pass_all
6028 lt_cv_deplibs_check_method=pass_all
6032 lt_cv_deplibs_check_method=pass_all
6035 hpux10.20* | hpux11*)
6036 lt_cv_file_magic_cmd=/usr/bin/file
6039 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6040 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6043 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]'
6044 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6047 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6048 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6054 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6055 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6058 irix5* | irix6* | nonstopux*)
6060 *-32|*"-32 ") libmagic=32-bit;;
6061 *-n32|*"-n32 ") libmagic=N32;;
6062 *-64|*"-64 ") libmagic=64-bit;;
6063 *) libmagic=never-match;;
6065 lt_cv_deplibs_check_method=pass_all
6068 # This must be Linux ELF.
6069 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6070 lt_cv_deplibs_check_method=pass_all
6074 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6075 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6077 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6082 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6083 lt_cv_file_magic_cmd=/usr/bin/file
6084 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6088 lt_cv_deplibs_check_method=pass_all
6092 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6093 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6095 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6099 osf3* | osf4* | osf5*)
6100 lt_cv_deplibs_check_method=pass_all
6104 lt_cv_deplibs_check_method=pass_all
6108 lt_cv_deplibs_check_method=pass_all
6111 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6112 lt_cv_deplibs_check_method=pass_all
6116 case $host_vendor in
6118 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]'
6119 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6122 lt_cv_deplibs_check_method=pass_all
6125 lt_cv_file_magic_cmd='/bin/file'
6126 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6129 lt_cv_file_magic_cmd='/bin/file'
6130 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6131 lt_cv_file_magic_test_file=/lib/libc.so
6134 lt_cv_deplibs_check_method=pass_all
6137 lt_cv_deplibs_check_method=pass_all
6143 lt_cv_deplibs_check_method=pass_all
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6149 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6150 file_magic_cmd=$lt_cv_file_magic_cmd
6151 deplibs_check_method=$lt_cv_deplibs_check_method
6152 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6166 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6167 for plugin in $plugin_names; do
6168 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6169 if test x$plugin_so = x$plugin; then
6170 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6172 if test x$plugin_so != x$plugin; then
6173 plugin_option="--plugin $plugin_so"
6178 if test -n "$ac_tool_prefix"; then
6179 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6180 set dummy ${ac_tool_prefix}ar; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6182 $as_echo_n "checking
for $ac_word...
" >&6; }
6183 if ${ac_cv_prog_AR+:} false; then :
6184 $as_echo_n "(cached
) " >&6
6186 if test -n "$AR"; then
6187 ac_cv_prog_AR="$AR" # Let the user override the test.
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196 ac_cv_prog_AR="${ac_tool_prefix}ar"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6207 if test -n "$AR"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6209 $as_echo "$AR" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6212 $as_echo "no
" >&6; }
6217 if test -z "$ac_cv_prog_AR"; then
6219 # Extract the first word of "ar", so it can be a program name with args.
6220 set dummy ar; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6222 $as_echo_n "checking
for $ac_word...
" >&6; }
6223 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6224 $as_echo_n "(cached
) " >&6
6226 if test -n "$ac_ct_AR"; then
6227 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 test -z "$as_dir" && as_dir=.
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6236 ac_cv_prog_ac_ct_AR="ar"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6246 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6247 if test -n "$ac_ct_AR"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6249 $as_echo "$ac_ct_AR" >&6; }
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6252 $as_echo "no
" >&6; }
6255 if test "x
$ac_ct_AR" = x; then
6258 case $cross_compiling:$ac_tool_warned in
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6261 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6262 ac_tool_warned=yes ;;
6270 test -z "$AR" && AR=ar
6271 if test -n "$plugin_option"; then
6272 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6274 $AR $plugin_option rc conftest.a conftest.c
6275 if test "$?
" != 0; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6277 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6279 AR="$AR $plugin_option"
6284 test -z "$AR_FLAGS" && AR_FLAGS=cru
6296 if test -n "$ac_tool_prefix"; then
6297 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6298 set dummy ${ac_tool_prefix}strip; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6300 $as_echo_n "checking
for $ac_word...
" >&6; }
6301 if ${ac_cv_prog_STRIP+:} false; then :
6302 $as_echo_n "(cached
) " >&6
6304 if test -n "$STRIP"; then
6305 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6324 STRIP=$ac_cv_prog_STRIP
6325 if test -n "$STRIP"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6327 $as_echo "$STRIP" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6330 $as_echo "no
" >&6; }
6335 if test -z "$ac_cv_prog_STRIP"; then
6337 # Extract the first word of "strip
", so it can be a program name with args.
6338 set dummy strip; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6340 $as_echo_n "checking
for $ac_word...
" >&6; }
6341 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6342 $as_echo_n "(cached
) " >&6
6344 if test -n "$ac_ct_STRIP"; then
6345 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_STRIP="strip
"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6364 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6365 if test -n "$ac_ct_STRIP"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6367 $as_echo "$ac_ct_STRIP" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6370 $as_echo "no
" >&6; }
6373 if test "x
$ac_ct_STRIP" = x; then
6376 case $cross_compiling:$ac_tool_warned in
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6379 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6380 ac_tool_warned=yes ;;
6385 STRIP="$ac_cv_prog_STRIP"
6388 test -z "$STRIP" && STRIP=:
6395 if test -n "$ac_tool_prefix"; then
6396 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6397 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6399 $as_echo_n "checking
for $ac_word...
" >&6; }
6400 if ${ac_cv_prog_RANLIB+:} false; then :
6401 $as_echo_n "(cached
) " >&6
6403 if test -n "$RANLIB"; then
6404 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir=.
6411 for ac_exec_ext in '' $ac_executable_extensions; do
6412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6413 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6423 RANLIB=$ac_cv_prog_RANLIB
6424 if test -n "$RANLIB"; then
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6426 $as_echo "$RANLIB" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6429 $as_echo "no
" >&6; }
6434 if test -z "$ac_cv_prog_RANLIB"; then
6435 ac_ct_RANLIB=$RANLIB
6436 # Extract the first word of "ranlib
", so it can be a program name with args.
6437 set dummy ranlib; ac_word=$2
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6439 $as_echo_n "checking
for $ac_word...
" >&6; }
6440 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6441 $as_echo_n "(cached
) " >&6
6443 if test -n "$ac_ct_RANLIB"; then
6444 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6463 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6464 if test -n "$ac_ct_RANLIB"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6466 $as_echo "$ac_ct_RANLIB" >&6; }
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6469 $as_echo "no
" >&6; }
6472 if test "x
$ac_ct_RANLIB" = x; then
6475 case $cross_compiling:$ac_tool_warned in
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6478 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6479 ac_tool_warned=yes ;;
6481 RANLIB=$ac_ct_RANLIB
6484 RANLIB="$ac_cv_prog_RANLIB"
6487 test -z "$RANLIB" && RANLIB=:
6488 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6489 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6490 RANLIB="$RANLIB $plugin_option"
6499 # Determine commands to create old-style static archives.
6500 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6501 old_postinstall_cmds='chmod 644 $oldlib'
6502 old_postuninstall_cmds=
6504 if test -n "$RANLIB"; then
6507 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6510 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6513 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6518 lock_old_archive_extraction=yes ;;
6520 lock_old_archive_extraction=no ;;
6543 for ac_prog in gawk mawk nawk awk
6545 # Extract the first word of "$ac_prog", so it can be a program name with args.
6546 set dummy $ac_prog; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6548 $as_echo_n "checking
for $ac_word...
" >&6; }
6549 if ${ac_cv_prog_AWK+:} false; then :
6550 $as_echo_n "(cached
) " >&6
6552 if test -n "$AWK"; then
6553 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6562 ac_cv_prog_AWK="$ac_prog"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6573 if test -n "$AWK"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
6575 $as_echo "$AWK" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6578 $as_echo "no
" >&6; }
6582 test -n "$AWK" && break
6603 # If no C compiler was specified, use CC.
6606 # If no C compiler flags were specified, use CFLAGS.
6607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6609 # Allow CC to be a program name with arguments.
6613 # Check for command to grab the raw symbol name followed by C symbol from nm.
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6615 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6616 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6617 $as_echo_n "(cached
) " >&6
6620 # These are sane defaults that work on at least a few old systems.
6621 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6623 # Character class describing NM global symbol codes.
6624 symcode='[BCDEGRST]'
6626 # Regexp to match symbols that can be accessed directly from C.
6627 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6629 # Define system-specific variables.
6634 cygwin* | mingw* | pw32* | cegcc*)
6635 symcode='[ABCDGISTW]'
6638 if test "$host_cpu" = ia64; then
6639 symcode='[ABCDEGRST]'
6643 symcode='[BCDEGRST]'
6646 symcode='[BCDEGQRST]'
6657 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6665 # If we're using GNU nm, then use its standard symbol codes.
6666 case `$NM -V 2>&1` in
6667 *GNU* | *'with BFD'*)
6668 symcode='[ABCDGIRSTW]' ;;
6671 # Transform an extracted symbol line into a proper C declaration.
6672 # Some systems (esp. on ia64) link data and code symbols differently,
6673 # so use this general approach.
6674 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6676 # Transform an extracted symbol line into symbol name and symbol address
6677 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6678 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'"
6680 # Handle CRLF in mingw tool chain
6684 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6688 # Try without a prefix underscore, then with it.
6689 for ac_symprfx in "" "_
"; do
6691 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6692 symxfrm="\\1 $ac_symprfx\\2 \\2"
6694 # Write the raw and C identifiers.
6695 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6696 # Fake it for dumpbin and say T for any non-static function
6697 # and D for any global variable.
6698 # Also find C++ and __fastcall symbols from MSVC++,
6699 # which start with @ or ?.
6700 lt_cv_sys_global_symbol_pipe="$AWK '"\
6701 " {last_section=section; section=\$ 3};"\
6702 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6703 " \$ 0!~/External *\|/{next};"\
6704 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6705 " {if(hide[section]) next};"\
6706 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6707 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6708 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6709 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6710 " ' prfx
=^
$ac_symprfx"
6712 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6715 # Check to see that the pipe works correctly.
6719 cat > conftest.$ac_ext <<_LT_EOF
6724 void nm_test_func(void);
6725 void nm_test_func(void){}
6729 int main(){nm_test_var='a';nm_test_func();return(0);}
6732 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6733 (eval $ac_compile) 2>&5
6735 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6736 test $ac_status = 0; }; then
6737 # Now try to grab the symbols.
6739 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6740 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6742 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6743 test $ac_status = 0; } && test -s "$nlist"; then
6744 # Try sorting and uniquifying the output.
6745 if sort "$nlist" | uniq > "$nlist"T; then
6746 mv -f "$nlist"T "$nlist"
6751 # Make sure that we snagged all the symbols we need.
6752 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6753 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6754 cat <<_LT_EOF > conftest.$ac_ext
6760 # Now generate the symbol file.
6761 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6763 cat <<_LT_EOF >> conftest.$ac_ext
6765 /* The mapping between symbol names and symbols. */
6770 lt__PROGRAM__LTX_preloaded_symbols[] =
6772 { "@PROGRAM@
", (void *) 0 },
6774 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6775 cat <<\_LT_EOF >> conftest.$ac_ext
6779 /* This works around a problem in FreeBSD linker */
6780 #ifdef FREEBSD_WORKAROUND
6781 static const void *lt_preloaded_setup() {
6782 return lt__PROGRAM__LTX_preloaded_symbols;
6790 # Now try linking the two files.
6791 mv conftest.$ac_objext conftstm.$ac_objext
6792 lt_save_LIBS="$LIBS"
6793 lt_save_CFLAGS="$CFLAGS"
6794 LIBS="conftstm.
$ac_objext"
6795 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6796 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6797 (eval $ac_link) 2>&5
6799 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6800 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6803 LIBS="$lt_save_LIBS"
6804 CFLAGS="$lt_save_CFLAGS"
6806 echo "cannot
find nm_test_func
in $nlist" >&5
6809 echo "cannot
find nm_test_var
in $nlist" >&5
6812 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6815 echo "$progname: failed program was
:" >&5
6816 cat conftest.$ac_ext >&5
6818 rm -rf conftest* conftst*
6820 # Do not use the global_symbol_pipe unless it works.
6821 if test "$pipe_works" = yes; then
6824 lt_cv_sys_global_symbol_pipe=
6830 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6831 lt_cv_sys_global_symbol_to_cdecl=
6833 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6835 $as_echo "failed
" >&6; }
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6838 $as_echo "ok
" >&6; }
6862 # Check whether --enable-libtool-lock was given.
6863 if test "${enable_libtool_lock+set}" = set; then :
6864 enableval=$enable_libtool_lock;
6867 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6869 # Some flags need to be propagated to the compiler or linker for good
6873 # Find out which ABI we are using.
6874 echo 'int i;' > conftest.$ac_ext
6875 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6876 (eval $ac_compile) 2>&5
6878 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6879 test $ac_status = 0; }; then
6880 case `/usr/bin/file conftest.$ac_objext` in
6892 # Find out which ABI we are using.
6893 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6894 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6895 (eval $ac_compile) 2>&5
6897 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6898 test $ac_status = 0; }; then
6899 if test "$lt_cv_prog_gnu_ld" = yes; then
6900 case `/usr/bin/file conftest.$ac_objext` in
6902 LD="${LD-ld} -melf32bsmip"
6905 LD="${LD-ld} -melf32bmipn32"
6908 LD="${LD-ld} -melf64bmip"
6912 case `/usr/bin/file conftest.$ac_objext` in
6928 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6929 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6930 # Find out which ABI we are using.
6931 echo 'int i;' > conftest.$ac_ext
6932 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6933 (eval $ac_compile) 2>&5
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6936 test $ac_status = 0; }; then
6937 case `/usr/bin/file conftest.o` in
6940 x86_64-*kfreebsd*-gnu)
6941 LD="${LD-ld} -m elf_i386_fbsd
"
6944 case `/usr/bin/file conftest.o` in
6946 LD="${LD-ld} -m elf32_x86_64
"
6949 LD="${LD-ld} -m elf_i386
"
6953 powerpc64le-*linux*)
6954 LD="${LD-ld} -m elf32lppclinux
"
6957 LD="${LD-ld} -m elf32ppclinux
"
6960 LD="${LD-ld} -m elf_s390
"
6963 LD="${LD-ld} -m elf32_sparc
"
6969 x86_64-*kfreebsd*-gnu)
6970 LD="${LD-ld} -m elf_x86_64_fbsd
"
6973 LD="${LD-ld} -m elf_x86_64
"
6976 LD="${LD-ld} -m elf64lppc
"
6979 LD="${LD-ld} -m elf64ppc
"
6981 s390*-*linux*|s390*-*tpf*)
6982 LD="${LD-ld} -m elf64_s390
"
6985 LD="${LD-ld} -m elf64_sparc
"
6995 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6996 SAVE_CFLAGS="$CFLAGS"
6997 CFLAGS="$CFLAGS -belf"
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6999 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7000 if ${lt_cv_cc_needs_belf+:} false; then :
7001 $as_echo_n "(cached
) " >&6
7004 ac_cpp='$CPP $CPPFLAGS'
7005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7020 if ac_fn_c_try_link "$LINENO"; then :
7021 lt_cv_cc_needs_belf=yes
7023 lt_cv_cc_needs_belf=no
7025 rm -f core conftest.err conftest.$ac_objext \
7026 conftest$ac_exeext conftest.$ac_ext
7028 ac_cpp='$CPP $CPPFLAGS'
7029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7035 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7036 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7037 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7038 CFLAGS="$SAVE_CFLAGS"
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.o` in
7051 case $lt_cv_prog_gnu_ld in
7052 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7054 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7066 need_locks="$enable_libtool_lock"
7070 rhapsody* | darwin*)
7071 if test -n "$ac_tool_prefix"; then
7072 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7073 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7075 $as_echo_n "checking
for $ac_word...
" >&6; }
7076 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7077 $as_echo_n "(cached
) " >&6
7079 if test -n "$DSYMUTIL"; then
7080 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 test -z "$as_dir" && as_dir=.
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7089 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7099 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7100 if test -n "$DSYMUTIL"; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7102 $as_echo "$DSYMUTIL" >&6; }
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7105 $as_echo "no
" >&6; }
7110 if test -z "$ac_cv_prog_DSYMUTIL"; then
7111 ac_ct_DSYMUTIL=$DSYMUTIL
7112 # Extract the first word of "dsymutil
", so it can be a program name with args.
7113 set dummy dsymutil; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7115 $as_echo_n "checking
for $ac_word...
" >&6; }
7116 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7117 $as_echo_n "(cached
) " >&6
7119 if test -n "$ac_ct_DSYMUTIL"; then
7120 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7129 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7139 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7140 if test -n "$ac_ct_DSYMUTIL"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7142 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7145 $as_echo "no
" >&6; }
7148 if test "x
$ac_ct_DSYMUTIL" = x; then
7151 case $cross_compiling:$ac_tool_warned in
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7154 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7155 ac_tool_warned=yes ;;
7157 DSYMUTIL=$ac_ct_DSYMUTIL
7160 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7163 if test -n "$ac_tool_prefix"; then
7164 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7165 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7167 $as_echo_n "checking
for $ac_word...
" >&6; }
7168 if ${ac_cv_prog_NMEDIT+:} false; then :
7169 $as_echo_n "(cached
) " >&6
7171 if test -n "$NMEDIT"; then
7172 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7191 NMEDIT=$ac_cv_prog_NMEDIT
7192 if test -n "$NMEDIT"; then
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7194 $as_echo "$NMEDIT" >&6; }
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7197 $as_echo "no
" >&6; }
7202 if test -z "$ac_cv_prog_NMEDIT"; then
7203 ac_ct_NMEDIT=$NMEDIT
7204 # Extract the first word of "nmedit
", so it can be a program name with args.
7205 set dummy nmedit; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7207 $as_echo_n "checking
for $ac_word...
" >&6; }
7208 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7209 $as_echo_n "(cached
) " >&6
7211 if test -n "$ac_ct_NMEDIT"; then
7212 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7221 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7231 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7232 if test -n "$ac_ct_NMEDIT"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7234 $as_echo "$ac_ct_NMEDIT" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7237 $as_echo "no
" >&6; }
7240 if test "x
$ac_ct_NMEDIT" = x; then
7243 case $cross_compiling:$ac_tool_warned in
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7246 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7247 ac_tool_warned=yes ;;
7249 NMEDIT=$ac_ct_NMEDIT
7252 NMEDIT="$ac_cv_prog_NMEDIT"
7255 if test -n "$ac_tool_prefix"; then
7256 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7259 $as_echo_n "checking
for $ac_word...
" >&6; }
7260 if ${ac_cv_prog_LIPO+:} false; then :
7261 $as_echo_n "(cached
) " >&6
7263 if test -n "$LIPO"; then
7264 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7283 LIPO=$ac_cv_prog_LIPO
7284 if test -n "$LIPO"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7286 $as_echo "$LIPO" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7289 $as_echo "no
" >&6; }
7294 if test -z "$ac_cv_prog_LIPO"; then
7296 # Extract the first word of "lipo
", so it can be a program name with args.
7297 set dummy lipo; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7299 $as_echo_n "checking
for $ac_word...
" >&6; }
7300 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7301 $as_echo_n "(cached
) " >&6
7303 if test -n "$ac_ct_LIPO"; then
7304 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_ac_ct_LIPO="lipo
"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7323 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7324 if test -n "$ac_ct_LIPO"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7326 $as_echo "$ac_ct_LIPO" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7329 $as_echo "no
" >&6; }
7332 if test "x
$ac_ct_LIPO" = x; then
7335 case $cross_compiling:$ac_tool_warned in
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7338 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7339 ac_tool_warned=yes ;;
7344 LIPO="$ac_cv_prog_LIPO"
7347 if test -n "$ac_tool_prefix"; then
7348 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7349 set dummy ${ac_tool_prefix}otool; ac_word=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7351 $as_echo_n "checking
for $ac_word...
" >&6; }
7352 if ${ac_cv_prog_OTOOL+:} false; then :
7353 $as_echo_n "(cached
) " >&6
7355 if test -n "$OTOOL"; then
7356 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 test -z "$as_dir" && as_dir=.
7363 for ac_exec_ext in '' $ac_executable_extensions; do
7364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7365 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7375 OTOOL=$ac_cv_prog_OTOOL
7376 if test -n "$OTOOL"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7378 $as_echo "$OTOOL" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7381 $as_echo "no
" >&6; }
7386 if test -z "$ac_cv_prog_OTOOL"; then
7388 # Extract the first word of "otool
", so it can be a program name with args.
7389 set dummy otool; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7391 $as_echo_n "checking
for $ac_word...
" >&6; }
7392 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7393 $as_echo_n "(cached
) " >&6
7395 if test -n "$ac_ct_OTOOL"; then
7396 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402 test -z "$as_dir" && as_dir=.
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_ac_ct_OTOOL="otool
"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7415 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7416 if test -n "$ac_ct_OTOOL"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7418 $as_echo "$ac_ct_OTOOL" >&6; }
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7421 $as_echo "no
" >&6; }
7424 if test "x
$ac_ct_OTOOL" = x; then
7427 case $cross_compiling:$ac_tool_warned in
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7430 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7431 ac_tool_warned=yes ;;
7436 OTOOL="$ac_cv_prog_OTOOL"
7439 if test -n "$ac_tool_prefix"; then
7440 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7441 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7443 $as_echo_n "checking
for $ac_word...
" >&6; }
7444 if ${ac_cv_prog_OTOOL64+:} false; then :
7445 $as_echo_n "(cached
) " >&6
7447 if test -n "$OTOOL64"; then
7448 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7467 OTOOL64=$ac_cv_prog_OTOOL64
7468 if test -n "$OTOOL64"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7470 $as_echo "$OTOOL64" >&6; }
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7473 $as_echo "no
" >&6; }
7478 if test -z "$ac_cv_prog_OTOOL64"; then
7479 ac_ct_OTOOL64=$OTOOL64
7480 # Extract the first word of "otool64
", so it can be a program name with args.
7481 set dummy otool64; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7483 $as_echo_n "checking
for $ac_word...
" >&6; }
7484 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7485 $as_echo_n "(cached
) " >&6
7487 if test -n "$ac_ct_OTOOL64"; then
7488 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7507 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7508 if test -n "$ac_ct_OTOOL64"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7510 $as_echo "$ac_ct_OTOOL64" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7513 $as_echo "no
" >&6; }
7516 if test "x
$ac_ct_OTOOL64" = x; then
7519 case $cross_compiling:$ac_tool_warned in
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7522 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7523 ac_tool_warned=yes ;;
7525 OTOOL64=$ac_ct_OTOOL64
7528 OTOOL64="$ac_cv_prog_OTOOL64"
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7558 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7559 if ${lt_cv_apple_cc_single_mod+:} false; then :
7560 $as_echo_n "(cached
) " >&6
7562 lt_cv_apple_cc_single_mod=no
7563 if test -z "${LT_MULTI_MODULE}"; then
7564 # By default we will add the -single_module flag. You can override
7565 # by either setting the environment variable LT_MULTI_MODULE
7566 # non-empty at configure time, or by adding -multi_module to the
7568 rm -rf libconftest.dylib*
7569 echo "int foo
(void
){return 1;}" > conftest.c
7570 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7571 -dynamiclib -Wl,-single_module conftest.c
" >&5
7572 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7573 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7575 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7576 lt_cv_apple_cc_single_mod=yes
7578 cat conftest.err >&5
7580 rm -rf libconftest.dylib*
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7585 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7587 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7588 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7589 $as_echo_n "(cached
) " >&6
7591 lt_cv_ld_exported_symbols_list=no
7592 save_LDFLAGS=$LDFLAGS
7593 echo "_main
" > conftest.sym
7594 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h. */
7606 if ac_fn_c_try_link "$LINENO"; then :
7607 lt_cv_ld_exported_symbols_list=yes
7609 lt_cv_ld_exported_symbols_list=no
7611 rm -f core conftest.err conftest.$ac_objext \
7612 conftest$ac_exeext conftest.$ac_ext
7613 LDFLAGS="$save_LDFLAGS"
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7617 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7619 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7620 if ${lt_cv_ld_force_load+:} false; then :
7621 $as_echo_n "(cached
) " >&6
7623 lt_cv_ld_force_load=no
7624 cat > conftest.c << _LT_EOF
7625 int forced_loaded() { return 2;}
7627 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7628 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7629 echo "$AR cru libconftest.a conftest.o
" >&5
7630 $AR cru libconftest.a conftest.o 2>&5
7631 cat > conftest.c << _LT_EOF
7632 int main() { return 0;}
7634 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7635 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7637 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7638 lt_cv_ld_force_load=yes
7640 cat conftest.err >&5
7642 rm -f conftest.err libconftest.a conftest conftest.c
7643 rm -rf conftest.dSYM
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7647 $as_echo "$lt_cv_ld_force_load" >&6; }
7649 rhapsody* | darwin1.[012])
7650 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7652 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7653 darwin*) # darwin 5.x on
7654 # if running on 10.5 or later, the deployment target defaults
7655 # to the OS version, if on x86, and 10.4, the deployment
7656 # target defaults to 10.4. Don't you love it?
7657 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7658 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7659 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7661 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7663 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7667 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7668 _lt_dar_single_mod='$single_module'
7670 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7671 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7673 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7675 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7676 _lt_dsymutil='~$DSYMUTIL $lib || :'
7683 for ac_header in dlfcn.h
7685 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7687 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7688 cat >>confdefs.h <<_ACEOF
7689 #define HAVE_DLFCN_H 1
7698 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7699 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
7701 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
7702 if eval \${$as_ac_Header+:} false; then :
7703 $as_echo_n "(cached
) " >&6
7705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7707 #include <sys/types.h>
7719 if ac_fn_c_try_compile "$LINENO"; then :
7720 eval "$as_ac_Header=yes"
7722 eval "$as_ac_Header=no
"
7724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7726 eval ac_res=\$$as_ac_Header
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7728 $as_echo "$ac_res" >&6; }
7729 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7730 cat >>confdefs.h <<_ACEOF
7731 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
7734 ac_header_dirent=$ac_hdr; break
7738 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7739 if test $ac_header_dirent = dirent.h; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7741 $as_echo_n "checking
for library containing opendir...
" >&6; }
7742 if ${ac_cv_search_opendir+:} false; then :
7743 $as_echo_n "(cached
) " >&6
7745 ac_func_search_save_LIBS=$LIBS
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7749 /* Override any GCC internal prototype to avoid an error.
7750 Use char because int might match the return type of a GCC
7751 builtin and then its argument prototype would still apply. */
7764 for ac_lib in '' dir; do
7765 if test -z "$ac_lib"; then
7766 ac_res="none required
"
7769 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7771 if ac_fn_c_try_link "$LINENO"; then :
7772 ac_cv_search_opendir=$ac_res
7774 rm -f core conftest.err conftest.$ac_objext \
7776 if ${ac_cv_search_opendir+:} false; then :
7780 if ${ac_cv_search_opendir+:} false; then :
7783 ac_cv_search_opendir=no
7786 LIBS=$ac_func_search_save_LIBS
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7789 $as_echo "$ac_cv_search_opendir" >&6; }
7790 ac_res=$ac_cv_search_opendir
7791 if test "$ac_res" != no; then :
7792 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7798 $as_echo_n "checking
for library containing opendir...
" >&6; }
7799 if ${ac_cv_search_opendir+:} false; then :
7800 $as_echo_n "(cached
) " >&6
7802 ac_func_search_save_LIBS=$LIBS
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7806 /* Override any GCC internal prototype to avoid an error.
7807 Use char because int might match the return type of a GCC
7808 builtin and then its argument prototype would still apply. */
7821 for ac_lib in '' x; do
7822 if test -z "$ac_lib"; then
7823 ac_res="none required
"
7826 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7828 if ac_fn_c_try_link "$LINENO"; then :
7829 ac_cv_search_opendir=$ac_res
7831 rm -f core conftest.err conftest.$ac_objext \
7833 if ${ac_cv_search_opendir+:} false; then :
7837 if ${ac_cv_search_opendir+:} false; then :
7840 ac_cv_search_opendir=no
7843 LIBS=$ac_func_search_save_LIBS
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7846 $as_echo "$ac_cv_search_opendir" >&6; }
7847 ac_res=$ac_cv_search_opendir
7848 if test "$ac_res" != no; then :
7849 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7858 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
7859 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
7861 cat >>confdefs.h <<_ACEOF
7862 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7866 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7871 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7872 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7874 cat >>confdefs.h
<<_ACEOF
7875 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7879 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7882 case " $LIBOBJS " in
7883 *" fileblocks.$ac_objext "* ) ;;
7884 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7891 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7892 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7894 cat >>confdefs.h
<<_ACEOF
7895 #define HAVE_STRUCT_STAT_ST_RDEV 1
7899 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7904 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7905 #include <$ac_cv_struct_tm>
7908 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7910 cat >>confdefs.h
<<_ACEOF
7911 #define HAVE_STRUCT_TM_TM_ZONE 1
7917 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7919 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7922 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7924 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7930 cat >>confdefs.h
<<_ACEOF
7931 #define HAVE_DECL_TZNAME $ac_have_decl
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7935 $as_echo_n "checking for tzname... " >&6; }
7936 if ${ac_cv_var_tzname+:} false
; then :
7937 $as_echo_n "(cached) " >&6
7939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7942 #if !HAVE_DECL_TZNAME
7943 extern char *tzname[];
7949 return tzname[0][0];
7954 if ac_fn_c_try_link
"$LINENO"; then :
7955 ac_cv_var_tzname
=yes
7959 rm -f core conftest.err conftest.
$ac_objext \
7960 conftest
$ac_exeext conftest.
$ac_ext
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7963 $as_echo "$ac_cv_var_tzname" >&6; }
7964 if test $ac_cv_var_tzname = yes; then
7966 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7972 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
7973 #include <sys/types.h>
7975 #ifdef HAVE_SYS_STAT_H
7976 #include <sys/stat.h>
7979 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
7981 cat >>confdefs.h
<<_ACEOF
7982 #define HAVE_STRUCT_STAT_ST_DEV 1
7987 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
7988 #include <sys/types.h>
7990 #ifdef HAVE_SYS_STAT_H
7991 #include <sys/stat.h>
7994 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
7996 cat >>confdefs.h
<<_ACEOF
7997 #define HAVE_STRUCT_STAT_ST_INO 1
8002 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
8003 #include <sys/types.h>
8005 #ifdef HAVE_SYS_STAT_H
8006 #include <sys/stat.h>
8009 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
8011 cat >>confdefs.h
<<_ACEOF
8012 #define HAVE_STRUCT_STAT_ST_MODE 1
8017 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
8018 #include <sys/types.h>
8020 #ifdef HAVE_SYS_STAT_H
8021 #include <sys/stat.h>
8024 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
8026 cat >>confdefs.h
<<_ACEOF
8027 #define HAVE_STRUCT_STAT_ST_NLINK 1
8032 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
8033 #include <sys/types.h>
8035 #ifdef HAVE_SYS_STAT_H
8036 #include <sys/stat.h>
8039 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
8041 cat >>confdefs.h
<<_ACEOF
8042 #define HAVE_STRUCT_STAT_ST_UID 1
8047 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
8048 #include <sys/types.h>
8050 #ifdef HAVE_SYS_STAT_H
8051 #include <sys/stat.h>
8054 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
8056 cat >>confdefs.h
<<_ACEOF
8057 #define HAVE_STRUCT_STAT_ST_GID 1
8062 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
8063 #include <sys/types.h>
8065 #ifdef HAVE_SYS_STAT_H
8066 #include <sys/stat.h>
8069 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8071 cat >>confdefs.h
<<_ACEOF
8072 #define HAVE_STRUCT_STAT_ST_RDEV 1
8077 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
8078 #include <sys/types.h>
8080 #ifdef HAVE_SYS_STAT_H
8081 #include <sys/stat.h>
8084 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
8086 cat >>confdefs.h
<<_ACEOF
8087 #define HAVE_STRUCT_STAT_ST_SIZE 1
8092 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
8093 #include <sys/types.h>
8095 #ifdef HAVE_SYS_STAT_H
8096 #include <sys/stat.h>
8099 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8101 cat >>confdefs.h
<<_ACEOF
8102 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8107 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8108 #include <sys/types.h>
8110 #ifdef HAVE_SYS_STAT_H
8111 #include <sys/stat.h>
8114 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8116 cat >>confdefs.h
<<_ACEOF
8117 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8122 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8123 #include <sys/types.h>
8125 #ifdef HAVE_SYS_STAT_H
8126 #include <sys/stat.h>
8129 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8131 cat >>confdefs.h
<<_ACEOF
8132 #define HAVE_STRUCT_STAT_ST_ATIME 1
8137 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8138 #include <sys/types.h>
8140 #ifdef HAVE_SYS_STAT_H
8141 #include <sys/stat.h>
8144 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8146 cat >>confdefs.h
<<_ACEOF
8147 #define HAVE_STRUCT_STAT_ST_MTIME 1
8152 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8153 #include <sys/types.h>
8155 #ifdef HAVE_SYS_STAT_H
8156 #include <sys/stat.h>
8159 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8161 cat >>confdefs.h
<<_ACEOF
8162 #define HAVE_STRUCT_STAT_ST_CTIME 1
8169 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8170 if test "x$ac_cv_type___int128" = xyes
; then :
8172 cat >>confdefs.h
<<_ACEOF
8173 #define HAVE___INT128 1
8179 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8180 #include <sys/socket.h>
8183 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8185 cat >>confdefs.h
<<_ACEOF
8186 #define HAVE_SOCKLEN_T 1
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8194 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8195 if ${ac_cv_type_getgroups+:} false
; then :
8196 $as_echo_n "(cached) " >&6
8198 if test "$cross_compiling" = yes; then :
8199 ac_cv_type_getgroups
=cross
8201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8203 /* Thanks to Mike Rendell for this test. */
8204 $ac_includes_default
8207 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8214 union { gid_t gval; long int lval; } val;
8217 for (i = 0; i < NGID; i++)
8218 gidset[i] = val.gval;
8219 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8221 /* Exit non-zero if getgroups seems to require an array of ints. This
8222 happens when gid_t is short int but getgroups modifies an array
8224 return n > 0 && gidset[n] != val.gval;
8227 if ac_fn_c_try_run
"$LINENO"; then :
8228 ac_cv_type_getgroups
=gid_t
8230 ac_cv_type_getgroups
=int
8232 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8233 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8236 if test $ac_cv_type_getgroups = cross
; then
8237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8238 /* end confdefs.h. */
8242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8243 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8244 ac_cv_type_getgroups
=gid_t
8246 ac_cv_type_getgroups
=int
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8253 $as_echo "$ac_cv_type_getgroups" >&6; }
8255 cat >>confdefs.h
<<_ACEOF
8256 #define GETGROUPS_T $ac_cv_type_getgroups
8260 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8261 if test "x$ac_cv_type_mode_t" = xyes
; then :
8265 cat >>confdefs.h
<<_ACEOF
8271 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8272 if test "x$ac_cv_type_off_t" = xyes
; then :
8276 cat >>confdefs.h
<<_ACEOF
8277 #define off_t long int
8282 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8283 if test "x$ac_cv_type_pid_t" = xyes
; then :
8287 cat >>confdefs.h
<<_ACEOF
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8294 $as_echo_n "checking return type of signal handlers... " >&6; }
8295 if ${ac_cv_type_signal+:} false
; then :
8296 $as_echo_n "(cached) " >&6
8298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 #include <sys/types.h>
8306 return *(signal (0, 0)) (0) == 1;
8311 if ac_fn_c_try_compile
"$LINENO"; then :
8312 ac_cv_type_signal
=int
8314 ac_cv_type_signal
=void
8316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8319 $as_echo "$ac_cv_type_signal" >&6; }
8321 cat >>confdefs.h
<<_ACEOF
8322 #define RETSIGTYPE $ac_cv_type_signal
8326 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8327 if test "x$ac_cv_type_size_t" = xyes
; then :
8331 cat >>confdefs.h
<<_ACEOF
8332 #define size_t unsigned int
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8338 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8339 if ${ac_cv_type_uid_t+:} false
; then :
8340 $as_echo_n "(cached) " >&6
8342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 #include <sys/types.h>
8347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8348 $EGREP "uid_t" >/dev
/null
2>&1; then :
8349 ac_cv_type_uid_t
=yes
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8357 $as_echo "$ac_cv_type_uid_t" >&6; }
8358 if test $ac_cv_type_uid_t = no
; then
8360 $as_echo "#define uid_t int" >>confdefs.h
8363 $as_echo "#define gid_t int" >>confdefs.h
8369 # If we haven't got the data from the intl directory,
8370 # assume NLS is disabled.
8379 if test -f ..
/intl
/config.intl
; then
8380 . ..
/intl
/config.intl
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8383 $as_echo_n "checking whether NLS is requested... " >&6; }
8384 if test x
"$USE_NLS" != xyes
; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8386 $as_echo "no" >&6; }
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8389 $as_echo "yes" >&6; }
8391 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8395 $as_echo_n "checking for catalogs to be installed... " >&6; }
8396 # Look for .po and .gmo files in the source directory.
8399 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8400 # If there aren't any .gmo files the shell will give us the
8401 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8403 case "$cat" in *\
**)
8406 # The quadruple backslash is collapsed to a double backslash
8407 # by the backticks, then collapsed again by the double quotes,
8408 # leaving us with one backslash in the sed expression (right
8409 # before the dot that mustn't act as a wildcard).
8410 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8411 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8412 # The user is allowed to set LINGUAS to a list of languages to
8413 # install catalogs for. If it's empty that means "all of them."
8414 if test "x$LINGUAS" = x
; then
8415 CATALOGS
="$CATALOGS $cat"
8416 XLINGUAS
="$XLINGUAS $lang"
8418 case "$LINGUAS" in *$lang*)
8419 CATALOGS
="$CATALOGS $cat"
8420 XLINGUAS
="$XLINGUAS $lang"
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8427 $as_echo "$LINGUAS" >&6; }
8441 # Use the system's zlib library.
8442 zlibdir
="-L\$(top_builddir)/../zlib"
8443 zlibinc
="-I\$(top_srcdir)/../zlib"
8445 # Check whether --with-system-zlib was given.
8446 if test "${with_system_zlib+set}" = set; then :
8447 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
8460 for ac_header
in dlfcn.h
8462 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8464 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8465 cat >>confdefs.h
<<_ACEOF
8466 #define HAVE_DLFCN_H 1
8473 for ac_header
in windows.h
8475 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
8477 if test "x$ac_cv_header_windows_h" = xyes
; then :
8478 cat >>confdefs.h
<<_ACEOF
8479 #define HAVE_WINDOWS_H 1
8487 # Check whether --enable-plugins was given.
8488 if test "${enable_plugins+set}" = set; then :
8489 enableval
=$enable_plugins; case "${enableval}" in
8492 if test "$maybe_plugins" != "yes" ; then
8493 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
8497 plugins
=$maybe_plugins
8501 if test "$plugins" = "yes"; then
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
8503 $as_echo_n "checking for library containing dlsym... " >&6; }
8504 if ${ac_cv_search_dlsym+:} false
; then :
8505 $as_echo_n "(cached) " >&6
8507 ac_func_search_save_LIBS
=$LIBS
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8511 /* Override any GCC internal prototype to avoid an error.
8512 Use char because int might match the return type of a GCC
8513 builtin and then its argument prototype would still apply. */
8526 for ac_lib
in '' dl
; do
8527 if test -z "$ac_lib"; then
8528 ac_res
="none required"
8531 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8533 if ac_fn_c_try_link
"$LINENO"; then :
8534 ac_cv_search_dlsym
=$ac_res
8536 rm -f core conftest.err conftest.
$ac_objext \
8538 if ${ac_cv_search_dlsym+:} false
; then :
8542 if ${ac_cv_search_dlsym+:} false
; then :
8545 ac_cv_search_dlsym
=no
8548 LIBS
=$ac_func_search_save_LIBS
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
8551 $as_echo "$ac_cv_search_dlsym" >&6; }
8552 ac_res
=$ac_cv_search_dlsym
8553 if test "$ac_res" != no
; then :
8554 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8560 if test "$plugins" = yes; then
8581 # Check whether --enable-shared was given.
8582 if test "${enable_shared+set}" = set; then :
8583 enableval
=$enable_shared; p
=${PACKAGE-default}
8585 yes) enable_shared
=yes ;;
8586 no
) enable_shared
=no
;;
8589 # Look at the argument we got. We use all the common list separators.
8590 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8591 for pkg
in $enableval; do
8593 if test "X$pkg" = "X$p"; then
8612 # Check whether --enable-static was given.
8613 if test "${enable_static+set}" = set; then :
8614 enableval
=$enable_static; p
=${PACKAGE-default}
8616 yes) enable_static
=yes ;;
8617 no
) enable_static
=no
;;
8620 # Look at the argument we got. We use all the common list separators.
8621 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8622 for pkg
in $enableval; do
8624 if test "X$pkg" = "X$p"; then
8644 # Check whether --with-pic was given.
8645 if test "${with_pic+set}" = set; then :
8646 withval
=$with_pic; pic_mode
="$withval"
8652 test -z "$pic_mode" && pic_mode
=default
8660 # Check whether --enable-fast-install was given.
8661 if test "${enable_fast_install+set}" = set; then :
8662 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8664 yes) enable_fast_install
=yes ;;
8665 no
) enable_fast_install
=no
;;
8667 enable_fast_install
=no
8668 # Look at the argument we got. We use all the common list separators.
8669 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8670 for pkg
in $enableval; do
8672 if test "X$pkg" = "X$p"; then
8673 enable_fast_install
=yes
8680 enable_fast_install
=yes
8693 # This can be used to rebuild libtool when needed
8694 LIBTOOL_DEPS
="$ltmain"
8696 # Always use our own libtool.
8697 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8724 test -z "$LN_S" && LN_S
="ln -s"
8739 if test -n "${ZSH_VERSION+set}" ; then
8740 setopt NO_GLOB_SUBST
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8744 $as_echo_n "checking for objdir... " >&6; }
8745 if ${lt_cv_objdir+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 rm -f .libs
2>/dev
/null
8749 mkdir .libs
2>/dev
/null
8750 if test -d .libs
; then
8753 # MS-DOS does not allow filenames that begin with a dot.
8756 rmdir .libs
2>/dev
/null
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8759 $as_echo "$lt_cv_objdir" >&6; }
8760 objdir
=$lt_cv_objdir
8766 cat >>confdefs.h
<<_ACEOF
8767 #define LT_OBJDIR "$lt_cv_objdir/"
8775 # AIX sometimes has problems with the GCC collect2 program. For some
8776 # reason, if we set the COLLECT_NAMES environment variable, the problems
8777 # vanish in a puff of smoke.
8778 if test "X${COLLECT_NAMES+set}" != Xset
; then
8780 export COLLECT_NAMES
8787 can_build_shared
=yes
8789 # All known linkers require a `.a' archive for static linking (except MSVC,
8790 # which needs '.lib').
8793 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8796 old_CFLAGS
="$CFLAGS"
8798 # Set sane defaults for various variables
8799 test -z "$CC" && CC
=cc
8800 test -z "$LTCC" && LTCC
=$CC
8801 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8802 test -z "$LD" && LD
=ld
8803 test -z "$ac_objext" && ac_objext
=o
8805 for cc_temp
in $compiler""; do
8807 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8808 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8813 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8816 # Only perform the check for file, if the check method requires it
8817 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8818 case $deplibs_check_method in
8820 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8822 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8823 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8824 $as_echo_n "(cached) " >&6
8828 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8831 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8832 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8833 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8834 for ac_dir
in $ac_dummy; do
8836 test -z "$ac_dir" && ac_dir
=.
8837 if test -f $ac_dir/${ac_tool_prefix}file; then
8838 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8839 if test -n "$file_magic_test_file"; then
8840 case $deplibs_check_method in
8842 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8843 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8844 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8845 $EGREP "$file_magic_regex" > /dev
/null
; then
8850 *** Warning: the command libtool uses to detect shared libraries,
8851 *** $file_magic_cmd, produces output that libtool cannot recognize.
8852 *** The result is that libtool may fail to recognize shared libraries
8853 *** as such. This will affect the creation of libtool libraries that
8854 *** depend on shared libraries, but programs linked with such libtool
8855 *** libraries will work regardless of this problem. Nevertheless, you
8856 *** may want to report the problem to your system manager and/or to
8857 *** bug-libtool@gnu.org
8867 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8872 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8873 if test -n "$MAGIC_CMD"; then
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8875 $as_echo "$MAGIC_CMD" >&6; }
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8885 if test -z "$lt_cv_path_MAGIC_CMD"; then
8886 if test -n "$ac_tool_prefix"; then
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8888 $as_echo_n "checking for file... " >&6; }
8889 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8890 $as_echo_n "(cached) " >&6
8894 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8897 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8898 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8899 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8900 for ac_dir
in $ac_dummy; do
8902 test -z "$ac_dir" && ac_dir
=.
8903 if test -f $ac_dir/file; then
8904 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8905 if test -n "$file_magic_test_file"; then
8906 case $deplibs_check_method in
8908 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8909 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8910 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8911 $EGREP "$file_magic_regex" > /dev
/null
; then
8916 *** Warning: the command libtool uses to detect shared libraries,
8917 *** $file_magic_cmd, produces output that libtool cannot recognize.
8918 *** The result is that libtool may fail to recognize shared libraries
8919 *** as such. This will affect the creation of libtool libraries that
8920 *** depend on shared libraries, but programs linked with such libtool
8921 *** libraries will work regardless of this problem. Nevertheless, you
8922 *** may want to report the problem to your system manager and/or to
8923 *** bug-libtool@gnu.org
8933 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8938 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8939 if test -n "$MAGIC_CMD"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8941 $as_echo "$MAGIC_CMD" >&6; }
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944 $as_echo "no" >&6; }
8957 # Use C for the default configuration in the libtool script
8961 ac_cpp
='$CPP $CPPFLAGS'
8962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8967 # Source file extension for C test sources.
8970 # Object file extension for compiled C test sources.
8974 # Code to be used in simple compile tests
8975 lt_simple_compile_test_code
="int some_variable = 0;"
8977 # Code to be used in simple link tests
8978 lt_simple_link_test_code
='int main(){return(0);}'
8986 # If no C compiler was specified, use CC.
8989 # If no C compiler flags were specified, use CFLAGS.
8990 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8992 # Allow CC to be a program name with arguments.
8995 # Save the default compiler, since it gets overwritten when the other
8996 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8997 compiler_DEFAULT
=$CC
8999 # save warnings/boilerplate of simple test code
9000 ac_outfile
=conftest.
$ac_objext
9001 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9002 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9003 _lt_compiler_boilerplate
=`cat conftest.err`
9006 ac_outfile
=conftest.
$ac_objext
9007 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9008 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9009 _lt_linker_boilerplate
=`cat conftest.err`
9014 ## There is no encapsulation within the following macros, do not change
9015 ## the running order or otherwise move them around unless you know exactly
9016 ## what you are doing...
9017 if test -n "$compiler"; then
9019 lt_prog_compiler_no_builtin_flag
=
9021 if test "$GCC" = yes; then
9022 case $cc_basename in
9024 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9026 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9030 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9031 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9032 $as_echo_n "(cached) " >&6
9034 lt_cv_prog_compiler_rtti_exceptions
=no
9035 ac_outfile
=conftest.
$ac_objext
9036 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9037 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9038 # Insert the option either (1) after the last *FLAGS variable, or
9039 # (2) before a word containing "conftest.", or (3) at the end.
9040 # Note that $ac_compile itself does not contain backslashes and begins
9041 # with a dollar sign (not a hyphen), so the echo should work correctly.
9042 # The option is referenced via a variable to avoid confusing sed.
9043 lt_compile
=`echo "$ac_compile" | $SED \
9044 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9045 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9046 -e 's:$: $lt_compiler_flag:'`
9047 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9048 (eval "$lt_compile" 2>conftest.err
)
9050 cat conftest.err
>&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 if (exit $ac_status) && test -s "$ac_outfile"; then
9053 # The compiler can only warn and ignore the option if not recognized
9054 # So say no if there are warnings other than the usual output.
9055 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9056 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9057 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9058 lt_cv_prog_compiler_rtti_exceptions
=yes
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9065 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9067 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9068 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9080 lt_prog_compiler_wl
=
9081 lt_prog_compiler_pic
=
9082 lt_prog_compiler_static
=
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9085 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9087 if test "$GCC" = yes; then
9088 lt_prog_compiler_wl
='-Wl,'
9089 lt_prog_compiler_static
='-static'
9093 # All AIX code is PIC.
9094 if test "$host_cpu" = ia64
; then
9095 # AIX 5 now supports IA64 processor
9096 lt_prog_compiler_static
='-Bstatic'
9098 lt_prog_compiler_pic
='-fPIC'
9104 # see comment about AmigaOS4 .so support
9105 lt_prog_compiler_pic
='-fPIC'
9108 # FIXME: we need at least 68020 code to build shared libraries, but
9109 # adding the `-m68020' flag to GCC prevents building anything better,
9111 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9116 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9117 # PIC is the default for these OSes.
9120 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9121 # This hack is so that the source file can tell whether it is being
9122 # built for inclusion in a dll (and should export symbols for example).
9123 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9124 # (--disable-auto-import) libraries
9125 lt_prog_compiler_pic
='-DDLL_EXPORT'
9128 darwin
* | rhapsody
*)
9129 # PIC is the default on this platform
9130 # Common symbols not allowed in MH_DYLIB files
9131 lt_prog_compiler_pic
='-fno-common'
9135 # PIC is the default for Haiku.
9136 # The "-static" flag exists, but is broken.
9137 lt_prog_compiler_static
=
9141 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9142 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9143 # sets the default TLS model and affects inlining.
9149 lt_prog_compiler_pic
='-fPIC'
9155 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9156 # Instead, we relocate shared libraries at runtime.
9160 # Just because we use GCC doesn't mean we suddenly get shared libraries
9161 # on systems that don't support them.
9162 lt_prog_compiler_can_build_shared
=no
9167 # QNX uses GNU C++, but need to define -shared option too, otherwise
9169 lt_prog_compiler_pic
='-fPIC -shared'
9173 if test -d /usr
/nec
; then
9174 lt_prog_compiler_pic
=-Kconform_pic
9179 lt_prog_compiler_pic
='-fPIC'
9183 case $cc_basename in
9184 nvcc
*) # Cuda Compiler Driver 2.2
9185 lt_prog_compiler_wl
='-Xlinker '
9186 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9190 # PORTME Check for flag to pass linker flags through the system compiler.
9193 lt_prog_compiler_wl
='-Wl,'
9194 if test "$host_cpu" = ia64
; then
9195 # AIX 5 now supports IA64 processor
9196 lt_prog_compiler_static
='-Bstatic'
9198 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9202 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9203 # This hack is so that the source file can tell whether it is being
9204 # built for inclusion in a dll (and should export symbols for example).
9205 lt_prog_compiler_pic
='-DDLL_EXPORT'
9208 hpux9
* | hpux10
* | hpux11
*)
9209 lt_prog_compiler_wl
='-Wl,'
9210 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9217 lt_prog_compiler_pic
='+Z'
9220 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9221 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9224 irix5
* | irix6
* | nonstopux
*)
9225 lt_prog_compiler_wl
='-Wl,'
9226 # PIC (with -KPIC) is the default.
9227 lt_prog_compiler_static
='-non_shared'
9230 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9231 case $cc_basename in
9232 # old Intel for x86_64 which still supported -KPIC.
9234 lt_prog_compiler_wl
='-Wl,'
9235 lt_prog_compiler_pic
='-KPIC'
9236 lt_prog_compiler_static
='-static'
9238 # icc used to be incompatible with GCC.
9239 # ICC 10 doesn't accept -KPIC any more.
9241 lt_prog_compiler_wl
='-Wl,'
9242 lt_prog_compiler_pic
='-fPIC'
9243 lt_prog_compiler_static
='-static'
9245 # Lahey Fortran 8.1.
9247 lt_prog_compiler_wl
='-Wl,'
9248 lt_prog_compiler_pic
='--shared'
9249 lt_prog_compiler_static
='--static'
9251 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9252 # Portland Group compilers (*not* the Pentium gcc compiler,
9253 # which looks to be a dead project)
9254 lt_prog_compiler_wl
='-Wl,'
9255 lt_prog_compiler_pic
='-fpic'
9256 lt_prog_compiler_static
='-Bstatic'
9259 lt_prog_compiler_wl
='-Wl,'
9260 # All Alpha code is PIC.
9261 lt_prog_compiler_static
='-non_shared'
9263 xl
* | bgxl
* | bgf
* | mpixl
*)
9264 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9265 lt_prog_compiler_wl
='-Wl,'
9266 lt_prog_compiler_pic
='-qpic'
9267 lt_prog_compiler_static
='-qstaticlink'
9270 case `$CC -V 2>&1 | sed 5q` in
9271 *Sun\ F
* |
*Sun
*Fortran
*)
9272 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9273 lt_prog_compiler_pic
='-KPIC'
9274 lt_prog_compiler_static
='-Bstatic'
9275 lt_prog_compiler_wl
=''
9279 lt_prog_compiler_pic
='-KPIC'
9280 lt_prog_compiler_static
='-Bstatic'
9281 lt_prog_compiler_wl
='-Wl,'
9289 lt_prog_compiler_pic
='-KPIC'
9290 lt_prog_compiler_static
='-Bstatic'
9294 # QNX uses GNU C++, but need to define -shared option too, otherwise
9296 lt_prog_compiler_pic
='-fPIC -shared'
9299 osf3
* | osf4
* | osf5
*)
9300 lt_prog_compiler_wl
='-Wl,'
9301 # All OSF/1 code is PIC.
9302 lt_prog_compiler_static
='-non_shared'
9306 lt_prog_compiler_static
='-non_shared'
9310 lt_prog_compiler_pic
='-KPIC'
9311 lt_prog_compiler_static
='-Bstatic'
9312 case $cc_basename in
9314 lt_prog_compiler_wl
='-Qoption ld ';;
9316 lt_prog_compiler_wl
='-Wl,';;
9321 lt_prog_compiler_wl
='-Qoption ld '
9322 lt_prog_compiler_pic
='-PIC'
9323 lt_prog_compiler_static
='-Bstatic'
9326 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9327 lt_prog_compiler_wl
='-Wl,'
9328 lt_prog_compiler_pic
='-KPIC'
9329 lt_prog_compiler_static
='-Bstatic'
9333 if test -d /usr
/nec
;then
9334 lt_prog_compiler_pic
='-Kconform_pic'
9335 lt_prog_compiler_static
='-Bstatic'
9339 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9340 lt_prog_compiler_wl
='-Wl,'
9341 lt_prog_compiler_pic
='-KPIC'
9342 lt_prog_compiler_static
='-Bstatic'
9346 lt_prog_compiler_wl
='-Wl,'
9347 lt_prog_compiler_can_build_shared
=no
9351 lt_prog_compiler_pic
='-pic'
9352 lt_prog_compiler_static
='-Bstatic'
9356 lt_prog_compiler_can_build_shared
=no
9362 # For platforms which do not support PIC, -DPIC is meaningless:
9364 lt_prog_compiler_pic
=
9367 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9371 $as_echo "$lt_prog_compiler_pic" >&6; }
9379 # Check to make sure the PIC flag actually works.
9381 if test -n "$lt_prog_compiler_pic"; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9383 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9384 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9385 $as_echo_n "(cached) " >&6
9387 lt_cv_prog_compiler_pic_works
=no
9388 ac_outfile
=conftest.
$ac_objext
9389 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9390 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9391 # Insert the option either (1) after the last *FLAGS variable, or
9392 # (2) before a word containing "conftest.", or (3) at the end.
9393 # Note that $ac_compile itself does not contain backslashes and begins
9394 # with a dollar sign (not a hyphen), so the echo should work correctly.
9395 # The option is referenced via a variable to avoid confusing sed.
9396 lt_compile
=`echo "$ac_compile" | $SED \
9397 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9398 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9399 -e 's:$: $lt_compiler_flag:'`
9400 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9401 (eval "$lt_compile" 2>conftest.err
)
9403 cat conftest.err
>&5
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 if (exit $ac_status) && test -s "$ac_outfile"; then
9406 # The compiler can only warn and ignore the option if not recognized
9407 # So say no if there are warnings other than the usual output.
9408 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9409 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9410 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9411 lt_cv_prog_compiler_pic_works
=yes
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9418 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9420 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9421 case $lt_prog_compiler_pic in
9423 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9426 lt_prog_compiler_pic
=
9427 lt_prog_compiler_can_build_shared
=no
9438 # Check to make sure the static flag actually works.
9440 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9442 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9443 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9444 $as_echo_n "(cached) " >&6
9446 lt_cv_prog_compiler_static_works
=no
9447 save_LDFLAGS
="$LDFLAGS"
9448 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9449 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9450 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9451 # The linker can only warn and ignore the option if not recognized
9452 # So say no if there are warnings
9453 if test -s conftest.err
; then
9454 # Append any errors to the config.log.
9455 cat conftest.err
1>&5
9456 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9457 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9458 if diff conftest.exp conftest.er2
>/dev
/null
; then
9459 lt_cv_prog_compiler_static_works
=yes
9462 lt_cv_prog_compiler_static_works
=yes
9466 LDFLAGS
="$save_LDFLAGS"
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9470 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9472 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9475 lt_prog_compiler_static
=
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9485 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9486 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9487 $as_echo_n "(cached) " >&6
9489 lt_cv_prog_compiler_c_o
=no
9490 $RM -r conftest
2>/dev
/null
9494 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9496 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9497 # Insert the option either (1) after the last *FLAGS variable, or
9498 # (2) before a word containing "conftest.", or (3) at the end.
9499 # Note that $ac_compile itself does not contain backslashes and begins
9500 # with a dollar sign (not a hyphen), so the echo should work correctly.
9501 lt_compile
=`echo "$ac_compile" | $SED \
9502 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9504 -e 's:$: $lt_compiler_flag:'`
9505 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9506 (eval "$lt_compile" 2>out
/conftest.err
)
9508 cat out
/conftest.err
>&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9512 # The compiler can only warn and ignore the option if not recognized
9513 # So say no if there are warnings
9514 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9515 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9516 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9517 lt_cv_prog_compiler_c_o
=yes
9522 # SGI C++ compiler will create directory out/ii_files/ for
9523 # template instantiation
9524 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9525 $RM out
/* && rmdir out
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9532 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9540 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9541 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9542 $as_echo_n "(cached) " >&6
9544 lt_cv_prog_compiler_c_o
=no
9545 $RM -r conftest
2>/dev
/null
9549 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9551 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9552 # Insert the option either (1) after the last *FLAGS variable, or
9553 # (2) before a word containing "conftest.", or (3) at the end.
9554 # Note that $ac_compile itself does not contain backslashes and begins
9555 # with a dollar sign (not a hyphen), so the echo should work correctly.
9556 lt_compile
=`echo "$ac_compile" | $SED \
9557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9559 -e 's:$: $lt_compiler_flag:'`
9560 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9561 (eval "$lt_compile" 2>out
/conftest.err
)
9563 cat out
/conftest.err
>&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9567 # The compiler can only warn and ignore the option if not recognized
9568 # So say no if there are warnings
9569 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9570 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9571 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9572 lt_cv_prog_compiler_c_o
=yes
9577 # SGI C++ compiler will create directory out/ii_files/ for
9578 # template instantiation
9579 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9580 $RM out
/* && rmdir out
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9587 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9592 hard_links
="nottested"
9593 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9594 # do not overwrite the value of need_locks provided by the user
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9596 $as_echo_n "checking if we can lock with hard links... " >&6; }
9599 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9601 ln conftest.a conftest.b
2>&5 || hard_links
=no
9602 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9604 $as_echo "$hard_links" >&6; }
9605 if test "$hard_links" = no
; then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9607 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9620 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9623 allow_undefined_flag
=
9624 always_export_symbols
=no
9626 archive_expsym_cmds
=
9627 compiler_needs_object
=no
9628 enable_shared_with_static_runtimes
=no
9629 export_dynamic_flag_spec
=
9630 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9631 hardcode_automatic
=no
9633 hardcode_direct_absolute
=no
9634 hardcode_libdir_flag_spec
=
9635 hardcode_libdir_flag_spec_ld
=
9636 hardcode_libdir_separator
=
9638 hardcode_shlibpath_var
=unsupported
9640 link_all_deplibs
=unknown
9643 old_archive_from_new_cmds
=
9644 old_archive_from_expsyms_cmds
=
9645 thread_safe_flag_spec
=
9646 whole_archive_flag_spec
=
9647 # include_expsyms should be a list of space-separated symbols to be *always*
9648 # included in the symbol list
9650 # exclude_expsyms can be an extended regexp of symbols to exclude
9651 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9652 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9653 # as well as any symbol that contains `d'.
9654 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9655 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9656 # platforms (ab)use it in PIC code, but their linkers get confused if
9657 # the symbol is explicitly referenced. Since portable code cannot
9658 # rely on this symbol name, it's probably fine to never include it in
9659 # preloaded symbol tables.
9660 # Exclude shared library initialization/finalization symbols.
9661 extract_expsyms_cmds
=
9664 cygwin
* | mingw
* | pw32
* | cegcc
*)
9665 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9666 # When not using gcc, we currently assume that we are using
9667 # Microsoft Visual C++.
9668 if test "$GCC" != yes; then
9673 # we just hope/assume this is gcc and not c89 (= MSVC++)
9683 # On some targets, GNU ld is compatible enough with the native linker
9684 # that we're better off using the native interface for both.
9685 lt_use_gnu_ld_interface
=no
9686 if test "$with_gnu_ld" = yes; then
9689 # The AIX port of GNU ld has always aspired to compatibility
9690 # with the native linker. However, as the warning in the GNU ld
9691 # block says, versions before 2.19.5* couldn't really create working
9692 # shared libraries, regardless of the interface used.
9693 case `$LD -v 2>&1` in
9694 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9695 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9696 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9698 lt_use_gnu_ld_interface
=yes
9703 lt_use_gnu_ld_interface
=yes
9708 if test "$lt_use_gnu_ld_interface" = yes; then
9709 # If archive_cmds runs LD, not CC, wlarc should be empty
9712 # Set some defaults for GNU ld with shared library support. These
9713 # are reset later if shared libraries are not supported. Putting them
9714 # here allows them to be overridden if necessary.
9715 runpath_var
=LD_RUN_PATH
9716 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9717 export_dynamic_flag_spec
='${wl}--export-dynamic'
9718 # ancient GNU ld didn't support --whole-archive et. al.
9719 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9720 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9722 whole_archive_flag_spec
=
9724 supports_anon_versioning
=no
9725 case `$LD -v 2>&1` in
9726 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9727 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9728 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9729 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9730 *\
2.11.
*) ;; # other 2.11 versions
9731 *) supports_anon_versioning
=yes ;;
9734 # See if GNU ld supports shared libraries.
9737 # On AIX/PPC, the GNU linker is very broken
9738 if test "$host_cpu" != ia64
; then
9742 *** Warning: the GNU linker, at least up to release 2.19, is reported
9743 *** to be unable to reliably create shared libraries on AIX.
9744 *** Therefore, libtool is disabling shared libraries support. If you
9745 *** really care for shared libraries, you may want to install binutils
9746 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9747 *** You will then need to restart the configuration process.
9756 # see comment about AmigaOS4 .so support
9757 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9758 archive_expsym_cmds
=''
9761 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)'
9762 hardcode_libdir_flag_spec
='-L$libdir'
9763 hardcode_minus_L
=yes
9769 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9770 allow_undefined_flag
=unsupported
9771 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9772 # support --undefined. This deserves some investigation. FIXME
9773 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9779 cygwin
* | mingw
* | pw32
* | cegcc
*)
9780 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9781 # as there is no search path for DLLs.
9782 hardcode_libdir_flag_spec
='-L$libdir'
9783 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9784 allow_undefined_flag
=unsupported
9785 always_export_symbols
=no
9786 enable_shared_with_static_runtimes
=yes
9787 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9789 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9790 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9791 # If the export-symbols file already is a .def file (1st line
9792 # is EXPORTS), use it as is; otherwise, prepend...
9793 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9794 cp $export_symbols $output_objdir/$soname.def;
9796 echo EXPORTS > $output_objdir/$soname.def;
9797 cat $export_symbols >> $output_objdir/$soname.def;
9799 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9806 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9807 link_all_deplibs
=yes
9812 hardcode_shlibpath_var
=no
9813 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9814 export_dynamic_flag_spec
='${wl}-E'
9815 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9816 # Instead, shared libraries are loaded at an image base (0x10000000 by
9817 # default) and relocated if they conflict, which is a slow very memory
9818 # consuming and fragmenting process. To avoid this, we pick a random,
9819 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9820 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9821 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9822 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'
9825 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9827 if test "$host_os" = linux-dietlibc
; then
9828 case $cc_basename in
9829 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9832 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9833 && test "$tmp_diet" = no
9835 tmp_addflag
=' $pic_flag'
9836 tmp_sharedflag
='-shared'
9837 case $cc_basename,$host_cpu in
9838 pgcc
*) # Portland Group C compiler
9839 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'
9840 tmp_addflag
=' $pic_flag'
9842 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9843 # Portland Group f77 and f90 compilers
9844 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'
9845 tmp_addflag
=' $pic_flag -Mnomain' ;;
9846 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9847 tmp_addflag
=' -i_dynamic' ;;
9848 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9849 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9850 ifc
* | ifort
*) # Intel Fortran compiler
9851 tmp_addflag
=' -nofor_main' ;;
9852 lf95
*) # Lahey Fortran 8.1
9853 whole_archive_flag_spec
=
9854 tmp_sharedflag
='--shared' ;;
9855 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9856 tmp_sharedflag
='-qmkshrobj'
9858 nvcc
*) # Cuda Compiler Driver 2.2
9859 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'
9860 compiler_needs_object
=yes
9863 case `$CC -V 2>&1 | sed 5q` in
9864 *Sun\ C
*) # Sun C 5.9
9865 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'
9866 compiler_needs_object
=yes
9867 tmp_sharedflag
='-G' ;;
9868 *Sun\ F
*) # Sun Fortran 8.3
9869 tmp_sharedflag
='-G' ;;
9871 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9873 if test "x$supports_anon_versioning" = xyes
; then
9874 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9875 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9876 echo "local: *; };" >> $output_objdir/$libname.ver~
9877 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9880 case $cc_basename in
9881 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9882 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9883 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9884 hardcode_libdir_flag_spec
=
9885 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9886 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9887 if test "x$supports_anon_versioning" = xyes
; then
9888 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9889 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9890 echo "local: *; };" >> $output_objdir/$libname.ver~
9891 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9901 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9902 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9905 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9906 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9911 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9915 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9916 *** create shared libraries on Solaris systems. Therefore, libtool
9917 *** is disabling shared libraries support. We urge you to upgrade GNU
9918 *** binutils to release 2.9.1 or newer. Another option is to modify
9919 *** your PATH or compiler configuration so that the native linker is
9920 *** used, and then restart.
9923 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9924 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9925 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9931 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9932 case `$LD -v 2>&1` in
9933 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9937 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9938 *** reliably create shared libraries on SCO systems. Therefore, libtool
9939 *** is disabling shared libraries support. We urge you to upgrade GNU
9940 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9941 *** your PATH or compiler configuration so that the native linker is
9942 *** used, and then restart.
9947 # For security reasons, it is highly recommended that you always
9948 # use absolute paths for naming shared libraries, and exclude the
9949 # DT_RUNPATH tag from executables and libraries. But doing so
9950 # requires that you compile everything twice, which is a pain.
9951 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9952 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9953 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9954 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9963 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9966 hardcode_shlibpath_var
=no
9970 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9971 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9972 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9979 if test "$ld_shlibs" = no
; then
9981 hardcode_libdir_flag_spec
=
9982 export_dynamic_flag_spec
=
9983 whole_archive_flag_spec
=
9986 # PORTME fill in a description of your system's linker (not GNU ld)
9989 allow_undefined_flag
=unsupported
9990 always_export_symbols
=yes
9991 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'
9992 # Note: this linker hardcodes the directories in LIBPATH if there
9993 # are no directories specified by -L.
9994 hardcode_minus_L
=yes
9995 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9996 # Neither direct hardcoding nor static linking is supported with a
9998 hardcode_direct
=unsupported
10003 if test "$host_cpu" = ia64
; then
10004 # On IA64, the linker does run time linking by default, so we don't
10005 # have to do anything special.
10006 aix_use_runtimelinking
=no
10007 exp_sym_flag
='-Bexport'
10010 # If we're using GNU nm, then we don't want the "-C" option.
10011 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10012 # Also, AIX nm treats weak defined symbols like other global
10013 # defined symbols, whereas GNU nm marks them as "W".
10014 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10015 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'
10017 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10019 aix_use_runtimelinking
=no
10021 # Test if we are trying to use run time linking or normal
10022 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10023 # need to do runtime linking.
10024 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10025 for ld_flag
in $LDFLAGS; do
10026 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10027 aix_use_runtimelinking
=yes
10034 exp_sym_flag
='-bexport'
10035 no_entry_flag
='-bnoentry'
10038 # When large executables or shared objects are built, AIX ld can
10039 # have problems creating the table of contents. If linking a library
10040 # or program results in "error TOC overflow" add -mminimal-toc to
10041 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10042 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10045 hardcode_direct
=yes
10046 hardcode_direct_absolute
=yes
10047 hardcode_libdir_separator
=':'
10048 link_all_deplibs
=yes
10049 file_list_spec
='${wl}-f,'
10051 if test "$GCC" = yes; then
10052 case $host_os in aix4.
[012]|aix4.
[012].
*)
10053 # We only want to do this on AIX 4.2 and lower, the check
10054 # below for broken collect2 doesn't work under 4.3+
10055 collect2name
=`${CC} -print-prog-name=collect2`
10056 if test -f "$collect2name" &&
10057 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10059 # We have reworked collect2
10062 # We have old collect2
10063 hardcode_direct
=unsupported
10064 # It fails to find uninstalled libraries when the uninstalled
10065 # path is not listed in the libpath. Setting hardcode_minus_L
10066 # to unsupported forces relinking
10067 hardcode_minus_L
=yes
10068 hardcode_libdir_flag_spec
='-L$libdir'
10069 hardcode_libdir_separator
=
10073 shared_flag
='-shared'
10074 if test "$aix_use_runtimelinking" = yes; then
10075 shared_flag
="$shared_flag "'${wl}-G'
10079 if test "$host_cpu" = ia64
; then
10080 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10081 # chokes on -Wl,-G. The following line is correct:
10084 if test "$aix_use_runtimelinking" = yes; then
10085 shared_flag
='${wl}-G'
10087 shared_flag
='${wl}-bM:SRE'
10092 export_dynamic_flag_spec
='${wl}-bexpall'
10093 # It seems that -bexpall does not export symbols beginning with
10094 # underscore (_), so it is better to generate a list of symbols to export.
10095 always_export_symbols
=yes
10096 if test "$aix_use_runtimelinking" = yes; then
10097 # Warning - without using the other runtime loading flags (-brtl),
10098 # -berok will link without error, but may produce a broken library.
10099 allow_undefined_flag
='-berok'
10100 # Determine the default libpath from the value encoded in an
10101 # empty executable.
10102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10113 if ac_fn_c_try_link
"$LINENO"; then :
10115 lt_aix_libpath_sed
='
10116 /Import File Strings/,/^$/ {
10122 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10123 # Check for a 64-bit object if we didn't find anything.
10124 if test -z "$aix_libpath"; then
10125 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10128 rm -f core conftest.err conftest.
$ac_objext \
10129 conftest
$ac_exeext conftest.
$ac_ext
10130 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10132 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10133 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"
10135 if test "$host_cpu" = ia64
; then
10136 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10137 allow_undefined_flag
="-z nodefs"
10138 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"
10140 # Determine the default libpath from the value encoded in an
10141 # empty executable.
10142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10153 if ac_fn_c_try_link
"$LINENO"; then :
10155 lt_aix_libpath_sed
='
10156 /Import File Strings/,/^$/ {
10162 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10163 # Check for a 64-bit object if we didn't find anything.
10164 if test -z "$aix_libpath"; then
10165 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10168 rm -f core conftest.err conftest.
$ac_objext \
10169 conftest
$ac_exeext conftest.
$ac_ext
10170 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10172 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10173 # Warning - without using the other run time loading flags,
10174 # -berok will link without error, but may produce a broken library.
10175 no_undefined_flag
=' ${wl}-bernotok'
10176 allow_undefined_flag
=' ${wl}-berok'
10177 if test "$with_gnu_ld" = yes; then
10178 # We only use this code for GNU lds that support --whole-archive.
10179 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10181 # Exported symbols can be pulled into shared objects from archives
10182 whole_archive_flag_spec
='$convenience'
10184 archive_cmds_need_lc
=yes
10185 # This is similar to how AIX traditionally builds its shared libraries.
10186 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'
10194 # see comment about AmigaOS4 .so support
10195 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10196 archive_expsym_cmds
=''
10199 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)'
10200 hardcode_libdir_flag_spec
='-L$libdir'
10201 hardcode_minus_L
=yes
10207 export_dynamic_flag_spec
=-rdynamic
10210 cygwin
* | mingw
* | pw32
* | cegcc
*)
10211 # When not using gcc, we currently assume that we are using
10212 # Microsoft Visual C++.
10213 # hardcode_libdir_flag_spec is actually meaningless, as there is
10214 # no search path for DLLs.
10215 hardcode_libdir_flag_spec
=' '
10216 allow_undefined_flag
=unsupported
10217 # Tell ltmain to make .lib files, not .a files.
10219 # Tell ltmain to make .dll files, not .so files.
10221 # FIXME: Setting linknames here is a bad hack.
10222 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10223 # The linker will automatically build a .lib file if we build a DLL.
10224 old_archive_from_new_cmds
='true'
10225 # FIXME: Should let the user specify the lib program.
10226 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10227 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10228 enable_shared_with_static_runtimes
=yes
10231 darwin
* | rhapsody
*)
10234 archive_cmds_need_lc
=no
10236 hardcode_automatic
=yes
10237 hardcode_shlibpath_var
=unsupported
10238 if test "$lt_cv_ld_force_load" = "yes"; then
10239 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\"`'
10241 whole_archive_flag_spec
=''
10243 link_all_deplibs
=yes
10244 allow_undefined_flag
="$_lt_dar_allow_undefined"
10245 case $cc_basename in
10246 ifort
*) _lt_dar_can_shared
=yes ;;
10247 *) _lt_dar_can_shared
=$GCC ;;
10249 if test "$_lt_dar_can_shared" = "yes"; then
10250 output_verbose_link_cmd
=func_echo_all
10251 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10252 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10253 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}"
10254 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}"
10263 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10264 hardcode_libdir_flag_spec
='-L$libdir'
10265 hardcode_shlibpath_var
=no
10268 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10269 # support. Future versions do this automatically, but an explicit c++rt0.o
10270 # does not break anything, and helps significantly (at the cost of a little
10273 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10274 hardcode_libdir_flag_spec
='-R$libdir'
10275 hardcode_direct
=yes
10276 hardcode_shlibpath_var
=no
10279 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10281 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10282 hardcode_direct
=yes
10283 hardcode_minus_L
=yes
10284 hardcode_shlibpath_var
=no
10287 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10288 freebsd
* | dragonfly
*)
10289 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10290 hardcode_libdir_flag_spec
='-R$libdir'
10291 hardcode_direct
=yes
10292 hardcode_shlibpath_var
=no
10296 if test "$GCC" = yes; then
10297 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10299 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'
10301 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10302 hardcode_libdir_separator
=:
10303 hardcode_direct
=yes
10305 # hardcode_minus_L: Not really in the search PATH,
10306 # but as the default location of the library.
10307 hardcode_minus_L
=yes
10308 export_dynamic_flag_spec
='${wl}-E'
10312 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10313 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10315 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10317 if test "$with_gnu_ld" = no
; then
10318 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10319 hardcode_libdir_flag_spec_ld
='+b $libdir'
10320 hardcode_libdir_separator
=:
10321 hardcode_direct
=yes
10322 hardcode_direct_absolute
=yes
10323 export_dynamic_flag_spec
='${wl}-E'
10324 # hardcode_minus_L: Not really in the search PATH,
10325 # but as the default location of the library.
10326 hardcode_minus_L
=yes
10331 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10334 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10337 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10340 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10353 # Older versions of the 11.00 compiler do not understand -b yet
10354 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10356 $as_echo_n "checking if $CC understands -b... " >&6; }
10357 if ${lt_cv_prog_compiler__b+:} false
; then :
10358 $as_echo_n "(cached) " >&6
10360 lt_cv_prog_compiler__b
=no
10361 save_LDFLAGS
="$LDFLAGS"
10362 LDFLAGS
="$LDFLAGS -b"
10363 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10364 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10365 # The linker can only warn and ignore the option if not recognized
10366 # So say no if there are warnings
10367 if test -s conftest.err
; then
10368 # Append any errors to the config.log.
10369 cat conftest.err
1>&5
10370 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10371 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10372 if diff conftest.exp conftest.er2
>/dev
/null
; then
10373 lt_cv_prog_compiler__b
=yes
10376 lt_cv_prog_compiler__b
=yes
10380 LDFLAGS
="$save_LDFLAGS"
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10384 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10386 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10387 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10389 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10395 if test "$with_gnu_ld" = no
; then
10396 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10397 hardcode_libdir_separator
=:
10402 hardcode_shlibpath_var
=no
10405 hardcode_direct
=yes
10406 hardcode_direct_absolute
=yes
10407 export_dynamic_flag_spec
='${wl}-E'
10409 # hardcode_minus_L: Not really in the search PATH,
10410 # but as the default location of the library.
10411 hardcode_minus_L
=yes
10417 irix5
* | irix6
* | nonstopux
*)
10418 if test "$GCC" = yes; then
10419 archive_cmds
='$CC -shared $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'
10420 # Try to use the -exported_symbol ld option, if it does not
10421 # work, assume that -exports_file does not work either and
10422 # implicitly export all symbols.
10423 save_LDFLAGS
="$LDFLAGS"
10424 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10429 if ac_fn_c_try_link
"$LINENO"; then :
10430 archive_expsym_cmds
='$CC -shared $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'
10433 rm -f core conftest.err conftest.
$ac_objext \
10434 conftest
$ac_exeext conftest.
$ac_ext
10435 LDFLAGS
="$save_LDFLAGS"
10437 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'
10438 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'
10440 archive_cmds_need_lc
='no'
10441 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10442 hardcode_libdir_separator
=:
10444 link_all_deplibs
=yes
10448 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10449 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10451 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10453 hardcode_libdir_flag_spec
='-R$libdir'
10454 hardcode_direct
=yes
10455 hardcode_shlibpath_var
=no
10459 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10460 hardcode_direct
=yes
10461 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10462 hardcode_libdir_separator
=:
10463 hardcode_shlibpath_var
=no
10470 if test -f /usr
/libexec
/ld.so
; then
10471 hardcode_direct
=yes
10472 hardcode_shlibpath_var
=no
10473 hardcode_direct_absolute
=yes
10474 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10475 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10477 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10478 export_dynamic_flag_spec
='${wl}-E'
10481 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10482 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10483 hardcode_libdir_flag_spec
='-R$libdir'
10486 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10487 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10497 hardcode_libdir_flag_spec
='-L$libdir'
10498 hardcode_minus_L
=yes
10499 allow_undefined_flag
=unsupported
10500 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'
10501 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10505 if test "$GCC" = yes; then
10506 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10507 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'
10509 allow_undefined_flag
=' -expect_unresolved \*'
10510 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'
10512 archive_cmds_need_lc
='no'
10513 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10514 hardcode_libdir_separator
=:
10517 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10518 if test "$GCC" = yes; then
10519 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10520 archive_cmds
='$CC -shared${allow_undefined_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'
10521 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10523 allow_undefined_flag
=' -expect_unresolved \*'
10524 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'
10525 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~
10526 $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'
10528 # Both c and cxx compiler support -rpath directly
10529 hardcode_libdir_flag_spec
='-rpath $libdir'
10531 archive_cmds_need_lc
='no'
10532 hardcode_libdir_separator
=:
10536 no_undefined_flag
=' -z defs'
10537 if test "$GCC" = yes; then
10539 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10540 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10541 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10543 case `$CC -V 2>&1` in
10546 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10547 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10548 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10552 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10553 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10554 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10558 hardcode_libdir_flag_spec
='-R$libdir'
10559 hardcode_shlibpath_var
=no
10561 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10563 # The compiler driver will combine and reorder linker options,
10564 # but understands `-z linker_flag'. GCC discards it without `$wl',
10565 # but is careful enough not to reorder.
10566 # Supported since Solaris 2.6 (maybe 2.5.1?)
10567 if test "$GCC" = yes; then
10568 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10570 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10574 link_all_deplibs
=yes
10578 if test "x$host_vendor" = xsequent
; then
10579 # Use $CC to link under sequent, because it throws in some extra .o
10580 # files that make .init and .fini sections work.
10581 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10583 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10585 hardcode_libdir_flag_spec
='-L$libdir'
10586 hardcode_direct
=yes
10587 hardcode_minus_L
=yes
10588 hardcode_shlibpath_var
=no
10592 case $host_vendor in
10594 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10595 hardcode_direct
=yes # is this really true???
10598 ## LD is ld it makes a PLAMLIB
10599 ## CC just makes a GrossModule.
10600 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10601 reload_cmds
='$CC -r -o $output$reload_objs'
10605 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10606 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10609 runpath_var
='LD_RUN_PATH'
10610 hardcode_shlibpath_var
=no
10614 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10615 hardcode_shlibpath_var
=no
10616 export_dynamic_flag_spec
='-Bexport'
10620 if test -d /usr
/nec
; then
10621 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 hardcode_shlibpath_var
=no
10623 runpath_var
=LD_RUN_PATH
10624 hardcode_runpath_var
=yes
10629 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10630 no_undefined_flag
='${wl}-z,text'
10631 archive_cmds_need_lc
=no
10632 hardcode_shlibpath_var
=no
10633 runpath_var
='LD_RUN_PATH'
10635 if test "$GCC" = yes; then
10636 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10639 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644 sysv5
* | sco3.2v5
* | sco5v6
*)
10645 # Note: We can NOT use -z defs as we might desire, because we do not
10646 # link with -lc, and that would cause any symbols used from libc to
10647 # always be unresolved, which means just about no library would
10648 # ever link correctly. If we're not using GNU ld we use -z text
10649 # though, which does catch some bad symbols but isn't as heavy-handed
10651 no_undefined_flag
='${wl}-z,text'
10652 allow_undefined_flag
='${wl}-z,nodefs'
10653 archive_cmds_need_lc
=no
10654 hardcode_shlibpath_var
=no
10655 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10656 hardcode_libdir_separator
=':'
10657 link_all_deplibs
=yes
10658 export_dynamic_flag_spec
='${wl}-Bexport'
10659 runpath_var
='LD_RUN_PATH'
10661 if test "$GCC" = yes; then
10662 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10671 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10672 hardcode_libdir_flag_spec
='-L$libdir'
10673 hardcode_shlibpath_var
=no
10681 if test x
$host_vendor = xsni
; then
10683 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10684 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10691 $as_echo "$ld_shlibs" >&6; }
10692 test "$ld_shlibs" = no
&& can_build_shared
=no
10694 with_gnu_ld
=$with_gnu_ld
10711 # Do we need to explicitly link libc?
10713 case "x$archive_cmds_need_lc" in
10715 # Assume -lc should be added
10716 archive_cmds_need_lc
=yes
10718 if test "$enable_shared" = yes && test "$GCC" = yes; then
10719 case $archive_cmds in
10721 # FIXME: we may have to deal with multi-command sequences.
10724 # Test whether the compiler implicitly links with -lc since on some
10725 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10726 # to ld, don't add -lc before -lgcc.
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10728 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10729 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10730 $as_echo_n "(cached) " >&6
10733 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10736 (eval $ac_compile) 2>&5
10738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10739 test $ac_status = 0; } 2>conftest.err
; then
10742 libobjs
=conftest.
$ac_objext
10744 wl
=$lt_prog_compiler_wl
10745 pic_flag
=$lt_prog_compiler_pic
10751 lt_save_allow_undefined_flag
=$allow_undefined_flag
10752 allow_undefined_flag
=
10753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10754 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10757 test $ac_status = 0; }
10759 lt_cv_archive_cmds_need_lc
=no
10761 lt_cv_archive_cmds_need_lc
=yes
10763 allow_undefined_flag
=$lt_save_allow_undefined_flag
10765 cat conftest.err
1>&5
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10771 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10772 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10936 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10938 if test "$GCC" = yes; then
10940 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10941 *) lt_awk_arg
="/^libraries:/" ;;
10944 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10945 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10947 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10948 case $lt_search_path_spec in
10950 # if the path contains ";" then we assume it to be the separator
10951 # otherwise default to the standard path separator (i.e. ":") - it is
10952 # assumed that no part of a normal pathname contains ";" but that should
10953 # okay in the real world where ";" in dirpaths is itself problematic.
10954 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10957 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10960 # Ok, now we have the path, separated by spaces, we can step through it
10961 # and add multilib dir if necessary.
10962 lt_tmp_lt_search_path_spec
=
10963 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10964 for lt_sys_path
in $lt_search_path_spec; do
10965 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10966 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10968 test -d "$lt_sys_path" && \
10969 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10972 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10973 BEGIN {RS=" "; FS="/|\n";} {
10976 for (lt_i = NF; lt_i > 0; lt_i--) {
10977 if ($lt_i != "" && $lt_i != ".") {
10978 if ($lt_i == "..") {
10981 if (lt_count == 0) {
10982 lt_foo="/" $lt_i lt_foo;
10989 if (lt_foo != "") { lt_freq[lt_foo]++; }
10990 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10992 # AWK program above erroneously prepends '/' to C:/dos/paths
10995 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10996 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10998 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11000 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11002 library_names_spec
=
11003 libname_spec
='lib$name'
11007 postuninstall_cmds
=
11011 shlibpath_overrides_runpath
=unknown
11013 dynamic_linker
="$host_os ld.so"
11014 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11015 need_lib_prefix
=unknown
11016 hardcode_into_libs
=no
11018 # when you set need_version to no, make sure it does not cause -set_version
11019 # flags to be left without arguments
11020 need_version
=unknown
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11026 shlibpath_var
=LIBPATH
11028 # AIX 3 has no versioning support, so we append a major version to the name.
11029 soname_spec
='${libname}${release}${shared_ext}$major'
11036 hardcode_into_libs
=yes
11037 if test "$host_cpu" = ia64
; then
11038 # AIX 5 supports IA64
11039 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11040 shlibpath_var
=LD_LIBRARY_PATH
11042 # With GCC up to 2.95.x, collect2 would create an import file
11043 # for dependence libraries. The import file would start with
11044 # the line `#! .'. This would cause the generated library to
11045 # depend on `.', always an invalid library. This was fixed in
11046 # development snapshots of GCC prior to 3.0.
11048 aix4 | aix4.
[01] | aix4.
[01].
*)
11049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11051 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11054 can_build_shared
=no
11058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11059 # soname into executable. Probably we can add versioning support to
11060 # collect2, so additional links can be useful in future.
11061 if test "$aix_use_runtimelinking" = yes; then
11062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11063 # instead of lib<name>.a to let people know that these are not
11064 # typical AIX shared libraries.
11065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 # We preserve .a as extension for shared libraries through AIX4.2
11068 # and later when we are not doing run time linking.
11069 library_names_spec
='${libname}${release}.a $libname.a'
11070 soname_spec
='${libname}${release}${shared_ext}$major'
11072 shlibpath_var
=LIBPATH
11079 # Since July 2007 AmigaOS4 officially supports .so libraries.
11080 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084 library_names_spec
='$libname.ixlibrary $libname.a'
11085 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11086 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'
11092 library_names_spec
='${libname}${shared_ext}'
11093 dynamic_linker
="$host_os ld.so"
11094 shlibpath_var
=LIBRARY_PATH
11100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101 soname_spec
='${libname}${release}${shared_ext}$major'
11102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11103 shlibpath_var
=LD_LIBRARY_PATH
11104 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11105 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11106 # the default ld.so.conf also contains /usr/contrib/lib and
11107 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11108 # libtool to hard-code these into programs
11111 cygwin
* | mingw
* | pw32
* | cegcc
*)
11112 version_type
=windows
11117 case $GCC,$host_os in
11118 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11119 library_names_spec
='$libname.dll.a'
11120 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11121 postinstall_cmds
='base_file=`basename \${file}`~
11122 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11123 dldir=$destdir/`dirname \$dlpath`~
11124 test -d \$dldir || mkdir -p \$dldir~
11125 $install_prog $dir/$dlname \$dldir/$dlname~
11126 chmod a+x \$dldir/$dlname~
11127 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11128 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11130 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11131 dlpath=$dir/\$dldll~
11133 shlibpath_overrides_runpath
=yes
11137 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11138 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11140 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11143 # MinGW DLLs use traditional 'lib' prefix
11144 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11147 # pw32 DLLs use 'pw' prefix rather than 'lib'
11148 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11154 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11157 dynamic_linker
='Win32 ld.exe'
11158 # FIXME: first we should search . and the directory the executable is in
11162 darwin
* | rhapsody
*)
11163 dynamic_linker
="$host_os dyld"
11164 version_type
=darwin
11167 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11168 soname_spec
='${libname}${release}${major}$shared_ext'
11169 shlibpath_overrides_runpath
=yes
11170 shlibpath_var
=DYLD_LIBRARY_PATH
11171 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11173 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11174 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11182 soname_spec
='${libname}${release}${shared_ext}$major'
11183 shlibpath_var
=LD_LIBRARY_PATH
11186 freebsd
* | dragonfly
*)
11187 # DragonFly does not have aout. When/if they implement a new
11188 # versioning mechanism, adjust this.
11189 if test -x /usr
/bin
/objformat
; then
11190 objformat
=`/usr/bin/objformat`
11193 freebsd
[23].
*) objformat
=aout
;;
11194 *) objformat
=elf
;;
11197 version_type
=freebsd-
$objformat
11198 case $version_type in
11200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11205 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11209 shlibpath_var
=LD_LIBRARY_PATH
11212 shlibpath_overrides_runpath
=yes
11214 freebsd3.
[01]* | freebsdelf3.
[01]*)
11215 shlibpath_overrides_runpath
=yes
11216 hardcode_into_libs
=yes
11218 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11219 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11220 shlibpath_overrides_runpath
=no
11221 hardcode_into_libs
=yes
11223 *) # from 4.6 on, and DragonFly
11224 shlibpath_overrides_runpath
=yes
11225 hardcode_into_libs
=yes
11234 dynamic_linker
="$host_os runtime_loader"
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11236 soname_spec
='${libname}${release}${shared_ext}$major'
11237 shlibpath_var
=LIBRARY_PATH
11238 shlibpath_overrides_runpath
=yes
11239 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11240 hardcode_into_libs
=yes
11243 hpux9
* | hpux10
* | hpux11
*)
11244 # Give a soname corresponding to the major version so that dld.sl refuses to
11245 # link against other versions.
11252 hardcode_into_libs
=yes
11253 dynamic_linker
="$host_os dld.so"
11254 shlibpath_var
=LD_LIBRARY_PATH
11255 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 soname_spec
='${libname}${release}${shared_ext}$major'
11258 if test "X$HPUX_IA64_MODE" = X32
; then
11259 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11261 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11263 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11267 hardcode_into_libs
=yes
11268 dynamic_linker
="$host_os dld.sl"
11269 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11270 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11272 soname_spec
='${libname}${release}${shared_ext}$major'
11273 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11274 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11278 dynamic_linker
="$host_os dld.sl"
11279 shlibpath_var
=SHLIB_PATH
11280 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11282 soname_spec
='${libname}${release}${shared_ext}$major'
11285 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11286 postinstall_cmds
='chmod 555 $lib'
11287 # or fails outright, so override atomically:
11288 install_override_mode
=555
11295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11296 soname_spec
='${libname}${release}${shared_ext}$major'
11297 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11298 shlibpath_var
=LD_LIBRARY_PATH
11299 shlibpath_overrides_runpath
=no
11300 hardcode_into_libs
=yes
11303 irix5
* | irix6
* | nonstopux
*)
11305 nonstopux
*) version_type
=nonstopux
;;
11307 if test "$lt_cv_prog_gnu_ld" = yes; then
11315 soname_spec
='${libname}${release}${shared_ext}$major'
11316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11318 irix5
* | nonstopux
*)
11319 libsuff
= shlibsuff
=
11322 case $LD in # libtool.m4 will add one of these switches to LD
11323 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11324 libsuff
= shlibsuff
= libmagic
=32-bit;;
11325 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11327 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11329 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11334 shlibpath_overrides_runpath
=no
11335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11337 hardcode_into_libs
=yes
11340 # No shared lib support for Linux oldld, aout, or coff.
11341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11345 # This must be Linux ELF.
11346 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 soname_spec
='${libname}${release}${shared_ext}$major'
11352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11353 shlibpath_var
=LD_LIBRARY_PATH
11354 shlibpath_overrides_runpath
=no
11356 # Some binutils ld are patched to set DT_RUNPATH
11357 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11358 $as_echo_n "(cached) " >&6
11360 lt_cv_shlibpath_overrides_runpath
=no
11361 save_LDFLAGS
=$LDFLAGS
11362 save_libdir
=$libdir
11363 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11364 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11376 if ac_fn_c_try_link
"$LINENO"; then :
11377 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11378 lt_cv_shlibpath_overrides_runpath
=yes
11381 rm -f core conftest.err conftest.
$ac_objext \
11382 conftest
$ac_exeext conftest.
$ac_ext
11383 LDFLAGS
=$save_LDFLAGS
11384 libdir
=$save_libdir
11388 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11390 # This implies no fast_install, which is unacceptable.
11391 # Some rework will be needed to allow for fast_install
11392 # before this can be enabled.
11393 hardcode_into_libs
=yes
11395 # Append ld.so.conf contents to the search path
11396 if test -f /etc
/ld.so.conf
; then
11397 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' ' '`
11398 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11401 # We used to test for /lib/ld.so.1 and disable shared libraries on
11402 # powerpc, because MkLinux only supported shared libraries with the
11403 # GNU dynamic linker. Since this was broken with cross compilers,
11404 # most powerpc-linux boxes support dynamic linking these days and
11405 # people can always --disable-shared, the test was removed, and we
11406 # assume the GNU/Linux dynamic linker is in use.
11407 dynamic_linker
='GNU/Linux ld.so'
11414 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11416 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11417 dynamic_linker
='NetBSD (a.out) ld.so'
11419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11420 soname_spec
='${libname}${release}${shared_ext}$major'
11421 dynamic_linker
='NetBSD ld.elf_so'
11423 shlibpath_var
=LD_LIBRARY_PATH
11424 shlibpath_overrides_runpath
=yes
11425 hardcode_into_libs
=yes
11430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 shlibpath_var
=LD_LIBRARY_PATH
11432 shlibpath_overrides_runpath
=yes
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 soname_spec
='${libname}${release}${shared_ext}$major'
11441 shlibpath_var
=LD_LIBRARY_PATH
11442 shlibpath_overrides_runpath
=no
11443 hardcode_into_libs
=yes
11444 dynamic_linker
='ldqnx.so'
11449 sys_lib_dlsearch_path_spec
="/usr/lib"
11451 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11453 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11454 *) need_version
=no
;;
11456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11457 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11458 shlibpath_var
=LD_LIBRARY_PATH
11459 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11461 openbsd2.
[89] | openbsd2.
[89].
*)
11462 shlibpath_overrides_runpath
=no
11465 shlibpath_overrides_runpath
=yes
11469 shlibpath_overrides_runpath
=yes
11474 libname_spec
='$name'
11477 library_names_spec
='$libname${shared_ext} $libname.a'
11478 dynamic_linker
='OS/2 ld.exe'
11479 shlibpath_var
=LIBPATH
11482 osf3
* | osf4
* | osf5
*)
11486 soname_spec
='${libname}${release}${shared_ext}$major'
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11490 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502 soname_spec
='${libname}${release}${shared_ext}$major'
11503 shlibpath_var
=LD_LIBRARY_PATH
11504 shlibpath_overrides_runpath
=yes
11505 hardcode_into_libs
=yes
11506 # ldd complains unless libraries are executable
11507 postinstall_cmds
='chmod +x $lib'
11512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11513 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11514 shlibpath_var
=LD_LIBRARY_PATH
11515 shlibpath_overrides_runpath
=yes
11516 if test "$with_gnu_ld" = yes; then
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525 soname_spec
='${libname}${release}${shared_ext}$major'
11526 shlibpath_var
=LD_LIBRARY_PATH
11527 case $host_vendor in
11529 shlibpath_overrides_runpath
=no
11531 runpath_var
=LD_RUN_PATH
11539 shlibpath_overrides_runpath
=no
11540 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11546 if test -d /usr
/nec
;then
11548 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11549 soname_spec
='$libname${shared_ext}.$major'
11550 shlibpath_var
=LD_LIBRARY_PATH
11554 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11555 version_type
=freebsd-elf
11558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11559 soname_spec
='${libname}${release}${shared_ext}$major'
11560 shlibpath_var
=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath
=yes
11562 hardcode_into_libs
=yes
11563 if test "$with_gnu_ld" = yes; then
11564 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11566 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11569 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11573 sys_lib_dlsearch_path_spec
='/usr/lib'
11577 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582 shlibpath_var
=LD_LIBRARY_PATH
11583 shlibpath_overrides_runpath
=no
11584 hardcode_into_libs
=yes
11589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 soname_spec
='${libname}${release}${shared_ext}$major'
11591 shlibpath_var
=LD_LIBRARY_PATH
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11599 $as_echo "$dynamic_linker" >&6; }
11600 test "$dynamic_linker" = no
&& can_build_shared
=no
11602 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11603 if test "$GCC" = yes; then
11604 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11607 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11608 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11610 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11611 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11706 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11708 if test -n "$hardcode_libdir_flag_spec" ||
11709 test -n "$runpath_var" ||
11710 test "X$hardcode_automatic" = "Xyes" ; then
11712 # We can hardcode non-existent directories.
11713 if test "$hardcode_direct" != no
&&
11714 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11715 # have to relink, otherwise we might link with an installed library
11716 # when we should be linking with a yet-to-be-installed one
11717 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11718 test "$hardcode_minus_L" != no
; then
11719 # Linking always hardcodes the temporary library directory.
11720 hardcode_action
=relink
11722 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11723 hardcode_action
=immediate
11726 # We cannot hardcode anything, or else we can only hardcode existing
11728 hardcode_action
=unsupported
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11731 $as_echo "$hardcode_action" >&6; }
11733 if test "$hardcode_action" = relink ||
11734 test "$inherit_rpath" = yes; then
11735 # Fast installation is not supported
11736 enable_fast_install
=no
11737 elif test "$shlibpath_overrides_runpath" = yes ||
11738 test "$enable_shared" = no
; then
11739 # Fast installation is not necessary
11740 enable_fast_install
=needless
11748 if test "x$enable_dlopen" != xyes
; then
11749 enable_dlopen
=unknown
11750 enable_dlopen_self
=unknown
11751 enable_dlopen_self_static
=unknown
11758 lt_cv_dlopen
="load_add_on"
11760 lt_cv_dlopen_self
=yes
11763 mingw
* | pw32
* | cegcc
*)
11764 lt_cv_dlopen
="LoadLibrary"
11769 lt_cv_dlopen
="dlopen"
11774 # if libdl is installed we need to link against it
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11777 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11778 $as_echo_n "(cached) " >&6
11780 ac_check_lib_save_LIBS
=$LIBS
11782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11800 if ac_fn_c_try_link
"$LINENO"; then :
11801 ac_cv_lib_dl_dlopen
=yes
11803 ac_cv_lib_dl_dlopen
=no
11805 rm -f core conftest.err conftest.
$ac_objext \
11806 conftest
$ac_exeext conftest.
$ac_ext
11807 LIBS
=$ac_check_lib_save_LIBS
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11811 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11812 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11815 lt_cv_dlopen
="dyld"
11817 lt_cv_dlopen_self
=yes
11824 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11825 if test "x$ac_cv_func_shl_load" = xyes
; then :
11826 lt_cv_dlopen
="shl_load"
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11829 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11830 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11831 $as_echo_n "(cached) " >&6
11833 ac_check_lib_save_LIBS
=$LIBS
11835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11848 return shl_load ();
11853 if ac_fn_c_try_link
"$LINENO"; then :
11854 ac_cv_lib_dld_shl_load
=yes
11856 ac_cv_lib_dld_shl_load
=no
11858 rm -f core conftest.err conftest.
$ac_objext \
11859 conftest
$ac_exeext conftest.
$ac_ext
11860 LIBS
=$ac_check_lib_save_LIBS
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11863 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11864 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11865 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11867 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11868 if test "x$ac_cv_func_dlopen" = xyes
; then :
11869 lt_cv_dlopen
="dlopen"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11872 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11873 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11874 $as_echo_n "(cached) " >&6
11876 ac_check_lib_save_LIBS
=$LIBS
11878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11896 if ac_fn_c_try_link
"$LINENO"; then :
11897 ac_cv_lib_dl_dlopen
=yes
11899 ac_cv_lib_dl_dlopen
=no
11901 rm -f core conftest.err conftest.
$ac_objext \
11902 conftest
$ac_exeext conftest.
$ac_ext
11903 LIBS
=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11906 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11907 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11908 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11911 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11912 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11913 $as_echo_n "(cached) " >&6
11915 ac_check_lib_save_LIBS
=$LIBS
11916 LIBS
="-lsvld $LIBS"
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11920 /* Override any GCC internal prototype to avoid an error.
11921 Use char because int might match the return type of a GCC
11922 builtin and then its argument prototype would still apply. */
11935 if ac_fn_c_try_link
"$LINENO"; then :
11936 ac_cv_lib_svld_dlopen
=yes
11938 ac_cv_lib_svld_dlopen
=no
11940 rm -f core conftest.err conftest.
$ac_objext \
11941 conftest
$ac_exeext conftest.
$ac_ext
11942 LIBS
=$ac_check_lib_save_LIBS
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11945 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11946 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11947 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11950 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11951 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11952 $as_echo_n "(cached) " >&6
11954 ac_check_lib_save_LIBS
=$LIBS
11956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11969 return dld_link ();
11974 if ac_fn_c_try_link
"$LINENO"; then :
11975 ac_cv_lib_dld_dld_link
=yes
11977 ac_cv_lib_dld_dld_link
=no
11979 rm -f core conftest.err conftest.
$ac_objext \
11980 conftest
$ac_exeext conftest.
$ac_ext
11981 LIBS
=$ac_check_lib_save_LIBS
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11984 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11985 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11986 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12007 if test "x$lt_cv_dlopen" != xno
; then
12013 case $lt_cv_dlopen in
12015 save_CPPFLAGS
="$CPPFLAGS"
12016 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12018 save_LDFLAGS
="$LDFLAGS"
12019 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12022 LIBS
="$lt_cv_dlopen_libs $LIBS"
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12025 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12026 if ${lt_cv_dlopen_self+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 if test "$cross_compiling" = yes; then :
12030 lt_cv_dlopen_self
=cross
12032 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12033 lt_status
=$lt_dlunknown
12034 cat > conftest.
$ac_ext <<_LT_EOF
12035 #line 12035 "configure"
12036 #include "confdefs.h"
12045 # define LT_DLGLOBAL RTLD_GLOBAL
12048 # define LT_DLGLOBAL DL_GLOBAL
12050 # define LT_DLGLOBAL 0
12054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12055 find out it does not work in some platform. */
12056 #ifndef LT_DLLAZY_OR_NOW
12058 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12061 # define LT_DLLAZY_OR_NOW DL_LAZY
12064 # define LT_DLLAZY_OR_NOW RTLD_NOW
12067 # define LT_DLLAZY_OR_NOW DL_NOW
12069 # define LT_DLLAZY_OR_NOW 0
12076 /* When -fvisbility=hidden is used, assume the code has been annotated
12077 correspondingly for the symbols needed. */
12078 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12079 void fnord () __attribute__((visibility("default")));
12082 void fnord () { int i=42; }
12085 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12086 int status = $lt_dlunknown;
12090 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12093 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12094 else puts (dlerror ());
12096 /* dlclose (self); */
12104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12105 (eval $ac_link) 2>&5
12107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12108 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12109 (.
/conftest
; exit; ) >&5 2>/dev
/null
12111 case x
$lt_status in
12112 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12113 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12114 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12117 # compilation failed
12118 lt_cv_dlopen_self
=no
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12126 $as_echo "$lt_cv_dlopen_self" >&6; }
12128 if test "x$lt_cv_dlopen_self" = xyes
; then
12129 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12131 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12132 if ${lt_cv_dlopen_self_static+:} false
; then :
12133 $as_echo_n "(cached) " >&6
12135 if test "$cross_compiling" = yes; then :
12136 lt_cv_dlopen_self_static
=cross
12138 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12139 lt_status
=$lt_dlunknown
12140 cat > conftest.
$ac_ext <<_LT_EOF
12141 #line 12141 "configure"
12142 #include "confdefs.h"
12151 # define LT_DLGLOBAL RTLD_GLOBAL
12154 # define LT_DLGLOBAL DL_GLOBAL
12156 # define LT_DLGLOBAL 0
12160 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12161 find out it does not work in some platform. */
12162 #ifndef LT_DLLAZY_OR_NOW
12164 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12167 # define LT_DLLAZY_OR_NOW DL_LAZY
12170 # define LT_DLLAZY_OR_NOW RTLD_NOW
12173 # define LT_DLLAZY_OR_NOW DL_NOW
12175 # define LT_DLLAZY_OR_NOW 0
12182 /* When -fvisbility=hidden is used, assume the code has been annotated
12183 correspondingly for the symbols needed. */
12184 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12185 void fnord () __attribute__((visibility("default")));
12188 void fnord () { int i=42; }
12191 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12192 int status = $lt_dlunknown;
12196 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12199 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12200 else puts (dlerror ());
12202 /* dlclose (self); */
12210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12211 (eval $ac_link) 2>&5
12213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12214 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12215 (.
/conftest
; exit; ) >&5 2>/dev
/null
12217 case x
$lt_status in
12218 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12219 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12220 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12223 # compilation failed
12224 lt_cv_dlopen_self_static
=no
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12232 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12235 CPPFLAGS
="$save_CPPFLAGS"
12236 LDFLAGS
="$save_LDFLAGS"
12241 case $lt_cv_dlopen_self in
12242 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12243 *) enable_dlopen_self
=unknown
;;
12246 case $lt_cv_dlopen_self_static in
12247 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12248 *) enable_dlopen_self_static
=unknown
;;
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12271 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12272 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12273 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12274 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12276 $as_echo "yes" >&6; }
12278 # FIXME - insert some real tests, host_os isn't really good enough
12281 if test -n "$STRIP" ; then
12282 striplib
="$STRIP -x"
12283 old_striplib
="$STRIP -S"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12285 $as_echo "yes" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12309 # Report which library types will actually be built
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12311 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12313 $as_echo "$can_build_shared" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12316 $as_echo_n "checking whether to build shared libraries... " >&6; }
12317 test "$can_build_shared" = "no" && enable_shared
=no
12319 # On AIX, shared libraries and static libraries use the same namespace, and
12320 # are all built from PIC.
12323 test "$enable_shared" = yes && enable_static
=no
12324 if test -n "$RANLIB"; then
12325 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12326 postinstall_cmds
='$RANLIB $lib'
12331 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12332 test "$enable_shared" = yes && enable_static
=no
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12337 $as_echo "$enable_shared" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12340 $as_echo_n "checking whether to build static libraries... " >&6; }
12341 # Make sure either enable_shared or enable_static is yes.
12342 test "$enable_shared" = yes || enable_static
=yes
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12344 $as_echo "$enable_static" >&6; }
12351 ac_cpp
='$CPP $CPPFLAGS'
12352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12370 ac_config_commands
="$ac_config_commands libtool"
12375 # Only expand once:
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
12381 $as_echo_n "checking for bind in -lsocket... " >&6; }
12382 if ${ac_cv_lib_socket_bind+:} false
; then :
12383 $as_echo_n "(cached) " >&6
12385 ac_check_lib_save_LIBS
=$LIBS
12386 LIBS
="-lsocket $LIBS"
12387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12405 if ac_fn_c_try_link
"$LINENO"; then :
12406 ac_cv_lib_socket_bind
=yes
12408 ac_cv_lib_socket_bind
=no
12410 rm -f core conftest.err conftest.
$ac_objext \
12411 conftest
$ac_exeext conftest.
$ac_ext
12412 LIBS
=$ac_check_lib_save_LIBS
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
12415 $as_echo "$ac_cv_lib_socket_bind" >&6; }
12416 if test "x$ac_cv_lib_socket_bind" = xyes
; then :
12417 cat >>confdefs.h
<<_ACEOF
12418 #define HAVE_LIBSOCKET 1
12421 LIBS
="-lsocket $LIBS"
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12426 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12427 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
12428 $as_echo_n "(cached) " >&6
12430 ac_check_lib_save_LIBS
=$LIBS
12432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12441 char gethostbyname ();
12445 return gethostbyname ();
12450 if ac_fn_c_try_link
"$LINENO"; then :
12451 ac_cv_lib_nsl_gethostbyname
=yes
12453 ac_cv_lib_nsl_gethostbyname
=no
12455 rm -f core conftest.err conftest.
$ac_objext \
12456 conftest
$ac_exeext conftest.
$ac_ext
12457 LIBS
=$ac_check_lib_save_LIBS
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12460 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12461 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
12462 cat >>confdefs.h
<<_ACEOF
12463 #define HAVE_LIBNSL 1
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
12471 $as_echo_n "checking for fabs in -lm... " >&6; }
12472 if ${ac_cv_lib_m_fabs+:} false
; then :
12473 $as_echo_n "(cached) " >&6
12475 ac_check_lib_save_LIBS
=$LIBS
12477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12495 if ac_fn_c_try_link
"$LINENO"; then :
12496 ac_cv_lib_m_fabs
=yes
12498 ac_cv_lib_m_fabs
=no
12500 rm -f core conftest.err conftest.
$ac_objext \
12501 conftest
$ac_exeext conftest.
$ac_ext
12502 LIBS
=$ac_check_lib_save_LIBS
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
12505 $as_echo "$ac_cv_lib_m_fabs" >&6; }
12506 if test "x$ac_cv_lib_m_fabs" = xyes
; then :
12507 cat >>confdefs.h
<<_ACEOF
12508 #define HAVE_LIBM 1
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
12516 $as_echo_n "checking for log2 in -lm... " >&6; }
12517 if ${ac_cv_lib_m_log2+:} false
; then :
12518 $as_echo_n "(cached) " >&6
12520 ac_check_lib_save_LIBS
=$LIBS
12522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12540 if ac_fn_c_try_link
"$LINENO"; then :
12541 ac_cv_lib_m_log2
=yes
12543 ac_cv_lib_m_log2
=no
12545 rm -f core conftest.err conftest.
$ac_objext \
12546 conftest
$ac_exeext conftest.
$ac_ext
12547 LIBS
=$ac_check_lib_save_LIBS
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
12550 $as_echo "$ac_cv_lib_m_log2" >&6; }
12551 if test "x$ac_cv_lib_m_log2" = xyes
; then :
12552 cat >>confdefs.h
<<_ACEOF
12553 #define HAVE_LIBM 1
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12564 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12565 # Check whether --enable-maintainer-mode was given.
12566 if test "${enable_maintainer_mode+set}" = set; then :
12567 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12569 USE_MAINTAINER_MODE
=no
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12573 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12574 if test $USE_MAINTAINER_MODE = yes; then
12575 MAINTAINER_MODE_TRUE
=
12576 MAINTAINER_MODE_FALSE
='#'
12578 MAINTAINER_MODE_TRUE
='#'
12579 MAINTAINER_MODE_FALSE
=
12582 MAINT
=$MAINTAINER_MODE_TRUE
12585 am__api_version
='1.15'
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12588 $as_echo_n "checking whether build environment is sane... " >&6; }
12589 # Reject unsafe characters in $srcdir or the absolute working directory
12590 # name. Accept space and tab only in the latter.
12594 *[\\\"\
#\$\&\'\`$am_lf]*)
12595 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
12598 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
12599 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12602 # Do 'set' in a subshell so we don't clobber the current shell's
12603 # arguments. Must try -L first in case configure is actually a
12604 # symlink; some systems play weird games with the mod time of symlinks
12605 # (eg FreeBSD returns the mod time of the symlink's containing
12609 for am_try
in 1 2; do
12610 echo "timestamp, slept: $am_has_slept" > conftest.
file
12611 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12612 if test "$*" = "X"; then
12614 set X
`ls -t "$srcdir/configure" conftest.file`
12616 if test "$*" != "X $srcdir/configure conftest.file" \
12617 && test "$*" != "X conftest.file $srcdir/configure"; then
12619 # If neither matched, then we have a broken ls. This can happen
12620 # if, for instance, CONFIG_SHELL is bash and it inherits a
12621 # broken ls alias from the environment. This has actually
12622 # happened. Such a system could not be considered "sane".
12623 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
12624 alias in your environment" "$LINENO" 5
12626 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
12633 test "$2" = conftest.
file
12639 as_fn_error $?
"newly created file is older than distributed files!
12640 Check your system clock" "$LINENO" 5
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12643 $as_echo "yes" >&6; }
12644 # If we didn't sleep, we still need to ensure time stamps of config.status and
12645 # generated files are strictly newer.
12647 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
12652 rm -f conftest.
file
12654 if test x
"${MISSING+set}" != xset
; then
12655 case $am_aux_dir in
12657 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
12659 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
12662 # Use eval to expand $SHELL
12663 if eval "$MISSING --is-lightweight"; then
12664 am_missing_run
="$MISSING "
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12668 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12671 if test x
"${install_sh+set}" != xset
; then
12672 case $am_aux_dir in
12674 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
12676 install_sh
="\${SHELL} $am_aux_dir/install-sh"
12680 # Installed binaries are usually stripped using 'strip' when the user
12681 # run "make install-strip". However 'strip' might not be the right
12682 # tool to use in cross-compilation environments, therefore Automake
12683 # will honor the 'STRIP' environment variable to overrule this program.
12684 if test "$cross_compiling" != no
; then
12685 if test -n "$ac_tool_prefix"; then
12686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12687 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12689 $as_echo_n "checking for $ac_word... " >&6; }
12690 if ${ac_cv_prog_STRIP+:} false
; then :
12691 $as_echo_n "(cached) " >&6
12693 if test -n "$STRIP"; then
12694 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12697 for as_dir
in $PATH
12700 test -z "$as_dir" && as_dir
=.
12701 for ac_exec_ext
in '' $ac_executable_extensions; do
12702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12703 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
12704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12713 STRIP
=$ac_cv_prog_STRIP
12714 if test -n "$STRIP"; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12716 $as_echo "$STRIP" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12719 $as_echo "no" >&6; }
12724 if test -z "$ac_cv_prog_STRIP"; then
12726 # Extract the first word of "strip", so it can be a program name with args.
12727 set dummy strip
; ac_word
=$2
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12729 $as_echo_n "checking for $ac_word... " >&6; }
12730 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
12731 $as_echo_n "(cached) " >&6
12733 if test -n "$ac_ct_STRIP"; then
12734 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
12736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12737 for as_dir
in $PATH
12740 test -z "$as_dir" && as_dir
=.
12741 for ac_exec_ext
in '' $ac_executable_extensions; do
12742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_prog_ac_ct_STRIP
="strip"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12753 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
12754 if test -n "$ac_ct_STRIP"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12756 $as_echo "$ac_ct_STRIP" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12762 if test "x$ac_ct_STRIP" = x
; then
12765 case $cross_compiling:$ac_tool_warned in
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12769 ac_tool_warned
=yes ;;
12774 STRIP
="$ac_cv_prog_STRIP"
12778 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12782 if test -z "$MKDIR_P"; then
12783 if ${ac_cv_path_mkdir+:} false
; then :
12784 $as_echo_n "(cached) " >&6
12786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12787 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
12790 test -z "$as_dir" && as_dir
=.
12791 for ac_prog
in mkdir gmkdir
; do
12792 for ac_exec_ext
in '' $ac_executable_extensions; do
12793 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
12794 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12795 'mkdir (GNU coreutils) '* | \
12796 'mkdir (coreutils) '* | \
12797 'mkdir (fileutils) '4.1*)
12798 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
12808 test -d .
/--version && rmdir .
/--version
12809 if test "${ac_cv_path_mkdir+set}" = set; then
12810 MKDIR_P
="$ac_cv_path_mkdir -p"
12812 # As a last resort, use the slow shell script. Don't cache a
12813 # value for MKDIR_P within a source directory, because that will
12814 # break other packages using the cache if that directory is
12815 # removed, or if the value is a relative name.
12816 MKDIR_P
="$ac_install_sh -d"
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12820 $as_echo "$MKDIR_P" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12825 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12826 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
12827 $as_echo_n "(cached) " >&6
12829 cat >conftest.
make <<\_ACEOF
12832 @
echo '@@@%%%=$(MAKE)=@@@%%%'
12834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12836 *@@@
%%%=?
*=@@@
%%%*)
12837 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
12839 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
12841 rm -f conftest.
make
12843 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12845 $as_echo "yes" >&6; }
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12850 SET_MAKE
="MAKE=${MAKE-make}"
12853 rm -rf .tst
2>/dev
/null
12854 mkdir .tst
2>/dev
/null
12855 if test -d .tst
; then
12860 rmdir .tst
2>/dev
/null
12862 DEPDIR
="${am__leading_dot}deps"
12864 ac_config_commands
="$ac_config_commands depfiles"
12867 am_make
=${MAKE-make}
12868 cat > confinc
<< 'END'
12870 @
echo this is the am__doit target
12873 # If we don't find an include directive, just comment out the code.
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12875 $as_echo_n "checking for style of include used by $am_make... " >&6; }
12879 # First try GNU make style include.
12880 echo "include confinc" > confmf
12881 # Ignore all kinds of additional output from 'make'.
12882 case `$am_make -s -f confmf 2> /dev/null` in #(
12883 *the\ am__doit\ target
*)
12884 am__include
=include
12889 # Now try BSD make style include.
12890 if test "$am__include" = "#"; then
12891 echo '.include "confinc"' > confmf
12892 case `$am_make -s -f confmf 2> /dev/null` in #(
12893 *the\ am__doit\ target
*)
12894 am__include
=.include
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12903 $as_echo "$_am_result" >&6; }
12904 rm -f confinc confmf
12906 # Check whether --enable-dependency-tracking was given.
12907 if test "${enable_dependency_tracking+set}" = set; then :
12908 enableval
=$enable_dependency_tracking;
12911 if test "x$enable_dependency_tracking" != xno
; then
12912 am_depcomp
="$ac_aux_dir/depcomp"
12916 if test "x$enable_dependency_tracking" != xno; then
12925 # Check whether --enable-silent-rules was given.
12926 if test "${enable_silent_rules+set}" = set; then :
12927 enableval
=$enable_silent_rules;
12930 case $enable_silent_rules in # (((
12931 yes) AM_DEFAULT_VERBOSITY
=0;;
12932 no
) AM_DEFAULT_VERBOSITY
=1;;
12933 *) AM_DEFAULT_VERBOSITY
=1;;
12935 am_make
=${MAKE-make}
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12937 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12938 if ${am_cv_make_support_nested_variables+:} false
; then :
12939 $as_echo_n "(cached) " >&6
12941 if $as_echo 'TRUE=$(BAR$(V))
12947 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
12948 am_cv_make_support_nested_variables
=yes
12950 am_cv_make_support_nested_variables
=no
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12954 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12955 if test $am_cv_make_support_nested_variables = yes; then
12957 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
12959 AM_V
=$AM_DEFAULT_VERBOSITY
12960 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
12964 if test "`cd $srcdir && pwd`" != "`pwd`"; then
12965 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12966 # is not polluted with repeated "-I."
12967 am__isrc
=' -I$(srcdir)'
12968 # test to see if srcdir already configured
12969 if test -f $srcdir/config.status
; then
12970 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12974 # test whether we have cygpath
12975 if test -z "$CYGPATH_W"; then
12976 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
12977 CYGPATH_W
='cygpath -w'
12984 # Define the identity of the package.
12989 cat >>confdefs.h
<<_ACEOF
12990 #define PACKAGE "$PACKAGE"
12994 cat >>confdefs.h
<<_ACEOF
12995 #define VERSION "$VERSION"
12998 # Some tools Automake needs.
13000 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13003 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
13006 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13009 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
13012 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
13014 # For better backward compatibility. To be removed once Automake 1.9.x
13015 # dies out for good. For more background, see:
13016 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
13017 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
13018 mkdir_p
='$(MKDIR_P)'
13020 # We need awk for the "check" target (and possibly the TAP driver). The
13021 # system "awk" is bad on some platforms.
13022 # Always define AMTAR for backward compatibility. Yes, it's still used
13023 # in the wild :-( We should find a proper way to deprecate it ...
13024 AMTAR
='$${TAR-tar}'
13027 # We'll loop over all known methods to create a tar archive until one works.
13028 _am_tools
='gnutar pax cpio none'
13030 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
13036 depcc
="$CC" am_compiler_list
=
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13039 $as_echo_n "checking dependency style of $depcc... " >&6; }
13040 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
13041 $as_echo_n "(cached) " >&6
13043 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13044 # We make a subdir and do the tests there. Otherwise we can end up
13045 # making bogus files that we don't know about and never remove. For
13046 # instance it was reported that on HP-UX the gcc test will end up
13047 # making a dummy file named 'D' -- because '-MD' means "put the output
13049 rm -rf conftest.dir
13051 # Copy depcomp to subdir because otherwise we won't find it if we're
13052 # using a relative directory.
13053 cp "$am_depcomp" conftest.dir
13055 # We will build objects and dependencies in a subdirectory because
13056 # it helps to detect inapplicable dependency modes. For instance
13057 # both Tru64's cc and ICC support -MD to output dependencies as a
13058 # side effect of compilation, but ICC will put the dependencies in
13059 # the current directory while Tru64 will put them in the object
13063 am_cv_CC_dependencies_compiler_type
=none
13064 if test "$am_compiler_list" = ""; then
13065 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13067 am__universal
=false
13068 case " $depcc " in #(
13069 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
13072 for depmode
in $am_compiler_list; do
13073 # Setup a source with many dependencies, because some compilers
13074 # like to wrap large dependency lists on column 80 (with \), and
13075 # we should not choose a depcomp mode which is confused by this.
13077 # We need to recreate these files for each test, as the compiler may
13078 # overwrite some of them when testing with obscure command lines.
13079 # This happens at least with the AIX C compiler.
13081 for i
in 1 2 3 4 5 6; do
13082 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13083 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13084 # Solaris 10 /bin/sh.
13085 echo '/* dummy */' > sub
/conftst
$i.h
13087 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13089 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13090 # mode. It turns out that the SunPro C++ compiler does not properly
13091 # handle '-M -o', and we need to detect this. Also, some Intel
13092 # versions had trouble with output in subdirs.
13093 am__obj
=sub
/conftest.
${OBJEXT-o}
13094 am__minus_obj
="-o $am__obj"
13097 # This depmode causes a compiler race in universal mode.
13098 test "$am__universal" = false ||
continue
13101 # After this tag, mechanisms are not by side-effect, so they'll
13102 # only be used when explicitly requested.
13103 if test "x$enable_dependency_tracking" = xyes
; then
13109 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
13110 # This compiler won't grok '-c -o', but also, the minuso test has
13111 # not run yet. These depmodes are late enough in the game, and
13112 # so weak that their functioning should not be impacted.
13113 am__obj
=conftest.
${OBJEXT-o}
13118 if depmode
=$depmode \
13119 source=sub
/conftest.c object
=$am__obj \
13120 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13121 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13122 >/dev
/null
2>conftest.err
&&
13123 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13124 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13125 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13126 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13127 # icc doesn't choke on unknown options, it will just issue warnings
13128 # or remarks (even with -Werror). So we grep stderr for any message
13129 # that says an option was ignored or not supported.
13130 # When given -MP, icc 7.0 and 7.1 complain thusly:
13131 # icc: Command line warning: ignoring option '-M'; no argument required
13132 # The diagnosis changed in icc 8.0:
13133 # icc: Command line remark: option '-MP' not supported
13134 if (grep 'ignoring option' conftest.err ||
13135 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13136 am_cv_CC_dependencies_compiler_type
=$depmode
13143 rm -rf conftest.dir
13145 am_cv_CC_dependencies_compiler_type
=none
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13150 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13151 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
13154 test "x$enable_dependency_tracking" != xno \
13155 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
13156 am__fastdepCC_TRUE
=
13157 am__fastdepCC_FALSE
='#'
13159 am__fastdepCC_TRUE
='#'
13160 am__fastdepCC_FALSE
=
13165 # POSIX will say in a future version that running "rm -f" with no argument
13166 # is OK; and we want to be able to make that assumption in our Makefile
13167 # recipes. So use an aggressive probe to check that the usage we want is
13168 # actually supported "in the wild" to an acceptable degree.
13169 # See automake bug#10828.
13170 # To make any issue more visible, cause the running configure to be aborted
13171 # by default if the 'rm' program in use doesn't match our expectations; the
13172 # user can still override this though.
13173 if rm -f && rm -fr && rm -rf; then : OK
; else
13177 Your 'rm' program seems unable to run without file operands specified
13178 on the command line, even when the '-f' option is present. This is contrary
13179 to the behaviour of most rm programs out there, and not conforming with
13180 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
13182 Please tell bug-automake@gnu.org about your system, including the value
13183 of your $PATH and any error possibly output before this message. This
13184 can help us improve future automake versions.
13187 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
13188 echo 'Configuration will proceed anyway, since you have set the' >&2
13189 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
13193 Aborting the configuration process, to ensure you take notice of the issue.
13195 You can download and install GNU coreutils to get an 'rm' implementation
13196 that behaves properly: <http://www.gnu.org/software/coreutils/>.
13198 If you want to complete the configuration process using your problematic
13199 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
13200 to "yes", and re-run configure.
13203 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
13207 # Check whether --enable-silent-rules was given.
13208 if test "${enable_silent_rules+set}" = set; then :
13209 enableval
=$enable_silent_rules;
13212 case $enable_silent_rules in # (((
13213 yes) AM_DEFAULT_VERBOSITY
=0;;
13214 no
) AM_DEFAULT_VERBOSITY
=1;;
13215 *) AM_DEFAULT_VERBOSITY
=0;;
13217 am_make
=${MAKE-make}
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13219 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13220 if ${am_cv_make_support_nested_variables+:} false
; then :
13221 $as_echo_n "(cached) " >&6
13223 if $as_echo 'TRUE=$(BAR$(V))
13229 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13230 am_cv_make_support_nested_variables
=yes
13232 am_cv_make_support_nested_variables
=no
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13236 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13237 if test $am_cv_make_support_nested_variables = yes; then
13239 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13241 AM_V
=$AM_DEFAULT_VERBOSITY
13242 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13247 # If a cpu ever has more than one simulator to choose from, use
13248 # --enable-sim=... to choose.
13249 # Check whether --enable-sim was given.
13250 if test "${enable_sim+set}" = set; then :
13251 enableval=$enable_sim; case "${enableval}" in
13253 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
13258 # Check whether --enable-example-sims was given.
13259 if test "${enable_example_sims+set}" = set; then :
13260 enableval=$enable_example_sims;
13264 # Check whether --enable-targets was given.
13265 if test "${enable_targets+set}" = set; then :
13266 enableval=$enable_targets; case "${enableval}" in
13267 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
13269 no) enable_targets= ;;
13270 *) enable_targets=$enableval ;;
13275 SIM_PRIMARY_TARGET=
13281 if test "${enable_sim}" != no; then
13283 for targ in `echo $target $enable_targets | sed 's
/,/ /g
'`
13287 if test "${targ}" = "${target}"; then
13288 SIM_PRIMARY_TARGET=aarch64
13292 subdirs="$subdirs aarch64"
13294 ac_config_commands="$ac_config_commands depdir-aarch64"
13303 if test "${targ}" = "${target}"; then
13304 SIM_PRIMARY_TARGET=arm
13306 subdirs="$subdirs arm"
13308 ac_config_commands="$ac_config_commands depdir-arm"
13317 if test "${targ}" = "${target}"; then
13318 SIM_PRIMARY_TARGET=avr
13320 subdirs="$subdirs avr"
13322 ac_config_commands="$ac_config_commands depdir-avr"
13331 if test "${targ}" = "${target}"; then
13332 SIM_PRIMARY_TARGET=bfin
13334 subdirs="$subdirs bfin"
13336 ac_config_commands="$ac_config_commands depdir-bfin"
13345 if test "${targ}" = "${target}"; then
13346 SIM_PRIMARY_TARGET=bpf
13348 subdirs="$subdirs bpf"
13350 ac_config_commands="$ac_config_commands depdir-bpf"
13359 if test "${targ}" = "${target}"; then
13360 SIM_PRIMARY_TARGET=cr16
13362 subdirs="$subdirs cr16"
13364 ac_config_commands="$ac_config_commands depdir-cr16"
13372 all|cris-*-* | crisv32-*-*)
13373 if test "${targ}" = "${target}"; then
13374 SIM_PRIMARY_TARGET=cris
13376 subdirs="$subdirs cris"
13378 ac_config_commands="$ac_config_commands depdir-cris"
13387 if test "${targ}" = "${target}"; then
13388 SIM_PRIMARY_TARGET=d10v
13390 subdirs="$subdirs d10v"
13392 ac_config_commands="$ac_config_commands depdir-d10v"
13401 if test "${targ}" = "${target}"; then
13402 SIM_PRIMARY_TARGET=frv
13404 subdirs="$subdirs frv"
13406 ac_config_commands="$ac_config_commands depdir-frv"
13415 if test "${targ}" = "${target}"; then
13416 SIM_PRIMARY_TARGET=h8300
13418 subdirs="$subdirs h8300"
13420 ac_config_commands="$ac_config_commands depdir-h8300"
13429 if test "${targ}" = "${target}"; then
13430 SIM_PRIMARY_TARGET=iq2000
13432 subdirs="$subdirs iq2000"
13434 ac_config_commands="$ac_config_commands depdir-iq2000"
13443 if test "${targ}" = "${target}"; then
13444 SIM_PRIMARY_TARGET=lm32
13446 subdirs="$subdirs lm32"
13448 ac_config_commands="$ac_config_commands depdir-lm32"
13457 if test "${targ}" = "${target}"; then
13458 SIM_PRIMARY_TARGET=m32c
13460 subdirs="$subdirs m32c"
13462 ac_config_commands="$ac_config_commands depdir-m32c"
13471 if test "${targ}" = "${target}"; then
13472 SIM_PRIMARY_TARGET=m32r
13474 subdirs="$subdirs m32r"
13476 ac_config_commands="$ac_config_commands depdir-m32r"
13484 all|m68hc11-*-*|m6811-*-*)
13485 if test "${targ}" = "${target}"; then
13486 SIM_PRIMARY_TARGET=m68hc11
13488 subdirs="$subdirs m68hc11"
13490 ac_config_commands="$ac_config_commands depdir-m68hc11"
13499 if test "${targ}" = "${target}"; then
13500 SIM_PRIMARY_TARGET=mcore
13502 subdirs="$subdirs mcore"
13504 ac_config_commands="$ac_config_commands depdir-mcore"
13512 all|microblaze-*-*)
13513 if test "${targ}" = "${target}"; then
13514 SIM_PRIMARY_TARGET=microblaze
13516 subdirs="$subdirs microblaze"
13518 ac_config_commands="$ac_config_commands depdir-microblaze"
13527 if test "${targ}" = "${target}"; then
13528 SIM_PRIMARY_TARGET=mips
13530 subdirs="$subdirs mips"
13532 ac_config_commands="$ac_config_commands depdir-mips"
13541 if test "${targ}" = "${target}"; then
13542 SIM_PRIMARY_TARGET=mn10300
13544 subdirs="$subdirs mn10300"
13546 ac_config_commands="$ac_config_commands depdir-mn10300"
13555 if test "${targ}" = "${target}"; then
13556 SIM_PRIMARY_TARGET=moxie
13558 subdirs="$subdirs moxie"
13560 ac_config_commands="$ac_config_commands depdir-moxie"
13569 if test "${targ}" = "${target}"; then
13570 SIM_PRIMARY_TARGET=msp430
13572 subdirs="$subdirs msp430"
13574 ac_config_commands="$ac_config_commands depdir-msp430"
13582 all|or1k-*-* | or1knd-*-*)
13583 if test "${targ}" = "${target}"; then
13584 SIM_PRIMARY_TARGET=or1k
13586 subdirs="$subdirs or1k"
13588 ac_config_commands="$ac_config_commands depdir-or1k"
13597 if test "${targ}" = "${target}"; then
13598 SIM_PRIMARY_TARGET=pru
13600 subdirs="$subdirs pru"
13602 ac_config_commands="$ac_config_commands depdir-pru"
13611 if test "${targ}" = "${target}"; then
13612 SIM_PRIMARY_TARGET=riscv
13614 subdirs="$subdirs riscv"
13616 ac_config_commands="$ac_config_commands depdir-riscv"
13625 if test "${targ}" = "${target}"; then
13626 SIM_PRIMARY_TARGET=rl78
13628 subdirs="$subdirs rl78"
13630 ac_config_commands="$ac_config_commands depdir-rl78"
13639 if test "${targ}" = "${target}"; then
13640 SIM_PRIMARY_TARGET=rx
13642 subdirs="$subdirs rx"
13644 ac_config_commands="$ac_config_commands depdir-rx"
13653 if test "${targ}" = "${target}"; then
13654 SIM_PRIMARY_TARGET=sh
13656 subdirs="$subdirs sh"
13658 ac_config_commands="$ac_config_commands depdir-sh"
13666 all|sparc-*-rtems*|sparc-*-elf*)
13667 if test "${targ}" = "${target}"; then
13668 SIM_PRIMARY_TARGET=erc32
13670 subdirs="$subdirs erc32"
13672 ac_config_commands="$ac_config_commands depdir-erc32"
13681 if test "${targ}" = "${target}"; then
13682 SIM_PRIMARY_TARGET=ppc
13684 subdirs="$subdirs ppc"
13686 ac_config_commands="$ac_config_commands depdir-ppc"
13695 if test "${targ}" = "${target}"; then
13696 SIM_PRIMARY_TARGET=ft32
13698 subdirs="$subdirs ft32"
13700 ac_config_commands="$ac_config_commands depdir-ft32"
13709 if test "${targ}" = "${target}"; then
13710 SIM_PRIMARY_TARGET=v850
13712 subdirs="$subdirs v850"
13714 ac_config_commands="$ac_config_commands depdir-v850"
13723 if test "x${enable_example_sims}" = xyes; then
13724 subdirs="$subdirs example-synacor"
13726 ac_config_commands="$ac_config_commands depdir-example-synacor"
13731 if test "$sim_igen" = "yes"; then
13732 SIM_ENABLE_IGEN_TRUE=
13733 SIM_ENABLE_IGEN_FALSE='#'
13735 SIM_ENABLE_IGEN_TRUE
='#'
13736 SIM_ENABLE_IGEN_FALSE
=
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
13741 $as_echo_n "checking whether to force sim alignment... " >&6; }
13743 # Check whether --enable-sim-alignment was given.
13744 if test "${enable_sim_alignment+set}" = set; then :
13745 enableval
=$enable_sim_alignment; case "${enableval}" in
13746 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
13747 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
13748 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
13749 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
13753 cat >>confdefs.h
<<_ACEOF
13754 #define WITH_ALIGNMENT ${sim_alignment:-0}
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13758 $as_echo "${sim_alignment:-no}" >&6; }
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
13762 $as_echo_n "checking whether to enable sim asserts... " >&6; }
13764 # Check whether --enable-sim-assert was given.
13765 if test "${enable_sim_assert+set}" = set; then :
13766 enableval
=$enable_sim_assert; case "${enableval}" in
13767 yes) sim_assert
="1";;
13768 no
) sim_assert
="0";;
13769 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
13773 cat >>confdefs.h
<<_ACEOF
13774 #define WITH_ASSERT $sim_assert
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
13778 $as_echo "$sim_assert" >&6; }
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
13781 $as_echo_n "checking for sim debug setting... " >&6; }
13783 # Check whether --enable-sim-debug was given.
13784 if test "${enable_sim_debug+set}" = set; then :
13785 enableval
=$enable_sim_debug; case "${enableval}" in
13786 yes) sim_debug
="7";;
13787 no
) sim_debug
="0";;
13788 *) sim_debug
="($enableval)";;
13791 if test "$sim_debug" != "0"; then
13793 cat >>confdefs.h
<<_ACEOF
13794 #define DEBUG $sim_debug
13799 cat >>confdefs.h
<<_ACEOF
13800 #define WITH_DEBUG $sim_debug
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
13804 $as_echo "$sim_debug" >&6; }
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
13807 $as_echo_n "checking whether to force sim endianness... " >&6; }
13809 # Check whether --enable-sim-endian was given.
13810 if test "${enable_sim_endian+set}" = set; then :
13811 enableval
=$enable_sim_endian; case "${enableval}" in
13812 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
13813 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
13815 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
13819 cat >>confdefs.h
<<_ACEOF
13820 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13824 $as_echo "${sim_alignment:-no}" >&6; }
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
13828 $as_echo_n "checking default sim environment setting... " >&6; }
13829 sim_environment
="ALL_ENVIRONMENT"
13830 # Check whether --enable-sim-environment was given.
13831 if test "${enable_sim_environment+set}" = set; then :
13832 enableval
=$enable_sim_environment; case "${enableval}" in
13833 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
13834 user | USER
) sim_environment
="USER_ENVIRONMENT";;
13835 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
13836 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
13837 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
13841 cat >>confdefs.h
<<_ACEOF
13842 #define WITH_ENVIRONMENT $sim_environment
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
13846 $as_echo "$sim_environment" >&6; }
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
13849 $as_echo_n "checking for sim profile settings... " >&6; }
13852 # Check whether --enable-sim-profile was given.
13853 if test "${enable_sim_profile+set}" = set; then :
13854 enableval
=$enable_sim_profile; case "${enableval}" in
13855 yes) profile
="1" sim_profile
="-1";;
13856 no
) profile
="0" sim_profile
="0";;
13858 profile
="(${enableval})" sim_profile
="(${enableval})";;
13862 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13863 if test x
"$sim_profile" = x
; then
13864 sim_profile
="(PROFILE_$x"
13866 sim_profile
="${sim_profile}|PROFILE_$x"
13869 sim_profile
="$sim_profile)" ;;
13873 cat >>confdefs.h
<<_ACEOF
13874 #define PROFILE $profile
13878 cat >>confdefs.h
<<_ACEOF
13879 #define WITH_PROFILE $sim_profile
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
13883 $as_echo "$sim_profile" >&6; }
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
13886 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
13888 # Check whether --enable-sim-stdio was given.
13889 if test "${enable_sim_stdio+set}" = set; then :
13890 enableval
=$enable_sim_stdio; case "${enableval}" in
13891 yes) sim_stdio
="DO_USE_STDIO";;
13892 no
) sim_stdio
="DONT_USE_STDIO";;
13893 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
13897 cat >>confdefs.h
<<_ACEOF
13898 #define WITH_STDIO $sim_stdio
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
13902 $as_echo "$sim_stdio" >&6; }
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
13905 $as_echo_n "checking for sim trace settings... " >&6; }
13906 sim_trace
="~TRACE_debug"
13907 # Check whether --enable-sim-trace was given.
13908 if test "${enable_sim_trace+set}" = set; then :
13909 enableval
=$enable_sim_trace; case "${enableval}" in
13910 yes) sim_trace
="-1";;
13911 no
) sim_trace
="0";;
13913 sim_trace
="'(${enableval})'";;
13916 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13917 if test x
"$sim_trace" = x
; then
13918 sim_trace
="(TRACE_$x"
13920 sim_trace
="${sim_trace}|TRACE_$x"
13923 sim_trace
="$sim_trace)" ;;
13927 cat >>confdefs.h
<<_ACEOF
13928 #define WITH_TRACE $sim_trace
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
13932 $as_echo "$sim_trace" >&6; }
13935 # Check whether --enable-werror was given.
13936 if test "${enable_werror+set}" = set; then :
13937 enableval
=$enable_werror; case "${enableval}" in
13938 yes | y
) ERROR_ON_WARNING
="yes" ;;
13939 no | n
) ERROR_ON_WARNING
="no" ;;
13940 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
13945 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
13946 ERROR_ON_WARNING
=yes
13950 if test "${ERROR_ON_WARNING}" = yes ; then
13951 WERROR_CFLAGS
="-Werror"
13954 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
13956 -Wno-unused -Wunused-value -Wunused-function \
13957 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
13958 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
13959 -Wold-style-declaration -Wold-style-definition"
13961 # Enable -Wno-format by default when using gcc on mingw since many
13962 # GCC versions complain about %I64.
13964 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
13965 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
13968 # Check whether --enable-build-warnings was given.
13969 if test "${enable_build_warnings+set}" = set; then :
13970 enableval
=$enable_build_warnings; case "${enableval}" in
13972 no
) build_warnings
="-w";;
13973 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13974 build_warnings
="${build_warnings} ${t}";;
13975 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13976 build_warnings
="${t} ${build_warnings}";;
13977 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13979 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13980 echo "Setting compiler warning flags = $build_warnings" 6>&1
13983 # Check whether --enable-sim-build-warnings was given.
13984 if test "${enable_sim_build_warnings+set}" = set; then :
13985 enableval
=$enable_sim_build_warnings; case "${enableval}" in
13987 no
) build_warnings
="-w";;
13988 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13989 build_warnings
="${build_warnings} ${t}";;
13990 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13991 build_warnings
="${t} ${build_warnings}";;
13992 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13994 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13995 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
13999 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
14002 $as_echo_n "checking compiler warning flags... " >&6; }
14003 # Separate out the -Werror flag as some files just cannot be
14004 # compiled with it enabled.
14005 for w
in ${build_warnings}; do
14007 -Werr*) WERROR_CFLAGS
=-Werror ;;
14008 *) # Check that GCC accepts it
14009 saved_CFLAGS
="$CFLAGS"
14010 CFLAGS
="$CFLAGS -Werror $w"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14022 if ac_fn_c_try_compile
"$LINENO"; then :
14023 WARN_CFLAGS
="${WARN_CFLAGS} $w"
14025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14026 CFLAGS
="$saved_CFLAGS"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
14030 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
14034 ac_config_files="$ac_config_files arch-subdir.mk Makefile
"
14036 cat >confcache <<\_ACEOF
14037 # This file is a shell script that caches the results of configure
14038 # tests run on this system so they can be shared between configure
14039 # scripts and configure runs, see configure's option --config-cache.
14040 # It is not useful on other systems. If it contains results you don't
14041 # want to keep, you may remove or edit it.
14043 # config.status only pays attention to the cache file if you give it
14044 # the --recheck option to rerun configure.
14046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14048 # following values.
14052 # The following way of writing the cache mishandles newlines in values,
14053 # but we know of no workaround that is simple, portable, and efficient.
14054 # So, we kill variables containing newlines.
14055 # Ultrix sh set writes to stderr and can't be redirected directly,
14056 # and sets the high bit in the cache file unless we assign to the vars.
14058 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14059 eval ac_val=\$$ac_var
14063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14064 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14067 _ | IFS | as_nl) ;; #(
14068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14069 *) { eval $ac_var=; unset $ac_var;} ;;
14075 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14076 *${as_nl}ac_space=\ *)
14077 # `set' does not quote correctly, so add quotes: double-quote
14078 # substitution turns \\\\ into \\, and sed turns \\ into \.
14081 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14084 # `set' quotes correctly as required by POSIX, so do not add quotes.
14085 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14096 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14098 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14099 if test -w "$cache_file"; then
14100 if test "x
$cache_file" != "x
/dev
/null
"; then
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14102 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14103 if test ! -f "$cache_file" || test -h "$cache_file"; then
14104 cat confcache >"$cache_file"
14106 case $cache_file in #(
14108 mv -f confcache "$cache_file"$$ &&
14109 mv -f "$cache_file"$$ "$cache_file" ;; #(
14111 mv -f confcache "$cache_file" ;;
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14117 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14122 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14123 # Let make expand exec_prefix.
14124 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14126 DEFS=-DHAVE_CONFIG_H
14131 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
14132 # 1. Remove the extension, and $U if already installed.
14133 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14134 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14136 # will be set to the directory where LIBOBJS objects are built.
14137 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
14138 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
14140 LIBOBJS=$ac_libobjs
14142 LTLIBOBJS=$ac_ltlibobjs
14146 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
14147 as_fn_error $? "conditional
\"PLUGINS
\" was never defined.
14148 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14150 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14151 as_fn_error $? "conditional
\"MAINTAINER_MODE
\" was never defined.
14152 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
14155 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
14156 if test -n "$am_sleep_pid"; then
14157 # Hide warnings about reused PIDs.
14158 wait $am_sleep_pid 2>/dev/null
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
14161 $as_echo "done" >&6; }
14162 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14163 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
14164 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14166 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14167 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
14168 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14170 if test -n "$EXEEXT"; then
14172 am__EXEEXT_FALSE='#'
14174 am__EXEEXT_TRUE='#'
14178 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
14179 as_fn_error $? "conditional
\"SIM_ENABLE_IGEN
\" was never defined.
14180 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14183 : "${CONFIG_STATUS=./config.status}"
14185 ac_clean_files_save=$ac_clean_files
14186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
14188 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
14190 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14192 # Generated by $as_me.
14193 # Run this file to recreate the current configuration.
14194 # Compiler output produced by configure, useful for debugging
14195 # configure, is in config.log if it exists.
14198 ac_cs_recheck=false
14201 SHELL=\${CONFIG_SHELL-$SHELL}
14204 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14205 ## -------------------- ##
14206 ## M4sh Initialization. ##
14207 ## -------------------- ##
14209 # Be more Bourne compatible
14210 DUALCASE=1; export DUALCASE # for MKS sh
14211 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14214 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14215 # is contrary to our usage. Disable this feature.
14216 alias -g '${1+"$@"}'='"$@
"'
14217 setopt NO_GLOB_SUBST
14219 case `(set -o) 2>/dev/null` in #(
14231 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14232 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14235 # Prefer a ksh shell builtin over an external printf program on Solaris,
14236 # but without wasting forks for bash or zsh.
14237 if test -z "$BASH_VERSION$ZSH_VERSION" \
14238 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
14239 as_echo='print -r --'
14240 as_echo_n='print -rn --'
14241 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
14242 as_echo='printf %s\n'
14243 as_echo_n='printf %s'
14245 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14246 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14247 as_echo_n='/usr/ucb/echo -n'
14249 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14250 as_echo_n_body='eval
14254 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14255 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14257 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14259 export as_echo_n_body
14260 as_echo_n='sh -c $as_echo_n_body as_echo'
14262 export as_echo_body
14263 as_echo='sh -c $as_echo_body as_echo'
14266 # The user is always right.
14267 if test "${PATH_SEPARATOR+set}" != set; then
14269 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14270 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14277 # We need space, tab and new line, in precisely that order. Quoting is
14278 # there to prevent editors from complaining about space-tab.
14279 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14280 # splitting by setting IFS to empty value.)
14283 # Find who we are. Look in the path if we contain no directory separator.
14286 *[\\/]* ) as_myself=$0 ;;
14287 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14288 for as_dir in $PATH
14291 test -z "$as_dir" && as_dir=.
14292 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14298 # We did not find ourselves, most probably we were run as `sh COMMAND'
14299 # in which case we are not to be found in the path.
14300 if test "x
$as_myself" = x; then
14303 if test ! -f "$as_myself"; then
14304 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14308 # Unset variables that we do not need and which cause bugs (e.g. in
14309 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
14310 # suppresses any "Segmentation fault
" message there. '((' could
14311 # trigger a bug in pdksh 5.2.14.
14312 for as_var in BASH_ENV ENV MAIL MAILPATH
14313 do eval test x\${$as_var+set} = xset \
14314 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14330 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14331 # ----------------------------------------
14332 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
14333 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14334 # script with STATUS, using 1 if that was 0.
14337 as_status=$1; test $as_status -eq 0 && as_status=1
14339 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14340 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
14342 $as_echo "$as_me: error
: $2" >&2
14343 as_fn_exit $as_status
14347 # as_fn_set_status STATUS
14348 # -----------------------
14349 # Set $? to STATUS, without forking.
14350 as_fn_set_status ()
14353 } # as_fn_set_status
14355 # as_fn_exit STATUS
14356 # -----------------
14357 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14361 as_fn_set_status $1
14367 # Portably unset VAR.
14370 { eval $1=; unset $1;}
14372 as_unset=as_fn_unset
14373 # as_fn_append VAR VALUE
14374 # ----------------------
14375 # Append the text in VALUE to the end of the definition contained in VAR. Take
14376 # advantage of any shell optimizations that allow amortized linear growth over
14377 # repeated appends, instead of the typical quadratic growth present in naive
14379 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
14380 eval 'as_fn_append ()
14391 # as_fn_arith ARG...
14392 # ------------------
14393 # Perform arithmetic evaluation on the ARGs, and store the result in the
14394 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14395 # must be portable across $(()) and expr.
14396 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
14397 eval 'as_fn_arith ()
14404 as_val=`expr "$@
" || test $? -eq 1`
14409 if expr a : '\(a\)' >/dev/null 2>&1 &&
14410 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14416 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14417 as_basename=basename
14422 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14428 as_me=`$as_basename -- "$0" ||
14429 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14430 X"$0" : 'X\(//\)$' \| \
14431 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14433 sed '/^.*\/\([^/][^/]*\)\/*$/{
14447 # Avoid depending upon Character Ranges.
14448 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14449 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14450 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14451 as_cr_digits='0123456789'
14452 as_cr_alnum=$as_cr_Letters$as_cr_digits
14454 ECHO_C= ECHO_N= ECHO_T=
14455 case `echo -n x` in #(((((
14457 case `echo 'xy\c'` in
14458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14467 rm -f conf$$ conf$$.exe conf$$.file
14468 if test -d conf$$.dir; then
14469 rm -f conf$$.dir/conf$$.file
14472 mkdir conf$$.dir 2>/dev/null
14474 if (echo >conf$$.file) 2>/dev/null; then
14475 if ln -s conf$$.file conf$$ 2>/dev/null; then
14477 # ... but there are two gotchas:
14478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14480 # In both cases, we have to default to `cp -pR'.
14481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14483 elif ln conf$$.file conf$$ 2>/dev/null; then
14491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14492 rmdir conf$$.dir 2>/dev/null
14497 # Create "$as_dir" as a directory, including parents if necessary.
14502 -*) as_dir=./$as_dir;;
14504 test -d "$as_dir" || eval $as_mkdir_p || {
14508 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
14509 *) as_qdir=$as_dir;;
14511 as_dirs="'$as_qdir' $as_dirs"
14512 as_dir=`$as_dirname -- "$as_dir" ||
14513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14514 X"$as_dir" : 'X\(//\)[^/]' \| \
14515 X"$as_dir" : 'X\(//\)$' \| \
14516 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14517 $as_echo X"$as_dir" |
14518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14522 /^X\(\/\/\)[^/].*/{
14535 test -d "$as_dir" && break
14537 test -z "$as_dirs" || eval "mkdir
$as_dirs"
14538 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
14542 if mkdir -p . 2>/dev/null; then
14543 as_mkdir_p='mkdir -p "$as_dir"'
14545 test -d ./-p && rmdir ./-p
14550 # as_fn_executable_p FILE
14551 # -----------------------
14552 # Test if FILE is an executable regular file.
14553 as_fn_executable_p ()
14555 test -f "$1" && test -x "$1"
14556 } # as_fn_executable_p
14557 as_test_x='test -x'
14558 as_executable_p=as_fn_executable_p
14560 # Sed expression to map a string onto a valid CPP name.
14561 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14563 # Sed expression to map a string onto a valid variable name.
14564 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14568 ## ----------------------------------- ##
14569 ## Main body of $CONFIG_STATUS script. ##
14570 ## ----------------------------------- ##
14572 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14575 # Save the log message, to keep $0 and so on meaningful, and to
14576 # report actual input values of CONFIG_FILES etc. instead of their
14577 # values after options handling.
14579 This
file was extended by sim
$as_me 0, which was
14580 generated by GNU Autoconf
2.69. Invocation
command line was
14582 CONFIG_FILES
= $CONFIG_FILES
14583 CONFIG_HEADERS
= $CONFIG_HEADERS
14584 CONFIG_LINKS
= $CONFIG_LINKS
14585 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14588 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14593 case $ac_config_files in *"
14594 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14597 case $ac_config_headers in *"
14598 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14603 # Files that config.status was made for.
14604 config_files="$ac_config_files"
14605 config_headers="$ac_config_headers"
14606 config_commands="$ac_config_commands"
14610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14612 \
`$as_me' instantiates files and other configuration actions
14613 from templates according to the current configuration. Unless the files
14614 and actions are specified as TAGs, all are instantiated by default.
14616 Usage: $0 [OPTION]... [TAG]...
14618 -h, --help print this help, then exit
14619 -V, --version print version number and configuration settings, then exit
14620 --config print configuration, then exit
14621 -q, --quiet, --silent
14622 do not print progress messages
14623 -d, --debug don't remove temporary files
14624 --recheck update $as_me by reconfiguring in the same conditions
14625 --file=FILE[:TEMPLATE]
14626 instantiate the configuration file FILE
14627 --header=FILE[:TEMPLATE]
14628 instantiate the configuration header FILE
14630 Configuration files:
14633 Configuration headers:
14636 Configuration commands:
14639 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
14640 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
14643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14644 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14646 sim config.status 0
14647 configured by $0, generated by GNU Autoconf 2.69,
14648 with options \\"\$ac_cs_config\\"
14650 Copyright (C) 2012 Free Software Foundation, Inc.
14651 This config.status script is free software; the Free Software Foundation
14652 gives unlimited permission to copy, distribute and modify it."
14659 test -n "\$AWK" || AWK=awk
14662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14663 # The default lists apply if the user does not specify any file.
14669 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14670 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14674 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14686 # Handling of the options.
14687 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14689 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14690 $as_echo "$ac_cs_version"; exit ;;
14691 --config | --confi | --conf | --con | --co | --c )
14692 $as_echo "$ac_cs_config"; exit ;;
14693 --debug | --debu | --deb | --de | --d | -d )
14695 --file | --fil | --fi | --f )
14698 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14699 '') as_fn_error $? "missing file argument" ;;
14701 as_fn_append CONFIG_FILES " '$ac_optarg'"
14702 ac_need_defaults=false;;
14703 --header | --heade | --head | --hea )
14706 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14708 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14709 ac_need_defaults=false;;
14711 # Conflict between --help and --header
14712 as_fn_error $? "ambiguous option: \`$1'
14713 Try \`$0 --help' for more information.
";;
14714 --help | --hel | -h )
14715 $as_echo "$ac_cs_usage"; exit ;;
14716 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14717 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14720 # This is an error.
14721 -*) as_fn_error $? "unrecognized option
: \
`$1'
14722 Try \`$0 --help' for more information." ;;
14724 *) as_fn_append ac_config_targets " $1"
14725 ac_need_defaults=false ;;
14731 ac_configure_extra_args=
14733 if $ac_cs_silent; then
14735 ac_configure_extra_args="$ac_configure_extra_args --silent"
14739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14740 if \$ac_cs_recheck; then
14741 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14743 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14744 CONFIG_SHELL='$SHELL'
14745 export CONFIG_SHELL
14750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14754 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14755 ## Running $as_me. ##
14761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14767 # The HP-UX ksh and POSIX shell print the target directory to stdout
14768 # if CDPATH is set.
14769 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14771 sed_quote_subst='$sed_quote_subst'
14772 double_quote_subst='$double_quote_subst'
14773 delay_variable_subst='$delay_variable_subst'
14774 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14775 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14776 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14777 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14778 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14779 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14780 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14781 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14782 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14783 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14784 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14785 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14786 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14787 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14788 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14789 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14790 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14791 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14792 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14793 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14794 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14795 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14796 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14797 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14798 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14799 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14800 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14801 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14802 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14803 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14804 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14805 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14806 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14807 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14808 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14809 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14810 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14811 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14812 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14813 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14814 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14815 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14816 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14817 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14818 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14819 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14820 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14821 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14822 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"`'
14823 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14824 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14825 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14826 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14827 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14828 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14829 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14830 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14831 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14832 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14833 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14834 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14835 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14836 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14837 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14838 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14839 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14840 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14841 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14842 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14843 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14844 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14845 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14846 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14847 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14848 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14849 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14850 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14851 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14852 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14853 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14854 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14855 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14856 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14857 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14858 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14859 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14860 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14861 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14862 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14863 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14864 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14865 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14866 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14867 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14868 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14869 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14870 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14871 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14872 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14873 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14874 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14875 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14876 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14877 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14878 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14879 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14880 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14881 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14882 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14883 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14884 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14885 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14886 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14887 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14888 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14889 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14890 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14891 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14892 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14893 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14896 LTCFLAGS='$LTCFLAGS'
14897 compiler='$compiler_DEFAULT'
14899 # A function that is used when there is no print builtin or printf.
14900 func_fallback_echo ()
14902 eval 'cat <<_LTECHO_EOF
14907 # Quote evaled strings.
14921 deplibs_check_method \
14930 lt_cv_sys_global_symbol_pipe \
14931 lt_cv_sys_global_symbol_to_cdecl \
14932 lt_cv_sys_global_symbol_to_c_name_address \
14933 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14934 lt_prog_compiler_no_builtin_flag \
14935 lt_prog_compiler_wl \
14936 lt_prog_compiler_pic \
14937 lt_prog_compiler_static \
14938 lt_cv_prog_compiler_c_o \
14946 export_dynamic_flag_spec \
14947 whole_archive_flag_spec \
14948 compiler_needs_object \
14950 allow_undefined_flag \
14951 no_undefined_flag \
14952 hardcode_libdir_flag_spec \
14953 hardcode_libdir_flag_spec_ld \
14954 hardcode_libdir_separator \
14959 variables_saved_for_relink \
14961 library_names_spec \
14963 install_override_mode \
14967 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14968 *[\\\\\\\`\\"\\\$]*)
14969 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14972 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14977 # Double-quote double-evaled strings.
14978 for var in reload_cmds \
14979 old_postinstall_cmds \
14980 old_postuninstall_cmds \
14982 extract_expsyms_cmds \
14983 old_archive_from_new_cmds \
14984 old_archive_from_expsyms_cmds \
14986 archive_expsym_cmds \
14988 module_expsym_cmds \
14989 export_symbols_cmds \
14992 postuninstall_cmds \
14994 sys_lib_search_path_spec \
14995 sys_lib_dlsearch_path_spec; do
14996 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14997 *[\\\\\\\`\\"\\\$]*)
14998 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15001 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15006 ac_aux_dir='$ac_aux_dir'
15007 xsi_shell='$xsi_shell'
15008 lt_shell_append='$lt_shell_append'
15010 # See if we are running on zsh, and set the options which allow our
15011 # commands through without removal of \ escapes INIT.
15012 if test -n "\${ZSH_VERSION+set}" ; then
15013 setopt NO_GLOB_SUBST
15019 TIMESTAMP='$TIMESTAMP'
15025 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15026 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15027 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15028 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15029 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15030 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15031 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15032 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15033 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15034 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15035 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15036 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15037 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15038 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15039 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15040 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15041 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15042 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15043 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15044 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15045 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15046 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15047 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15048 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15049 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15050 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15051 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15052 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15053 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15054 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15055 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15056 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15057 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15063 # Handling of arguments.
15064 for ac_config_target
in $ac_config_targets
15066 case $ac_config_target in
15067 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15068 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15069 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15070 "depdir-aarch64") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-aarch64" ;;
15071 "depdir-arm") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-arm" ;;
15072 "depdir-avr") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-avr" ;;
15073 "depdir-bfin") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bfin" ;;
15074 "depdir-bpf") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bpf" ;;
15075 "depdir-cr16") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cr16" ;;
15076 "depdir-cris") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cris" ;;
15077 "depdir-d10v") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-d10v" ;;
15078 "depdir-frv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-frv" ;;
15079 "depdir-h8300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-h8300" ;;
15080 "depdir-iq2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-iq2000" ;;
15081 "depdir-lm32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-lm32" ;;
15082 "depdir-m32c") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32c" ;;
15083 "depdir-m32r") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32r" ;;
15084 "depdir-m68hc11") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m68hc11" ;;
15085 "depdir-mcore") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mcore" ;;
15086 "depdir-microblaze") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-microblaze" ;;
15087 "depdir-mips") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mips" ;;
15088 "depdir-mn10300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mn10300" ;;
15089 "depdir-moxie") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-moxie" ;;
15090 "depdir-msp430") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-msp430" ;;
15091 "depdir-or1k") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-or1k" ;;
15092 "depdir-pru") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-pru" ;;
15093 "depdir-riscv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-riscv" ;;
15094 "depdir-rl78") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rl78" ;;
15095 "depdir-rx") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rx" ;;
15096 "depdir-sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-sh" ;;
15097 "depdir-erc32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-erc32" ;;
15098 "depdir-ppc") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ppc" ;;
15099 "depdir-ft32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ft32" ;;
15100 "depdir-v850") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-v850" ;;
15101 "depdir-example-synacor") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-example-synacor" ;;
15102 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
15103 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15105 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15110 # If the user did not use the arguments to specify the items to instantiate,
15111 # then the envvar interface is used. Set only those that are not.
15112 # We use the long form for the default assignment because of an extremely
15113 # bizarre bug on SunOS 4.1.3.
15114 if $ac_need_defaults; then
15115 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15116 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15117 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15120 # Have a temporary directory for convenience. Make it in the build tree
15121 # simply because there is no reason against having it here, and in addition,
15122 # creating and moving files from /tmp can sometimes cause problems.
15123 # Hook for its removal unless debugging.
15124 # Note that there is a small window in which the directory will not be cleaned:
15125 # after its creation but before its name has been assigned to `$tmp'.
15129 trap 'exit_status=$?
15130 : "${ac_tmp:=$tmp}"
15131 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15133 trap 'as_fn_exit 1' 1 2 13 15
15135 # Create a (secure) tmp directory for tmp files.
15138 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15142 tmp
=.
/conf$$
-$RANDOM
15143 (umask 077 && mkdir
"$tmp")
15144 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15147 # Set up the scripts for CONFIG_FILES section.
15148 # No need to generate them if there are no CONFIG_FILES.
15149 # This happens for instance with `./config.status config.h'.
15150 if test -n "$CONFIG_FILES"; then
15153 ac_cr
=`echo X | tr X '\015'`
15154 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15155 # But we know of no other shell where ac_cr would be empty at this
15156 # point, so we can use a bashism as a fallback.
15157 if test "x$ac_cr" = x
; then
15158 eval ac_cr
=\$
\'\\r
\'
15160 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15161 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15164 ac_cs_awk_cr
=$ac_cr
15167 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15172 echo "cat >conf$$subs.awk <<_ACEOF" &&
15173 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15175 } >conf$$subs.sh ||
15176 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15177 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15179 for ac_last_try in false false false false false :; do
15180 . ./conf$$subs.sh ||
15181 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15183 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15184 if test $ac_delim_n = $ac_delim_num; then
15186 elif $ac_last_try; then
15187 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15189 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15192 rm -f conf$$subs.sh
15194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15195 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15199 s/^/S["/; s
/!.
*/"]=/
15209 s/\(.\{148\}\)..*/\1/
15211 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15216 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15223 s/\(.\{148\}\)..*/\1/
15225 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15229 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15234 ' <conf$$subs.awk | sed '
15239 ' >>$CONFIG_STATUS || ac_write_fail=1
15240 rm -f conf$$subs.awk
15241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15243 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15244 for (key in S) S_is_set[key] = 1
15250 nfields = split(line, field, "@
")
15252 len = length(field[1])
15253 for (i = 2; i < nfields; i++) {
15255 keylen = length(key)
15256 if (S_is_set[key]) {
15258 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15259 len += length(value) + length(field[++i])
15270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15271 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15272 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15275 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15276 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15279 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15280 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15281 # trailing colons and then remove the whole line if VPATH becomes empty
15282 # (actually we leave an empty line to preserve line numbers).
15283 if test "x
$srcdir" = x.; then
15284 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15303 fi # test -n "$CONFIG_FILES"
15305 # Set up the scripts for CONFIG_HEADERS section.
15306 # No need to generate them if there are no CONFIG_HEADERS.
15307 # This happens for instance with `./config.status Makefile'.
15308 if test -n "$CONFIG_HEADERS"; then
15309 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15313 # Transform confdefs.h into an awk script `defines.awk', embedded as
15314 # here-document in config.status, that substitutes the proper values into
15315 # config.h.in to produce config.h.
15317 # Create a delimiter string that does not exist in confdefs.h, to ease
15318 # handling of long lines.
15320 for ac_last_try in false false :; do
15321 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15322 if test -z "$ac_tt"; then
15324 elif $ac_last_try; then
15325 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15327 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15331 # For the awk script, D is an array of macro values keyed by name,
15332 # likewise P contains macro parameters if any. Preserve backslash
15333 # newline sequences.
15335 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15337 s/.\{148\}/&'"$ac_delim"'/g
15340 s/^[ ]*#[ ]*define[ ][ ]*/ /
15347 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15349 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15353 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15354 D["\
1"]=" \
3\\\\\\n
"\\/p
15356 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15361 s/.\{148\}/&'"$ac_delim"'/g
15366 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15369 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15371 ' <confdefs.h | sed '
15372 s/'"$ac_delim"'/"\\\
15373 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15376 for (key in D) D_is_set[key] = 1
15379 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15381 split(line, arg, " ")
15382 if (arg[1] == "#") {
15386 defundef
= substr
(arg
[1], 2)
15389 split(mac1
, mac2
, "(") #)
15391 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15392 if (D_is_set
[macro
]) {
15393 # Preserve the white space surrounding the "#".
15394 print prefix
"define", macro P
[macro
] D
[macro
]
15397 # Replace #undef with comments. This is necessary, for example,
15398 # in the case of _POSIX_SOURCE, which is predefined and required
15399 # on some systems where configure will not decide to define it.
15400 if (defundef
== "undef") {
15401 print
"/*", prefix defundef
, macro
, "*/"
15409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15410 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15411 fi # test -n "$CONFIG_HEADERS"
15414 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15419 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15421 case $ac_mode$ac_tag in
15423 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15424 :[FH
]-) ac_tag
=-:-;;
15425 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15442 -) ac_f
="$ac_tmp/stdin";;
15443 *) # Look for the file first in the build tree, then in the source tree
15444 # (if the path is not absolute). The absolute path cannot be DOS-style,
15445 # because $ac_f cannot contain `:'.
15449 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15451 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15453 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15454 as_fn_append ac_file_inputs
" '$ac_f'"
15457 # Let's still pretend it is `configure' which instantiates (i.e., don't
15458 # use $as_me), people would be surprised to read:
15459 # /* config.h. Generated by config.status. */
15460 configure_input
='Generated from '`
15461 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15463 if test x
"$ac_file" != x-
; then
15464 configure_input
="$ac_file. $configure_input"
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15466 $as_echo "$as_me: creating $ac_file" >&6;}
15468 # Neutralize special characters interpreted by sed in replacement strings.
15469 case $configure_input in #(
15470 *\
&* |
*\|
* |
*\\* )
15471 ac_sed_conf_input
=`$as_echo "$configure_input" |
15472 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15473 *) ac_sed_conf_input
=$configure_input;;
15477 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15478 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15483 ac_dir
=`$as_dirname -- "$ac_file" ||
15484 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15485 X"$ac_file" : 'X\(//\)[^/]' \| \
15486 X"$ac_file" : 'X\(//\)$' \| \
15487 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15488 $as_echo X"$ac_file" |
15489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15493 /^X\(\/\/\)[^/].*/{
15506 as_dir
="$ac_dir"; as_fn_mkdir_p
15510 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15512 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15513 # A ".." for each directory in $ac_dir_suffix.
15514 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15515 case $ac_top_builddir_sub in
15516 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15517 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15520 ac_abs_top_builddir
=$ac_pwd
15521 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15522 # for backward compatibility:
15523 ac_top_builddir
=$ac_top_build_prefix
15526 .
) # We are building in place.
15528 ac_top_srcdir
=$ac_top_builddir_sub
15529 ac_abs_top_srcdir
=$ac_pwd ;;
15530 [\\/]* | ?
:[\\/]* ) # Absolute name.
15531 ac_srcdir
=$srcdir$ac_dir_suffix;
15532 ac_top_srcdir
=$srcdir
15533 ac_abs_top_srcdir
=$srcdir ;;
15534 *) # Relative name.
15535 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15536 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15537 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15539 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15549 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15550 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15552 ac_MKDIR_P
=$MKDIR_P
15554 [\\/$
]* | ?
:[\\/]* ) ;;
15555 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15560 # If the template does not know about datarootdir, expand it.
15561 # FIXME: This hack should be removed a few years after 2.60.
15562 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15573 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15574 *datarootdir
*) ac_datarootdir_seen
=yes;;
15575 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15577 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15580 ac_datarootdir_hack='
15581 s&@datadir@&$datadir&g
15582 s&@docdir@&$docdir&g
15583 s&@infodir@&$infodir&g
15584 s&@localedir@&$localedir&g
15585 s&@mandir@&$mandir&g
15586 s&\\\${datarootdir}&$datarootdir&g' ;;
15590 # Neutralize VPATH when `$srcdir' = `.'.
15591 # Shell code in configure.ac might set extrasub.
15592 # FIXME: do we really want to maintain this feature?
15593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15594 ac_sed_extra="$ac_vpsub
15597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15599 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15600 s|@configure_input@|
$ac_sed_conf_input|
;t t
15601 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15602 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15603 s
&@srcdir@
&$ac_srcdir&;t t
15604 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15605 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15606 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15607 s
&@builddir@
&$ac_builddir&;t t
15608 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15609 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15610 s
&@INSTALL@
&$ac_INSTALL&;t t
15611 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15612 $ac_datarootdir_hack
15614 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15615 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15617 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15618 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15619 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15620 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15622 which seems to be undefined. Please make sure it is defined" >&5
15623 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15624 which seems to be undefined. Please make sure it is defined" >&2;}
15626 rm -f "$ac_tmp/stdin"
15628 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15629 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15637 if test x"$ac_file" != x-; then
15639 $as_echo "/* $configure_input */" \
15640 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15641 } >"$ac_tmp/config.h" \
15642 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15643 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15645 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15648 mv "$ac_tmp/config.h" "$ac_file" \
15649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15652 $as_echo "/* $configure_input */" \
15653 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15654 || as_fn_error $? "could not create -" "$LINENO" 5
15656 # Compute "$ac_file"'s index
in $config_headers.
15659 for _am_header
in $config_headers :; do
15660 case $_am_header in
15661 $_am_arg |
$_am_arg:* )
15664 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15667 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15668 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15669 X"$_am_arg" : 'X\(//\)[^/]' \| \
15670 X"$_am_arg" : 'X\(//\)$' \| \
15671 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15672 $as_echo X"$_am_arg" |
15673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15677 /^X\(\/\/\)[^/].*/{
15689 s/.*/./; q'`/stamp-h
$_am_stamp_count
15692 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15693 $as_echo "$as_me: executing $ac_file commands" >&6;}
15698 case $ac_file$ac_mode in
15701 # See if we are running on zsh, and set the options which allow our
15702 # commands through without removal of \ escapes.
15703 if test -n "${ZSH_VERSION+set}" ; then
15704 setopt NO_GLOB_SUBST
15707 cfgfile
="${ofile}T"
15708 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15711 cat <<_LT_EOF >> "$cfgfile"
15714 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15715 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15716 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15717 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15719 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15720 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15721 # Written by Gordon Matzigkeit, 1996
15723 # This file is part of GNU Libtool.
15725 # GNU Libtool is free software; you can redistribute it and/or
15726 # modify it under the terms of the GNU General Public License as
15727 # published by the Free Software Foundation; either version 2 of
15728 # the License, or (at your option) any later version.
15730 # As a special exception to the GNU General Public License,
15731 # if you distribute this file as part of a program or library that
15732 # is built using GNU Libtool, you may include this file under the
15733 # same distribution terms that you use for the rest of that program.
15735 # GNU Libtool is distributed in the hope that it will be useful,
15736 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15737 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15738 # GNU General Public License for more details.
15740 # You should have received a copy of the GNU General Public License
15741 # along with GNU Libtool; see the file COPYING. If not, a copy
15742 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15743 # obtained by writing to the Free Software Foundation, Inc.,
15744 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15747 # The names of the tagged configurations supported by this script.
15750 # ### BEGIN LIBTOOL CONFIG
15752 # Which release of libtool.m4 was used?
15753 macro_version=$macro_version
15754 macro_revision=$macro_revision
15756 # Whether or not to build shared libraries.
15757 build_libtool_libs=$enable_shared
15759 # Whether or not to build static libraries.
15760 build_old_libs=$enable_static
15762 # What type of objects to build.
15765 # Whether or not to optimize for fast installation.
15766 fast_install=$enable_fast_install
15768 # Shell to use when invoking shell scripts.
15771 # An echo program that protects backslashes.
15775 host_alias=$host_alias
15779 # The build system.
15780 build_alias=$build_alias
15784 # A sed program that does not truncate output.
15787 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15788 Xsed="\$SED -e 1s/^X//"
15790 # A grep program that handles long lines.
15796 # A literal string matcher.
15799 # A BSD- or MS-compatible name lister.
15802 # Whether we need soft or hard links.
15805 # What is the maximum length of a command?
15806 max_cmd_len=$max_cmd_len
15808 # Object file suffix (normally "o").
15811 # Executable file suffix (normally "").
15814 # whether the shell understands "unset".
15817 # turn spaces into newlines.
15820 # turn newlines into spaces.
15823 # An object symbol dumper.
15824 OBJDUMP=$lt_OBJDUMP
15826 # Method to check whether dependent libraries are shared objects.
15827 deplibs_check_method=$lt_deplibs_check_method
15829 # Command to use when deplibs_check_method == "file_magic".
15830 file_magic_cmd=$lt_file_magic_cmd
15834 AR_FLAGS=$lt_AR_FLAGS
15836 # A symbol stripping program.
15839 # Commands used to install an old-style archive.
15841 old_postinstall_cmds=$lt_old_postinstall_cmds
15842 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15844 # Whether to use a lock for old archive extraction.
15845 lock_old_archive_extraction=$lock_old_archive_extraction
15850 # LTCC compiler flags.
15851 LTCFLAGS=$lt_CFLAGS
15853 # Take the output of nm and produce a listing of raw symbols and C names.
15854 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15856 # Transform the output of nm in a proper C declaration.
15857 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15859 # Transform the output of nm in a C name address pair.
15860 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15862 # Transform the output of nm in a C name address pair when lib prefix is needed.
15863 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15865 # The name of the directory that contains temporary libtool files.
15868 # Used to examine libraries when file_magic_cmd begins with "file".
15869 MAGIC_CMD=$MAGIC_CMD
15871 # Must we lock files when doing compilation?
15872 need_locks=$lt_need_locks
15874 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15875 DSYMUTIL=$lt_DSYMUTIL
15877 # Tool to change global to local symbols on Mac OS X.
15880 # Tool to manipulate fat objects and archives on Mac OS X.
15883 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15886 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15887 OTOOL64=$lt_OTOOL64
15889 # Old archive suffix (normally "a").
15892 # Shared library suffix (normally ".so").
15893 shrext_cmds=$lt_shrext_cmds
15895 # The commands to extract the exported symbol list from a shared archive.
15896 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15898 # Variables whose values should be saved in libtool wrapper scripts and
15899 # restored at link time.
15900 variables_saved_for_relink=$lt_variables_saved_for_relink
15902 # Do we need the "lib" prefix for modules?
15903 need_lib_prefix=$need_lib_prefix
15905 # Do we need a version for libraries?
15906 need_version=$need_version
15908 # Library versioning type.
15909 version_type=$version_type
15911 # Shared library runtime path variable.
15912 runpath_var=$runpath_var
15914 # Shared library path variable.
15915 shlibpath_var=$shlibpath_var
15917 # Is shlibpath searched before the hard-coded library search path?
15918 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15920 # Format of library name prefix.
15921 libname_spec=$lt_libname_spec
15923 # List of archive names. First name is the real one, the rest are links.
15924 # The last name is the one that the linker finds with -lNAME
15925 library_names_spec=$lt_library_names_spec
15927 # The coded name of the library, if different from the real name.
15928 soname_spec=$lt_soname_spec
15930 # Permission mode override for installation of shared libraries.
15931 install_override_mode=$lt_install_override_mode
15933 # Command to use after installation of a shared archive.
15934 postinstall_cmds=$lt_postinstall_cmds
15936 # Command to use after uninstallation of a shared archive.
15937 postuninstall_cmds=$lt_postuninstall_cmds
15939 # Commands used to finish a libtool library installation in a directory.
15940 finish_cmds=$lt_finish_cmds
15942 # As "finish_cmds", except a single script fragment to be evaled but
15944 finish_eval=$lt_finish_eval
15946 # Whether we should hardcode library paths into libraries.
15947 hardcode_into_libs=$hardcode_into_libs
15949 # Compile-time system search path for libraries.
15950 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15952 # Run-time system search path for libraries.
15953 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15955 # Whether dlopen is supported.
15956 dlopen_support=$enable_dlopen
15958 # Whether dlopen of programs is supported.
15959 dlopen_self=$enable_dlopen_self
15961 # Whether dlopen of statically linked programs is supported.
15962 dlopen_self_static=$enable_dlopen_self_static
15964 # Commands to strip libraries.
15965 old_striplib=$lt_old_striplib
15966 striplib=$lt_striplib
15969 # The linker used to build libraries.
15972 # How to create reloadable object files.
15973 reload_flag=$lt_reload_flag
15974 reload_cmds=$lt_reload_cmds
15976 # Commands used to build an old-style archive.
15977 old_archive_cmds=$lt_old_archive_cmds
15979 # A language specific compiler.
15982 # Is the compiler the GNU compiler?
15985 # Compiler flag to turn off builtin functions.
15986 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15988 # How to pass a linker flag through the compiler.
15989 wl=$lt_lt_prog_compiler_wl
15991 # Additional compiler flags for building library objects.
15992 pic_flag=$lt_lt_prog_compiler_pic
15994 # Compiler flag to prevent dynamic linking.
15995 link_static_flag=$lt_lt_prog_compiler_static
15997 # Does compiler simultaneously support -c and -o options?
15998 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16000 # Whether or not to add -lc for building shared libraries.
16001 build_libtool_need_lc=$archive_cmds_need_lc
16003 # Whether or not to disallow shared libs when runtime libs are static.
16004 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16006 # Compiler flag to allow reflexive dlopens.
16007 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16009 # Compiler flag to generate shared objects directly from archives.
16010 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16012 # Whether the compiler copes with passing no objects directly.
16013 compiler_needs_object=$lt_compiler_needs_object
16015 # Create an old-style archive from a shared archive.
16016 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16018 # Create a temporary old-style archive to link instead of a shared archive.
16019 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16021 # Commands used to build a shared archive.
16022 archive_cmds=$lt_archive_cmds
16023 archive_expsym_cmds=$lt_archive_expsym_cmds
16025 # Commands used to build a loadable module if different from building
16026 # a shared archive.
16027 module_cmds=$lt_module_cmds
16028 module_expsym_cmds=$lt_module_expsym_cmds
16030 # Whether we are building with GNU ld or not.
16031 with_gnu_ld=$lt_with_gnu_ld
16033 # Flag that allows shared libraries with undefined symbols to be built.
16034 allow_undefined_flag=$lt_allow_undefined_flag
16036 # Flag that enforces no undefined symbols.
16037 no_undefined_flag=$lt_no_undefined_flag
16039 # Flag to hardcode \$libdir into a binary during linking.
16040 # This must work even if \$libdir does not exist
16041 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16043 # If ld is used when linking, flag to hardcode \$libdir into a binary
16044 # during linking. This must work even if \$libdir does not exist.
16045 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16047 # Whether we need a single "-rpath" flag with a separated argument.
16048 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16050 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16051 # DIR into the resulting binary.
16052 hardcode_direct=$hardcode_direct
16054 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16055 # DIR into the resulting binary and the resulting library dependency is
16056 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16057 # library is relocated.
16058 hardcode_direct_absolute=$hardcode_direct_absolute
16060 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16061 # into the resulting binary.
16062 hardcode_minus_L=$hardcode_minus_L
16064 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16065 # into the resulting binary.
16066 hardcode_shlibpath_var=$hardcode_shlibpath_var
16068 # Set to "yes" if building a shared library automatically hardcodes DIR
16069 # into the library and all subsequent libraries and executables linked
16071 hardcode_automatic=$hardcode_automatic
16073 # Set to yes if linker adds runtime paths of dependent libraries
16074 # to runtime path list.
16075 inherit_rpath=$inherit_rpath
16077 # Whether libtool must link a program against all its dependency libraries.
16078 link_all_deplibs=$link_all_deplibs
16080 # Fix the shell variable \$srcfile for the compiler.
16081 fix_srcfile_path=$lt_fix_srcfile_path
16083 # Set to "yes" if exported symbols are required.
16084 always_export_symbols=$always_export_symbols
16086 # The commands to list exported symbols.
16087 export_symbols_cmds=$lt_export_symbols_cmds
16089 # Symbols that should not be listed in the preloaded symbols.
16090 exclude_expsyms=$lt_exclude_expsyms
16092 # Symbols that must always be exported.
16093 include_expsyms=$lt_include_expsyms
16095 # Commands necessary for linking programs (against libraries) with templates.
16096 prelink_cmds=$lt_prelink_cmds
16098 # Specify filename containing input files.
16099 file_list_spec=$lt_file_list_spec
16101 # How to hardcode a shared library path into an executable.
16102 hardcode_action=$hardcode_action
16104 # ### END LIBTOOL CONFIG
16110 cat <<\_LT_EOF
>> "$cfgfile"
16111 # AIX sometimes has problems with the GCC collect2 program. For some
16112 # reason, if we set the COLLECT_NAMES environment variable, the problems
16113 # vanish in a puff of smoke.
16114 if test "X${COLLECT_NAMES+set}" != Xset
; then
16116 export COLLECT_NAMES
16123 ltmain
="$ac_aux_dir/ltmain.sh"
16126 # We use sed instead of cat because bash on DJGPP gets confused if
16127 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16128 # text mode, it properly converts lines to CR/LF. This bash problem
16129 # is reportedly fixed, but why not run on old versions too?
16130 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16131 ||
(rm -f "$cfgfile"; exit 1)
16135 cat << \_LT_EOF
>> "$cfgfile"
16137 # func_dirname file append nondir_replacement
16138 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16139 # otherwise set result to NONDIR_REPLACEMENT.
16143 */*) func_dirname_result
="${1%/*}${2}" ;;
16144 * ) func_dirname_result
="${3}" ;;
16148 # func_basename file
16151 func_basename_result
="${1##*/}"
16154 # func_dirname_and_basename file append nondir_replacement
16155 # perform func_basename and func_dirname in a single function
16157 # dirname: Compute the dirname of FILE. If nonempty,
16158 # add APPEND to the result, otherwise set result
16159 # to NONDIR_REPLACEMENT.
16160 # value returned in "$func_dirname_result"
16161 # basename: Compute filename of FILE.
16162 # value retuned in "$func_basename_result"
16163 # Implementation must be kept synchronized with func_dirname
16164 # and func_basename. For efficiency, we do not delegate to
16165 # those functions but instead duplicate the functionality here.
16166 func_dirname_and_basename
()
16169 */*) func_dirname_result
="${1%/*}${2}" ;;
16170 * ) func_dirname_result
="${3}" ;;
16172 func_basename_result
="${1##*/}"
16175 # func_stripname prefix suffix name
16176 # strip PREFIX and SUFFIX off of NAME.
16177 # PREFIX and SUFFIX must not contain globbing or regex special
16178 # characters, hashes, percent signs, but SUFFIX may contain a leading
16179 # dot (in which case that matches only a dot).
16182 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16183 # positional parameters, so assign one to ordinary parameter first.
16184 func_stripname_result
=${3}
16185 func_stripname_result
=${func_stripname_result#"${1}"}
16186 func_stripname_result
=${func_stripname_result%"${2}"}
16192 func_opt_split_opt
=${1%%=*}
16193 func_opt_split_arg
=${1#*=}
16200 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16201 *) func_lo2o_result
=${1} ;;
16205 # func_xform libobj-or-source
16208 func_xform_result
=${1%.*}.lo
16211 # func_arith arithmetic-term...
16214 func_arith_result
=$
(( $
* ))
16218 # STRING may not start with a hyphen.
16221 func_len_result
=${#1}
16226 *) # Bourne compatible functions.
16227 cat << \_LT_EOF
>> "$cfgfile"
16229 # func_dirname file append nondir_replacement
16230 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16231 # otherwise set result to NONDIR_REPLACEMENT.
16234 # Extract subdirectory from the argument.
16235 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16236 if test "X$func_dirname_result" = "X${1}"; then
16237 func_dirname_result
="${3}"
16239 func_dirname_result
="$func_dirname_result${2}"
16243 # func_basename file
16246 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16250 # func_stripname prefix suffix name
16251 # strip PREFIX and SUFFIX off of NAME.
16252 # PREFIX and SUFFIX must not contain globbing or regex special
16253 # characters, hashes, percent signs, but SUFFIX may contain a leading
16254 # dot (in which case that matches only a dot).
16255 # func_strip_suffix prefix name
16259 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16260 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16265 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16266 my_sed_long_arg
='1s/^-[^=]*=//'
16271 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16272 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16278 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16281 # func_xform libobj-or-source
16284 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16287 # func_arith arithmetic-term...
16290 func_arith_result
=`expr "$@"`
16294 # STRING may not start with a hyphen.
16297 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16303 case $lt_shell_append in
16305 cat << \_LT_EOF
>> "$cfgfile"
16307 # func_append var value
16308 # Append VALUE to the end of shell variable VAR.
16316 cat << \_LT_EOF
>> "$cfgfile"
16318 # func_append var value
16319 # Append VALUE to the end of shell variable VAR.
16330 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16331 ||
(rm -f "$cfgfile"; exit 1)
16333 mv -f "$cfgfile" "$ofile" ||
16334 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16338 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16339 # Older Autoconf quotes --file arguments for eval, but not when files
16340 # are listed without --file. Let's play safe and only enable the eval
16341 # if we detect the quoting.
16342 case $CONFIG_FILES in
16343 *\'*) eval set x
"$CONFIG_FILES" ;;
16344 *) set x
$CONFIG_FILES ;;
16349 # Strip MF so we end up with the name of the file.
16350 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16351 # Check whether this is an Automake generated Makefile or not.
16352 # We used to match only the files named 'Makefile.in', but
16353 # some people rename them; so instead we look at the file content.
16354 # Grep'ing the first line is not enough: some people post-process
16355 # each Makefile.in and add a new line on top of each file to say so.
16356 # Grep'ing the whole file is not good either: AIX grep has a line
16357 # limit of 2048, but all sed's we know have understand at least 4000.
16358 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16359 dirpart
=`$as_dirname -- "$mf" ||
16360 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16361 X"$mf" : 'X\(//\)[^/]' \| \
16362 X"$mf" : 'X\(//\)$' \| \
16363 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16369 /^X\(\/\/\)[^/].*/{
16385 # Extract the definition of DEPDIR, am__include, and am__quote
16386 # from the Makefile without running 'make'.
16387 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16388 test -z "$DEPDIR" && continue
16389 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16390 test -z "$am__include" && continue
16391 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16392 # Find all dependency output files, they are included files with
16393 # $(DEPDIR) in their names. We invoke sed twice because it is the
16394 # simplest approach to changing $(DEPDIR) to its actual value in the
16396 for file in `sed -n "
16397 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16398 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16399 # Make sure the directory exists.
16400 test -f "$dirpart/$file" && continue
16401 fdir
=`$as_dirname -- "$file" ||
16402 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16403 X"$file" : 'X\(//\)[^/]' \| \
16404 X"$file" : 'X\(//\)$' \| \
16405 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16406 $as_echo X"$file" |
16407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16411 /^X\(\/\/\)[^/].*/{
16424 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16425 # echo "creating $dirpart/$file"
16426 echo '# dummy' > "$dirpart/$file"
16431 "depdir-aarch64":C
) $SHELL $ac_aux_dir/mkinstalldirs aarch64
/$DEPDIR ;;
16432 "depdir-arm":C
) $SHELL $ac_aux_dir/mkinstalldirs
arm
/$DEPDIR ;;
16433 "depdir-avr":C
) $SHELL $ac_aux_dir/mkinstalldirs avr
/$DEPDIR ;;
16434 "depdir-bfin":C
) $SHELL $ac_aux_dir/mkinstalldirs bfin
/$DEPDIR ;;
16435 "depdir-bpf":C
) $SHELL $ac_aux_dir/mkinstalldirs bpf
/$DEPDIR ;;
16436 "depdir-cr16":C
) $SHELL $ac_aux_dir/mkinstalldirs cr16
/$DEPDIR ;;
16437 "depdir-cris":C
) $SHELL $ac_aux_dir/mkinstalldirs cris
/$DEPDIR ;;
16438 "depdir-d10v":C
) $SHELL $ac_aux_dir/mkinstalldirs d10v
/$DEPDIR ;;
16439 "depdir-frv":C
) $SHELL $ac_aux_dir/mkinstalldirs frv
/$DEPDIR ;;
16440 "depdir-h8300":C
) $SHELL $ac_aux_dir/mkinstalldirs h8300
/$DEPDIR ;;
16441 "depdir-iq2000":C
) $SHELL $ac_aux_dir/mkinstalldirs iq2000
/$DEPDIR ;;
16442 "depdir-lm32":C
) $SHELL $ac_aux_dir/mkinstalldirs lm32
/$DEPDIR ;;
16443 "depdir-m32c":C
) $SHELL $ac_aux_dir/mkinstalldirs m32c
/$DEPDIR ;;
16444 "depdir-m32r":C
) $SHELL $ac_aux_dir/mkinstalldirs m32r
/$DEPDIR ;;
16445 "depdir-m68hc11":C
) $SHELL $ac_aux_dir/mkinstalldirs m68hc11
/$DEPDIR ;;
16446 "depdir-mcore":C
) $SHELL $ac_aux_dir/mkinstalldirs mcore
/$DEPDIR ;;
16447 "depdir-microblaze":C
) $SHELL $ac_aux_dir/mkinstalldirs microblaze
/$DEPDIR ;;
16448 "depdir-mips":C
) $SHELL $ac_aux_dir/mkinstalldirs mips
/$DEPDIR ;;
16449 "depdir-mn10300":C
) $SHELL $ac_aux_dir/mkinstalldirs mn10300
/$DEPDIR ;;
16450 "depdir-moxie":C
) $SHELL $ac_aux_dir/mkinstalldirs moxie
/$DEPDIR ;;
16451 "depdir-msp430":C
) $SHELL $ac_aux_dir/mkinstalldirs msp430
/$DEPDIR ;;
16452 "depdir-or1k":C
) $SHELL $ac_aux_dir/mkinstalldirs or1k
/$DEPDIR ;;
16453 "depdir-pru":C
) $SHELL $ac_aux_dir/mkinstalldirs
pru
/$DEPDIR ;;
16454 "depdir-riscv":C
) $SHELL $ac_aux_dir/mkinstalldirs riscv
/$DEPDIR ;;
16455 "depdir-rl78":C
) $SHELL $ac_aux_dir/mkinstalldirs rl78
/$DEPDIR ;;
16456 "depdir-rx":C
) $SHELL $ac_aux_dir/mkinstalldirs rx
/$DEPDIR ;;
16457 "depdir-sh":C
) $SHELL $ac_aux_dir/mkinstalldirs sh
/$DEPDIR ;;
16458 "depdir-erc32":C
) $SHELL $ac_aux_dir/mkinstalldirs erc32
/$DEPDIR ;;
16459 "depdir-ppc":C
) $SHELL $ac_aux_dir/mkinstalldirs ppc
/$DEPDIR ;;
16460 "depdir-ft32":C
) $SHELL $ac_aux_dir/mkinstalldirs ft32
/$DEPDIR ;;
16461 "depdir-v850":C
) $SHELL $ac_aux_dir/mkinstalldirs v850
/$DEPDIR ;;
16462 "depdir-example-synacor":C
) $SHELL $ac_aux_dir/mkinstalldirs example-synacor
/$DEPDIR ;;
16470 ac_clean_files
=$ac_clean_files_save
16472 test $ac_write_fail = 0 ||
16473 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16476 # configure is writing to config.log, and then calls config.status.
16477 # config.status does its own redirection, appending to config.log.
16478 # Unfortunately, on DOS this fails, as config.log is still kept open
16479 # by configure, so config.status won't be able to write to it; its
16480 # output is simply discarded. So we exec the FD to /dev/null,
16481 # effectively closing config.log, so it can be properly (re)opened and
16482 # appended to by config.status. When coming back to configure, we
16483 # need to make the FD available again.
16484 if test "$no_create" != yes; then
16486 ac_config_status_args
=
16487 test "$silent" = yes &&
16488 ac_config_status_args
="$ac_config_status_args --quiet"
16490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16493 # would make configure fail if this is the last instruction.
16494 $ac_cs_success || as_fn_exit
1
16498 # CONFIG_SUBDIRS section.
16500 if test "$no_recursion" != yes; then
16502 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16503 # so they do not pile up.
16504 ac_sub_configure_args
=
16506 eval "set x $ac_configure_args"
16510 if test -n "$ac_prev"; then
16515 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16516 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16517 ac_prev
=cache_file
;;
16518 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16519 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16522 --config-cache |
-C)
16524 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16526 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16528 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16530 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16532 --disable-option-checking)
16536 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16538 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16542 # Always prepend --prefix to ensure using the same prefix
16543 # in subdir configurations.
16544 ac_arg
="--prefix=$prefix"
16546 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16548 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
16551 if test "$silent" = yes; then
16552 ac_sub_configure_args
="--silent $ac_sub_configure_args"
16555 # Always prepend --disable-option-checking to silence warnings, since
16556 # different subdirs can have different --enable and --with options.
16557 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
16560 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16562 # Do not complain, so a configure script can configure whichever
16563 # parts of a large source tree are present.
16564 test -d "$srcdir/$ac_dir" ||
continue
16566 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16567 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16568 $as_echo "$ac_msg" >&6
16569 as_dir
="$ac_dir"; as_fn_mkdir_p
16573 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16575 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16576 # A ".." for each directory in $ac_dir_suffix.
16577 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16578 case $ac_top_builddir_sub in
16579 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16580 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16583 ac_abs_top_builddir
=$ac_pwd
16584 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16585 # for backward compatibility:
16586 ac_top_builddir
=$ac_top_build_prefix
16589 .
) # We are building in place.
16591 ac_top_srcdir
=$ac_top_builddir_sub
16592 ac_abs_top_srcdir
=$ac_pwd ;;
16593 [\\/]* | ?
:[\\/]* ) # Absolute name.
16594 ac_srcdir
=$srcdir$ac_dir_suffix;
16595 ac_top_srcdir
=$srcdir
16596 ac_abs_top_srcdir
=$srcdir ;;
16597 *) # Relative name.
16598 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16599 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16600 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16602 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16607 # Check for guested configure; otherwise get Cygnus style configure.
16608 if test -f "$ac_srcdir/configure.gnu"; then
16609 ac_sub_configure
=$ac_srcdir/configure.gnu
16610 elif test -f "$ac_srcdir/configure"; then
16611 ac_sub_configure
=$ac_srcdir/configure
16612 elif test -f "$ac_srcdir/configure.in"; then
16613 # This should be Cygnus configure.
16614 ac_sub_configure
=$ac_aux_dir/configure
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16617 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16621 # The recursion is here.
16622 if test -n "$ac_sub_configure"; then
16623 # Make the cache file name correct relative to the subdirectory.
16624 case $cache_file in
16625 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16626 *) # Relative name.
16627 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16631 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16632 # The eval makes quoting arguments work.
16633 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16634 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16635 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16641 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16643 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}