2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
564 ac_unique_file
="Makefile.in"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='LTLIBOBJS
735 program_transform_name
748 enable_option_checking
757 enable_maintainer_mode
768 enable_sim_hostendian
769 enable_sim_default_model
770 enable_sim_environment
773 enable_build_warnings
774 enable_sim_build_warnings
777 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 ac_unrecognized_opts
=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information."
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1246 If a cross compiler is detected then cross compile mode will be used." >&2
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1255 test "$silent" = yes && exec 6>/dev
/null
1258 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di
=`ls -di .` &&
1260 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error
"working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error
"pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted
=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir
=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted
=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1302 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures this package to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --program-prefix=PREFIX prepend PREFIX to installed program names
1391 --program-suffix=SUFFIX append SUFFIX to installed program names
1392 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1395 --build=BUILD configure
for building on BUILD
[guessed
]
1396 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1397 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1401 if test -n "$ac_init_help"; then
1406 --disable-option-checking ignore unrecognized
--enable/--with options
1407 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1408 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1409 --enable-plugins Enable support
for plugins
(defaults no
)
1410 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1411 --enable-static[=PKGS
] build static libraries
[default
=yes]
1412 --enable-fast-install[=PKGS
]
1413 optimize
for fast installation
[default
=yes]
1414 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1415 --enable-maintainer-mode Enable developer functionality.
1416 --enable-sim-bswap Use Host specific BSWAP instruction.
1417 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
1418 --enable-sim-debug=opts Enable debugging flags
1419 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
1420 --enable-sim-trace=opts Enable tracing flags
1421 --enable-sim-profile=opts Enable profiling flags
1422 --enable-sim-endian=endian Specify target byte endian orientation.
1423 --enable-sim-alignment=align Specify strict
, nonstrict or forced alignment of memory accesses.
1424 --enable-sim-hostendian=end Specify
host byte endian orientation.
1425 --enable-sim-default-model=model Specify default model to simulate.
1426 --enable-sim-environment=environment Specify mixed
, user
, virtual or operating environment.
1427 --enable-sim-inline=inlines Specify
which functions should be inlined.
1428 --enable-werror treat compile warnings as errors
1429 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1430 --enable-sim-build-warnings
1431 enable SIM specific build-time compiler warnings
if
1433 --enable-sim-hardware=LIST Specify the hardware to be included
in the build.
1436 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1437 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1438 --with-zlib include zlib support
(auto
/yes
/no
) default
=auto
1439 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1441 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1442 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1443 --with-bugurl=URL Direct users to URL to report a bug
1445 Some influential environment variables
:
1446 CC C compiler
command
1447 CFLAGS C compiler flags
1448 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1449 nonstandard directory
<lib dir
>
1450 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1451 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1452 you have headers
in a nonstandard directory
<include dir
>
1454 PKG_CONFIG path to pkg-config utility
1456 directories to add to pkg-config
's search path
1458 path overriding pkg-config's built-in search path
1459 SDL_CFLAGS C compiler flags
for SDL
, overriding pkg-config
1460 SDL_LIBS linker flags
for SDL
, overriding pkg-config
1462 Use these variables to override the choices made by
`configure' or to help
1463 it to find libraries and programs with nonstandard names/locations.
1465 Report bugs to the package provider.
1470 if test "$ac_init_help" = "recursive"; then
1471 # If there are subdirs, report their specific --help.
1472 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1473 test -d "$ac_dir" ||
1474 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1482 # A ".." for each directory in $ac_dir_suffix.
1483 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1484 case $ac_top_builddir_sub in
1485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489 ac_abs_top_builddir=$ac_pwd
1490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1491 # for backward compatibility:
1492 ac_top_builddir=$ac_top_build_prefix
1495 .) # We are building in place.
1497 ac_top_srcdir=$ac_top_builddir_sub
1498 ac_abs_top_srcdir=$ac_pwd ;;
1499 [\\/]* | ?:[\\/]* ) # Absolute name.
1500 ac_srcdir=$srcdir$ac_dir_suffix;
1501 ac_top_srcdir=$srcdir
1502 ac_abs_top_srcdir=$srcdir ;;
1504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505 ac_top_srcdir=$ac_top_build_prefix$srcdir
1506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1510 cd "$ac_dir" || { ac_status=$?; continue; }
1511 # Check for guested configure.
1512 if test -f "$ac_srcdir/configure.gnu"; then
1514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515 elif test -f "$ac_srcdir/configure"; then
1517 $SHELL "$ac_srcdir/configure" --help=recursive
1519 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521 cd "$ac_pwd" || { ac_status=$?; break; }
1525 test -n "$ac_init_help" && exit $ac_status
1526 if $ac_init_version; then
1529 generated by GNU Autoconf 2.64
1531 Copyright (C) 2009 Free Software Foundation, Inc.
1532 This configure script is free software; the Free Software Foundation
1533 gives unlimited permission to copy, distribute and modify it.
1538 ## ------------------------ ##
1539 ## Autoconf initialization. ##
1540 ## ------------------------ ##
1542 # ac_fn_c_try_compile LINENO
1543 # --------------------------
1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1545 ac_fn_c_try_compile ()
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 rm -f conftest.$ac_objext
1549 if { { ac_try="$ac_compile"
1551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1552 *) ac_try_echo
=$ac_try;;
1554 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_compile") 2>conftest.err
1558 if test -s conftest.err
; then
1559 grep -v '^ *+' conftest.err
>conftest.er1
1560 cat conftest.er1
>&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } && {
1565 test -z "$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1567 } && test -s conftest.
$ac_objext; then :
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.
$ac_ext >&5
1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1578 } # ac_fn_c_try_compile
1580 # ac_fn_c_try_cpp LINENO
1581 # ----------------------
1582 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1585 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1586 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1589 *) ac_try_echo=$ac_try;;
1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592 $as_echo "$ac_try_echo"; } >&5
1593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1595 if test -s conftest.err; then
1596 grep -v '^ *+' conftest.err >conftest.er1
1597 cat conftest.er1 >&5
1598 mv -f conftest.er1 conftest.err
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601 test $ac_status = 0; } >/dev/null && {
1602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1603 test ! -s conftest.err
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1612 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1618 # -------------------------------------------------------
1619 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1620 # the include files in INCLUDES and setting the cache variable VAR
1622 ac_fn_c_check_header_mongrel ()
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1629 $as_echo_n "(cached) " >&6
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1633 $as_echo "$ac_res" >&6; }
1635 # Is the header compilable?
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1637 $as_echo_n "checking $2 usability... " >&6; }
1638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1639 /* end confdefs.h. */
1643 if ac_fn_c_try_compile "$LINENO"; then :
1644 ac_header_compiler=yes
1646 ac_header_compiler=no
1648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1650 $as_echo "$ac_header_compiler" >&6; }
1652 # Is the header present?
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1654 $as_echo_n "checking $2 presence... " >&6; }
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1659 if ac_fn_c_try_cpp "$LINENO"; then :
1660 ac_header_preproc=yes
1662 ac_header_preproc=no
1664 rm -f conftest.err conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1666 $as_echo "$ac_header_preproc" >&6; }
1668 # So? What about this header?
1669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1672 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1674 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1678 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1680 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1682 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1684 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1686 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690 $as_echo_n "checking for $2... " >&6; }
1691 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1692 $as_echo_n "(cached) " >&6
1694 eval "$3=\$ac_header_compiler"
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 } # ac_fn_c_check_header_mongrel
1704 # ac_fn_c_try_run LINENO
1705 # ----------------------
1706 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1707 # that executables *can* be run.
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 if { { ac_try="$ac_link"
1713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1714 *) ac_try_echo
=$ac_try;;
1716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_link") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1722 { { case "(($ac_try" in
1723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_try") 2>&5
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; }; }; then :
1734 $as_echo "$as_me: program exited with status $ac_status" >&5
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1738 ac_retval=$ac_status
1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747 # -------------------------------------------------------
1748 # Tests whether HEADER exists and can be compiled using the include files in
1749 # INCLUDES, setting the cache variable VAR accordingly.
1750 ac_fn_c_check_header_compile ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1756 $as_echo_n "(cached) " >&6
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1763 if ac_fn_c_try_compile "$LINENO"; then :
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 } # ac_fn_c_check_header_compile
1777 # ac_fn_c_try_link LINENO
1778 # -----------------------
1779 # Try to link conftest.$ac_ext, and return whether this succeeded.
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 rm -f conftest.$ac_objext conftest$ac_exeext
1784 if { { ac_try="$ac_link"
1786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1787 *) ac_try_echo
=$ac_try;;
1789 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_link") 2>conftest.err
1793 if test -s conftest.err
; then
1794 grep -v '^ *+' conftest.err
>conftest.er1
1795 cat conftest.er1
>&5
1796 mv -f conftest.er1 conftest.err
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && {
1800 test -z "$ac_c_werror_flag" ||
1801 test ! -s conftest.err
1802 } && test -s conftest
$ac_exeext && {
1803 test "$cross_compiling" = yes ||
1804 $as_test_x conftest
$ac_exeext
1808 $as_echo "$as_me: failed program was:" >&5
1809 sed 's/^/| /' conftest.
$ac_ext >&5
1813 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1814 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1815 # interfere with the next link command; also delete a directory that is
1816 # left behind by Apple's compiler. We do this before executing the actions.
1817 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1818 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1821 } # ac_fn_c_try_link
1823 # ac_fn_c_check_func LINENO FUNC VAR
1824 # ----------------------------------
1825 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1826 ac_fn_c_check_func
()
1828 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 $as_echo_n "checking for $2... " >&6; }
1831 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1832 $as_echo_n "(cached) " >&6
1834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1838 #define $2 innocuous_$2
1840 /* System header to define __stub macros and hopefully few prototypes,
1841 which can conflict with char $2 (); below.
1842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1843 <limits.h> exists even on freestanding compilers. */
1846 # include <limits.h>
1848 # include <assert.h>
1853 /* Override any GCC internal prototype to avoid an error.
1854 Use char because int might match the return type of a GCC
1855 builtin and then its argument prototype would still apply. */
1860 /* The GNU C library defines this for functions which it implements
1861 to always fail with ENOSYS. Some functions are actually named
1862 something starting with __ and the normal name is an alias. */
1863 #if defined __stub_$2 || defined __stub___$2
1875 if ac_fn_c_try_link
"$LINENO"; then :
1880 rm -f core conftest.err conftest.
$ac_objext \
1881 conftest
$ac_exeext conftest.
$ac_ext
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885 $as_echo "$ac_res" >&6; }
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1888 } # ac_fn_c_check_func
1889 cat >config.log
<<_ACEOF
1890 This file contains any messages produced by compilers while
1891 running configure, to aid debugging if configure makes a mistake.
1893 It was created by $as_me, which was
1894 generated by GNU Autoconf 2.64. Invocation command line was
1906 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1907 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1908 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1909 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1910 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1912 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1913 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1915 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1916 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1917 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1918 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1919 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1920 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1921 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir
=.
1930 $as_echo "PATH: $as_dir"
1946 # Keep a trace of the command line.
1947 # Strip out --no-create and --no-recursion so they do not pile up.
1948 # Strip out --silent because we don't want to record it for future runs.
1949 # Also quote any args containing shell meta-characters.
1950 # Make two passes to allow for proper duplicate-argument suppression.
1954 ac_must_keep_next
=false
1960 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1961 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1962 |
-silent |
--silent |
--silen |
--sile |
--sil)
1965 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1968 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1970 as_fn_append ac_configure_args1
" '$ac_arg'"
1971 if test $ac_must_keep_next = true
; then
1972 ac_must_keep_next
=false
# Got value, back to normal.
1975 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1976 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1977 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1978 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1979 case "$ac_configure_args0 " in
1980 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1983 -* ) ac_must_keep_next
=true
;;
1986 as_fn_append ac_configure_args
" '$ac_arg'"
1991 { ac_configure_args0
=; unset ac_configure_args0
;}
1992 { ac_configure_args1
=; unset ac_configure_args1
;}
1994 # When interrupted or exit'd, cleanup temporary files, and complete
1995 # config.log. We remove comments because anyway the quotes in there
1996 # would cause problems or look ugly.
1997 # WARNING: Use '\'' to represent an apostrophe within the trap.
1998 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1999 trap 'exit_status=$?
2000 # Save into config.log some information that might help in debugging.
2005 ## ---------------- ##
2006 ## Cache variables. ##
2007 ## ---------------- ##
2010 # The following way of writing the cache mishandles newlines in values,
2012 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2013 eval ac_val=\$$ac_var
2017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2021 _ | IFS | as_nl) ;; #(
2022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2023 *) { eval $ac_var=; unset $ac_var;} ;;
2028 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2029 *${as_nl}ac_space=\ *)
2031 "s/'\''/'\''\\\\'\'''\''/g;
2032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2043 ## ----------------- ##
2044 ## Output variables. ##
2045 ## ----------------- ##
2048 for ac_var in $ac_subst_vars
2050 eval ac_val=\$$ac_var
2052 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2054 $as_echo "$ac_var='\''$ac_val'\''"
2058 if test -n "$ac_subst_files"; then
2060 ## ------------------- ##
2061 ## File substitutions. ##
2062 ## ------------------- ##
2065 for ac_var
in $ac_subst_files
2067 eval ac_val
=\$
$ac_var
2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2071 $as_echo "$ac_var='\''$ac_val'\''"
2076 if test -s confdefs.h; then
2086 test "$ac_signal" != 0 &&
2087 $as_echo "$as_me: caught signal $ac_signal"
2088 $as_echo "$as_me: exit $exit_status"
2090 rm -f core *.core core.conftest.* &&
2091 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2094 for ac_signal
in 1 2 13 15; do
2095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2100 rm -f -r conftest
* confdefs.h
2102 $as_echo "/* confdefs.h */" > confdefs.h
2104 # Predefined preprocessor variables.
2106 cat >>confdefs.h
<<_ACEOF
2107 #define PACKAGE_NAME "$PACKAGE_NAME"
2110 cat >>confdefs.h
<<_ACEOF
2111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2114 cat >>confdefs.h
<<_ACEOF
2115 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2118 cat >>confdefs.h
<<_ACEOF
2119 #define PACKAGE_STRING "$PACKAGE_STRING"
2122 cat >>confdefs.h
<<_ACEOF
2123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2126 cat >>confdefs.h
<<_ACEOF
2127 #define PACKAGE_URL "$PACKAGE_URL"
2131 # Let the site file select an alternate cache file if it wants to.
2132 # Prefer an explicitly selected file to automatically selected ones.
2135 if test -n "$CONFIG_SITE"; then
2136 ac_site_file1
=$CONFIG_SITE
2137 elif test "x$prefix" != xNONE
; then
2138 ac_site_file1
=$prefix/share
/config.site
2139 ac_site_file2
=$prefix/etc
/config.site
2141 ac_site_file1
=$ac_default_prefix/share
/config.site
2142 ac_site_file2
=$ac_default_prefix/etc
/config.site
2144 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2146 test "x$ac_site_file" = xNONE
&& continue
2147 if test -r "$ac_site_file"; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2149 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2150 sed 's/^/| /' "$ac_site_file" >&5
2155 if test -r "$cache_file"; then
2156 # Some versions of bash will fail to source /dev/null (special
2157 # files actually), so we avoid doing that.
2158 if test -f "$cache_file"; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2160 $as_echo "$as_me: loading cache $cache_file" >&6;}
2162 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2163 *) .
"./$cache_file";;
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2168 $as_echo "$as_me: creating cache $cache_file" >&6;}
2172 # Check that the precious variables saved in the cache have kept the same
2174 ac_cache_corrupted
=false
2175 for ac_var
in $ac_precious_vars; do
2176 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2177 eval ac_new_set
=\
$ac_env_${ac_var}_set
2178 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2179 eval ac_new_val
=\
$ac_env_${ac_var}_value
2180 case $ac_old_set,$ac_new_set in
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2183 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2184 ac_cache_corrupted
=: ;;
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2187 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2188 ac_cache_corrupted
=: ;;
2191 if test "x$ac_old_val" != "x$ac_new_val"; then
2192 # differences in whitespace do not lead to failure.
2193 ac_old_val_w
=`echo x $ac_old_val`
2194 ac_new_val_w
=`echo x $ac_new_val`
2195 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2197 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2198 ac_cache_corrupted
=:
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2201 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2202 eval $ac_var=\
$ac_old_val
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2205 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2207 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2210 # Pass precious variables to config.status.
2211 if test "$ac_new_set" = set; then
2213 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2214 *) ac_arg
=$ac_var=$ac_new_val ;;
2216 case " $ac_configure_args " in
2217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2218 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2222 if $ac_cache_corrupted; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2226 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2227 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2229 ## -------------------- ##
2230 ## Main body of script. ##
2231 ## -------------------- ##
2234 ac_cpp
='$CPP $CPPFLAGS'
2235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2240 # This file contains common code used by all simulators.
2242 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
2243 # directory. It is intended to be invoked before any target specific stuff.
2244 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
2245 # It is intended to be invoked last.
2247 # The simulator's configure.in should look like:
2249 # dnl Process this file with autoconf to produce a configure script.
2250 # AC_PREREQ(2.64)dnl
2251 # AC_INIT(Makefile.in)
2252 # sinclude(../common/aclocal.m4)
2256 # ... target specific stuff ...
2260 # Include global overrides and fixes for Autoconf.
2287 # _AC_CHECK_DECL_BODY
2288 # -------------------
2289 # Shell function body for AC_CHECK_DECL.
2290 # _AC_CHECK_DECL_BODY
2292 # _AC_CHECK_DECLS(SYMBOL, ACTION-IF_FOUND, ACTION-IF-NOT-FOUND,
2294 # -------------------------------------------------------------
2295 # Helper to AC_CHECK_DECLS, which generates the check for a single
2296 # SYMBOL with INCLUDES, performs the AC_DEFINE, then expands
2297 # ACTION-IF-FOUND or ACTION-IF-NOT-FOUND.
2310 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2312 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2313 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2314 # Written by Gordon Matzigkeit, 1996
2316 # This file is free software; the Free Software Foundation gives
2317 # unlimited permission to copy and/or distribute it, with or without
2318 # modifications, as long as this notice is preserved.
2325 # LT_PREREQ(VERSION)
2326 # ------------------
2327 # Complain and exit if this libtool version is less that VERSION.
2331 # _LT_CHECK_BUILDDIR
2332 # ------------------
2333 # Complain if the absolute build directory name contains unusual characters
2337 # LT_INIT([OPTIONS])
2338 # ------------------
2342 # This is what autoupdate's m4 run will expand. It fires
2343 # the warning (with _au_warn_XXX), outputs it into the
2344 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2345 # the replacement expansion.
2348 # This is an auxiliary macro that is also run when
2349 # autoupdate runs m4. It simply calls m4_warning, but
2350 # we need a wrapper so that each warning is emitted only
2351 # once. We break the quoting in m4_warning's argument in
2352 # order to expand this macro's arguments, not AU_DEFUN's.
2355 # Finally, this is the expansion that is picked up by
2356 # autoconf. It tells the user to run autoupdate, and
2357 # then outputs the replacement expansion. We do not care
2358 # about autoupdate's warning because that contains
2359 # information on what to do *after* running autoupdate.
2361 # This is what autoupdate's m4 run will expand. It fires
2362 # the warning (with _au_warn_XXX), outputs it into the
2363 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2364 # the replacement expansion.
2367 # This is an auxiliary macro that is also run when
2368 # autoupdate runs m4. It simply calls m4_warning, but
2369 # we need a wrapper so that each warning is emitted only
2370 # once. We break the quoting in m4_warning's argument in
2371 # order to expand this macro's arguments, not AU_DEFUN's.
2374 # Finally, this is the expansion that is picked up by
2375 # autoconf. It tells the user to run autoupdate, and
2376 # then outputs the replacement expansion. We do not care
2377 # about autoupdate's warning because that contains
2378 # information on what to do *after* running autoupdate.
2382 # _LT_CC_BASENAME(CC)
2383 # -------------------
2384 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2388 # _LT_FILEUTILS_DEFAULTS
2389 # ----------------------
2390 # It is okay to use these file commands and assume they have been set
2391 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
2392 # _LT_FILEUTILS_DEFAULTS
2400 # _LT_PREPARE_SED_QUOTE_VARS
2401 # --------------------------
2402 # Define a few sed substitution that help us do robust quoting.
2407 # Note that this code is called both from `configure', and `config.status'
2408 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
2409 # `config.status' has no value for ac_aux_dir unless we are using Automake,
2410 # so we pass a copy along to make sure it has a sensible value anyway.
2414 ## ------------------------------------- ##
2415 ## Accumulate code for creating libtool. ##
2416 ## ------------------------------------- ##
2418 # So that we can recreate a full libtool script including additional
2419 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2420 # in macros and then make a single call at the end using the `libtool'
2424 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2425 # ----------------------------------------
2426 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2433 # _LT_CONFIG_LIBTOOL([COMMANDS])
2434 # ------------------------------
2435 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2442 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2443 # -----------------------------------------------------
2447 # _LT_FORMAT_COMMENT([COMMENT])
2448 # -----------------------------
2449 # Add leading comment marks to the start of each line, and a trailing
2450 # full-stop to the whole comment if one is not present already.
2455 ## ------------------------ ##
2456 ## FIXME: Eliminate VARNAME ##
2457 ## ------------------------ ##
2460 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2461 # -------------------------------------------------------------------
2462 # CONFIGNAME is the name given to the value in the libtool script.
2463 # VARNAME is the (base) name used in the configure script.
2464 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2465 # VARNAME. Any other value will be used directly.
2469 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2470 # --------------------------------------------------------
2474 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2475 # ------------------------------------------------
2479 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2480 # ---------------------------------------------------------
2484 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2485 # --------------------------------------------------
2489 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2490 # ---------------------------------------------------
2494 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2495 # ---------------------------------------------------
2500 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2501 # ------------------------------------------------
2506 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
2507 # ------------------------------------
2508 # Quote a variable value, and forward it to `config.status' so that its
2509 # declaration there will have the same value as in `configure'. VARNAME
2510 # must have a single quote delimited value for this to work.
2514 # _LT_CONFIG_STATUS_DECLARATIONS
2515 # ------------------------------
2516 # We delimit libtool config variables with single quotes, so when
2517 # we write them to config.status, we have to be sure to quote all
2518 # embedded single quotes properly. In configure, this macro expands
2519 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2521 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2527 # Output comment and list of tags supported by the script
2531 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2532 # -----------------------------------
2533 # Extract the dictionary values for VARNAME (optionally with TAG) and
2534 # expand to a commented shell variable setting:
2536 # # Some comment about what VAR is for.
2537 # visible_name=$lt_internal_name
2541 # _LT_LIBTOOL_CONFIG_VARS
2542 # -----------------------
2543 # Produce commented declarations of non-tagged libtool config variables
2544 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
2545 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
2546 # section) are produced by _LT_LIBTOOL_TAG_VARS.
2550 # _LT_LIBTOOL_TAG_VARS(TAG)
2551 # -------------------------
2555 # _LT_TAGVAR(VARNAME, [TAGNAME])
2556 # ------------------------------
2560 # _LT_CONFIG_COMMANDS
2561 # -------------------
2562 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
2563 # variables for single and double quote escaping we saved from calls
2564 # to _LT_DECL, we can put quote escaped variables declarations
2565 # into `config.status', and then the shell code to quote escape them in
2566 # for loops in `config.status'. Finally, any additional code accumulated
2567 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2568 #_LT_CONFIG_COMMANDS
2574 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2575 # ------------------------------------
2576 # Generate a child script FILE with all initialization necessary to
2577 # reuse the environment learned by the parent script, and make the
2578 # file executable. If COMMENT is supplied, it is inserted after the
2579 # `#!' sequence but before initialization text begins. After this
2580 # macro, additional text can be appended to FILE to form the body of
2581 # the child script. The macro ends with non-zero status if the
2582 # file could not be fully written (such as if the disk is full).
2583 # _LT_GENERATED_FILE_INIT
2587 # This macro allows early generation of the libtool script (before
2588 # AC_OUTPUT is called), incase it is used in configure for compilation
2595 # If TAG is the built-in tag, create an initial libtool script with a
2596 # default configuration from the untagged config vars. Otherwise add code
2597 # to config.status for appending the configuration named by TAG from the
2598 # matching tagged config vars.
2602 # LT_SUPPORTED_TAG(TAG)
2603 # ---------------------
2604 # Trace this macro to discover what tags are supported by the libtool
2605 # --tag option, using:
2606 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
2610 # C support is built-in for now
2617 # Enable libtool support for the given language if not already enabled.
2621 # _LT_LANG(LANGNAME)
2622 # ------------------
2626 # _LT_LANG_DEFAULT_CONFIG
2627 # -----------------------
2628 # _LT_LANG_DEFAULT_CONFIG
2631 # This is what autoupdate's m4 run will expand. It fires
2632 # the warning (with _au_warn_XXX), outputs it into the
2633 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2634 # the replacement expansion.
2637 # This is an auxiliary macro that is also run when
2638 # autoupdate runs m4. It simply calls m4_warning, but
2639 # we need a wrapper so that each warning is emitted only
2640 # once. We break the quoting in m4_warning's argument in
2641 # order to expand this macro's arguments, not AU_DEFUN's.
2644 # Finally, this is the expansion that is picked up by
2645 # autoconf. It tells the user to run autoupdate, and
2646 # then outputs the replacement expansion. We do not care
2647 # about autoupdate's warning because that contains
2648 # information on what to do *after* running autoupdate.
2650 # This is what autoupdate's m4 run will expand. It fires
2651 # the warning (with _au_warn_XXX), outputs it into the
2652 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2653 # the replacement expansion.
2656 # This is an auxiliary macro that is also run when
2657 # autoupdate runs m4. It simply calls m4_warning, but
2658 # we need a wrapper so that each warning is emitted only
2659 # once. We break the quoting in m4_warning's argument in
2660 # order to expand this macro's arguments, not AU_DEFUN's.
2663 # Finally, this is the expansion that is picked up by
2664 # autoconf. It tells the user to run autoupdate, and
2665 # then outputs the replacement expansion. We do not care
2666 # about autoupdate's warning because that contains
2667 # information on what to do *after* running autoupdate.
2669 # This is what autoupdate's m4 run will expand. It fires
2670 # the warning (with _au_warn_XXX), outputs it into the
2671 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2672 # the replacement expansion.
2675 # This is an auxiliary macro that is also run when
2676 # autoupdate runs m4. It simply calls m4_warning, but
2677 # we need a wrapper so that each warning is emitted only
2678 # once. We break the quoting in m4_warning's argument in
2679 # order to expand this macro's arguments, not AU_DEFUN's.
2682 # Finally, this is the expansion that is picked up by
2683 # autoconf. It tells the user to run autoupdate, and
2684 # then outputs the replacement expansion. We do not care
2685 # about autoupdate's warning because that contains
2686 # information on what to do *after* running autoupdate.
2688 # This is what autoupdate's m4 run will expand. It fires
2689 # the warning (with _au_warn_XXX), outputs it into the
2690 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2691 # the replacement expansion.
2694 # This is an auxiliary macro that is also run when
2695 # autoupdate runs m4. It simply calls m4_warning, but
2696 # we need a wrapper so that each warning is emitted only
2697 # once. We break the quoting in m4_warning's argument in
2698 # order to expand this macro's arguments, not AU_DEFUN's.
2701 # Finally, this is the expansion that is picked up by
2702 # autoconf. It tells the user to run autoupdate, and
2703 # then outputs the replacement expansion. We do not care
2704 # about autoupdate's warning because that contains
2705 # information on what to do *after* running autoupdate.
2707 # This is what autoupdate's m4 run will expand. It fires
2708 # the warning (with _au_warn_XXX), outputs it into the
2709 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2710 # the replacement expansion.
2713 # This is an auxiliary macro that is also run when
2714 # autoupdate runs m4. It simply calls m4_warning, but
2715 # we need a wrapper so that each warning is emitted only
2716 # once. We break the quoting in m4_warning's argument in
2717 # order to expand this macro's arguments, not AU_DEFUN's.
2720 # Finally, this is the expansion that is picked up by
2721 # autoconf. It tells the user to run autoupdate, and
2722 # then outputs the replacement expansion. We do not care
2723 # about autoupdate's warning because that contains
2724 # information on what to do *after* running autoupdate.
2733 # _LT_COMPILER_BOILERPLATE
2734 # ------------------------
2735 # Check for compiler boilerplate output or warnings with
2736 # the simple compiler test code.
2737 # _LT_COMPILER_BOILERPLATE
2740 # _LT_LINKER_BOILERPLATE
2741 # ----------------------
2742 # Check for linker boilerplate output or warnings with
2743 # the simple link test code.
2744 # _LT_LINKER_BOILERPLATE
2746 # _LT_REQUIRED_DARWIN_CHECKS
2747 # -------------------------
2751 # _LT_DARWIN_LINKER_FEATURES
2752 # --------------------------
2753 # Checks for linker and compiler features on darwin
2756 # _LT_SYS_MODULE_PATH_AIX
2757 # -----------------------
2758 # Links a minimal program and checks the executable
2759 # for the system default hardcoded library path. In most cases,
2760 # this is /usr/lib:/lib, but when the MPI compilers are used
2761 # the location of the communication and MPI libs are included too.
2762 # If we don't find anything, use the default library path according
2763 # to the aix ld manual.
2764 # _LT_SYS_MODULE_PATH_AIX
2767 # _LT_SHELL_INIT(ARG)
2768 # -------------------
2773 # _LT_PROG_ECHO_BACKSLASH
2774 # -----------------------
2775 # Find how we can fake an echo command that does not interpret backslash.
2776 # In particular, with Autoconf 2.60 or later we add some code to the start
2777 # of the generated configure script which will find a shell with a builtin
2778 # printf (which we can use as an echo command).
2779 # _LT_PROG_ECHO_BACKSLASH
2787 # _LT_CMD_OLD_ARCHIVE
2788 # -------------------
2789 # _LT_CMD_OLD_ARCHIVE
2792 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2793 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2794 # ----------------------------------------------------------------
2795 # Check whether the given compiler option works
2796 # _LT_COMPILER_OPTION
2799 # This is what autoupdate's m4 run will expand. It fires
2800 # the warning (with _au_warn_XXX), outputs it into the
2801 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2802 # the replacement expansion.
2805 # This is an auxiliary macro that is also run when
2806 # autoupdate runs m4. It simply calls m4_warning, but
2807 # we need a wrapper so that each warning is emitted only
2808 # once. We break the quoting in m4_warning's argument in
2809 # order to expand this macro's arguments, not AU_DEFUN's.
2812 # Finally, this is the expansion that is picked up by
2813 # autoconf. It tells the user to run autoupdate, and
2814 # then outputs the replacement expansion. We do not care
2815 # about autoupdate's warning because that contains
2816 # information on what to do *after* running autoupdate.
2820 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2821 # [ACTION-SUCCESS], [ACTION-FAILURE])
2822 # ----------------------------------------------------
2823 # Check whether the given linker option works
2827 # This is what autoupdate's m4 run will expand. It fires
2828 # the warning (with _au_warn_XXX), outputs it into the
2829 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2830 # the replacement expansion.
2833 # This is an auxiliary macro that is also run when
2834 # autoupdate runs m4. It simply calls m4_warning, but
2835 # we need a wrapper so that each warning is emitted only
2836 # once. We break the quoting in m4_warning's argument in
2837 # order to expand this macro's arguments, not AU_DEFUN's.
2840 # Finally, this is the expansion that is picked up by
2841 # autoconf. It tells the user to run autoupdate, and
2842 # then outputs the replacement expansion. We do not care
2843 # about autoupdate's warning because that contains
2844 # information on what to do *after* running autoupdate.
2853 # This is what autoupdate's m4 run will expand. It fires
2854 # the warning (with _au_warn_XXX), outputs it into the
2855 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2856 # the replacement expansion.
2859 # This is an auxiliary macro that is also run when
2860 # autoupdate runs m4. It simply calls m4_warning, but
2861 # we need a wrapper so that each warning is emitted only
2862 # once. We break the quoting in m4_warning's argument in
2863 # order to expand this macro's arguments, not AU_DEFUN's.
2866 # Finally, this is the expansion that is picked up by
2867 # autoconf. It tells the user to run autoupdate, and
2868 # then outputs the replacement expansion. We do not care
2869 # about autoupdate's warning because that contains
2870 # information on what to do *after* running autoupdate.
2879 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2880 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2881 # ----------------------------------------------------------------
2882 # _LT_TRY_DLOPEN_SELF
2885 # LT_SYS_DLOPEN_SELF
2886 # ------------------
2887 # LT_SYS_DLOPEN_SELF
2890 # This is what autoupdate's m4 run will expand. It fires
2891 # the warning (with _au_warn_XXX), outputs it into the
2892 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2893 # the replacement expansion.
2896 # This is an auxiliary macro that is also run when
2897 # autoupdate runs m4. It simply calls m4_warning, but
2898 # we need a wrapper so that each warning is emitted only
2899 # once. We break the quoting in m4_warning's argument in
2900 # order to expand this macro's arguments, not AU_DEFUN's.
2903 # Finally, this is the expansion that is picked up by
2904 # autoconf. It tells the user to run autoupdate, and
2905 # then outputs the replacement expansion. We do not care
2906 # about autoupdate's warning because that contains
2907 # information on what to do *after* running autoupdate.
2911 # _LT_COMPILER_C_O([TAGNAME])
2912 # ---------------------------
2913 # Check to see if options -c and -o are simultaneously supported by compiler.
2914 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
2918 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
2919 # ----------------------------------
2920 # Check to see if we can do hard links to lock some files if needed
2921 # _LT_COMPILER_FILE_LOCKS
2929 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
2930 # --------------------------------------
2931 # Check hardcoding attributes.
2932 # _LT_LINKER_HARDCODE_LIBPATH
2940 # _LT_SYS_DYNAMIC_LINKER([TAG])
2941 # -----------------------------
2942 # PORTME Fill in your ld.so characteristics
2943 # _LT_SYS_DYNAMIC_LINKER
2946 # _LT_PATH_TOOL_PREFIX(TOOL)
2947 # --------------------------
2948 # find a file program which can recognize shared library
2949 # _LT_PATH_TOOL_PREFIX
2952 # This is what autoupdate's m4 run will expand. It fires
2953 # the warning (with _au_warn_XXX), outputs it into the
2954 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2955 # the replacement expansion.
2958 # This is an auxiliary macro that is also run when
2959 # autoupdate runs m4. It simply calls m4_warning, but
2960 # we need a wrapper so that each warning is emitted only
2961 # once. We break the quoting in m4_warning's argument in
2962 # order to expand this macro's arguments, not AU_DEFUN's.
2965 # Finally, this is the expansion that is picked up by
2966 # autoconf. It tells the user to run autoupdate, and
2967 # then outputs the replacement expansion. We do not care
2968 # about autoupdate's warning because that contains
2969 # information on what to do *after* running autoupdate.
2975 # find a file program which can recognize a shared library
2981 # find the pathname to the GNU or non-GNU linker
2985 # This is what autoupdate's m4 run will expand. It fires
2986 # the warning (with _au_warn_XXX), outputs it into the
2987 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2988 # the replacement expansion.
2991 # This is an auxiliary macro that is also run when
2992 # autoupdate runs m4. It simply calls m4_warning, but
2993 # we need a wrapper so that each warning is emitted only
2994 # once. We break the quoting in m4_warning's argument in
2995 # order to expand this macro's arguments, not AU_DEFUN's.
2998 # Finally, this is the expansion that is picked up by
2999 # autoconf. It tells the user to run autoupdate, and
3000 # then outputs the replacement expansion. We do not care
3001 # about autoupdate's warning because that contains
3002 # information on what to do *after* running autoupdate.
3004 # This is what autoupdate's m4 run will expand. It fires
3005 # the warning (with _au_warn_XXX), outputs it into the
3006 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3007 # the replacement expansion.
3010 # This is an auxiliary macro that is also run when
3011 # autoupdate runs m4. It simply calls m4_warning, but
3012 # we need a wrapper so that each warning is emitted only
3013 # once. We break the quoting in m4_warning's argument in
3014 # order to expand this macro's arguments, not AU_DEFUN's.
3017 # Finally, this is the expansion that is picked up by
3018 # autoconf. It tells the user to run autoupdate, and
3019 # then outputs the replacement expansion. We do not care
3020 # about autoupdate's warning because that contains
3021 # information on what to do *after* running autoupdate.
3032 # find reload flag for linker
3033 # -- PORTME Some linkers may need a different reload flag.
3037 # _LT_CHECK_MAGIC_METHOD
3038 # ----------------------
3039 # how to check for library dependencies
3040 # -- PORTME fill in with the dynamic library characteristics
3041 # _LT_CHECK_MAGIC_METHOD
3046 # find the pathname to a BSD- or MS-compatible name lister
3050 # This is what autoupdate's m4 run will expand. It fires
3051 # the warning (with _au_warn_XXX), outputs it into the
3052 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3053 # the replacement expansion.
3056 # This is an auxiliary macro that is also run when
3057 # autoupdate runs m4. It simply calls m4_warning, but
3058 # we need a wrapper so that each warning is emitted only
3059 # once. We break the quoting in m4_warning's argument in
3060 # order to expand this macro's arguments, not AU_DEFUN's.
3063 # Finally, this is the expansion that is picked up by
3064 # autoconf. It tells the user to run autoupdate, and
3065 # then outputs the replacement expansion. We do not care
3066 # about autoupdate's warning because that contains
3067 # information on what to do *after* running autoupdate.
3069 # This is what autoupdate's m4 run will expand. It fires
3070 # the warning (with _au_warn_XXX), outputs it into the
3071 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3072 # the replacement expansion.
3075 # This is an auxiliary macro that is also run when
3076 # autoupdate runs m4. It simply calls m4_warning, but
3077 # we need a wrapper so that each warning is emitted only
3078 # once. We break the quoting in m4_warning's argument in
3079 # order to expand this macro's arguments, not AU_DEFUN's.
3082 # Finally, this is the expansion that is picked up by
3083 # autoconf. It tells the user to run autoupdate, and
3084 # then outputs the replacement expansion. We do not care
3085 # about autoupdate's warning because that contains
3086 # information on what to do *after* running autoupdate.
3092 # check for math library
3096 # This is what autoupdate's m4 run will expand. It fires
3097 # the warning (with _au_warn_XXX), outputs it into the
3098 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3099 # the replacement expansion.
3102 # This is an auxiliary macro that is also run when
3103 # autoupdate runs m4. It simply calls m4_warning, but
3104 # we need a wrapper so that each warning is emitted only
3105 # once. We break the quoting in m4_warning's argument in
3106 # order to expand this macro's arguments, not AU_DEFUN's.
3109 # Finally, this is the expansion that is picked up by
3110 # autoconf. It tells the user to run autoupdate, and
3111 # then outputs the replacement expansion. We do not care
3112 # about autoupdate's warning because that contains
3113 # information on what to do *after* running autoupdate.
3117 # _LT_COMPILER_NO_RTTI([TAGNAME])
3118 # -------------------------------
3119 # _LT_COMPILER_NO_RTTI
3122 # _LT_CMD_GLOBAL_SYMBOLS
3123 # ----------------------
3124 # _LT_CMD_GLOBAL_SYMBOLS
3127 # _LT_COMPILER_PIC([TAGNAME])
3128 # ---------------------------
3132 # _LT_LINKER_SHLIBS([TAGNAME])
3133 # ----------------------------
3134 # See if the linker supports building shared libraries.
3138 # _LT_LANG_C_CONFIG([TAG])
3139 # ------------------------
3140 # Ensure that the configuration variables for a C compiler are suitably
3141 # defined. These variables are subsequently used by _LT_CONFIG to write
3142 # the compiler configuration to `libtool'.
3146 # _LT_LANG_CXX_CONFIG([TAG])
3147 # --------------------------
3148 # Ensure that the configuration variables for a C++ compiler are suitably
3149 # defined. These variables are subsequently used by _LT_CONFIG to write
3150 # the compiler configuration to `libtool'.
3151 # _LT_LANG_CXX_CONFIG
3154 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
3155 # ---------------------------------
3156 # Figure out "hidden" library dependencies from verbose
3157 # compiler output when linking a shared library.
3158 # Parse the compiler output and extract the necessary
3159 # objects, libraries and library flags.
3160 # _LT_SYS_HIDDEN_LIBDEPS
3163 # _LT_LANG_F77_CONFIG([TAG])
3164 # --------------------------
3165 # Ensure that the configuration variables for a Fortran 77 compiler are
3166 # suitably defined. These variables are subsequently used by _LT_CONFIG
3167 # to write the compiler configuration to `libtool'.
3168 # _LT_LANG_F77_CONFIG
3171 # _LT_LANG_FC_CONFIG([TAG])
3172 # -------------------------
3173 # Ensure that the configuration variables for a Fortran compiler are
3174 # suitably defined. These variables are subsequently used by _LT_CONFIG
3175 # to write the compiler configuration to `libtool'.
3176 # _LT_LANG_FC_CONFIG
3179 # _LT_LANG_GCJ_CONFIG([TAG])
3180 # --------------------------
3181 # Ensure that the configuration variables for the GNU Java Compiler compiler
3182 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3183 # to write the compiler configuration to `libtool'.
3184 # _LT_LANG_GCJ_CONFIG
3187 # _LT_LANG_RC_CONFIG([TAG])
3188 # -------------------------
3189 # Ensure that the configuration variables for the Windows resource compiler
3190 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3191 # to write the compiler configuration to `libtool'.
3192 # _LT_LANG_RC_CONFIG
3200 # This is what autoupdate's m4 run will expand. It fires
3201 # the warning (with _au_warn_XXX), outputs it into the
3202 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3203 # the replacement expansion.
3206 # This is an auxiliary macro that is also run when
3207 # autoupdate runs m4. It simply calls m4_warning, but
3208 # we need a wrapper so that each warning is emitted only
3209 # once. We break the quoting in m4_warning's argument in
3210 # order to expand this macro's arguments, not AU_DEFUN's.
3213 # Finally, this is the expansion that is picked up by
3214 # autoconf. It tells the user to run autoupdate, and
3215 # then outputs the replacement expansion. We do not care
3216 # about autoupdate's warning because that contains
3217 # information on what to do *after* running autoupdate.
3226 # This is what autoupdate's m4 run will expand. It fires
3227 # the warning (with _au_warn_XXX), outputs it into the
3228 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3229 # the replacement expansion.
3232 # This is an auxiliary macro that is also run when
3233 # autoupdate runs m4. It simply calls m4_warning, but
3234 # we need a wrapper so that each warning is emitted only
3235 # once. We break the quoting in m4_warning's argument in
3236 # order to expand this macro's arguments, not AU_DEFUN's.
3239 # Finally, this is the expansion that is picked up by
3240 # autoconf. It tells the user to run autoupdate, and
3241 # then outputs the replacement expansion. We do not care
3242 # about autoupdate's warning because that contains
3243 # information on what to do *after* running autoupdate.
3249 # If we don't have a new enough Autoconf to choose the best grep
3250 # available, choose the one first in the user's PATH.
3256 # If we don't have a new enough Autoconf to choose the best objdump
3257 # available, choose the one first in the user's PATH.
3263 # Check for a fully-functional sed program, that truncates
3264 # as few characters as possible. Prefer GNU sed if found.
3270 # This is what autoupdate's m4 run will expand. It fires
3271 # the warning (with _au_warn_XXX), outputs it into the
3272 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3273 # the replacement expansion.
3276 # This is an auxiliary macro that is also run when
3277 # autoupdate runs m4. It simply calls m4_warning, but
3278 # we need a wrapper so that each warning is emitted only
3279 # once. We break the quoting in m4_warning's argument in
3280 # order to expand this macro's arguments, not AU_DEFUN's.
3283 # Finally, this is the expansion that is picked up by
3284 # autoconf. It tells the user to run autoupdate, and
3285 # then outputs the replacement expansion. We do not care
3286 # about autoupdate's warning because that contains
3287 # information on what to do *after* running autoupdate.
3291 # _LT_CHECK_SHELL_FEATURES
3292 # ------------------------
3293 # Find out whether the shell is Bourne or XSI compatible,
3294 # or has some other useful features.
3295 # _LT_CHECK_SHELL_FEATURES
3298 # _LT_PROG_XSI_SHELLFNS
3299 # ---------------------
3300 # Bourne and XSI compatible variants of some useful shell functions.
3303 # Helper functions for option handling. -*- Autoconf -*-
3305 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
3307 # Written by Gary V. Vaughan, 2004
3309 # This file is free software; the Free Software Foundation gives
3310 # unlimited permission to copy and/or distribute it, with or without
3311 # modifications, as long as this notice is preserved.
3313 # serial 6 ltoptions.m4
3315 # This is to help aclocal find these macros, as it can't see m4_define.
3319 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
3320 # ------------------------------------------
3324 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
3325 # ---------------------------------------
3326 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
3327 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
3332 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
3333 # ------------------------------------------------------------
3334 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
3338 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
3339 # -------------------------------------------------------
3340 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
3345 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
3346 # ----------------------------------------
3347 # OPTION-LIST is a space-separated list of Libtool options associated
3348 # with MACRO-NAME. If any OPTION has a matching handler declared with
3349 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
3350 # the unknown option and exit.
3354 ## --------------------------------- ##
3355 ## Macros to handle LT_INIT options. ##
3356 ## --------------------------------- ##
3358 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
3359 # -----------------------------------------
3363 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
3364 # -----------------------------------------------
3372 # This is what autoupdate's m4 run will expand. It fires
3373 # the warning (with _au_warn_XXX), outputs it into the
3374 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3375 # the replacement expansion.
3378 # This is an auxiliary macro that is also run when
3379 # autoupdate runs m4. It simply calls m4_warning, but
3380 # we need a wrapper so that each warning is emitted only
3381 # once. We break the quoting in m4_warning's argument in
3382 # order to expand this macro's arguments, not AU_DEFUN's.
3385 # Finally, this is the expansion that is picked up by
3386 # autoconf. It tells the user to run autoupdate, and
3387 # then outputs the replacement expansion. We do not care
3388 # about autoupdate's warning because that contains
3389 # information on what to do *after* running autoupdate.
3396 # Declare package support for building win32 dll's.
3399 # This is what autoupdate's m4 run will expand. It fires
3400 # the warning (with _au_warn_XXX), outputs it into the
3401 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3402 # the replacement expansion.
3405 # This is an auxiliary macro that is also run when
3406 # autoupdate runs m4. It simply calls m4_warning, but
3407 # we need a wrapper so that each warning is emitted only
3408 # once. We break the quoting in m4_warning's argument in
3409 # order to expand this macro's arguments, not AU_DEFUN's.
3412 # Finally, this is the expansion that is picked up by
3413 # autoconf. It tells the user to run autoupdate, and
3414 # then outputs the replacement expansion. We do not care
3415 # about autoupdate's warning because that contains
3416 # information on what to do *after* running autoupdate.
3421 # _LT_ENABLE_SHARED([DEFAULT])
3422 # ----------------------------
3423 # implement the --enable-shared flag, and supports the `shared' and
3424 # `disable-shared' LT_INIT options.
3425 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3436 # This is what autoupdate's m4 run will expand. It fires
3437 # the warning (with _au_warn_XXX), outputs it into the
3438 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3439 # the replacement expansion.
3442 # This is an auxiliary macro that is also run when
3443 # autoupdate runs m4. It simply calls m4_warning, but
3444 # we need a wrapper so that each warning is emitted only
3445 # once. We break the quoting in m4_warning's argument in
3446 # order to expand this macro's arguments, not AU_DEFUN's.
3449 # Finally, this is the expansion that is picked up by
3450 # autoconf. It tells the user to run autoupdate, and
3451 # then outputs the replacement expansion. We do not care
3452 # about autoupdate's warning because that contains
3453 # information on what to do *after* running autoupdate.
3455 # This is what autoupdate's m4 run will expand. It fires
3456 # the warning (with _au_warn_XXX), outputs it into the
3457 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3458 # the replacement expansion.
3461 # This is an auxiliary macro that is also run when
3462 # autoupdate runs m4. It simply calls m4_warning, but
3463 # we need a wrapper so that each warning is emitted only
3464 # once. We break the quoting in m4_warning's argument in
3465 # order to expand this macro's arguments, not AU_DEFUN's.
3468 # Finally, this is the expansion that is picked up by
3469 # autoconf. It tells the user to run autoupdate, and
3470 # then outputs the replacement expansion. We do not care
3471 # about autoupdate's warning because that contains
3472 # information on what to do *after* running autoupdate.
3478 # _LT_ENABLE_STATIC([DEFAULT])
3479 # ----------------------------
3480 # implement the --enable-static flag, and support the `static' and
3481 # `disable-static' LT_INIT options.
3482 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3493 # This is what autoupdate's m4 run will expand. It fires
3494 # the warning (with _au_warn_XXX), outputs it into the
3495 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3496 # the replacement expansion.
3499 # This is an auxiliary macro that is also run when
3500 # autoupdate runs m4. It simply calls m4_warning, but
3501 # we need a wrapper so that each warning is emitted only
3502 # once. We break the quoting in m4_warning's argument in
3503 # order to expand this macro's arguments, not AU_DEFUN's.
3506 # Finally, this is the expansion that is picked up by
3507 # autoconf. It tells the user to run autoupdate, and
3508 # then outputs the replacement expansion. We do not care
3509 # about autoupdate's warning because that contains
3510 # information on what to do *after* running autoupdate.
3512 # This is what autoupdate's m4 run will expand. It fires
3513 # the warning (with _au_warn_XXX), outputs it into the
3514 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3515 # the replacement expansion.
3518 # This is an auxiliary macro that is also run when
3519 # autoupdate runs m4. It simply calls m4_warning, but
3520 # we need a wrapper so that each warning is emitted only
3521 # once. We break the quoting in m4_warning's argument in
3522 # order to expand this macro's arguments, not AU_DEFUN's.
3525 # Finally, this is the expansion that is picked up by
3526 # autoconf. It tells the user to run autoupdate, and
3527 # then outputs the replacement expansion. We do not care
3528 # about autoupdate's warning because that contains
3529 # information on what to do *after* running autoupdate.
3535 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
3536 # ----------------------------------
3537 # implement the --enable-fast-install flag, and support the `fast-install'
3538 # and `disable-fast-install' LT_INIT options.
3539 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3540 # _LT_ENABLE_FAST_INSTALL
3546 # This is what autoupdate's m4 run will expand. It fires
3547 # the warning (with _au_warn_XXX), outputs it into the
3548 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3549 # the replacement expansion.
3552 # This is an auxiliary macro that is also run when
3553 # autoupdate runs m4. It simply calls m4_warning, but
3554 # we need a wrapper so that each warning is emitted only
3555 # once. We break the quoting in m4_warning's argument in
3556 # order to expand this macro's arguments, not AU_DEFUN's.
3559 # Finally, this is the expansion that is picked up by
3560 # autoconf. It tells the user to run autoupdate, and
3561 # then outputs the replacement expansion. We do not care
3562 # about autoupdate's warning because that contains
3563 # information on what to do *after* running autoupdate.
3566 # This is what autoupdate's m4 run will expand. It fires
3567 # the warning (with _au_warn_XXX), outputs it into the
3568 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3569 # the replacement expansion.
3572 # This is an auxiliary macro that is also run when
3573 # autoupdate runs m4. It simply calls m4_warning, but
3574 # we need a wrapper so that each warning is emitted only
3575 # once. We break the quoting in m4_warning's argument in
3576 # order to expand this macro's arguments, not AU_DEFUN's.
3579 # Finally, this is the expansion that is picked up by
3580 # autoconf. It tells the user to run autoupdate, and
3581 # then outputs the replacement expansion. We do not care
3582 # about autoupdate's warning because that contains
3583 # information on what to do *after* running autoupdate.
3588 # _LT_WITH_PIC([MODE])
3589 # --------------------
3590 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
3592 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3599 # This is what autoupdate's m4 run will expand. It fires
3600 # the warning (with _au_warn_XXX), outputs it into the
3601 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3602 # the replacement expansion.
3605 # This is an auxiliary macro that is also run when
3606 # autoupdate runs m4. It simply calls m4_warning, but
3607 # we need a wrapper so that each warning is emitted only
3608 # once. We break the quoting in m4_warning's argument in
3609 # order to expand this macro's arguments, not AU_DEFUN's.
3612 # Finally, this is the expansion that is picked up by
3613 # autoconf. It tells the user to run autoupdate, and
3614 # then outputs the replacement expansion. We do not care
3615 # about autoupdate's warning because that contains
3616 # information on what to do *after* running autoupdate.
3620 ## ----------------- ##
3621 ## LTDL_INIT Options ##
3622 ## ----------------- ##
3633 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
3635 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
3636 # Written by Gary V. Vaughan, 2004
3638 # This file is free software; the Free Software Foundation gives
3639 # unlimited permission to copy and/or distribute it, with or without
3640 # modifications, as long as this notice is preserved.
3642 # serial 6 ltsugar.m4
3644 # This is to help aclocal find these macros, as it can't see m4_define.
3648 # lt_join(SEP, ARG1, [ARG2...])
3649 # -----------------------------
3650 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
3651 # associated separator.
3652 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
3653 # versions in m4sugar had bugs.
3661 # Manipulate m4 lists.
3662 # These macros are necessary as long as will still need to support
3663 # Autoconf-2.59 which quotes differently.
3669 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
3670 # ------------------------------------------
3671 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
3672 # Note that neither SEPARATOR nor STRING are expanded; they are appended
3673 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
3674 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
3675 # than defined and empty).
3677 # This macro is needed until we can rely on Autoconf 2.62, since earlier
3678 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
3683 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
3684 # ----------------------------------------------------------
3685 # Produce a SEP delimited list of all paired combinations of elements of
3686 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
3687 # has the form PREFIXmINFIXSUFFIXn.
3688 # Needed until we can rely on m4_combine added in Autoconf 2.62.
3692 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
3693 # -----------------------------------------------------------------------
3694 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
3695 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
3699 # lt_dict_add(DICT, KEY, VALUE)
3700 # -----------------------------
3704 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
3705 # --------------------------------------------
3709 # lt_dict_fetch(DICT, KEY, [SUBKEY])
3710 # ----------------------------------
3714 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
3715 # -----------------------------------------------------------------
3719 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
3720 # --------------------------------------------------------------
3723 # ltversion.m4 -- version numbers -*- Autoconf -*-
3725 # Copyright (C) 2004 Free Software Foundation, Inc.
3726 # Written by Scott James Remnant, 2004
3728 # This file is free software; the Free Software Foundation gives
3729 # unlimited permission to copy and/or distribute it, with or without
3730 # modifications, as long as this notice is preserved.
3732 # Generated from ltversion.in.
3734 # serial 3134 ltversion.m4
3735 # This file is part of GNU Libtool
3742 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
3744 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
3745 # Written by Scott James Remnant, 2004.
3747 # This file is free software; the Free Software Foundation gives
3748 # unlimited permission to copy and/or distribute it, with or without
3749 # modifications, as long as this notice is preserved.
3751 # serial 4 lt~obsolete.m4
3753 # These exist entirely to fool aclocal when bootstrapping libtool.
3755 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
3756 # which have later been changed to m4_define as they aren't part of the
3757 # exported API, or moved to Autoconf or Automake where they belong.
3759 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
3760 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
3761 # using a macro with the same name in our local m4/libtool.m4 it'll
3762 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
3763 # and doesn't know about Autoconf macros at all.)
3765 # So we provide this file, which has a silly filename so it's always
3766 # included after everything else. This provides aclocal with the
3767 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
3768 # because those macros already exist, or will be overwritten later.
3769 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
3771 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
3772 # Yes, that means every name once taken will need to remain here until
3773 # we give up compatibility with versions before 1.7, at which point
3774 # we need to keep only those names which we still refer to.
3776 # This is to help aclocal find these macros, as it can't see m4_define.
3843 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
3844 # Free Software Foundation, Inc.
3846 # This file is free software; the Free Software Foundation
3847 # gives unlimited permission to copy and/or distribute it,
3848 # with or without modifications, as long as this notice is preserved.
3852 # Based on depend.m4 from automake 1.9, modified for standalone use in
3853 # an environment where GNU make is required.
3855 # ZW_PROG_COMPILER_DEPENDENCIES
3856 # -----------------------------
3857 # Variant of _AM_DEPENDENCIES which just does the dependency probe and
3858 # sets fooDEPMODE accordingly. Cache-variable compatible with
3859 # original; not side-effect compatible. As the users of this macro
3860 # may require accurate dependencies for correct builds, it does *not*
3861 # honor --disable-dependency-checking, and failure to detect a usable
3862 # method is an error. depcomp is assumed to be located in
3865 # FIXME: Should use the Autoconf 2.5x language-selection mechanism.
3871 # Choose a directory name for dependency files.
3876 # As AM_SET_DEPDIR, but also create the directory at config.status time.
3927 sim_inline
="-DDEFAULT_INLINE=0"
3964 # intl sister-directory configuration rules.
3967 # The idea behind this macro is that there's no need to repeat all the
3968 # autoconf probes done by the intl directory - it's already done them
3969 # for us. In fact, there's no need even to look at the cache for the
3970 # answers. All we need to do is nab a few pieces of information.
3971 # The intl directory is set up to make this easy, by generating a
3972 # small file which can be sourced as a shell script; then we produce
3973 # the necessary substitutions and definitions for this directory.
3977 # Autoconf M4 include file defining utility macros for complex Canadian
3989 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
3991 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
3994 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
3995 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
3999 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
4000 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
4004 # Backported from Autoconf 2.5x; can go away when and if
4005 # we switch. Put the OS path separator in $PATH_SEPARATOR.
4010 # ACX_HAVE_GCC_FOR_TARGET
4011 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
4014 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
4015 # Searching for installed target binutils. We need to take extra care,
4016 # else we may find the wrong assembler, linker, etc., and lose.
4018 # First try --with-build-time-tools, if specified.
4020 # For build != host, we ask the installed GCC for the name of the tool it
4021 # uses, and accept it if it is an absolute path. This is because the
4022 # only good choice for a compiler is the same GCC version that is being
4023 # installed (or we couldn't make target libraries), and we assume that
4024 # on the host system we'll have not only the same GCC version, but also
4025 # the same binutils version.
4027 # For build == host, search the same directories that the installed
4028 # compiler will search. We used to do this for the assembler, linker,
4029 # and nm only; for simplicity of configuration, however, we extend this
4030 # criterion to tools (such as ar and ranlib) that are never invoked by
4031 # the compiler, to avoid mismatches.
4033 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
4034 # if build == target. This makes the most sense only when bootstrapping,
4035 # but we also do so when build != host. In this case, we hope that the
4036 # build and host systems will have similar contents of MD_EXEC_PREFIX.
4038 # If we do not find a suitable binary, then try the user's path.
4042 # AC_PROG_CPP_WERROR
4043 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
4044 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
4045 # For now, using this also overrides header checks to use only the
4046 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
4047 # bit harder from here).
4048 # Eventually autoconf will default to checking headers with the compiler
4049 # instead, and we'll have to do this differently.
4051 # AC_PROG_CPP_WERROR
4054 # We require the gnatbind & gnatmake programs, as well as a compiler driver
4055 # that understands Ada. We use the user's CC setting, already found, and
4056 # possibly add $1 to the command-line parameters.
4058 # Sets the shell variable have_gnat to yes or no as appropriate, and
4059 # substitutes GNATBIND and GNATMAKE.
4086 ac_cpp
='$CPP $CPPFLAGS'
4087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4090 if test -n "$ac_tool_prefix"; then
4091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4092 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if test "${ac_cv_prog_CC+set}" = set; then :
4096 $as_echo_n "(cached) " >&6
4098 if test -n "$CC"; then
4099 ac_cv_prog_CC
="$CC" # Let the user override the test.
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir
=.
4106 for ac_exec_ext
in '' $ac_executable_extensions; do
4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 if test -n "$CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4121 $as_echo "$CC" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4129 if test -z "$ac_cv_prog_CC"; then
4131 # Extract the first word of "gcc", so it can be a program name with args.
4132 set dummy gcc
; ac_word
=$2
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4134 $as_echo_n "checking for $ac_word... " >&6; }
4135 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4138 if test -n "$ac_ct_CC"; then
4139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir
=.
4146 for ac_exec_ext
in '' $ac_executable_extensions; do
4147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148 ac_cv_prog_ac_ct_CC
="gcc"
4149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4159 if test -n "$ac_ct_CC"; then
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4161 $as_echo "$ac_ct_CC" >&6; }
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 $as_echo "no" >&6; }
4167 if test "x$ac_ct_CC" = x
; then
4170 case $cross_compiling:$ac_tool_warned in
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4174 ac_tool_warned
=yes ;;
4182 if test -z "$CC"; then
4183 if test -n "$ac_tool_prefix"; then
4184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4185 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if test "${ac_cv_prog_CC+set}" = set; then :
4189 $as_echo_n "(cached) " >&6
4191 if test -n "$CC"; then
4192 ac_cv_prog_CC
="$CC" # Let the user override the test.
4194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4198 test -z "$as_dir" && as_dir
=.
4199 for ac_exec_ext
in '' $ac_executable_extensions; do
4200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4201 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 if test -n "$CC"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214 $as_echo "$CC" >&6; }
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4223 if test -z "$CC"; then
4224 # Extract the first word of "cc", so it can be a program name with args.
4225 set dummy cc
; ac_word
=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if test "${ac_cv_prog_CC+set}" = set; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$CC"; then
4232 ac_cv_prog_CC
="$CC" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4243 ac_prog_rejected
=yes
4247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 if test $ac_prog_rejected = yes; then
4255 # We found a bogon in the path, so make sure we never use it.
4256 set dummy
$ac_cv_prog_CC
4258 if test $# != 0; then
4259 # We chose a different compiler from the bogus one.
4260 # However, it has the same basename, so the bogon will be chosen
4261 # first if we set CC to just the basename; use the full file name.
4263 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4269 if test -n "$CC"; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4271 $as_echo "$CC" >&6; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274 $as_echo "no" >&6; }
4279 if test -z "$CC"; then
4280 if test -n "$ac_tool_prefix"; then
4281 for ac_prog
in cl.exe
4283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4284 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286 $as_echo_n "checking for $ac_word... " >&6; }
4287 if test "${ac_cv_prog_CC+set}" = set; then :
4288 $as_echo_n "(cached) " >&6
4290 if test -n "$CC"; then
4291 ac_cv_prog_CC
="$CC" # Let the user override the test.
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 if test -n "$CC"; then
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4313 $as_echo "$CC" >&6; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4316 $as_echo "no" >&6; }
4320 test -n "$CC" && break
4323 if test -z "$CC"; then
4325 for ac_prog
in cl.exe
4327 # Extract the first word of "$ac_prog", so it can be a program name with args.
4328 set dummy
$ac_prog; ac_word
=$2
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4332 $as_echo_n "(cached) " >&6
4334 if test -n "$ac_ct_CC"; then
4335 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir
=.
4342 for ac_exec_ext
in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_ac_ct_CC
="$ac_prog"
4345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4355 if test -n "$ac_ct_CC"; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4357 $as_echo "$ac_ct_CC" >&6; }
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4364 test -n "$ac_ct_CC" && break
4367 if test "x$ac_ct_CC" = x
; then
4370 case $cross_compiling:$ac_tool_warned in
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4374 ac_tool_warned
=yes ;;
4383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4385 as_fn_error
"no acceptable C compiler found in \$PATH
4386 See \`config.log' for more details." "$LINENO" 5; }
4388 # Provide some information about the compiler.
4389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4392 for ac_option
in --version -v -V -qversion; do
4393 { { ac_try
="$ac_compiler $ac_option >&5"
4395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4402 if test -s conftest.err; then
4404 ... rest of stderr output deleted ...
4405 10q' conftest.err >conftest.er1
4406 cat conftest.er1 >&5
4407 rm -f conftest.er1 conftest.err
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4424 ac_clean_files_save=$ac_clean_files
4425 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4426 # Try to create an executable without -o first, disregard a.out.
4427 # It will help us diagnose broken compilers, and finding out an intuition
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4430 $as_echo_n "checking for C compiler default output file name... " >&6; }
4431 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4433 # The possible output files:
4434 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4437 for ac_file in $ac_files
4440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4446 if { { ac_try="$ac_link_default"
4448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4449 *) ac_try_echo
=$ac_try;;
4451 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4452 $as_echo "$ac_try_echo"; } >&5
4453 (eval "$ac_link_default") 2>&5
4455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4456 test $ac_status = 0; }; then :
4457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4460 # so that the user can short-circuit this test for compilers unknown to
4462 for ac_file
in $ac_files ''
4464 test -f "$ac_file" ||
continue
4466 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4469 # We found the default executable, but exeext='' is most
4473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4475 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4477 # We set ac_cv_exeext here because the later test for it is not
4478 # safe: cross compilers may not add the suffix if given an `-o'
4479 # argument, so we may need to know it at that point already.
4480 # Even if this section looks crufty: it has the advantage of
4487 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4493 $as_echo "$ac_file" >&6; }
4494 if test -z "$ac_file"; then :
4495 $as_echo "$as_me: failed program was:" >&5
4496 sed 's/^/| /' conftest.
$ac_ext >&5
4498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4500 { as_fn_set_status
77
4501 as_fn_error
"C compiler cannot create executables
4502 See \`config.log' for more details." "$LINENO" 5; }; }
4504 ac_exeext
=$ac_cv_exeext
4506 # Check that the compiler produces executables we can run. If not, either
4507 # the compiler is broken, or we cross compile.
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4509 $as_echo_n "checking whether the C compiler works... " >&6; }
4510 # If not cross compiling, check that we can run a simple program.
4511 if test "$cross_compiling" != yes; then
4512 if { ac_try
='./$ac_file'
4513 { { case "(($ac_try" in
4514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4515 *) ac_try_echo=$ac_try;;
4517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4518 $as_echo "$ac_try_echo"; } >&5
4519 (eval "$ac_try") 2>&5
4521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4522 test $ac_status = 0; }; }; then
4525 if test "$cross_compiling" = maybe; then
4528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4530 as_fn_error "cannot run C compiled programs.
4531 If you meant to cross compile
, use \
`--host'.
4532 See \`config.log
' for more details." "$LINENO" 5; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4537 $as_echo "yes" >&6; }
4539 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4540 ac_clean_files=$ac_clean_files_save
4541 # Check that the compiler produces executables we can run. If not, either
4542 # the compiler is broken, or we cross compile.
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4544 $as_echo_n "checking whether we are cross compiling... " >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4546 $as_echo "$cross_compiling" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4549 $as_echo_n "checking for suffix of executables... " >&6; }
4550 if { { ac_try="$ac_link"
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4556 $as_echo "$ac_try_echo"; } >&5
4557 (eval "$ac_link") 2>&5
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }; then :
4561 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4562 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4563 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4565 for ac_file
in conftest.exe conftest conftest.
*; do
4566 test -f "$ac_file" ||
continue
4568 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4569 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4577 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4578 See \`config.log' for more details." "$LINENO" 5; }
4580 rm -f conftest
$ac_cv_exeext
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4582 $as_echo "$ac_cv_exeext" >&6; }
4584 rm -f conftest.
$ac_ext
4585 EXEEXT
=$ac_cv_exeext
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4588 $as_echo_n "checking for suffix of object files... " >&6; }
4589 if test "${ac_cv_objext+set}" = set; then :
4590 $as_echo_n "(cached) " >&6
4592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4603 rm -f conftest.o conftest.obj
4604 if { { ac_try
="$ac_compile"
4606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4607 *) ac_try_echo=$ac_try;;
4609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4610 $as_echo "$ac_try_echo"; } >&5
4611 (eval "$ac_compile") 2>&5
4613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4614 test $ac_status = 0; }; then :
4615 for ac_file in conftest.o conftest.obj conftest.*; do
4616 test -f "$ac_file" || continue;
4618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4619 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4624 $as_echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.$ac_ext >&5
4627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4629 as_fn_error "cannot compute suffix of object files
: cannot compile
4630 See \
`config.log' for more details." "$LINENO" 5; }
4632 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4635 $as_echo "$ac_cv_objext" >&6; }
4636 OBJEXT=$ac_cv_objext
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4639 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4640 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4641 $as_echo_n "(cached) " >&6
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4657 if ac_fn_c_try_compile "$LINENO"; then :
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4667 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4668 if test $ac_compiler_gnu = yes; then
4673 ac_test_CFLAGS=${CFLAGS+set}
4674 ac_save_CFLAGS=$CFLAGS
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4676 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4677 if test "${ac_cv_prog_cc_g+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4680 ac_save_c_werror_flag=$ac_c_werror_flag
4681 ac_c_werror_flag=yes
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4695 if ac_fn_c_try_compile "$LINENO"; then :
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4710 if ac_fn_c_try_compile "$LINENO"; then :
4713 ac_c_werror_flag=$ac_save_c_werror_flag
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4726 if ac_fn_c_try_compile "$LINENO"; then :
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734 ac_c_werror_flag=$ac_save_c_werror_flag
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4737 $as_echo "$ac_cv_prog_cc_g" >&6; }
4738 if test "$ac_test_CFLAGS" = set; then
4739 CFLAGS=$ac_save_CFLAGS
4740 elif test $ac_cv_prog_cc_g = yes; then
4741 if test "$GCC" = yes; then
4747 if test "$GCC" = yes; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4754 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4755 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4758 ac_cv_prog_cc_c89=no
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4764 #include <sys/types.h>
4765 #include <sys/stat.h>
4766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4767 struct buf { int x; };
4768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4769 static char *e (p, i)
4775 static char *f (char * (*g) (char **, int), char **p, ...)
4780 s = g (p, va_arg (v,int));
4785 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4786 function prototypes and stuff, but not '\xHH' hex character constants.
4787 These don't provoke an error unfortunately, instead are silently treated
4788 as 'x'. The following induces an error, until -std is added to get
4789 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4790 array size at least. It's necessary to write '\x00'==0 to get something
4791 that's true only with -std. */
4792 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4794 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4795 inside strings and character constants. */
4797 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4799 int test (int i, double x);
4800 struct s1 {int (*f) (int a);};
4801 struct s2 {int (*f) (double a);};
4802 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4808 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4813 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4814 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4816 CC="$ac_save_CC $ac_arg"
4817 if ac_fn_c_try_compile "$LINENO"; then :
4818 ac_cv_prog_cc_c89=$ac_arg
4820 rm -f core conftest.err conftest.$ac_objext
4821 test "x$ac_cv_prog_cc_c89" != "xno" && break
4823 rm -f conftest.$ac_ext
4828 case "x$ac_cv_prog_cc_c89" in
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4831 $as_echo "none needed" >&6; } ;;
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4834 $as_echo "unsupported" >&6; } ;;
4836 CC="$CC $ac_cv_prog_cc_c89"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4838 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4840 if test "x$ac_cv_prog_cc_c89" != xno; then :
4845 ac_cpp='$CPP $CPPFLAGS'
4846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4851 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4852 for ac_t in install-sh install.sh shtool; do
4853 if test -f "$ac_dir/$ac_t"; then
4855 ac_install_sh="$ac_aux_dir/$ac_t -c"
4860 if test -z "$ac_aux_dir"; then
4861 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4864 # These three variables are undocumented and unsupported,
4865 # and are intended to be withdrawn in a future Autoconf release.
4866 # They can cause serious problems if a builder's source tree is in a directory
4867 # whose full name contains unusual characters.
4868 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4869 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4870 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4873 # Make sure we can run config.sub.
4874 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4875 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4878 $as_echo_n "checking build system type... " >&6; }
4879 if test "${ac_cv_build+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4882 ac_build_alias=$build_alias
4883 test "x$ac_build_alias" = x &&
4884 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4885 test "x$ac_build_alias" = x &&
4886 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4887 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4888 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4892 $as_echo "$ac_cv_build" >&6; }
4893 case $ac_cv_build in
4895 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4898 ac_save_IFS=$IFS; IFS='-'
4904 # Remember, the first character of IFS is used to create $*,
4905 # except with old shells:
4908 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4912 $as_echo_n "checking host system type... " >&6; }
4913 if test "${ac_cv_host+set}" = set; then :
4914 $as_echo_n "(cached) " >&6
4916 if test "x$host_alias" = x; then
4917 ac_cv_host=$ac_cv_build
4919 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4920 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4925 $as_echo "$ac_cv_host" >&6; }
4928 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4931 ac_save_IFS=$IFS; IFS='-'
4937 # Remember, the first character of IFS is used to create $*,
4938 # except with old shells:
4941 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4945 $as_echo_n "checking target system type... " >&6; }
4946 if test "${ac_cv_target+set}" = set; then :
4947 $as_echo_n "(cached) " >&6
4949 if test "x$target_alias" = x; then
4950 ac_cv_target=$ac_cv_host
4952 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4953 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4958 $as_echo "$ac_cv_target" >&6; }
4959 case $ac_cv_target in
4961 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
4963 target=$ac_cv_target
4964 ac_save_IFS=$IFS; IFS='-'
4970 # Remember, the first character of IFS is used to create $*,
4971 # except with old shells:
4974 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
4977 # The aliases save the names the user supplied, while $host etc.
4978 # will get canonicalized.
4979 test -n "$target_alias" &&
4980 test "$program_prefix$program_suffix$program_transform_name" = \
4982 program_prefix=${target_alias}-
4985 ac_cpp='$CPP $CPPFLAGS'
4986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4990 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4991 # On Suns, sometimes $CPP names a directory.
4992 if test -n "$CPP" && test -d "$CPP"; then
4995 if test -z "$CPP"; then
4996 if test "${ac_cv_prog_CPP+set}" = set; then :
4997 $as_echo_n "(cached) " >&6
4999 # Double quotes because CPP needs to be expanded
5000 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5003 for ac_c_preproc_warn_flag in '' yes
5005 # Use a header file that comes with gcc, so configuring glibc
5006 # with a fresh cross-compiler works.
5007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5008 # <limits.h> exists even on freestanding compilers.
5009 # On the NeXT, cc -E runs the code through the compiler's parser,
5010 # not just through cpp. "Syntax error" is here to catch this case.
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5014 # include <limits.h>
5016 # include <assert.h>
5020 if ac_fn_c_try_cpp "$LINENO"; then :
5023 # Broken: fails on valid input.
5026 rm -f conftest.err conftest.$ac_ext
5028 # OK, works on sane cases. Now check whether nonexistent headers
5029 # can be detected and how.
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <ac_nonexistent.h>
5034 if ac_fn_c_try_cpp "$LINENO"; then :
5035 # Broken: success on invalid input.
5038 # Passes both tests.
5042 rm -f conftest.err conftest.$ac_ext
5045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5046 rm -f conftest.err conftest.
$ac_ext
5047 if $ac_preproc_ok; then :
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5060 $as_echo "$CPP" >&6; }
5062 for ac_c_preproc_warn_flag
in '' yes
5064 # Use a header file that comes with gcc, so configuring glibc
5065 # with a fresh cross-compiler works.
5066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5067 # <limits.h> exists even on freestanding compilers.
5068 # On the NeXT, cc -E runs the code through the compiler's parser,
5069 # not just through cpp. "Syntax error" is here to catch this case.
5070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5071 /* end confdefs.h. */
5073 # include <limits.h>
5075 # include <assert.h>
5079 if ac_fn_c_try_cpp
"$LINENO"; then :
5082 # Broken: fails on valid input.
5085 rm -f conftest.err conftest.
$ac_ext
5087 # OK, works on sane cases. Now check whether nonexistent headers
5088 # can be detected and how.
5089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5091 #include <ac_nonexistent.h>
5093 if ac_fn_c_try_cpp
"$LINENO"; then :
5094 # Broken: success on invalid input.
5097 # Passes both tests.
5101 rm -f conftest.err conftest.
$ac_ext
5104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5105 rm -f conftest.err conftest.
$ac_ext
5106 if $ac_preproc_ok; then :
5109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5111 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5112 See \`config.log' for more details." "$LINENO" 5; }
5116 ac_cpp
='$CPP $CPPFLAGS'
5117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5123 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5124 if test "${ac_cv_path_GREP+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -z "$GREP"; then
5128 ac_path_GREP_found
=false
5129 # Loop through the user's path and test for each of PROGNAME-LIST
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5131 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_prog
in grep ggrep
; do
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5138 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5139 # Check for GNU ac_path_GREP and select it if it is found.
5140 # Check for GNU $ac_path_GREP
5141 case `"$ac_path_GREP" --version 2>&1` in
5143 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5146 $as_echo_n 0123456789 >"conftest.in"
5149 cat "conftest.in" "conftest.in" >"conftest.tmp"
5150 mv "conftest.tmp" "conftest.in"
5151 cp "conftest.in" "conftest.nl"
5152 $as_echo 'GREP' >> "conftest.nl"
5153 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5154 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5155 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5156 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5157 # Best one so far, save it but keep looking for a better one
5158 ac_cv_path_GREP
="$ac_path_GREP"
5159 ac_path_GREP_max
=$ac_count
5161 # 10*(2^10) chars as input seems more than enough
5162 test $ac_count -gt 10 && break
5164 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5167 $ac_path_GREP_found && break 3
5172 if test -z "$ac_cv_path_GREP"; then
5173 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5176 ac_cv_path_GREP
=$GREP
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5181 $as_echo "$ac_cv_path_GREP" >&6; }
5182 GREP
="$ac_cv_path_GREP"
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5186 $as_echo_n "checking for egrep... " >&6; }
5187 if test "${ac_cv_path_EGREP+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5191 then ac_cv_path_EGREP
="$GREP -E"
5193 if test -z "$EGREP"; then
5194 ac_path_EGREP_found
=false
5195 # Loop through the user's path and test for each of PROGNAME-LIST
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_prog
in egrep; do
5202 for ac_exec_ext
in '' $ac_executable_extensions; do
5203 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5204 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5205 # Check for GNU ac_path_EGREP and select it if it is found.
5206 # Check for GNU $ac_path_EGREP
5207 case `"$ac_path_EGREP" --version 2>&1` in
5209 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5212 $as_echo_n 0123456789 >"conftest.in"
5215 cat "conftest.in" "conftest.in" >"conftest.tmp"
5216 mv "conftest.tmp" "conftest.in"
5217 cp "conftest.in" "conftest.nl"
5218 $as_echo 'EGREP' >> "conftest.nl"
5219 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5220 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5221 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5222 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5223 # Best one so far, save it but keep looking for a better one
5224 ac_cv_path_EGREP
="$ac_path_EGREP"
5225 ac_path_EGREP_max
=$ac_count
5227 # 10*(2^10) chars as input seems more than enough
5228 test $ac_count -gt 10 && break
5230 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5233 $ac_path_EGREP_found && break 3
5238 if test -z "$ac_cv_path_EGREP"; then
5239 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5242 ac_cv_path_EGREP
=$EGREP
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5248 $as_echo "$ac_cv_path_EGREP" >&6; }
5249 EGREP
="$ac_cv_path_EGREP"
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5253 $as_echo_n "checking for ANSI C header files... " >&6; }
5254 if test "${ac_cv_header_stdc+set}" = set; then :
5255 $as_echo_n "(cached) " >&6
5257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5272 if ac_fn_c_try_compile
"$LINENO"; then :
5273 ac_cv_header_stdc
=yes
5275 ac_cv_header_stdc
=no
5277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5279 if test $ac_cv_header_stdc = yes; then
5280 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5287 $EGREP "memchr" >/dev
/null
2>&1; then :
5290 ac_cv_header_stdc
=no
5296 if test $ac_cv_header_stdc = yes; then
5297 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5304 $EGREP "free" >/dev
/null
2>&1; then :
5307 ac_cv_header_stdc
=no
5313 if test $ac_cv_header_stdc = yes; then
5314 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5315 if test "$cross_compiling" = yes; then :
5318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5322 #if ((' ' & 0x0FF) == 0x020)
5323 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5324 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5326 # define ISLOWER(c) \
5327 (('a' <= (c) && (c) <= 'i') \
5328 || ('j' <= (c) && (c) <= 'r') \
5329 || ('s' <= (c) && (c) <= 'z'))
5330 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5333 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5338 for (i = 0; i < 256; i++)
5339 if (XOR (islower (i), ISLOWER (i))
5340 || toupper (i) != TOUPPER (i))
5345 if ac_fn_c_try_run
"$LINENO"; then :
5348 ac_cv_header_stdc
=no
5350 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5351 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5357 $as_echo "$ac_cv_header_stdc" >&6; }
5358 if test $ac_cv_header_stdc = yes; then
5360 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5364 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5365 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5366 inttypes.h stdint.h unistd.h
5368 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5369 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5371 eval as_val
=\$
$as_ac_Header
5372 if test "x$as_val" = x
""yes; then :
5373 cat >>confdefs.h
<<_ACEOF
5374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5383 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5384 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5391 if test "$MINIX" = yes; then
5393 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5396 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5399 $as_echo "#define _MINIX 1" >>confdefs.h
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5405 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5406 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5407 $as_echo_n "(cached) " >&6
5409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5412 # define __EXTENSIONS__ 1
5413 $ac_includes_default
5422 if ac_fn_c_try_compile
"$LINENO"; then :
5423 ac_cv_safe_to_define___extensions__
=yes
5425 ac_cv_safe_to_define___extensions__
=no
5427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5430 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5431 test $ac_cv_safe_to_define___extensions__ = yes &&
5432 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5434 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5436 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5438 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5440 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5443 test "$program_prefix" != NONE
&&
5444 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
5445 # Use a double $ so make ignores it.
5446 test "$program_suffix" != NONE
&&
5447 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
5448 # Double any \ or $.
5449 # By default was `s,x,x', remove it if useless.
5450 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
5451 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
5453 # Find a good install program. We prefer a C program (faster),
5454 # so one script is as good as another. But avoid the broken or
5455 # incompatible versions:
5456 # SysV /etc/install, /usr/sbin/install
5457 # SunOS /usr/etc/install
5458 # IRIX /sbin/install
5460 # AmigaOS /C/install, which installs bootblocks on floppy discs
5461 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5462 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5463 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5464 # OS/2's system install, which has a completely different semantic
5465 # ./install, which can be erroneously created by make from ./install.sh.
5466 # Reject install programs that cannot install multiple files.
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5468 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5469 if test -z "$INSTALL"; then
5470 if test "${ac_cv_path_install+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5477 test -z "$as_dir" && as_dir
=.
5478 # Account for people who put trailing slashes in PATH elements.
5479 case $as_dir/ in #((
5480 .
/ | .
// |
/[cC
]/* | \
5481 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5482 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5485 # OSF1 and SCO ODT 3.0 have their own names for install.
5486 # Don't use installbsd from OSF since it installs stuff as root
5488 for ac_prog
in ginstall scoinst
install; do
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5491 if test $ac_prog = install &&
5492 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5493 # AIX install. It has an incompatible calling convention.
5495 elif test $ac_prog = install &&
5496 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5497 # program-specific install script used by HP pwplus--don't use.
5500 rm -rf conftest.one conftest.two conftest.dir
5501 echo one
> conftest.one
5502 echo two
> conftest.two
5504 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5505 test -s conftest.one
&& test -s conftest.two
&&
5506 test -s conftest.dir
/conftest.one
&&
5507 test -s conftest.dir
/conftest.two
5509 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5522 rm -rf conftest.one conftest.two conftest.dir
5525 if test "${ac_cv_path_install+set}" = set; then
5526 INSTALL
=$ac_cv_path_install
5528 # As a last resort, use the slow shell script. Don't cache a
5529 # value for INSTALL within a source directory, because that will
5530 # break other packages using the cache if that directory is
5531 # removed, or if the value is a relative name.
5532 INSTALL
=$ac_install_sh
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5536 $as_echo "$INSTALL" >&6; }
5538 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5539 # It thinks the first close brace ends the variable substitution.
5540 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5542 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5544 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5546 rm -rf .tst
2>/dev
/null
5547 mkdir .tst
2>/dev
/null
5548 if test -d .tst
; then
5553 rmdir .tst
2>/dev
/null
5555 DEPDIR
="${am__leading_dot}deps"
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5560 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5565 macro_version
='2.2.7a'
5566 macro_revision
='1.3134'
5580 ltmain
="$ac_aux_dir/ltmain.sh"
5582 # Backslashify metacharacters that are still active within
5583 # double-quoted strings.
5584 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5586 # Same as above, but do not quote variable references.
5587 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5589 # Sed substitution to delay expansion of an escaped shell variable in a
5590 # double_quote_subst'ed string.
5591 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5593 # Sed substitution to delay expansion of an escaped single quote.
5594 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5596 # Sed substitution to avoid accidental globbing in evaled expressions
5597 no_glob_subst
='s/\*/\\\*/g'
5599 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5600 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5601 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5604 $as_echo_n "checking how to print strings... " >&6; }
5605 # Test print first, because it will be a builtin if present.
5606 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5607 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5609 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5612 # Use this function as a fallback that always works.
5613 func_fallback_echo ()
5615 eval 'cat <<_LTECHO_EOF
5619 ECHO='func_fallback_echo
'
5622 # func_echo_all arg...
5623 # Invoke $ECHO with all args, space-separated.
5630 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5631 $as_echo "printf" >&6; } ;;
5632 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5633 $as_echo "print -r" >&6; } ;;
5634 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5635 $as_echo "cat" >&6; } ;;
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5652 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5653 if test "${ac_cv_path_SED+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5656 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5657 for ac_i in 1 2 3 4 5 6 7; do
5658 ac_script="$ac_script$as_nl$ac_script"
5660 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5661 { ac_script=; unset ac_script;}
5662 if test -z "$SED"; then
5663 ac_path_SED_found=false
5664 # Loop through the user's path and
test for each of PROGNAME-LIST
5665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir
=.
5670 for ac_prog
in sed gsed
; do
5671 for ac_exec_ext
in '' $ac_executable_extensions; do
5672 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5673 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5674 # Check for GNU ac_path_SED and select it if it is found.
5675 # Check for GNU $ac_path_SED
5676 case `"$ac_path_SED" --version 2>&1` in
5678 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5681 $as_echo_n 0123456789 >"conftest.in"
5684 cat "conftest.in" "conftest.in" >"conftest.tmp"
5685 mv "conftest.tmp" "conftest.in"
5686 cp "conftest.in" "conftest.nl"
5687 $as_echo '' >> "conftest.nl"
5688 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5690 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5691 if test $ac_count -gt ${ac_path_SED_max-0}; then
5692 # Best one so far, save it but keep looking for a better one
5693 ac_cv_path_SED
="$ac_path_SED"
5694 ac_path_SED_max
=$ac_count
5696 # 10*(2^10) chars as input seems more than enough
5697 test $ac_count -gt 10 && break
5699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5702 $ac_path_SED_found && break 3
5707 if test -z "$ac_cv_path_SED"; then
5708 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5716 $as_echo "$ac_cv_path_SED" >&6; }
5717 SED
="$ac_cv_path_SED"
5720 test -z "$SED" && SED
=sed
5721 Xsed
="$SED -e 1s/^X//"
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5734 $as_echo_n "checking for fgrep... " >&6; }
5735 if test "${ac_cv_path_FGREP+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5738 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5739 then ac_cv_path_FGREP
="$GREP -F"
5741 if test -z "$FGREP"; then
5742 ac_path_FGREP_found
=false
5743 # Loop through the user's path and test for each of PROGNAME-LIST
5744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5745 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5748 test -z "$as_dir" && as_dir
=.
5749 for ac_prog
in fgrep
; do
5750 for ac_exec_ext
in '' $ac_executable_extensions; do
5751 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5752 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5753 # Check for GNU ac_path_FGREP and select it if it is found.
5754 # Check for GNU $ac_path_FGREP
5755 case `"$ac_path_FGREP" --version 2>&1` in
5757 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5760 $as_echo_n 0123456789 >"conftest.in"
5763 cat "conftest.in" "conftest.in" >"conftest.tmp"
5764 mv "conftest.tmp" "conftest.in"
5765 cp "conftest.in" "conftest.nl"
5766 $as_echo 'FGREP' >> "conftest.nl"
5767 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5768 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5769 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5770 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5771 # Best one so far, save it but keep looking for a better one
5772 ac_cv_path_FGREP
="$ac_path_FGREP"
5773 ac_path_FGREP_max
=$ac_count
5775 # 10*(2^10) chars as input seems more than enough
5776 test $ac_count -gt 10 && break
5778 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5781 $ac_path_FGREP_found && break 3
5786 if test -z "$ac_cv_path_FGREP"; then
5787 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5790 ac_cv_path_FGREP
=$FGREP
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5796 $as_echo "$ac_cv_path_FGREP" >&6; }
5797 FGREP
="$ac_cv_path_FGREP"
5800 test -z "$GREP" && GREP
=grep
5820 # Check whether --with-gnu-ld was given.
5821 if test "${with_gnu_ld+set}" = set; then :
5822 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5828 if test "$GCC" = yes; then
5829 # Check if gcc -print-prog-name=ld gives a path.
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5831 $as_echo_n "checking for ld used by $CC... " >&6; }
5834 # gcc leaves a trailing carriage return which upsets mingw
5835 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5837 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5840 # Accept absolute paths.
5842 re_direlt
='/[^/][^/]*/\.\./'
5843 # Canonicalize the pathname of ld
5844 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5845 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5846 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5848 test -z "$LD" && LD
="$ac_prog"
5851 # If it fails, then pretend we aren't using GCC.
5855 # If it is relative, then search for the first ld in PATH.
5859 elif test "$with_gnu_ld" = yes; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5861 $as_echo_n "checking for GNU ld... " >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5864 $as_echo_n "checking for non-GNU ld... " >&6; }
5866 if test "${lt_cv_path_LD+set}" = set; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -z "$LD"; then
5870 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5871 for ac_dir
in $PATH; do
5873 test -z "$ac_dir" && ac_dir
=.
5874 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5875 lt_cv_path_LD
="$ac_dir/$ac_prog"
5876 # Check to see if the program is GNU ld. I'd rather use --version,
5877 # but apparently some variants of GNU ld only accept -v.
5878 # Break only if it was the GNU/non-GNU ld that we prefer.
5879 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5880 *GNU
* |
*'with BFD'*)
5881 test "$with_gnu_ld" != no
&& break
5884 test "$with_gnu_ld" != yes && break
5891 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5896 if test -n "$LD"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5898 $as_echo "$LD" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5903 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5905 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5906 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5909 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5910 case `$LD -v 2>&1 </dev/null` in
5911 *GNU
* |
*'with BFD'*)
5912 lt_cv_prog_gnu_ld
=yes
5915 lt_cv_prog_gnu_ld
=no
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5920 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5921 with_gnu_ld
=$lt_cv_prog_gnu_ld
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5932 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5933 if test "${lt_cv_path_NM+set}" = set; then :
5934 $as_echo_n "(cached) " >&6
5936 if test -n "$NM"; then
5937 # Let the user override the test.
5940 lt_nm_to_check
="${ac_tool_prefix}nm"
5941 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5942 lt_nm_to_check
="$lt_nm_to_check nm"
5944 for lt_tmp_nm
in $lt_nm_to_check; do
5945 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5946 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5948 test -z "$ac_dir" && ac_dir
=.
5949 tmp_nm
="$ac_dir/$lt_tmp_nm"
5950 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5951 # Check to see if the nm accepts a BSD-compat flag.
5952 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5953 # nm: unknown option "B" ignored
5954 # Tru64's nm complains that /dev/null is an invalid object file
5955 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5956 */dev
/null
* |
*'Invalid file or object type'*)
5957 lt_cv_path_NM
="$tmp_nm -B"
5961 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5963 lt_cv_path_NM
="$tmp_nm -p"
5967 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5968 continue # so that we can try to find one that supports BSD flags
5977 : ${lt_cv_path_NM=no}
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5981 $as_echo "$lt_cv_path_NM" >&6; }
5982 if test "$lt_cv_path_NM" != "no"; then
5985 # Didn't find any BSD compatible name lister, look for dumpbin.
5986 if test -n "$DUMPBIN"; then :
5987 # Let the user override the test.
5989 if test -n "$ac_tool_prefix"; then
5990 for ac_prog
in dumpbin
"link -dump"
5992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5993 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5997 $as_echo_n "(cached) " >&6
5999 if test -n "$DUMPBIN"; then
6000 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir
=.
6007 for ac_exec_ext
in '' $ac_executable_extensions; do
6008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 DUMPBIN
=$ac_cv_prog_DUMPBIN
6020 if test -n "$DUMPBIN"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6022 $as_echo "$DUMPBIN" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$DUMPBIN" && break
6032 if test -z "$DUMPBIN"; then
6033 ac_ct_DUMPBIN
=$DUMPBIN
6034 for ac_prog
in dumpbin
"link -dump"
6036 # Extract the first word of "$ac_prog", so it can be a program name with args.
6037 set dummy
$ac_prog; ac_word
=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6041 $as_echo_n "(cached) " >&6
6043 if test -n "$ac_ct_DUMPBIN"; then
6044 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6050 test -z "$as_dir" && as_dir
=.
6051 for ac_exec_ext
in '' $ac_executable_extensions; do
6052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6053 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6064 if test -n "$ac_ct_DUMPBIN"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6066 $as_echo "$ac_ct_DUMPBIN" >&6; }
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$ac_ct_DUMPBIN" && break
6076 if test "x$ac_ct_DUMPBIN" = x
; then
6079 case $cross_compiling:$ac_tool_warned in
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6083 ac_tool_warned
=yes ;;
6085 DUMPBIN
=$ac_ct_DUMPBIN
6089 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6091 DUMPBIN
="$DUMPBIN -symbols"
6099 if test "$DUMPBIN" != ":"; then
6103 test -z "$NM" && NM
=nm
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6111 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6112 if test "${lt_cv_nm_interface+set}" = set; then :
6113 $as_echo_n "(cached) " >&6
6115 lt_cv_nm_interface
="BSD nm"
6116 echo "int some_variable = 0;" > conftest.
$ac_ext
6117 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6118 (eval "$ac_compile" 2>conftest.err
)
6119 cat conftest.err
>&5
6120 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6121 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6122 cat conftest.err
>&5
6123 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6124 cat conftest.out
>&5
6125 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6126 lt_cv_nm_interface
="MS dumpbin"
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6131 $as_echo "$lt_cv_nm_interface" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6134 $as_echo_n "checking whether ln -s works... " >&6; }
6136 if test "$LN_S" = "ln -s"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6138 $as_echo "yes" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6141 $as_echo "no, using $LN_S" >&6; }
6144 # find the maximum length of command line arguments
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6146 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6147 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6148 $as_echo_n "(cached) " >&6
6155 # On DJGPP, this test can blow up pretty badly due to problems in libc
6156 # (any single argument exceeding 2000 bytes causes a buffer overrun
6157 # during glob expansion). Even if it were fixed, the result of this
6158 # check would be larger than it should be.
6159 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6163 # Under GNU Hurd, this test is not required because there is
6164 # no limit to the length of command line arguments.
6165 # Libtool will interpret -1 as no limit whatsoever
6166 lt_cv_sys_max_cmd_len
=-1;
6169 cygwin
* | mingw
* | cegcc
*)
6170 # On Win9x/ME, this test blows up -- it succeeds, but takes
6171 # about 5 minutes as the teststring grows exponentially.
6172 # Worse, since 9x/ME are not pre-emptively multitasking,
6173 # you end up with a "frozen" computer, even though with patience
6174 # the test eventually succeeds (with a max line length of 256k).
6175 # Instead, let's just punt: use the minimum linelength reported by
6176 # all of the supported platforms: 8192 (on NT/2K/XP).
6177 lt_cv_sys_max_cmd_len
=8192;
6181 # On MiNT this can take a long time and run out of memory.
6182 lt_cv_sys_max_cmd_len
=8192;
6186 # On AmigaOS with pdksh, this test takes hours, literally.
6187 # So we just punt and use a minimum line length of 8192.
6188 lt_cv_sys_max_cmd_len
=8192;
6191 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6192 # This has been around since 386BSD, at least. Likely further.
6193 if test -x /sbin
/sysctl
; then
6194 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6195 elif test -x /usr
/sbin
/sysctl
; then
6196 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6198 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6200 # And add a safety zone
6201 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6202 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6206 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6207 lt_cv_sys_max_cmd_len
=196608
6211 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6212 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6213 # nice to cause kernel panics so lets avoid the loop below.
6214 # First set a reasonable default.
6215 lt_cv_sys_max_cmd_len
=16384
6217 if test -x /sbin
/sysconfig
; then
6218 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6219 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6224 lt_cv_sys_max_cmd_len
=102400
6226 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6227 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6228 if test -n "$kargmax"; then
6229 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6231 lt_cv_sys_max_cmd_len
=32768
6235 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6236 if test -n "$lt_cv_sys_max_cmd_len"; then
6237 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6238 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6240 # Make teststring a little bigger before we do anything with it.
6241 # a 1K string should be a reasonable start.
6242 for i
in 1 2 3 4 5 6 7 8 ; do
6243 teststring
=$teststring$teststring
6245 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6246 # If test is not a shell built-in, we'll probably end up computing a
6247 # maximum length that is only half of the actual maximum length, but
6249 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6250 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6251 test $i != 17 # 1/2 MB should be enough
6254 teststring
=$teststring$teststring
6256 # Only check the string length outside the loop.
6257 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6259 # Add a significant safety factor because C++ compilers can tack on
6260 # massive amounts of additional arguments before passing them to the
6261 # linker. It appears as though 1/2 is a usable value.
6262 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6269 if test -n $lt_cv_sys_max_cmd_len ; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6271 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6274 $as_echo "none" >&6; }
6276 max_cmd_len
=$lt_cv_sys_max_cmd_len
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6288 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6289 # Try some XSI features
6292 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6294 && eval 'test $(( 1 + 1 )) -eq 2 \
6295 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6298 $as_echo "$xsi_shell" >&6; }
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6302 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6304 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6306 && lt_shell_append=yes
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6308 $as_echo "$lt_shell_append" >&6; }
6311 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6321 # test EBCDIC or ASCII
6322 case `echo X|tr X '\101'` in
6323 A) # ASCII based system
6324 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6325 lt_SP2NL='tr \040 \012'
6326 lt_NL2SP='tr \015\012 \040\040'
6328 *) # EBCDIC based system
6329 lt_SP2NL='tr \100 \n'
6330 lt_NL2SP='tr \r\n \100\100'
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6343 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6344 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6345 $as_echo_n "(cached
) " >&6
6347 lt_cv_ld_reload_flag='-r'
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6350 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6351 reload_flag=$lt_cv_ld_reload_flag
6352 case $reload_flag in
6354 *) reload_flag=" $reload_flag" ;;
6356 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6359 if test "$GCC" = yes; then
6360 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6362 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6375 if test -n "$ac_tool_prefix"; then
6376 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6379 $as_echo_n "checking
for $ac_word...
" >&6; }
6380 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6381 $as_echo_n "(cached
) " >&6
6383 if test -n "$OBJDUMP"; then
6384 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir=.
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6393 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6403 OBJDUMP=$ac_cv_prog_OBJDUMP
6404 if test -n "$OBJDUMP"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6406 $as_echo "$OBJDUMP" >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6409 $as_echo "no
" >&6; }
6414 if test -z "$ac_cv_prog_OBJDUMP"; then
6415 ac_ct_OBJDUMP=$OBJDUMP
6416 # Extract the first word of "objdump
", so it can be a program name with args.
6417 set dummy objdump; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6419 $as_echo_n "checking
for $ac_word...
" >&6; }
6420 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6421 $as_echo_n "(cached
) " >&6
6423 if test -n "$ac_ct_OBJDUMP"; then
6424 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6443 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6444 if test -n "$ac_ct_OBJDUMP"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6446 $as_echo "$ac_ct_OBJDUMP" >&6; }
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6449 $as_echo "no
" >&6; }
6452 if test "x
$ac_ct_OBJDUMP" = x; then
6455 case $cross_compiling:$ac_tool_warned in
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6458 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6459 ac_tool_warned=yes ;;
6461 OBJDUMP=$ac_ct_OBJDUMP
6464 OBJDUMP="$ac_cv_prog_OBJDUMP"
6467 test -z "$OBJDUMP" && OBJDUMP=objdump
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6478 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6479 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6480 $as_echo_n "(cached
) " >&6
6482 lt_cv_file_magic_cmd='$MAGIC_CMD'
6483 lt_cv_file_magic_test_file=
6484 lt_cv_deplibs_check_method='unknown'
6485 # Need to set the preceding variable on all platforms that support
6486 # interlibrary dependencies.
6487 # 'none' -- dependencies not supported.
6488 # `unknown' -- same as none, but documents that we really don't know.
6489 # 'pass_all' -- all dependencies passed with no checks.
6490 # 'test_compile' -- check by making test program.
6491 # 'file_magic [[regex]]' -- check by looking for files in library path
6492 # which responds to the $file_magic_cmd with a given extended regex.
6493 # If you have `file' or equivalent on your system and you're not sure
6494 # whether `pass_all' will *always* work, you probably want this one.
6498 lt_cv_deplibs_check_method=pass_all
6502 lt_cv_deplibs_check_method=pass_all
6506 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6507 lt_cv_file_magic_cmd='/usr/bin/file -L'
6508 lt_cv_file_magic_test_file=/shlib/libc.so
6512 # func_win32_libid is a shell function defined in ltmain.sh
6513 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6514 lt_cv_file_magic_cmd='func_win32_libid'
6518 # Base MSYS/MinGW do not provide the 'file' command needed by
6519 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6520 # unless we find 'file', for example because we are cross-compiling.
6521 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6522 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6523 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6524 lt_cv_file_magic_cmd='func_win32_libid'
6526 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6527 lt_cv_file_magic_cmd='$OBJDUMP -f'
6532 # use the weaker test based on 'objdump'. See mingw*.
6533 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6534 lt_cv_file_magic_cmd='$OBJDUMP -f'
6537 darwin* | rhapsody*)
6538 lt_cv_deplibs_check_method=pass_all
6541 freebsd* | dragonfly*)
6542 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6545 # Not sure whether the presence of OpenBSD here was a mistake.
6546 # Let's accept both of them until this is cleared up.
6547 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6548 lt_cv_file_magic_cmd=/usr/bin/file
6549 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6553 lt_cv_deplibs_check_method=pass_all
6558 lt_cv_deplibs_check_method=pass_all
6562 lt_cv_deplibs_check_method=pass_all
6565 hpux10.20* | hpux11*)
6566 lt_cv_file_magic_cmd=/usr/bin/file
6569 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6570 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6573 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]'
6574 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6577 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6578 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6584 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6585 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6588 irix5* | irix6* | nonstopux*)
6590 *-32|*"-32 ") libmagic=32-bit;;
6591 *-n32|*"-n32 ") libmagic=N32;;
6592 *-64|*"-64 ") libmagic=64-bit;;
6593 *) libmagic=never-match;;
6595 lt_cv_deplibs_check_method=pass_all
6598 # This must be Linux ELF.
6599 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6600 lt_cv_deplibs_check_method=pass_all
6604 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6605 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6612 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6613 lt_cv_file_magic_cmd=/usr/bin/file
6614 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6618 lt_cv_deplibs_check_method=pass_all
6622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6623 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6629 osf3* | osf4* | osf5*)
6630 lt_cv_deplibs_check_method=pass_all
6634 lt_cv_deplibs_check_method=pass_all
6638 lt_cv_deplibs_check_method=pass_all
6641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6642 lt_cv_deplibs_check_method=pass_all
6646 case $host_vendor in
6648 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]'
6649 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6652 lt_cv_deplibs_check_method=pass_all
6655 lt_cv_file_magic_cmd='/bin/file'
6656 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6659 lt_cv_file_magic_cmd='/bin/file'
6660 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6661 lt_cv_file_magic_test_file=/lib/libc.so
6664 lt_cv_deplibs_check_method=pass_all
6667 lt_cv_deplibs_check_method=pass_all
6673 lt_cv_deplibs_check_method=pass_all
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6679 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6680 file_magic_cmd=$lt_cv_file_magic_cmd
6681 deplibs_check_method=$lt_cv_deplibs_check_method
6682 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6695 if test -n "$ac_tool_prefix"; then
6696 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6697 set dummy ${ac_tool_prefix}ar; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6699 $as_echo_n "checking
for $ac_word...
" >&6; }
6700 if test "${ac_cv_prog_AR+set}" = set; then :
6701 $as_echo_n "(cached
) " >&6
6703 if test -n "$AR"; then
6704 ac_cv_prog_AR="$AR" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_prog_AR="${ac_tool_prefix}ar"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6724 if test -n "$AR"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6726 $as_echo "$AR" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6729 $as_echo "no
" >&6; }
6734 if test -z "$ac_cv_prog_AR"; then
6736 # Extract the first word of "ar", so it can be a program name with args.
6737 set dummy ar; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6739 $as_echo_n "checking
for $ac_word...
" >&6; }
6740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6741 $as_echo_n "(cached
) " >&6
6743 if test -n "$ac_ct_AR"; then
6744 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753 ac_cv_prog_ac_ct_AR="ar"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6763 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6764 if test -n "$ac_ct_AR"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6766 $as_echo "$ac_ct_AR" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6769 $as_echo "no
" >&6; }
6772 if test "x
$ac_ct_AR" = x; then
6775 case $cross_compiling:$ac_tool_warned in
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6778 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6779 ac_tool_warned=yes ;;
6787 test -z "$AR" && AR=ar
6788 test -z "$AR_FLAGS" && AR_FLAGS=cru
6800 if test -n "$ac_tool_prefix"; then
6801 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6802 set dummy ${ac_tool_prefix}strip; ac_word=$2
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6804 $as_echo_n "checking
for $ac_word...
" >&6; }
6805 if test "${ac_cv_prog_STRIP+set}" = set; then :
6806 $as_echo_n "(cached
) " >&6
6808 if test -n "$STRIP"; then
6809 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 test -z "$as_dir" && as_dir=.
6816 for ac_exec_ext in '' $ac_executable_extensions; do
6817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6818 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6828 STRIP=$ac_cv_prog_STRIP
6829 if test -n "$STRIP"; then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6831 $as_echo "$STRIP" >&6; }
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6834 $as_echo "no
" >&6; }
6839 if test -z "$ac_cv_prog_STRIP"; then
6841 # Extract the first word of "strip
", so it can be a program name with args.
6842 set dummy strip; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6844 $as_echo_n "checking
for $ac_word...
" >&6; }
6845 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6846 $as_echo_n "(cached
) " >&6
6848 if test -n "$ac_ct_STRIP"; then
6849 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858 ac_cv_prog_ac_ct_STRIP="strip
"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6868 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6869 if test -n "$ac_ct_STRIP"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6871 $as_echo "$ac_ct_STRIP" >&6; }
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6874 $as_echo "no
" >&6; }
6877 if test "x
$ac_ct_STRIP" = x; then
6880 case $cross_compiling:$ac_tool_warned in
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6883 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6884 ac_tool_warned=yes ;;
6889 STRIP="$ac_cv_prog_STRIP"
6892 test -z "$STRIP" && STRIP=:
6899 if test -n "$ac_tool_prefix"; then
6900 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6901 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6903 $as_echo_n "checking
for $ac_word...
" >&6; }
6904 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6905 $as_echo_n "(cached
) " >&6
6907 if test -n "$RANLIB"; then
6908 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 test -z "$as_dir" && as_dir=.
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6917 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6927 RANLIB=$ac_cv_prog_RANLIB
6928 if test -n "$RANLIB"; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6930 $as_echo "$RANLIB" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6933 $as_echo "no
" >&6; }
6938 if test -z "$ac_cv_prog_RANLIB"; then
6939 ac_ct_RANLIB=$RANLIB
6940 # Extract the first word of "ranlib
", so it can be a program name with args.
6941 set dummy ranlib; ac_word=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6943 $as_echo_n "checking
for $ac_word...
" >&6; }
6944 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6945 $as_echo_n "(cached
) " >&6
6947 if test -n "$ac_ct_RANLIB"; then
6948 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 test -z "$as_dir" && as_dir=.
6955 for ac_exec_ext in '' $ac_executable_extensions; do
6956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6957 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6967 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6968 if test -n "$ac_ct_RANLIB"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6970 $as_echo "$ac_ct_RANLIB" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6973 $as_echo "no
" >&6; }
6976 if test "x
$ac_ct_RANLIB" = x; then
6979 case $cross_compiling:$ac_tool_warned in
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6982 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6983 ac_tool_warned=yes ;;
6985 RANLIB=$ac_ct_RANLIB
6988 RANLIB="$ac_cv_prog_RANLIB"
6991 test -z "$RANLIB" && RANLIB=:
6998 # Determine commands to create old-style static archives.
6999 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7000 old_postinstall_cmds='chmod 644 $oldlib'
7001 old_postuninstall_cmds=
7003 if test -n "$RANLIB"; then
7006 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7009 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7012 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7017 lock_old_archive_extraction=yes ;;
7019 lock_old_archive_extraction=no ;;
7042 for ac_prog in gawk mawk nawk awk
7044 # Extract the first word of "$ac_prog", so it can be a program name with args.
7045 set dummy $ac_prog; ac_word=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7047 $as_echo_n "checking
for $ac_word...
" >&6; }
7048 if test "${ac_cv_prog_AWK+set}" = set; then :
7049 $as_echo_n "(cached
) " >&6
7051 if test -n "$AWK"; then
7052 ac_cv_prog_AWK="$AWK" # Let the user override the test.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_prog_AWK="$ac_prog"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7072 if test -n "$AWK"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
7074 $as_echo "$AWK" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7077 $as_echo "no
" >&6; }
7081 test -n "$AWK" && break
7102 # If no C compiler was specified, use CC.
7105 # If no C compiler flags were specified, use CFLAGS.
7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7108 # Allow CC to be a program name with arguments.
7112 # Check for command to grab the raw symbol name followed by C symbol from nm.
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7114 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7115 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7116 $as_echo_n "(cached
) " >&6
7119 # These are sane defaults that work on at least a few old systems.
7120 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7122 # Character class describing NM global symbol codes.
7123 symcode='[BCDEGRST]'
7125 # Regexp to match symbols that can be accessed directly from C.
7126 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7128 # Define system-specific variables.
7133 cygwin* | mingw* | pw32* | cegcc*)
7134 symcode='[ABCDGISTW]'
7137 if test "$host_cpu" = ia64; then
7138 symcode='[ABCDEGRST]'
7142 symcode='[BCDEGRST]'
7145 symcode='[BCDEGQRST]'
7156 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7164 # If we're using GNU nm, then use its standard symbol codes.
7165 case `$NM -V 2>&1` in
7166 *GNU* | *'with BFD'*)
7167 symcode='[ABCDGIRSTW]' ;;
7170 # Transform an extracted symbol line into a proper C declaration.
7171 # Some systems (esp. on ia64) link data and code symbols differently,
7172 # so use this general approach.
7173 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7175 # Transform an extracted symbol line into symbol name and symbol address
7176 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7177 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'"
7179 # Handle CRLF in mingw tool chain
7183 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7187 # Try without a prefix underscore, then with it.
7188 for ac_symprfx in "" "_
"; do
7190 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7191 symxfrm="\\1 $ac_symprfx\\2 \\2"
7193 # Write the raw and C identifiers.
7194 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7195 # Fake it for dumpbin and say T for any non-static function
7196 # and D for any global variable.
7197 # Also find C++ and __fastcall symbols from MSVC++,
7198 # which start with @ or ?.
7199 lt_cv_sys_global_symbol_pipe="$AWK '"\
7200 " {last_section=section; section=\$ 3};"\
7201 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7202 " \$ 0!~/External *\|/{next};"\
7203 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7204 " {if(hide[section]) next};"\
7205 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7206 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7207 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7208 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7209 " ' prfx
=^
$ac_symprfx"
7211 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7214 # Check to see that the pipe works correctly.
7218 cat > conftest.$ac_ext <<_LT_EOF
7223 void nm_test_func(void);
7224 void nm_test_func(void){}
7228 int main(){nm_test_var='a';nm_test_func();return(0);}
7231 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7232 (eval $ac_compile) 2>&5
7234 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7235 test $ac_status = 0; }; then
7236 # Now try to grab the symbols.
7238 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7239 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7241 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7242 test $ac_status = 0; } && test -s "$nlist"; then
7243 # Try sorting and uniquifying the output.
7244 if sort "$nlist" | uniq > "$nlist"T; then
7245 mv -f "$nlist"T "$nlist"
7250 # Make sure that we snagged all the symbols we need.
7251 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7252 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7253 cat <<_LT_EOF > conftest.$ac_ext
7259 # Now generate the symbol file.
7260 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7262 cat <<_LT_EOF >> conftest.$ac_ext
7264 /* The mapping between symbol names and symbols. */
7269 lt__PROGRAM__LTX_preloaded_symbols[] =
7271 { "@PROGRAM@
", (void *) 0 },
7273 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7274 cat <<\_LT_EOF >> conftest.$ac_ext
7278 /* This works around a problem in FreeBSD linker */
7279 #ifdef FREEBSD_WORKAROUND
7280 static const void *lt_preloaded_setup() {
7281 return lt__PROGRAM__LTX_preloaded_symbols;
7289 # Now try linking the two files.
7290 mv conftest.$ac_objext conftstm.$ac_objext
7291 lt_save_LIBS="$LIBS"
7292 lt_save_CFLAGS="$CFLAGS"
7293 LIBS="conftstm.
$ac_objext"
7294 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7295 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7296 (eval $ac_link) 2>&5
7298 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7299 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7302 LIBS="$lt_save_LIBS"
7303 CFLAGS="$lt_save_CFLAGS"
7305 echo "cannot
find nm_test_func
in $nlist" >&5
7308 echo "cannot
find nm_test_var
in $nlist" >&5
7311 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7314 echo "$progname: failed program was
:" >&5
7315 cat conftest.$ac_ext >&5
7317 rm -rf conftest* conftst*
7319 # Do not use the global_symbol_pipe unless it works.
7320 if test "$pipe_works" = yes; then
7323 lt_cv_sys_global_symbol_pipe=
7329 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7330 lt_cv_sys_global_symbol_to_cdecl=
7332 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7334 $as_echo "failed
" >&6; }
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7337 $as_echo "ok
" >&6; }
7361 # Check whether --enable-libtool-lock was given.
7362 if test "${enable_libtool_lock+set}" = set; then :
7363 enableval=$enable_libtool_lock;
7366 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7368 # Some flags need to be propagated to the compiler or linker for good
7372 # Find out which ABI we are using.
7373 echo 'int i;' > conftest.$ac_ext
7374 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7375 (eval $ac_compile) 2>&5
7377 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7378 test $ac_status = 0; }; then
7379 case `/usr/bin/file conftest.$ac_objext` in
7391 # Find out which ABI we are using.
7392 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7393 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7394 (eval $ac_compile) 2>&5
7396 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7397 test $ac_status = 0; }; then
7398 if test "$lt_cv_prog_gnu_ld" = yes; then
7399 case `/usr/bin/file conftest.$ac_objext` in
7401 LD="${LD-ld} -melf32bsmip"
7404 LD="${LD-ld} -melf32bmipn32"
7407 LD="${LD-ld} -melf64bmip"
7411 case `/usr/bin/file conftest.$ac_objext` in
7427 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7428 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7429 # Find out which ABI we are using.
7430 echo 'int i;' > conftest.$ac_ext
7431 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7432 (eval $ac_compile) 2>&5
7434 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7435 test $ac_status = 0; }; then
7436 case `/usr/bin/file conftest.o` in
7439 x86_64-*kfreebsd*-gnu)
7440 LD="${LD-ld} -m elf_i386_fbsd
"
7443 case `/usr/bin/file conftest.o` in
7445 LD="${LD-ld} -m elf32_x86_64
"
7448 LD="${LD-ld} -m elf_i386
"
7452 ppc64-*linux*|powerpc64-*linux*)
7453 LD="${LD-ld} -m elf32ppclinux
"
7456 LD="${LD-ld} -m elf_s390
"
7459 LD="${LD-ld} -m elf32_sparc
"
7465 x86_64-*kfreebsd*-gnu)
7466 LD="${LD-ld} -m elf_x86_64_fbsd
"
7469 LD="${LD-ld} -m elf_x86_64
"
7471 ppc*-*linux*|powerpc*-*linux*)
7472 LD="${LD-ld} -m elf64ppc
"
7474 s390*-*linux*|s390*-*tpf*)
7475 LD="${LD-ld} -m elf64_s390
"
7478 LD="${LD-ld} -m elf64_sparc
"
7488 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7489 SAVE_CFLAGS="$CFLAGS"
7490 CFLAGS="$CFLAGS -belf"
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7492 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7493 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7494 $as_echo_n "(cached
) " >&6
7497 ac_cpp='$CPP $CPPFLAGS'
7498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 lt_cv_cc_needs_belf=yes
7516 lt_cv_cc_needs_belf=no
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7521 ac_cpp='$CPP $CPPFLAGS'
7522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7528 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7529 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7530 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7531 CFLAGS="$SAVE_CFLAGS"
7535 # Find out which ABI we are using.
7536 echo 'int i;' > conftest.$ac_ext
7537 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7538 (eval $ac_compile) 2>&5
7540 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7541 test $ac_status = 0; }; then
7542 case `/usr/bin/file conftest.o` in
7544 case $lt_cv_prog_gnu_ld in
7545 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7547 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7559 need_locks="$enable_libtool_lock"
7563 rhapsody* | darwin*)
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7568 $as_echo_n "checking
for $ac_word...
" >&6; }
7569 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7570 $as_echo_n "(cached
) " >&6
7572 if test -n "$DSYMUTIL"; then
7573 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7582 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7592 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7593 if test -n "$DSYMUTIL"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7595 $as_echo "$DSYMUTIL" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7598 $as_echo "no
" >&6; }
7603 if test -z "$ac_cv_prog_DSYMUTIL"; then
7604 ac_ct_DSYMUTIL=$DSYMUTIL
7605 # Extract the first word of "dsymutil
", so it can be a program name with args.
7606 set dummy dsymutil; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7608 $as_echo_n "checking
for $ac_word...
" >&6; }
7609 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7610 $as_echo_n "(cached
) " >&6
7612 if test -n "$ac_ct_DSYMUTIL"; then
7613 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7622 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7632 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7633 if test -n "$ac_ct_DSYMUTIL"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7635 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7638 $as_echo "no
" >&6; }
7641 if test "x
$ac_ct_DSYMUTIL" = x; then
7644 case $cross_compiling:$ac_tool_warned in
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7647 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7648 ac_tool_warned=yes ;;
7650 DSYMUTIL=$ac_ct_DSYMUTIL
7653 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7656 if test -n "$ac_tool_prefix"; then
7657 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7658 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7660 $as_echo_n "checking
for $ac_word...
" >&6; }
7661 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7662 $as_echo_n "(cached
) " >&6
7664 if test -n "$NMEDIT"; then
7665 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir=.
7672 for ac_exec_ext in '' $ac_executable_extensions; do
7673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7674 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7684 NMEDIT=$ac_cv_prog_NMEDIT
7685 if test -n "$NMEDIT"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7687 $as_echo "$NMEDIT" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7690 $as_echo "no
" >&6; }
7695 if test -z "$ac_cv_prog_NMEDIT"; then
7696 ac_ct_NMEDIT=$NMEDIT
7697 # Extract the first word of "nmedit
", so it can be a program name with args.
7698 set dummy nmedit; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7700 $as_echo_n "checking
for $ac_word...
" >&6; }
7701 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7702 $as_echo_n "(cached
) " >&6
7704 if test -n "$ac_ct_NMEDIT"; then
7705 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7714 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7725 if test -n "$ac_ct_NMEDIT"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7727 $as_echo "$ac_ct_NMEDIT" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7730 $as_echo "no
" >&6; }
7733 if test "x
$ac_ct_NMEDIT" = x; then
7736 case $cross_compiling:$ac_tool_warned in
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7739 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7740 ac_tool_warned=yes ;;
7742 NMEDIT=$ac_ct_NMEDIT
7745 NMEDIT="$ac_cv_prog_NMEDIT"
7748 if test -n "$ac_tool_prefix"; then
7749 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7750 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7752 $as_echo_n "checking
for $ac_word...
" >&6; }
7753 if test "${ac_cv_prog_LIPO+set}" = set; then :
7754 $as_echo_n "(cached
) " >&6
7756 if test -n "$LIPO"; then
7757 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763 test -z "$as_dir" && as_dir=.
7764 for ac_exec_ext in '' $ac_executable_extensions; do
7765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7766 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7776 LIPO=$ac_cv_prog_LIPO
7777 if test -n "$LIPO"; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7779 $as_echo "$LIPO" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7782 $as_echo "no
" >&6; }
7787 if test -z "$ac_cv_prog_LIPO"; then
7789 # Extract the first word of "lipo
", so it can be a program name with args.
7790 set dummy lipo; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7792 $as_echo_n "checking
for $ac_word...
" >&6; }
7793 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7794 $as_echo_n "(cached
) " >&6
7796 if test -n "$ac_ct_LIPO"; then
7797 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7806 ac_cv_prog_ac_ct_LIPO="lipo
"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7816 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7817 if test -n "$ac_ct_LIPO"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7819 $as_echo "$ac_ct_LIPO" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7822 $as_echo "no
" >&6; }
7825 if test "x
$ac_ct_LIPO" = x; then
7828 case $cross_compiling:$ac_tool_warned in
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7831 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7832 ac_tool_warned=yes ;;
7837 LIPO="$ac_cv_prog_LIPO"
7840 if test -n "$ac_tool_prefix"; then
7841 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7842 set dummy ${ac_tool_prefix}otool; ac_word=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7844 $as_echo_n "checking
for $ac_word...
" >&6; }
7845 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7846 $as_echo_n "(cached
) " >&6
7848 if test -n "$OTOOL"; then
7849 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7858 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7868 OTOOL=$ac_cv_prog_OTOOL
7869 if test -n "$OTOOL"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7871 $as_echo "$OTOOL" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7874 $as_echo "no
" >&6; }
7879 if test -z "$ac_cv_prog_OTOOL"; then
7881 # Extract the first word of "otool
", so it can be a program name with args.
7882 set dummy otool; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7884 $as_echo_n "checking
for $ac_word...
" >&6; }
7885 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7886 $as_echo_n "(cached
) " >&6
7888 if test -n "$ac_ct_OTOOL"; then
7889 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7898 ac_cv_prog_ac_ct_OTOOL="otool
"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7908 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7909 if test -n "$ac_ct_OTOOL"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7911 $as_echo "$ac_ct_OTOOL" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7914 $as_echo "no
" >&6; }
7917 if test "x
$ac_ct_OTOOL" = x; then
7920 case $cross_compiling:$ac_tool_warned in
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7923 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7924 ac_tool_warned=yes ;;
7929 OTOOL="$ac_cv_prog_OTOOL"
7932 if test -n "$ac_tool_prefix"; then
7933 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7934 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7936 $as_echo_n "checking
for $ac_word...
" >&6; }
7937 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7938 $as_echo_n "(cached
) " >&6
7940 if test -n "$OTOOL64"; then
7941 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7950 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7960 OTOOL64=$ac_cv_prog_OTOOL64
7961 if test -n "$OTOOL64"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7963 $as_echo "$OTOOL64" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7966 $as_echo "no
" >&6; }
7971 if test -z "$ac_cv_prog_OTOOL64"; then
7972 ac_ct_OTOOL64=$OTOOL64
7973 # Extract the first word of "otool64
", so it can be a program name with args.
7974 set dummy otool64; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$ac_ct_OTOOL64"; then
7981 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7990 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8001 if test -n "$ac_ct_OTOOL64"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8003 $as_echo "$ac_ct_OTOOL64" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8009 if test "x
$ac_ct_OTOOL64" = x; then
8012 case $cross_compiling:$ac_tool_warned in
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8015 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8016 ac_tool_warned=yes ;;
8018 OTOOL64=$ac_ct_OTOOL64
8021 OTOOL64="$ac_cv_prog_OTOOL64"
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8051 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8052 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8053 $as_echo_n "(cached
) " >&6
8055 lt_cv_apple_cc_single_mod=no
8056 if test -z "${LT_MULTI_MODULE}"; then
8057 # By default we will add the -single_module flag. You can override
8058 # by either setting the environment variable LT_MULTI_MODULE
8059 # non-empty at configure time, or by adding -multi_module to the
8061 rm -rf libconftest.dylib*
8062 echo "int foo
(void
){return 1;}" > conftest.c
8063 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8064 -dynamiclib -Wl,-single_module conftest.c
" >&5
8065 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8066 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8068 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8069 lt_cv_apple_cc_single_mod=yes
8071 cat conftest.err >&5
8073 rm -rf libconftest.dylib*
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8078 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8080 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8081 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8082 $as_echo_n "(cached
) " >&6
8084 lt_cv_ld_exported_symbols_list=no
8085 save_LDFLAGS=$LDFLAGS
8086 echo "_main
" > conftest.sym
8087 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8099 if ac_fn_c_try_link "$LINENO"; then :
8100 lt_cv_ld_exported_symbols_list=yes
8102 lt_cv_ld_exported_symbols_list=no
8104 rm -f core conftest.err conftest.$ac_objext \
8105 conftest$ac_exeext conftest.$ac_ext
8106 LDFLAGS="$save_LDFLAGS"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8110 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8112 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8113 if test "${lt_cv_ld_force_load+set}" = set; then :
8114 $as_echo_n "(cached
) " >&6
8116 lt_cv_ld_force_load=no
8117 cat > conftest.c << _LT_EOF
8118 int forced_loaded() { return 2;}
8120 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8121 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8122 echo "$AR cru libconftest.a conftest.o
" >&5
8123 $AR cru libconftest.a conftest.o 2>&5
8124 cat > conftest.c << _LT_EOF
8125 int main() { return 0;}
8127 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8128 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8130 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8131 lt_cv_ld_force_load=yes
8133 cat conftest.err >&5
8135 rm -f conftest.err libconftest.a conftest conftest.c
8136 rm -rf conftest.dSYM
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8140 $as_echo "$lt_cv_ld_force_load" >&6; }
8142 rhapsody* | darwin1.[012])
8143 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8145 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8146 darwin*) # darwin 5.x on
8147 # if running on 10.5 or later, the deployment target defaults
8148 # to the OS version, if on x86, and 10.4, the deployment
8149 # target defaults to 10.4. Don't you love it?
8150 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8151 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8152 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8154 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8156 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8160 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8161 _lt_dar_single_mod='$single_module'
8163 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8164 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8166 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8168 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8169 _lt_dsymutil='~$DSYMUTIL $lib || :'
8176 for ac_header in dlfcn.h
8178 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8180 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8181 cat >>confdefs.h <<_ACEOF
8182 #define HAVE_DLFCN_H 1
8191 # autoconf.info says this should be called right after AC_INIT.
8192 ac_config_headers="$ac_config_headers config.h
:config.
in"
8199 # Put a plausible default for CC_FOR_BUILD in Makefile.
8200 if test "x
$cross_compiling" = "xno
"; then
8201 CC_FOR_BUILD='$(CC)'
8211 if test -n "$ac_tool_prefix"; then
8212 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8213 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8215 $as_echo_n "checking
for $ac_word...
" >&6; }
8216 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8217 $as_echo_n "(cached
) " >&6
8219 if test -n "$RANLIB"; then
8220 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 test -z "$as_dir" && as_dir=.
8227 for ac_exec_ext in '' $ac_executable_extensions; do
8228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8229 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8239 RANLIB=$ac_cv_prog_RANLIB
8240 if test -n "$RANLIB"; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8242 $as_echo "$RANLIB" >&6; }
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8245 $as_echo "no
" >&6; }
8250 if test -z "$ac_cv_prog_RANLIB"; then
8251 ac_ct_RANLIB=$RANLIB
8252 # Extract the first word of "ranlib
", so it can be a program name with args.
8253 set dummy ranlib; ac_word=$2
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8255 $as_echo_n "checking
for $ac_word...
" >&6; }
8256 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8257 $as_echo_n "(cached
) " >&6
8259 if test -n "$ac_ct_RANLIB"; then
8260 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 test -z "$as_dir" && as_dir=.
8267 for ac_exec_ext in '' $ac_executable_extensions; do
8268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8269 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8279 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8280 if test -n "$ac_ct_RANLIB"; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8282 $as_echo "$ac_ct_RANLIB" >&6; }
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8285 $as_echo "no
" >&6; }
8288 if test "x
$ac_ct_RANLIB" = x; then
8291 case $cross_compiling:$ac_tool_warned in
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8294 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8295 ac_tool_warned=yes ;;
8297 RANLIB=$ac_ct_RANLIB
8300 RANLIB="$ac_cv_prog_RANLIB"
8304 # Some of the common include files depend on bfd.h, and bfd.h checks
8305 # that config.h is included first by testing that the PACKAGE macro
8309 cat >>confdefs.h <<_ACEOF
8310 #define PACKAGE "$PACKAGE"
8315 # Dependency checking.
8316 ac_config_commands="$ac_config_commands depdir
"
8319 depcc="$CC" am_compiler_list=
8321 am_depcomp=$ac_aux_dir/depcomp
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of
$depcc" >&5
8323 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
8324 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
8325 $as_echo_n "(cached
) " >&6
8327 if test -f "$am_depcomp"; then
8328 # We make a subdir and do the tests there. Otherwise we can end up
8329 # making bogus files that we don't know about and never remove. For
8330 # instance it was reported that on HP-UX the gcc test will end up
8331 # making a dummy file named `D' -- because `-MD' means `put the output
8334 # Copy depcomp to subdir because otherwise we won't find it if we're
8335 # using a relative directory.
8336 cp "$am_depcomp" conftest.dir
8338 # We will build objects and dependencies in a subdirectory because
8339 # it helps to detect inapplicable dependency modes. For instance
8340 # both Tru64's cc and ICC support -MD to output dependencies as a
8341 # side effect of compilation, but ICC will put the dependencies in
8342 # the current directory while Tru64 will put them in the object
8346 am_cv_CC_dependencies_compiler_type=none
8347 if test "$am_compiler_list" = ""; then
8348 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8350 for depmode in $am_compiler_list; do
8351 if test $depmode = none; then break; fi
8353 $as_echo "$as_me:$LINENO: trying
$depmode" >&5
8354 # Setup a source with many dependencies, because some compilers
8355 # like to wrap large dependency lists on column 80 (with \), and
8356 # we should not choose a depcomp mode which is confused by this.
8358 # We need to recreate these files for each test, as the compiler may
8359 # overwrite some of them when testing with obscure command lines.
8360 # This happens at least with the AIX C compiler.
8362 for i in 1 2 3 4 5 6; do
8363 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
8364 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8365 # Solaris 8's {/usr,}/bin/sh.
8366 touch sub/conftst$i.h
8368 echo "include sub
/conftest.Po
" > confmf
8370 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
8371 # mode. It turns out that the SunPro C++ compiler does not properly
8372 # handle `-M -o', and we need to detect this.
8373 depcmd="depmode
=$depmode \
8374 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
8375 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
8376 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c
"
8377 echo "|
$depcmd" | sed -e 's/ */ /g' >&5
8378 if env $depcmd > conftest.err 2>&1 &&
8379 grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
8380 grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
8381 ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
8382 # icc doesn't choke on unknown options, it will just issue warnings
8383 # or remarks (even with -Werror). So we grep stderr for any message
8384 # that says an option was ignored or not supported.
8385 # When given -MP, icc 7.0 and 7.1 complain thusly:
8386 # icc: Command line warning: ignoring option '-M'; no argument required
8387 # The diagnosis changed in icc 8.0:
8388 # icc: Command line remark: option '-MP' not supported
8389 if (grep 'ignoring option' conftest.err ||
8390 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8391 am_cv_CC_dependencies_compiler_type=$depmode
8392 $as_echo "$as_me:$LINENO: success
" >&5
8396 $as_echo "$as_me:$LINENO: failure
, diagnostics are
:" >&5
8397 sed -e 's/^/| /' < conftest.err >&5
8403 am_cv_CC_dependencies_compiler_type=none
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_CC_dependencies_compiler_type" >&5
8408 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
8409 if test x${am_cv_CC_dependencies_compiler_type-none} = xnone
8410 then as_fn_error "no usable dependency style found
" "$LINENO" 5
8411 else CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
8416 # Check for the 'make' the user wants to use.
8419 # Extract the first word of "$ac_prog", so it can be a program name with args.
8420 set dummy $ac_prog; ac_word=$2
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8422 $as_echo_n "checking
for $ac_word...
" >&6; }
8423 if test "${ac_cv_prog_MAKE+set}" = set; then :
8424 $as_echo_n "(cached
) " >&6
8426 if test -n "$MAKE"; then
8427 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
8429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8433 test -z "$as_dir" && as_dir=.
8434 for ac_exec_ext in '' $ac_executable_extensions; do
8435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8436 ac_cv_prog_MAKE="$ac_prog"
8437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8446 MAKE=$ac_cv_prog_MAKE
8447 if test -n "$MAKE"; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKE" >&5
8449 $as_echo "$MAKE" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8452 $as_echo "no
" >&6; }
8456 test -n "$MAKE" && break
8460 case "`$MAKE --version 2>&1 | sed 1q`" in
8465 if test "$MAKE_IS_GNU" = yes; then
8475 # If we haven't got the data from the intl directory,
8476 # assume NLS is disabled.
8485 if test -f ../../intl/config.intl; then
8486 . ../../intl/config.intl
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested
" >&5
8489 $as_echo_n "checking whether NLS is requested...
" >&6; }
8490 if test x"$USE_NLS" != xyes; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8492 $as_echo "no
" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
8495 $as_echo "yes" >&6; }
8497 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8501 $as_echo_n "checking for catalogs to be installed... " >&6; }
8502 # Look for .po and .gmo files in the source directory.
8505 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8506 # If there aren't any .gmo files the shell will give us the
8507 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8509 case "$cat" in *\
**)
8512 # The quadruple backslash is collapsed to a double backslash
8513 # by the backticks, then collapsed again by the double quotes,
8514 # leaving us with one backslash in the sed expression (right
8515 # before the dot that mustn't act as a wildcard).
8516 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8517 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8518 # The user is allowed to set LINGUAS to a list of languages to
8519 # install catalogs for. If it's empty that means "all of them."
8520 if test "x$LINGUAS" = x
; then
8521 CATALOGS
="$CATALOGS $cat"
8522 XLINGUAS
="$XLINGUAS $lang"
8524 case "$LINGUAS" in *$lang*)
8525 CATALOGS
="$CATALOGS $cat"
8526 XLINGUAS
="$XLINGUAS $lang"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8533 $as_echo "$LINGUAS" >&6; }
8546 # Check for common headers.
8547 # FIXME: Seems to me this can cause problems for i386-windows hosts.
8548 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
8549 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
8551 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8552 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8553 eval as_val
=\$
$as_ac_Header
8554 if test "x$as_val" = x
""yes; then :
8555 cat >>confdefs.h
<<_ACEOF
8556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8563 for ac_header
in sys
/time.h sys
/resource.h
8565 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8566 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8567 eval as_val
=\$
$as_ac_Header
8568 if test "x$as_val" = x
""yes; then :
8569 cat >>confdefs.h
<<_ACEOF
8570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8577 for ac_header
in fcntl.h fpu_control.h
8579 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8580 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8581 eval as_val
=\$
$as_ac_Header
8582 if test "x$as_val" = x
""yes; then :
8583 cat >>confdefs.h
<<_ACEOF
8584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8591 for ac_header
in dlfcn.h errno.h sys
/stat.h
8593 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8594 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8595 eval as_val
=\$
$as_ac_Header
8596 if test "x$as_val" = x
""yes; then :
8597 cat >>confdefs.h
<<_ACEOF
8598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8605 for ac_func
in getrusage
time sigaction __setfpucw
8607 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8608 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
8609 eval as_val
=\$
$as_ac_var
8610 if test "x$as_val" = x
""yes; then :
8611 cat >>confdefs.h
<<_ACEOF
8612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8619 # Check for socket libraries
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
8621 $as_echo_n "checking for bind in -lsocket... " >&6; }
8622 if test "${ac_cv_lib_socket_bind+set}" = set; then :
8623 $as_echo_n "(cached) " >&6
8625 ac_check_lib_save_LIBS
=$LIBS
8626 LIBS
="-lsocket $LIBS"
8627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8630 /* Override any GCC internal prototype to avoid an error.
8631 Use char because int might match the return type of a GCC
8632 builtin and then its argument prototype would still apply. */
8645 if ac_fn_c_try_link
"$LINENO"; then :
8646 ac_cv_lib_socket_bind
=yes
8648 ac_cv_lib_socket_bind
=no
8650 rm -f core conftest.err conftest.
$ac_objext \
8651 conftest
$ac_exeext conftest.
$ac_ext
8652 LIBS
=$ac_check_lib_save_LIBS
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
8655 $as_echo "$ac_cv_lib_socket_bind" >&6; }
8656 if test "x$ac_cv_lib_socket_bind" = x
""yes; then :
8657 cat >>confdefs.h
<<_ACEOF
8658 #define HAVE_LIBSOCKET 1
8661 LIBS
="-lsocket $LIBS"
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8666 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8667 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
8668 $as_echo_n "(cached) " >&6
8670 ac_check_lib_save_LIBS
=$LIBS
8672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8675 /* Override any GCC internal prototype to avoid an error.
8676 Use char because int might match the return type of a GCC
8677 builtin and then its argument prototype would still apply. */
8681 char gethostbyname ();
8685 return gethostbyname ();
8690 if ac_fn_c_try_link
"$LINENO"; then :
8691 ac_cv_lib_nsl_gethostbyname
=yes
8693 ac_cv_lib_nsl_gethostbyname
=no
8695 rm -f core conftest.err conftest.
$ac_objext \
8696 conftest
$ac_exeext conftest.
$ac_ext
8697 LIBS
=$ac_check_lib_save_LIBS
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8700 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8701 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
8702 cat >>confdefs.h
<<_ACEOF
8703 #define HAVE_LIBNSL 1
8711 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
8712 # using the same condition.
8714 # See if the user specified whether he wants zlib support or not.
8716 # Check whether --with-zlib was given.
8717 if test "${with_zlib+set}" = set; then :
8724 if test "$with_zlib" != "no"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
8726 $as_echo_n "checking for library containing zlibVersion... " >&6; }
8727 if test "${ac_cv_search_zlibVersion+set}" = set; then :
8728 $as_echo_n "(cached) " >&6
8730 ac_func_search_save_LIBS
=$LIBS
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8734 /* Override any GCC internal prototype to avoid an error.
8735 Use char because int might match the return type of a GCC
8736 builtin and then its argument prototype would still apply. */
8740 char zlibVersion ();
8744 return zlibVersion ();
8749 for ac_lib
in '' z
; do
8750 if test -z "$ac_lib"; then
8751 ac_res
="none required"
8754 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8756 if ac_fn_c_try_link
"$LINENO"; then :
8757 ac_cv_search_zlibVersion
=$ac_res
8759 rm -f core conftest.err conftest.
$ac_objext \
8761 if test "${ac_cv_search_zlibVersion+set}" = set; then :
8765 if test "${ac_cv_search_zlibVersion+set}" = set; then :
8768 ac_cv_search_zlibVersion
=no
8771 LIBS
=$ac_func_search_save_LIBS
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
8774 $as_echo "$ac_cv_search_zlibVersion" >&6; }
8775 ac_res
=$ac_cv_search_zlibVersion
8776 if test "$ac_res" != no
; then :
8777 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8778 for ac_header
in zlib.h
8780 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
8781 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
8782 cat >>confdefs.h
<<_ACEOF
8783 #define HAVE_ZLIB_H 1
8792 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
8793 as_fn_error
"zlib (libz) library was explicitly requested but not found" "$LINENO" 5
8798 # BFD uses libdl when when plugins enabled.
8800 # Check whether --enable-plugins was given.
8801 if test "${enable_plugins+set}" = set; then :
8802 enableval
=$enable_plugins; case "${enableval}" in
8803 yes |
"") plugins
=yes ;;
8812 if test "$plugins" = yes; then
8833 # Check whether --enable-shared was given.
8834 if test "${enable_shared+set}" = set; then :
8835 enableval
=$enable_shared; p
=${PACKAGE-default}
8837 yes) enable_shared
=yes ;;
8838 no
) enable_shared
=no
;;
8841 # Look at the argument we got. We use all the common list separators.
8842 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8843 for pkg
in $enableval; do
8845 if test "X$pkg" = "X$p"; then
8864 # Check whether --enable-static was given.
8865 if test "${enable_static+set}" = set; then :
8866 enableval
=$enable_static; p
=${PACKAGE-default}
8868 yes) enable_static
=yes ;;
8869 no
) enable_static
=no
;;
8872 # Look at the argument we got. We use all the common list separators.
8873 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8874 for pkg
in $enableval; do
8876 if test "X$pkg" = "X$p"; then
8896 # Check whether --with-pic was given.
8897 if test "${with_pic+set}" = set; then :
8898 withval
=$with_pic; pic_mode
="$withval"
8904 test -z "$pic_mode" && pic_mode
=default
8912 # Check whether --enable-fast-install was given.
8913 if test "${enable_fast_install+set}" = set; then :
8914 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8916 yes) enable_fast_install
=yes ;;
8917 no
) enable_fast_install
=no
;;
8919 enable_fast_install
=no
8920 # Look at the argument we got. We use all the common list separators.
8921 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8922 for pkg
in $enableval; do
8924 if test "X$pkg" = "X$p"; then
8925 enable_fast_install
=yes
8932 enable_fast_install
=yes
8945 # This can be used to rebuild libtool when needed
8946 LIBTOOL_DEPS
="$ltmain"
8948 # Always use our own libtool.
8949 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8976 test -z "$LN_S" && LN_S
="ln -s"
8991 if test -n "${ZSH_VERSION+set}" ; then
8992 setopt NO_GLOB_SUBST
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8996 $as_echo_n "checking for objdir... " >&6; }
8997 if test "${lt_cv_objdir+set}" = set; then :
8998 $as_echo_n "(cached) " >&6
9000 rm -f .libs
2>/dev
/null
9001 mkdir .libs
2>/dev
/null
9002 if test -d .libs
; then
9005 # MS-DOS does not allow filenames that begin with a dot.
9008 rmdir .libs
2>/dev
/null
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9011 $as_echo "$lt_cv_objdir" >&6; }
9012 objdir
=$lt_cv_objdir
9018 cat >>confdefs.h
<<_ACEOF
9019 #define LT_OBJDIR "$lt_cv_objdir/"
9027 # AIX sometimes has problems with the GCC collect2 program. For some
9028 # reason, if we set the COLLECT_NAMES environment variable, the problems
9029 # vanish in a puff of smoke.
9030 if test "X${COLLECT_NAMES+set}" != Xset
; then
9032 export COLLECT_NAMES
9039 can_build_shared
=yes
9041 # All known linkers require a `.a' archive for static linking (except MSVC,
9042 # which needs '.lib').
9045 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9048 old_CFLAGS
="$CFLAGS"
9050 # Set sane defaults for various variables
9051 test -z "$CC" && CC
=cc
9052 test -z "$LTCC" && LTCC
=$CC
9053 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9054 test -z "$LD" && LD
=ld
9055 test -z "$ac_objext" && ac_objext
=o
9057 for cc_temp
in $compiler""; do
9059 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9060 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9065 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9068 # Only perform the check for file, if the check method requires it
9069 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9070 case $deplibs_check_method in
9072 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9074 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9075 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9076 $as_echo_n "(cached) " >&6
9080 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9083 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9084 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9085 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9086 for ac_dir
in $ac_dummy; do
9088 test -z "$ac_dir" && ac_dir
=.
9089 if test -f $ac_dir/${ac_tool_prefix}file; then
9090 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9091 if test -n "$file_magic_test_file"; then
9092 case $deplibs_check_method in
9094 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9095 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9096 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9097 $EGREP "$file_magic_regex" > /dev
/null
; then
9102 *** Warning: the command libtool uses to detect shared libraries,
9103 *** $file_magic_cmd, produces output that libtool cannot recognize.
9104 *** The result is that libtool may fail to recognize shared libraries
9105 *** as such. This will affect the creation of libtool libraries that
9106 *** depend on shared libraries, but programs linked with such libtool
9107 *** libraries will work regardless of this problem. Nevertheless, you
9108 *** may want to report the problem to your system manager and/or to
9109 *** bug-libtool@gnu.org
9119 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9124 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9125 if test -n "$MAGIC_CMD"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9127 $as_echo "$MAGIC_CMD" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9137 if test -z "$lt_cv_path_MAGIC_CMD"; then
9138 if test -n "$ac_tool_prefix"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9140 $as_echo_n "checking for file... " >&6; }
9141 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9142 $as_echo_n "(cached) " >&6
9146 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9149 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9150 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9151 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9152 for ac_dir
in $ac_dummy; do
9154 test -z "$ac_dir" && ac_dir
=.
9155 if test -f $ac_dir/file; then
9156 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9157 if test -n "$file_magic_test_file"; then
9158 case $deplibs_check_method in
9160 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9161 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9162 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9163 $EGREP "$file_magic_regex" > /dev
/null
; then
9168 *** Warning: the command libtool uses to detect shared libraries,
9169 *** $file_magic_cmd, produces output that libtool cannot recognize.
9170 *** The result is that libtool may fail to recognize shared libraries
9171 *** as such. This will affect the creation of libtool libraries that
9172 *** depend on shared libraries, but programs linked with such libtool
9173 *** libraries will work regardless of this problem. Nevertheless, you
9174 *** may want to report the problem to your system manager and/or to
9175 *** bug-libtool@gnu.org
9185 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9190 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9191 if test -n "$MAGIC_CMD"; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9193 $as_echo "$MAGIC_CMD" >&6; }
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 $as_echo "no" >&6; }
9209 # Use C for the default configuration in the libtool script
9213 ac_cpp
='$CPP $CPPFLAGS'
9214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9219 # Source file extension for C test sources.
9222 # Object file extension for compiled C test sources.
9226 # Code to be used in simple compile tests
9227 lt_simple_compile_test_code
="int some_variable = 0;"
9229 # Code to be used in simple link tests
9230 lt_simple_link_test_code
='int main(){return(0);}'
9238 # If no C compiler was specified, use CC.
9241 # If no C compiler flags were specified, use CFLAGS.
9242 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9244 # Allow CC to be a program name with arguments.
9247 # Save the default compiler, since it gets overwritten when the other
9248 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9249 compiler_DEFAULT
=$CC
9251 # save warnings/boilerplate of simple test code
9252 ac_outfile
=conftest.
$ac_objext
9253 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9254 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9255 _lt_compiler_boilerplate
=`cat conftest.err`
9258 ac_outfile
=conftest.
$ac_objext
9259 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9260 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9261 _lt_linker_boilerplate
=`cat conftest.err`
9266 ## There is no encapsulation within the following macros, do not change
9267 ## the running order or otherwise move them around unless you know exactly
9268 ## what you are doing...
9269 if test -n "$compiler"; then
9271 lt_prog_compiler_no_builtin_flag
=
9273 if test "$GCC" = yes; then
9274 case $cc_basename in
9276 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9278 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9282 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9283 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9284 $as_echo_n "(cached) " >&6
9286 lt_cv_prog_compiler_rtti_exceptions
=no
9287 ac_outfile
=conftest.
$ac_objext
9288 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9289 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9290 # Insert the option either (1) after the last *FLAGS variable, or
9291 # (2) before a word containing "conftest.", or (3) at the end.
9292 # Note that $ac_compile itself does not contain backslashes and begins
9293 # with a dollar sign (not a hyphen), so the echo should work correctly.
9294 # The option is referenced via a variable to avoid confusing sed.
9295 lt_compile
=`echo "$ac_compile" | $SED \
9296 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9297 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9298 -e 's:$: $lt_compiler_flag:'`
9299 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9300 (eval "$lt_compile" 2>conftest.err
)
9302 cat conftest.err
>&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 if (exit $ac_status) && test -s "$ac_outfile"; then
9305 # The compiler can only warn and ignore the option if not recognized
9306 # So say no if there are warnings other than the usual output.
9307 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9308 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9309 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9310 lt_cv_prog_compiler_rtti_exceptions
=yes
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9317 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9319 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9320 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9332 lt_prog_compiler_wl
=
9333 lt_prog_compiler_pic
=
9334 lt_prog_compiler_static
=
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9337 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9339 if test "$GCC" = yes; then
9340 lt_prog_compiler_wl
='-Wl,'
9341 lt_prog_compiler_static
='-static'
9345 # All AIX code is PIC.
9346 if test "$host_cpu" = ia64
; then
9347 # AIX 5 now supports IA64 processor
9348 lt_prog_compiler_static
='-Bstatic'
9350 lt_prog_compiler_pic
='-fPIC'
9356 # see comment about AmigaOS4 .so support
9357 lt_prog_compiler_pic
='-fPIC'
9360 # FIXME: we need at least 68020 code to build shared libraries, but
9361 # adding the `-m68020' flag to GCC prevents building anything better,
9363 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9368 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9369 # PIC is the default for these OSes.
9372 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9373 # This hack is so that the source file can tell whether it is being
9374 # built for inclusion in a dll (and should export symbols for example).
9375 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9376 # (--disable-auto-import) libraries
9377 lt_prog_compiler_pic
='-DDLL_EXPORT'
9380 darwin
* | rhapsody
*)
9381 # PIC is the default on this platform
9382 # Common symbols not allowed in MH_DYLIB files
9383 lt_prog_compiler_pic
='-fno-common'
9387 # PIC is the default for Haiku.
9388 # The "-static" flag exists, but is broken.
9389 lt_prog_compiler_static
=
9393 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9394 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9395 # sets the default TLS model and affects inlining.
9401 lt_prog_compiler_pic
='-fPIC'
9407 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9408 # Instead, we relocate shared libraries at runtime.
9412 # Just because we use GCC doesn't mean we suddenly get shared libraries
9413 # on systems that don't support them.
9414 lt_prog_compiler_can_build_shared
=no
9419 # QNX uses GNU C++, but need to define -shared option too, otherwise
9421 lt_prog_compiler_pic
='-fPIC -shared'
9425 if test -d /usr
/nec
; then
9426 lt_prog_compiler_pic
=-Kconform_pic
9431 lt_prog_compiler_pic
='-fPIC'
9435 case $cc_basename in
9436 nvcc
*) # Cuda Compiler Driver 2.2
9437 lt_prog_compiler_wl
='-Xlinker '
9438 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9442 # PORTME Check for flag to pass linker flags through the system compiler.
9445 lt_prog_compiler_wl
='-Wl,'
9446 if test "$host_cpu" = ia64
; then
9447 # AIX 5 now supports IA64 processor
9448 lt_prog_compiler_static
='-Bstatic'
9450 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9454 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9455 # This hack is so that the source file can tell whether it is being
9456 # built for inclusion in a dll (and should export symbols for example).
9457 lt_prog_compiler_pic
='-DDLL_EXPORT'
9460 hpux9
* | hpux10
* | hpux11
*)
9461 lt_prog_compiler_wl
='-Wl,'
9462 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9469 lt_prog_compiler_pic
='+Z'
9472 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9473 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9476 irix5
* | irix6
* | nonstopux
*)
9477 lt_prog_compiler_wl
='-Wl,'
9478 # PIC (with -KPIC) is the default.
9479 lt_prog_compiler_static
='-non_shared'
9482 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9483 case $cc_basename in
9484 # old Intel for x86_64 which still supported -KPIC.
9486 lt_prog_compiler_wl
='-Wl,'
9487 lt_prog_compiler_pic
='-KPIC'
9488 lt_prog_compiler_static
='-static'
9490 # icc used to be incompatible with GCC.
9491 # ICC 10 doesn't accept -KPIC any more.
9493 lt_prog_compiler_wl
='-Wl,'
9494 lt_prog_compiler_pic
='-fPIC'
9495 lt_prog_compiler_static
='-static'
9497 # Lahey Fortran 8.1.
9499 lt_prog_compiler_wl
='-Wl,'
9500 lt_prog_compiler_pic
='--shared'
9501 lt_prog_compiler_static
='--static'
9503 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9504 # Portland Group compilers (*not* the Pentium gcc compiler,
9505 # which looks to be a dead project)
9506 lt_prog_compiler_wl
='-Wl,'
9507 lt_prog_compiler_pic
='-fpic'
9508 lt_prog_compiler_static
='-Bstatic'
9511 lt_prog_compiler_wl
='-Wl,'
9512 # All Alpha code is PIC.
9513 lt_prog_compiler_static
='-non_shared'
9515 xl
* | bgxl
* | bgf
* | mpixl
*)
9516 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9517 lt_prog_compiler_wl
='-Wl,'
9518 lt_prog_compiler_pic
='-qpic'
9519 lt_prog_compiler_static
='-qstaticlink'
9522 case `$CC -V 2>&1 | sed 5q` in
9523 *Sun\ F
* |
*Sun
*Fortran
*)
9524 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9525 lt_prog_compiler_pic
='-KPIC'
9526 lt_prog_compiler_static
='-Bstatic'
9527 lt_prog_compiler_wl
=''
9531 lt_prog_compiler_pic
='-KPIC'
9532 lt_prog_compiler_static
='-Bstatic'
9533 lt_prog_compiler_wl
='-Wl,'
9541 lt_prog_compiler_pic
='-KPIC'
9542 lt_prog_compiler_static
='-Bstatic'
9546 # QNX uses GNU C++, but need to define -shared option too, otherwise
9548 lt_prog_compiler_pic
='-fPIC -shared'
9551 osf3
* | osf4
* | osf5
*)
9552 lt_prog_compiler_wl
='-Wl,'
9553 # All OSF/1 code is PIC.
9554 lt_prog_compiler_static
='-non_shared'
9558 lt_prog_compiler_static
='-non_shared'
9562 lt_prog_compiler_pic
='-KPIC'
9563 lt_prog_compiler_static
='-Bstatic'
9564 case $cc_basename in
9566 lt_prog_compiler_wl
='-Qoption ld ';;
9568 lt_prog_compiler_wl
='-Wl,';;
9573 lt_prog_compiler_wl
='-Qoption ld '
9574 lt_prog_compiler_pic
='-PIC'
9575 lt_prog_compiler_static
='-Bstatic'
9578 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9579 lt_prog_compiler_wl
='-Wl,'
9580 lt_prog_compiler_pic
='-KPIC'
9581 lt_prog_compiler_static
='-Bstatic'
9585 if test -d /usr
/nec
;then
9586 lt_prog_compiler_pic
='-Kconform_pic'
9587 lt_prog_compiler_static
='-Bstatic'
9591 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9592 lt_prog_compiler_wl
='-Wl,'
9593 lt_prog_compiler_pic
='-KPIC'
9594 lt_prog_compiler_static
='-Bstatic'
9598 lt_prog_compiler_wl
='-Wl,'
9599 lt_prog_compiler_can_build_shared
=no
9603 lt_prog_compiler_pic
='-pic'
9604 lt_prog_compiler_static
='-Bstatic'
9608 lt_prog_compiler_can_build_shared
=no
9614 # For platforms which do not support PIC, -DPIC is meaningless:
9616 lt_prog_compiler_pic
=
9619 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9623 $as_echo "$lt_prog_compiler_pic" >&6; }
9631 # Check to make sure the PIC flag actually works.
9633 if test -n "$lt_prog_compiler_pic"; then
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9635 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9636 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9637 $as_echo_n "(cached) " >&6
9639 lt_cv_prog_compiler_pic_works
=no
9640 ac_outfile
=conftest.
$ac_objext
9641 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9642 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9643 # Insert the option either (1) after the last *FLAGS variable, or
9644 # (2) before a word containing "conftest.", or (3) at the end.
9645 # Note that $ac_compile itself does not contain backslashes and begins
9646 # with a dollar sign (not a hyphen), so the echo should work correctly.
9647 # The option is referenced via a variable to avoid confusing sed.
9648 lt_compile
=`echo "$ac_compile" | $SED \
9649 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9650 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9651 -e 's:$: $lt_compiler_flag:'`
9652 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9653 (eval "$lt_compile" 2>conftest.err
)
9655 cat conftest.err
>&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 if (exit $ac_status) && test -s "$ac_outfile"; then
9658 # The compiler can only warn and ignore the option if not recognized
9659 # So say no if there are warnings other than the usual output.
9660 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9661 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9662 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9663 lt_cv_prog_compiler_pic_works
=yes
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9670 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9672 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9673 case $lt_prog_compiler_pic in
9675 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9678 lt_prog_compiler_pic
=
9679 lt_prog_compiler_can_build_shared
=no
9690 # Check to make sure the static flag actually works.
9692 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9694 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9695 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9696 $as_echo_n "(cached) " >&6
9698 lt_cv_prog_compiler_static_works
=no
9699 save_LDFLAGS
="$LDFLAGS"
9700 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9701 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9702 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9703 # The linker can only warn and ignore the option if not recognized
9704 # So say no if there are warnings
9705 if test -s conftest.err
; then
9706 # Append any errors to the config.log.
9707 cat conftest.err
1>&5
9708 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9709 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9710 if diff conftest.exp conftest.er2
>/dev
/null
; then
9711 lt_cv_prog_compiler_static_works
=yes
9714 lt_cv_prog_compiler_static_works
=yes
9718 LDFLAGS
="$save_LDFLAGS"
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9722 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9724 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9727 lt_prog_compiler_static
=
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9737 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9738 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9739 $as_echo_n "(cached) " >&6
9741 lt_cv_prog_compiler_c_o
=no
9742 $RM -r conftest
2>/dev
/null
9746 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9748 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9749 # Insert the option either (1) after the last *FLAGS variable, or
9750 # (2) before a word containing "conftest.", or (3) at the end.
9751 # Note that $ac_compile itself does not contain backslashes and begins
9752 # with a dollar sign (not a hyphen), so the echo should work correctly.
9753 lt_compile
=`echo "$ac_compile" | $SED \
9754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9756 -e 's:$: $lt_compiler_flag:'`
9757 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9758 (eval "$lt_compile" 2>out
/conftest.err
)
9760 cat out
/conftest.err
>&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9764 # The compiler can only warn and ignore the option if not recognized
9765 # So say no if there are warnings
9766 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9767 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9768 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9769 lt_cv_prog_compiler_c_o
=yes
9774 # SGI C++ compiler will create directory out/ii_files/ for
9775 # template instantiation
9776 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9777 $RM out
/* && rmdir out
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9784 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9792 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9793 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9794 $as_echo_n "(cached) " >&6
9796 lt_cv_prog_compiler_c_o
=no
9797 $RM -r conftest
2>/dev
/null
9801 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9803 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9804 # Insert the option either (1) after the last *FLAGS variable, or
9805 # (2) before a word containing "conftest.", or (3) at the end.
9806 # Note that $ac_compile itself does not contain backslashes and begins
9807 # with a dollar sign (not a hyphen), so the echo should work correctly.
9808 lt_compile
=`echo "$ac_compile" | $SED \
9809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9811 -e 's:$: $lt_compiler_flag:'`
9812 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9813 (eval "$lt_compile" 2>out
/conftest.err
)
9815 cat out
/conftest.err
>&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9819 # The compiler can only warn and ignore the option if not recognized
9820 # So say no if there are warnings
9821 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9822 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9823 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9824 lt_cv_prog_compiler_c_o
=yes
9829 # SGI C++ compiler will create directory out/ii_files/ for
9830 # template instantiation
9831 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9832 $RM out
/* && rmdir out
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9839 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9844 hard_links
="nottested"
9845 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9846 # do not overwrite the value of need_locks provided by the user
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9848 $as_echo_n "checking if we can lock with hard links... " >&6; }
9851 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9853 ln conftest.a conftest.b
2>&5 || hard_links
=no
9854 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9856 $as_echo "$hard_links" >&6; }
9857 if test "$hard_links" = no
; then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9859 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9872 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9875 allow_undefined_flag
=
9876 always_export_symbols
=no
9878 archive_expsym_cmds
=
9879 compiler_needs_object
=no
9880 enable_shared_with_static_runtimes
=no
9881 export_dynamic_flag_spec
=
9882 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9883 hardcode_automatic
=no
9885 hardcode_direct_absolute
=no
9886 hardcode_libdir_flag_spec
=
9887 hardcode_libdir_flag_spec_ld
=
9888 hardcode_libdir_separator
=
9890 hardcode_shlibpath_var
=unsupported
9892 link_all_deplibs
=unknown
9895 old_archive_from_new_cmds
=
9896 old_archive_from_expsyms_cmds
=
9897 thread_safe_flag_spec
=
9898 whole_archive_flag_spec
=
9899 # include_expsyms should be a list of space-separated symbols to be *always*
9900 # included in the symbol list
9902 # exclude_expsyms can be an extended regexp of symbols to exclude
9903 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9904 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9905 # as well as any symbol that contains `d'.
9906 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9907 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9908 # platforms (ab)use it in PIC code, but their linkers get confused if
9909 # the symbol is explicitly referenced. Since portable code cannot
9910 # rely on this symbol name, it's probably fine to never include it in
9911 # preloaded symbol tables.
9912 # Exclude shared library initialization/finalization symbols.
9913 extract_expsyms_cmds
=
9916 cygwin
* | mingw
* | pw32
* | cegcc
*)
9917 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9918 # When not using gcc, we currently assume that we are using
9919 # Microsoft Visual C++.
9920 if test "$GCC" != yes; then
9925 # we just hope/assume this is gcc and not c89 (= MSVC++)
9935 # On some targets, GNU ld is compatible enough with the native linker
9936 # that we're better off using the native interface for both.
9937 lt_use_gnu_ld_interface
=no
9938 if test "$with_gnu_ld" = yes; then
9941 # The AIX port of GNU ld has always aspired to compatibility
9942 # with the native linker. However, as the warning in the GNU ld
9943 # block says, versions before 2.19.5* couldn't really create working
9944 # shared libraries, regardless of the interface used.
9945 case `$LD -v 2>&1` in
9946 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9947 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9948 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9950 lt_use_gnu_ld_interface
=yes
9955 lt_use_gnu_ld_interface
=yes
9960 if test "$lt_use_gnu_ld_interface" = yes; then
9961 # If archive_cmds runs LD, not CC, wlarc should be empty
9964 # Set some defaults for GNU ld with shared library support. These
9965 # are reset later if shared libraries are not supported. Putting them
9966 # here allows them to be overridden if necessary.
9967 runpath_var
=LD_RUN_PATH
9968 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9969 export_dynamic_flag_spec
='${wl}--export-dynamic'
9970 # ancient GNU ld didn't support --whole-archive et. al.
9971 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9972 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9974 whole_archive_flag_spec
=
9976 supports_anon_versioning
=no
9977 case `$LD -v 2>&1` in
9978 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9979 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9980 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9981 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9982 *\
2.11.
*) ;; # other 2.11 versions
9983 *) supports_anon_versioning
=yes ;;
9986 # See if GNU ld supports shared libraries.
9989 # On AIX/PPC, the GNU linker is very broken
9990 if test "$host_cpu" != ia64
; then
9994 *** Warning: the GNU linker, at least up to release 2.19, is reported
9995 *** to be unable to reliably create shared libraries on AIX.
9996 *** Therefore, libtool is disabling shared libraries support. If you
9997 *** really care for shared libraries, you may want to install binutils
9998 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9999 *** You will then need to restart the configuration process.
10008 # see comment about AmigaOS4 .so support
10009 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds
=''
10013 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)'
10014 hardcode_libdir_flag_spec
='-L$libdir'
10015 hardcode_minus_L
=yes
10021 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10022 allow_undefined_flag
=unsupported
10023 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10024 # support --undefined. This deserves some investigation. FIXME
10025 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10031 cygwin
* | mingw
* | pw32
* | cegcc
*)
10032 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10033 # as there is no search path for DLLs.
10034 hardcode_libdir_flag_spec
='-L$libdir'
10035 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10036 allow_undefined_flag
=unsupported
10037 always_export_symbols
=no
10038 enable_shared_with_static_runtimes
=yes
10039 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10041 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10043 # If the export-symbols file already is a .def file (1st line
10044 # is EXPORTS), use it as is; otherwise, prepend...
10045 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10046 cp $export_symbols $output_objdir/$soname.def;
10048 echo EXPORTS > $output_objdir/$soname.def;
10049 cat $export_symbols >> $output_objdir/$soname.def;
10051 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10058 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10059 link_all_deplibs
=yes
10064 hardcode_shlibpath_var
=no
10065 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10066 export_dynamic_flag_spec
='${wl}-E'
10067 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10068 # Instead, shared libraries are loaded at an image base (0x10000000 by
10069 # default) and relocated if they conflict, which is a slow very memory
10070 # consuming and fragmenting process. To avoid this, we pick a random,
10071 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10072 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10073 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10074 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'
10077 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10079 if test "$host_os" = linux-dietlibc
; then
10080 case $cc_basename in
10081 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10084 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10085 && test "$tmp_diet" = no
10088 tmp_sharedflag
='-shared'
10089 case $cc_basename,$host_cpu in
10090 pgcc
*) # Portland Group C compiler
10091 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'
10092 tmp_addflag
=' $pic_flag'
10094 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10095 # Portland Group f77 and f90 compilers
10096 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'
10097 tmp_addflag
=' $pic_flag -Mnomain' ;;
10098 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10099 tmp_addflag
=' -i_dynamic' ;;
10100 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10101 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10102 ifc
* | ifort
*) # Intel Fortran compiler
10103 tmp_addflag
=' -nofor_main' ;;
10104 lf95
*) # Lahey Fortran 8.1
10105 whole_archive_flag_spec
=
10106 tmp_sharedflag
='--shared' ;;
10107 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10108 tmp_sharedflag
='-qmkshrobj'
10110 nvcc
*) # Cuda Compiler Driver 2.2
10111 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'
10112 compiler_needs_object
=yes
10115 case `$CC -V 2>&1 | sed 5q` in
10116 *Sun\ C
*) # Sun C 5.9
10117 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'
10118 compiler_needs_object
=yes
10119 tmp_sharedflag
='-G' ;;
10120 *Sun\ F
*) # Sun Fortran 8.3
10121 tmp_sharedflag
='-G' ;;
10123 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10125 if test "x$supports_anon_versioning" = xyes
; then
10126 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10127 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10128 echo "local: *; };" >> $output_objdir/$libname.ver~
10129 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10132 case $cc_basename in
10133 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10134 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10135 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10136 hardcode_libdir_flag_spec
=
10137 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10138 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10139 if test "x$supports_anon_versioning" = xyes
; then
10140 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10141 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10142 echo "local: *; };" >> $output_objdir/$libname.ver~
10143 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10153 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10154 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10157 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10158 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10163 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10167 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10168 *** create shared libraries on Solaris systems. Therefore, libtool
10169 *** is disabling shared libraries support. We urge you to upgrade GNU
10170 *** binutils to release 2.9.1 or newer. Another option is to modify
10171 *** your PATH or compiler configuration so that the native linker is
10172 *** used, and then restart.
10175 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10176 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10177 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10183 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10184 case `$LD -v 2>&1` in
10185 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10189 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10190 *** reliably create shared libraries on SCO systems. Therefore, libtool
10191 *** is disabling shared libraries support. We urge you to upgrade GNU
10192 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10193 *** your PATH or compiler configuration so that the native linker is
10194 *** used, and then restart.
10199 # For security reasons, it is highly recommended that you always
10200 # use absolute paths for naming shared libraries, and exclude the
10201 # DT_RUNPATH tag from executables and libraries. But doing so
10202 # requires that you compile everything twice, which is a pain.
10203 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10204 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10206 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10215 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_direct
=yes
10218 hardcode_shlibpath_var
=no
10222 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10223 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10224 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10231 if test "$ld_shlibs" = no
; then
10233 hardcode_libdir_flag_spec
=
10234 export_dynamic_flag_spec
=
10235 whole_archive_flag_spec
=
10238 # PORTME fill in a description of your system's linker (not GNU ld)
10241 allow_undefined_flag
=unsupported
10242 always_export_symbols
=yes
10243 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'
10244 # Note: this linker hardcodes the directories in LIBPATH if there
10245 # are no directories specified by -L.
10246 hardcode_minus_L
=yes
10247 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10248 # Neither direct hardcoding nor static linking is supported with a
10250 hardcode_direct
=unsupported
10255 if test "$host_cpu" = ia64
; then
10256 # On IA64, the linker does run time linking by default, so we don't
10257 # have to do anything special.
10258 aix_use_runtimelinking
=no
10259 exp_sym_flag
='-Bexport'
10262 # If we're using GNU nm, then we don't want the "-C" option.
10263 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10264 # Also, AIX nm treats weak defined symbols like other global
10265 # defined symbols, whereas GNU nm marks them as "W".
10266 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10267 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'
10269 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10271 aix_use_runtimelinking
=no
10273 # Test if we are trying to use run time linking or normal
10274 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10275 # need to do runtime linking.
10276 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10277 for ld_flag
in $LDFLAGS; do
10278 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10279 aix_use_runtimelinking
=yes
10286 exp_sym_flag
='-bexport'
10287 no_entry_flag
='-bnoentry'
10290 # When large executables or shared objects are built, AIX ld can
10291 # have problems creating the table of contents. If linking a library
10292 # or program results in "error TOC overflow" add -mminimal-toc to
10293 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10294 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10297 hardcode_direct
=yes
10298 hardcode_direct_absolute
=yes
10299 hardcode_libdir_separator
=':'
10300 link_all_deplibs
=yes
10301 file_list_spec
='${wl}-f,'
10303 if test "$GCC" = yes; then
10304 case $host_os in aix4.
[012]|aix4.
[012].
*)
10305 # We only want to do this on AIX 4.2 and lower, the check
10306 # below for broken collect2 doesn't work under 4.3+
10307 collect2name
=`${CC} -print-prog-name=collect2`
10308 if test -f "$collect2name" &&
10309 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10311 # We have reworked collect2
10314 # We have old collect2
10315 hardcode_direct
=unsupported
10316 # It fails to find uninstalled libraries when the uninstalled
10317 # path is not listed in the libpath. Setting hardcode_minus_L
10318 # to unsupported forces relinking
10319 hardcode_minus_L
=yes
10320 hardcode_libdir_flag_spec
='-L$libdir'
10321 hardcode_libdir_separator
=
10325 shared_flag
='-shared'
10326 if test "$aix_use_runtimelinking" = yes; then
10327 shared_flag
="$shared_flag "'${wl}-G'
10331 if test "$host_cpu" = ia64
; then
10332 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10333 # chokes on -Wl,-G. The following line is correct:
10336 if test "$aix_use_runtimelinking" = yes; then
10337 shared_flag
='${wl}-G'
10339 shared_flag
='${wl}-bM:SRE'
10344 export_dynamic_flag_spec
='${wl}-bexpall'
10345 # It seems that -bexpall does not export symbols beginning with
10346 # underscore (_), so it is better to generate a list of symbols to export.
10347 always_export_symbols
=yes
10348 if test "$aix_use_runtimelinking" = yes; then
10349 # Warning - without using the other runtime loading flags (-brtl),
10350 # -berok will link without error, but may produce a broken library.
10351 allow_undefined_flag
='-berok'
10352 # Determine the default libpath from the value encoded in an
10353 # empty executable.
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10365 if ac_fn_c_try_link
"$LINENO"; then :
10367 lt_aix_libpath_sed
='
10368 /Import File Strings/,/^$/ {
10374 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10375 # Check for a 64-bit object if we didn't find anything.
10376 if test -z "$aix_libpath"; then
10377 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10380 rm -f core conftest.err conftest.
$ac_objext \
10381 conftest
$ac_exeext conftest.
$ac_ext
10382 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10384 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10385 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"
10387 if test "$host_cpu" = ia64
; then
10388 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10389 allow_undefined_flag
="-z nodefs"
10390 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"
10392 # Determine the default libpath from the value encoded in an
10393 # empty executable.
10394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10405 if ac_fn_c_try_link
"$LINENO"; then :
10407 lt_aix_libpath_sed
='
10408 /Import File Strings/,/^$/ {
10414 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10415 # Check for a 64-bit object if we didn't find anything.
10416 if test -z "$aix_libpath"; then
10417 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10420 rm -f core conftest.err conftest.
$ac_objext \
10421 conftest
$ac_exeext conftest.
$ac_ext
10422 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10424 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10425 # Warning - without using the other run time loading flags,
10426 # -berok will link without error, but may produce a broken library.
10427 no_undefined_flag
=' ${wl}-bernotok'
10428 allow_undefined_flag
=' ${wl}-berok'
10429 if test "$with_gnu_ld" = yes; then
10430 # We only use this code for GNU lds that support --whole-archive.
10431 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10433 # Exported symbols can be pulled into shared objects from archives
10434 whole_archive_flag_spec
='$convenience'
10436 archive_cmds_need_lc
=yes
10437 # This is similar to how AIX traditionally builds its shared libraries.
10438 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'
10446 # see comment about AmigaOS4 .so support
10447 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10448 archive_expsym_cmds
=''
10451 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)'
10452 hardcode_libdir_flag_spec
='-L$libdir'
10453 hardcode_minus_L
=yes
10459 export_dynamic_flag_spec
=-rdynamic
10462 cygwin
* | mingw
* | pw32
* | cegcc
*)
10463 # When not using gcc, we currently assume that we are using
10464 # Microsoft Visual C++.
10465 # hardcode_libdir_flag_spec is actually meaningless, as there is
10466 # no search path for DLLs.
10467 hardcode_libdir_flag_spec
=' '
10468 allow_undefined_flag
=unsupported
10469 # Tell ltmain to make .lib files, not .a files.
10471 # Tell ltmain to make .dll files, not .so files.
10473 # FIXME: Setting linknames here is a bad hack.
10474 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10475 # The linker will automatically build a .lib file if we build a DLL.
10476 old_archive_from_new_cmds
='true'
10477 # FIXME: Should let the user specify the lib program.
10478 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10479 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10480 enable_shared_with_static_runtimes
=yes
10483 darwin
* | rhapsody
*)
10486 archive_cmds_need_lc
=no
10488 hardcode_automatic
=yes
10489 hardcode_shlibpath_var
=unsupported
10490 if test "$lt_cv_ld_force_load" = "yes"; then
10491 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\"`'
10493 whole_archive_flag_spec
=''
10495 link_all_deplibs
=yes
10496 allow_undefined_flag
="$_lt_dar_allow_undefined"
10497 case $cc_basename in
10498 ifort
*) _lt_dar_can_shared
=yes ;;
10499 *) _lt_dar_can_shared
=$GCC ;;
10501 if test "$_lt_dar_can_shared" = "yes"; then
10502 output_verbose_link_cmd
=func_echo_all
10503 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10504 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10505 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}"
10506 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}"
10515 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10516 hardcode_libdir_flag_spec
='-L$libdir'
10517 hardcode_shlibpath_var
=no
10520 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10521 # support. Future versions do this automatically, but an explicit c++rt0.o
10522 # does not break anything, and helps significantly (at the cost of a little
10525 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10526 hardcode_libdir_flag_spec
='-R$libdir'
10527 hardcode_direct
=yes
10528 hardcode_shlibpath_var
=no
10531 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10533 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10534 hardcode_direct
=yes
10535 hardcode_minus_L
=yes
10536 hardcode_shlibpath_var
=no
10539 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10540 freebsd
* | dragonfly
*)
10541 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10542 hardcode_libdir_flag_spec
='-R$libdir'
10543 hardcode_direct
=yes
10544 hardcode_shlibpath_var
=no
10548 if test "$GCC" = yes; then
10549 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'
10551 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'
10553 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10554 hardcode_libdir_separator
=:
10555 hardcode_direct
=yes
10557 # hardcode_minus_L: Not really in the search PATH,
10558 # but as the default location of the library.
10559 hardcode_minus_L
=yes
10560 export_dynamic_flag_spec
='${wl}-E'
10564 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10565 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10567 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10569 if test "$with_gnu_ld" = no
; then
10570 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10571 hardcode_libdir_flag_spec_ld
='+b $libdir'
10572 hardcode_libdir_separator
=:
10573 hardcode_direct
=yes
10574 hardcode_direct_absolute
=yes
10575 export_dynamic_flag_spec
='${wl}-E'
10576 # hardcode_minus_L: Not really in the search PATH,
10577 # but as the default location of the library.
10578 hardcode_minus_L
=yes
10583 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10586 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10598 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10601 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10605 # Older versions of the 11.00 compiler do not understand -b yet
10606 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10608 $as_echo_n "checking if $CC understands -b... " >&6; }
10609 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10610 $as_echo_n "(cached) " >&6
10612 lt_cv_prog_compiler__b
=no
10613 save_LDFLAGS
="$LDFLAGS"
10614 LDFLAGS
="$LDFLAGS -b"
10615 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10616 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10617 # The linker can only warn and ignore the option if not recognized
10618 # So say no if there are warnings
10619 if test -s conftest.err
; then
10620 # Append any errors to the config.log.
10621 cat conftest.err
1>&5
10622 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10623 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10624 if diff conftest.exp conftest.er2
>/dev
/null
; then
10625 lt_cv_prog_compiler__b
=yes
10628 lt_cv_prog_compiler__b
=yes
10632 LDFLAGS
="$save_LDFLAGS"
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10636 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10638 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10639 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10641 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10647 if test "$with_gnu_ld" = no
; then
10648 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10649 hardcode_libdir_separator
=:
10654 hardcode_shlibpath_var
=no
10657 hardcode_direct
=yes
10658 hardcode_direct_absolute
=yes
10659 export_dynamic_flag_spec
='${wl}-E'
10661 # hardcode_minus_L: Not really in the search PATH,
10662 # but as the default location of the library.
10663 hardcode_minus_L
=yes
10669 irix5
* | irix6
* | nonstopux
*)
10670 if test "$GCC" = yes; then
10671 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'
10672 # Try to use the -exported_symbol ld option, if it does not
10673 # work, assume that -exports_file does not work either and
10674 # implicitly export all symbols.
10675 save_LDFLAGS
="$LDFLAGS"
10676 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10681 if ac_fn_c_try_link
"$LINENO"; then :
10682 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'
10685 rm -f core conftest.err conftest.
$ac_objext \
10686 conftest
$ac_exeext conftest.
$ac_ext
10687 LDFLAGS
="$save_LDFLAGS"
10689 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'
10690 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'
10692 archive_cmds_need_lc
='no'
10693 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10694 hardcode_libdir_separator
=:
10696 link_all_deplibs
=yes
10700 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10701 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10703 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10705 hardcode_libdir_flag_spec
='-R$libdir'
10706 hardcode_direct
=yes
10707 hardcode_shlibpath_var
=no
10711 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10712 hardcode_direct
=yes
10713 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10714 hardcode_libdir_separator
=:
10715 hardcode_shlibpath_var
=no
10722 if test -f /usr
/libexec
/ld.so
; then
10723 hardcode_direct
=yes
10724 hardcode_shlibpath_var
=no
10725 hardcode_direct_absolute
=yes
10726 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10727 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10728 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10729 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10730 export_dynamic_flag_spec
='${wl}-E'
10733 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_libdir_flag_spec
='-R$libdir'
10738 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10739 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10749 hardcode_libdir_flag_spec
='-L$libdir'
10750 hardcode_minus_L
=yes
10751 allow_undefined_flag
=unsupported
10752 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'
10753 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10757 if test "$GCC" = yes; then
10758 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10759 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'
10761 allow_undefined_flag
=' -expect_unresolved \*'
10762 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'
10764 archive_cmds_need_lc
='no'
10765 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10766 hardcode_libdir_separator
=:
10769 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10770 if test "$GCC" = yes; then
10771 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10772 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'
10773 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10775 allow_undefined_flag
=' -expect_unresolved \*'
10776 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'
10777 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~
10778 $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'
10780 # Both c and cxx compiler support -rpath directly
10781 hardcode_libdir_flag_spec
='-rpath $libdir'
10783 archive_cmds_need_lc
='no'
10784 hardcode_libdir_separator
=:
10788 no_undefined_flag
=' -z defs'
10789 if test "$GCC" = yes; then
10791 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10792 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10793 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10795 case `$CC -V 2>&1` in
10798 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10799 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10800 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10804 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10805 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10806 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10810 hardcode_libdir_flag_spec
='-R$libdir'
10811 hardcode_shlibpath_var
=no
10813 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10815 # The compiler driver will combine and reorder linker options,
10816 # but understands `-z linker_flag'. GCC discards it without `$wl',
10817 # but is careful enough not to reorder.
10818 # Supported since Solaris 2.6 (maybe 2.5.1?)
10819 if test "$GCC" = yes; then
10820 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10822 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10826 link_all_deplibs
=yes
10830 if test "x$host_vendor" = xsequent
; then
10831 # Use $CC to link under sequent, because it throws in some extra .o
10832 # files that make .init and .fini sections work.
10833 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10835 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_libdir_flag_spec
='-L$libdir'
10838 hardcode_direct
=yes
10839 hardcode_minus_L
=yes
10840 hardcode_shlibpath_var
=no
10844 case $host_vendor in
10846 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10847 hardcode_direct
=yes # is this really true???
10850 ## LD is ld it makes a PLAMLIB
10851 ## CC just makes a GrossModule.
10852 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10853 reload_cmds
='$CC -r -o $output$reload_objs'
10857 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10858 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10861 runpath_var
='LD_RUN_PATH'
10862 hardcode_shlibpath_var
=no
10866 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10867 hardcode_shlibpath_var
=no
10868 export_dynamic_flag_spec
='-Bexport'
10872 if test -d /usr
/nec
; then
10873 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10874 hardcode_shlibpath_var
=no
10875 runpath_var
=LD_RUN_PATH
10876 hardcode_runpath_var
=yes
10881 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10882 no_undefined_flag
='${wl}-z,text'
10883 archive_cmds_need_lc
=no
10884 hardcode_shlibpath_var
=no
10885 runpath_var
='LD_RUN_PATH'
10887 if test "$GCC" = yes; then
10888 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10889 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10891 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10892 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10896 sysv5
* | sco3.2v5
* | sco5v6
*)
10897 # Note: We can NOT use -z defs as we might desire, because we do not
10898 # link with -lc, and that would cause any symbols used from libc to
10899 # always be unresolved, which means just about no library would
10900 # ever link correctly. If we're not using GNU ld we use -z text
10901 # though, which does catch some bad symbols but isn't as heavy-handed
10903 no_undefined_flag
='${wl}-z,text'
10904 allow_undefined_flag
='${wl}-z,nodefs'
10905 archive_cmds_need_lc
=no
10906 hardcode_shlibpath_var
=no
10907 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10908 hardcode_libdir_separator
=':'
10909 link_all_deplibs
=yes
10910 export_dynamic_flag_spec
='${wl}-Bexport'
10911 runpath_var
='LD_RUN_PATH'
10913 if test "$GCC" = yes; then
10914 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10915 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10917 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10918 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10924 hardcode_libdir_flag_spec
='-L$libdir'
10925 hardcode_shlibpath_var
=no
10933 if test x
$host_vendor = xsni
; then
10935 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10936 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10943 $as_echo "$ld_shlibs" >&6; }
10944 test "$ld_shlibs" = no
&& can_build_shared
=no
10946 with_gnu_ld
=$with_gnu_ld
10963 # Do we need to explicitly link libc?
10965 case "x$archive_cmds_need_lc" in
10967 # Assume -lc should be added
10968 archive_cmds_need_lc
=yes
10970 if test "$enable_shared" = yes && test "$GCC" = yes; then
10971 case $archive_cmds in
10973 # FIXME: we may have to deal with multi-command sequences.
10976 # Test whether the compiler implicitly links with -lc since on some
10977 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10978 # to ld, don't add -lc before -lgcc.
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10980 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10981 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10982 $as_echo_n "(cached) " >&6
10985 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10988 (eval $ac_compile) 2>&5
10990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10991 test $ac_status = 0; } 2>conftest.err
; then
10994 libobjs
=conftest.
$ac_objext
10996 wl
=$lt_prog_compiler_wl
10997 pic_flag
=$lt_prog_compiler_pic
11003 lt_save_allow_undefined_flag
=$allow_undefined_flag
11004 allow_undefined_flag
=
11005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11006 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11009 test $ac_status = 0; }
11011 lt_cv_archive_cmds_need_lc
=no
11013 lt_cv_archive_cmds_need_lc
=yes
11015 allow_undefined_flag
=$lt_save_allow_undefined_flag
11017 cat conftest.err
1>&5
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11023 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11024 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11188 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11190 if test "$GCC" = yes; then
11192 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11193 *) lt_awk_arg
="/^libraries:/" ;;
11196 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11197 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11199 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11200 case $lt_search_path_spec in
11202 # if the path contains ";" then we assume it to be the separator
11203 # otherwise default to the standard path separator (i.e. ":") - it is
11204 # assumed that no part of a normal pathname contains ";" but that should
11205 # okay in the real world where ";" in dirpaths is itself problematic.
11206 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11209 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11212 # Ok, now we have the path, separated by spaces, we can step through it
11213 # and add multilib dir if necessary.
11214 lt_tmp_lt_search_path_spec
=
11215 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11216 for lt_sys_path
in $lt_search_path_spec; do
11217 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11218 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11220 test -d "$lt_sys_path" && \
11221 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11224 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11225 BEGIN {RS=" "; FS="/|\n";} {
11228 for (lt_i = NF; lt_i > 0; lt_i--) {
11229 if ($lt_i != "" && $lt_i != ".") {
11230 if ($lt_i == "..") {
11233 if (lt_count == 0) {
11234 lt_foo="/" $lt_i lt_foo;
11241 if (lt_foo != "") { lt_freq[lt_foo]++; }
11242 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11244 # AWK program above erroneously prepends '/' to C:/dos/paths
11247 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11248 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11250 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11252 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11254 library_names_spec
=
11255 libname_spec
='lib$name'
11259 postuninstall_cmds
=
11263 shlibpath_overrides_runpath
=unknown
11265 dynamic_linker
="$host_os ld.so"
11266 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11267 need_lib_prefix
=unknown
11268 hardcode_into_libs
=no
11270 # when you set need_version to no, make sure it does not cause -set_version
11271 # flags to be left without arguments
11272 need_version
=unknown
11277 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11278 shlibpath_var
=LIBPATH
11280 # AIX 3 has no versioning support, so we append a major version to the name.
11281 soname_spec
='${libname}${release}${shared_ext}$major'
11288 hardcode_into_libs
=yes
11289 if test "$host_cpu" = ia64
; then
11290 # AIX 5 supports IA64
11291 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11292 shlibpath_var
=LD_LIBRARY_PATH
11294 # With GCC up to 2.95.x, collect2 would create an import file
11295 # for dependence libraries. The import file would start with
11296 # the line `#! .'. This would cause the generated library to
11297 # depend on `.', always an invalid library. This was fixed in
11298 # development snapshots of GCC prior to 3.0.
11300 aix4 | aix4.
[01] | aix4.
[01].
*)
11301 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11303 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11306 can_build_shared
=no
11310 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11311 # soname into executable. Probably we can add versioning support to
11312 # collect2, so additional links can be useful in future.
11313 if test "$aix_use_runtimelinking" = yes; then
11314 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11315 # instead of lib<name>.a to let people know that these are not
11316 # typical AIX shared libraries.
11317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11319 # We preserve .a as extension for shared libraries through AIX4.2
11320 # and later when we are not doing run time linking.
11321 library_names_spec
='${libname}${release}.a $libname.a'
11322 soname_spec
='${libname}${release}${shared_ext}$major'
11324 shlibpath_var
=LIBPATH
11331 # Since July 2007 AmigaOS4 officially supports .so libraries.
11332 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336 library_names_spec
='$libname.ixlibrary $libname.a'
11337 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11338 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'
11344 library_names_spec
='${libname}${shared_ext}'
11345 dynamic_linker
="$host_os ld.so"
11346 shlibpath_var
=LIBRARY_PATH
11352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11353 soname_spec
='${libname}${release}${shared_ext}$major'
11354 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11355 shlibpath_var
=LD_LIBRARY_PATH
11356 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11357 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11358 # the default ld.so.conf also contains /usr/contrib/lib and
11359 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11360 # libtool to hard-code these into programs
11363 cygwin
* | mingw
* | pw32
* | cegcc
*)
11364 version_type
=windows
11369 case $GCC,$host_os in
11370 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11371 library_names_spec
='$libname.dll.a'
11372 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11373 postinstall_cmds
='base_file=`basename \${file}`~
11374 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11375 dldir=$destdir/`dirname \$dlpath`~
11376 test -d \$dldir || mkdir -p \$dldir~
11377 $install_prog $dir/$dlname \$dldir/$dlname~
11378 chmod a+x \$dldir/$dlname~
11379 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11380 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11382 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11383 dlpath=$dir/\$dldll~
11385 shlibpath_overrides_runpath
=yes
11389 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11390 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11392 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11395 # MinGW DLLs use traditional 'lib' prefix
11396 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11399 # pw32 DLLs use 'pw' prefix rather than 'lib'
11400 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11406 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11409 dynamic_linker
='Win32 ld.exe'
11410 # FIXME: first we should search . and the directory the executable is in
11414 darwin
* | rhapsody
*)
11415 dynamic_linker
="$host_os dyld"
11416 version_type
=darwin
11419 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11420 soname_spec
='${libname}${release}${major}$shared_ext'
11421 shlibpath_overrides_runpath
=yes
11422 shlibpath_var
=DYLD_LIBRARY_PATH
11423 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11425 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11426 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11434 soname_spec
='${libname}${release}${shared_ext}$major'
11435 shlibpath_var
=LD_LIBRARY_PATH
11438 freebsd
* | dragonfly
*)
11439 # DragonFly does not have aout. When/if they implement a new
11440 # versioning mechanism, adjust this.
11441 if test -x /usr
/bin
/objformat
; then
11442 objformat
=`/usr/bin/objformat`
11445 freebsd
[23].
*) objformat
=aout
;;
11446 *) objformat
=elf
;;
11449 version_type
=freebsd-
$objformat
11450 case $version_type in
11452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11457 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11461 shlibpath_var
=LD_LIBRARY_PATH
11464 shlibpath_overrides_runpath
=yes
11466 freebsd3.
[01]* | freebsdelf3.
[01]*)
11467 shlibpath_overrides_runpath
=yes
11468 hardcode_into_libs
=yes
11470 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11471 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11472 shlibpath_overrides_runpath
=no
11473 hardcode_into_libs
=yes
11475 *) # from 4.6 on, and DragonFly
11476 shlibpath_overrides_runpath
=yes
11477 hardcode_into_libs
=yes
11486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11487 soname_spec
='${libname}${release}${shared_ext}$major'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 hardcode_into_libs
=yes
11496 dynamic_linker
="$host_os runtime_loader"
11497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11498 soname_spec
='${libname}${release}${shared_ext}$major'
11499 shlibpath_var
=LIBRARY_PATH
11500 shlibpath_overrides_runpath
=yes
11501 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11502 hardcode_into_libs
=yes
11505 hpux9
* | hpux10
* | hpux11
*)
11506 # Give a soname corresponding to the major version so that dld.sl refuses to
11507 # link against other versions.
11514 hardcode_into_libs
=yes
11515 dynamic_linker
="$host_os dld.so"
11516 shlibpath_var
=LD_LIBRARY_PATH
11517 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11520 if test "X$HPUX_IA64_MODE" = X32
; then
11521 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11523 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11525 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11529 hardcode_into_libs
=yes
11530 dynamic_linker
="$host_os dld.sl"
11531 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11532 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534 soname_spec
='${libname}${release}${shared_ext}$major'
11535 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11536 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11540 dynamic_linker
="$host_os dld.sl"
11541 shlibpath_var
=SHLIB_PATH
11542 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11544 soname_spec
='${libname}${release}${shared_ext}$major'
11547 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11548 postinstall_cmds
='chmod 555 $lib'
11549 # or fails outright, so override atomically:
11550 install_override_mode
=555
11557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11558 soname_spec
='${libname}${release}${shared_ext}$major'
11559 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11560 shlibpath_var
=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath
=no
11562 hardcode_into_libs
=yes
11565 irix5
* | irix6
* | nonstopux
*)
11567 nonstopux
*) version_type
=nonstopux
;;
11569 if test "$lt_cv_prog_gnu_ld" = yes; then
11577 soname_spec
='${libname}${release}${shared_ext}$major'
11578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11580 irix5
* | nonstopux
*)
11581 libsuff
= shlibsuff
=
11584 case $LD in # libtool.m4 will add one of these switches to LD
11585 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11586 libsuff
= shlibsuff
= libmagic
=32-bit;;
11587 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11588 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11589 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11590 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11591 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11595 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11596 shlibpath_overrides_runpath
=no
11597 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11598 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11599 hardcode_into_libs
=yes
11602 # No shared lib support for Linux oldld, aout, or coff.
11603 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11607 # This must be Linux ELF.
11608 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11613 soname_spec
='${libname}${release}${shared_ext}$major'
11614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11615 shlibpath_var
=LD_LIBRARY_PATH
11616 shlibpath_overrides_runpath
=no
11618 # Some binutils ld are patched to set DT_RUNPATH
11619 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11620 $as_echo_n "(cached) " >&6
11622 lt_cv_shlibpath_overrides_runpath
=no
11623 save_LDFLAGS
=$LDFLAGS
11624 save_libdir
=$libdir
11625 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11626 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11638 if ac_fn_c_try_link
"$LINENO"; then :
11639 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11640 lt_cv_shlibpath_overrides_runpath
=yes
11643 rm -f core conftest.err conftest.
$ac_objext \
11644 conftest
$ac_exeext conftest.
$ac_ext
11645 LDFLAGS
=$save_LDFLAGS
11646 libdir
=$save_libdir
11650 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11652 # This implies no fast_install, which is unacceptable.
11653 # Some rework will be needed to allow for fast_install
11654 # before this can be enabled.
11655 hardcode_into_libs
=yes
11657 # Append ld.so.conf contents to the search path
11658 if test -f /etc
/ld.so.conf
; then
11659 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' ' '`
11660 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11663 # We used to test for /lib/ld.so.1 and disable shared libraries on
11664 # powerpc, because MkLinux only supported shared libraries with the
11665 # GNU dynamic linker. Since this was broken with cross compilers,
11666 # most powerpc-linux boxes support dynamic linking these days and
11667 # people can always --disable-shared, the test was removed, and we
11668 # assume the GNU/Linux dynamic linker is in use.
11669 dynamic_linker
='GNU/Linux ld.so'
11676 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11678 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11679 dynamic_linker
='NetBSD (a.out) ld.so'
11681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11682 soname_spec
='${libname}${release}${shared_ext}$major'
11683 dynamic_linker
='NetBSD ld.elf_so'
11685 shlibpath_var
=LD_LIBRARY_PATH
11686 shlibpath_overrides_runpath
=yes
11687 hardcode_into_libs
=yes
11692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11693 shlibpath_var
=LD_LIBRARY_PATH
11694 shlibpath_overrides_runpath
=yes
11701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11702 soname_spec
='${libname}${release}${shared_ext}$major'
11703 shlibpath_var
=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath
=no
11705 hardcode_into_libs
=yes
11706 dynamic_linker
='ldqnx.so'
11711 sys_lib_dlsearch_path_spec
="/usr/lib"
11713 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11715 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11716 *) need_version
=no
;;
11718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11719 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11720 shlibpath_var
=LD_LIBRARY_PATH
11721 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11723 openbsd2.
[89] | openbsd2.
[89].
*)
11724 shlibpath_overrides_runpath
=no
11727 shlibpath_overrides_runpath
=yes
11731 shlibpath_overrides_runpath
=yes
11736 libname_spec
='$name'
11739 library_names_spec
='$libname${shared_ext} $libname.a'
11740 dynamic_linker
='OS/2 ld.exe'
11741 shlibpath_var
=LIBPATH
11744 osf3
* | osf4
* | osf5
*)
11748 soname_spec
='${libname}${release}${shared_ext}$major'
11749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11750 shlibpath_var
=LD_LIBRARY_PATH
11751 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11752 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11764 soname_spec
='${libname}${release}${shared_ext}$major'
11765 shlibpath_var
=LD_LIBRARY_PATH
11766 shlibpath_overrides_runpath
=yes
11767 hardcode_into_libs
=yes
11768 # ldd complains unless libraries are executable
11769 postinstall_cmds
='chmod +x $lib'
11774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11775 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11776 shlibpath_var
=LD_LIBRARY_PATH
11777 shlibpath_overrides_runpath
=yes
11778 if test "$with_gnu_ld" = yes; then
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787 soname_spec
='${libname}${release}${shared_ext}$major'
11788 shlibpath_var
=LD_LIBRARY_PATH
11789 case $host_vendor in
11791 shlibpath_overrides_runpath
=no
11793 runpath_var
=LD_RUN_PATH
11801 shlibpath_overrides_runpath
=no
11802 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11808 if test -d /usr
/nec
;then
11810 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11811 soname_spec
='$libname${shared_ext}.$major'
11812 shlibpath_var
=LD_LIBRARY_PATH
11816 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11817 version_type
=freebsd-elf
11820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11821 soname_spec
='${libname}${release}${shared_ext}$major'
11822 shlibpath_var
=LD_LIBRARY_PATH
11823 shlibpath_overrides_runpath
=yes
11824 hardcode_into_libs
=yes
11825 if test "$with_gnu_ld" = yes; then
11826 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11828 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11831 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11835 sys_lib_dlsearch_path_spec
='/usr/lib'
11839 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844 shlibpath_var
=LD_LIBRARY_PATH
11845 shlibpath_overrides_runpath
=no
11846 hardcode_into_libs
=yes
11851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11852 soname_spec
='${libname}${release}${shared_ext}$major'
11853 shlibpath_var
=LD_LIBRARY_PATH
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11861 $as_echo "$dynamic_linker" >&6; }
11862 test "$dynamic_linker" = no
&& can_build_shared
=no
11864 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11865 if test "$GCC" = yes; then
11866 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11869 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11870 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11872 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11873 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11968 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11970 if test -n "$hardcode_libdir_flag_spec" ||
11971 test -n "$runpath_var" ||
11972 test "X$hardcode_automatic" = "Xyes" ; then
11974 # We can hardcode non-existent directories.
11975 if test "$hardcode_direct" != no
&&
11976 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11977 # have to relink, otherwise we might link with an installed library
11978 # when we should be linking with a yet-to-be-installed one
11979 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11980 test "$hardcode_minus_L" != no
; then
11981 # Linking always hardcodes the temporary library directory.
11982 hardcode_action
=relink
11984 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11985 hardcode_action
=immediate
11988 # We cannot hardcode anything, or else we can only hardcode existing
11990 hardcode_action
=unsupported
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11993 $as_echo "$hardcode_action" >&6; }
11995 if test "$hardcode_action" = relink ||
11996 test "$inherit_rpath" = yes; then
11997 # Fast installation is not supported
11998 enable_fast_install
=no
11999 elif test "$shlibpath_overrides_runpath" = yes ||
12000 test "$enable_shared" = no
; then
12001 # Fast installation is not necessary
12002 enable_fast_install
=needless
12010 if test "x$enable_dlopen" != xyes
; then
12011 enable_dlopen
=unknown
12012 enable_dlopen_self
=unknown
12013 enable_dlopen_self_static
=unknown
12020 lt_cv_dlopen
="load_add_on"
12022 lt_cv_dlopen_self
=yes
12025 mingw
* | pw32
* | cegcc
*)
12026 lt_cv_dlopen
="LoadLibrary"
12031 lt_cv_dlopen
="dlopen"
12036 # if libdl is installed we need to link against it
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12038 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12039 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12040 $as_echo_n "(cached) " >&6
12042 ac_check_lib_save_LIBS
=$LIBS
12044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12062 if ac_fn_c_try_link
"$LINENO"; then :
12063 ac_cv_lib_dl_dlopen
=yes
12065 ac_cv_lib_dl_dlopen
=no
12067 rm -f core conftest.err conftest.
$ac_objext \
12068 conftest
$ac_exeext conftest.
$ac_ext
12069 LIBS
=$ac_check_lib_save_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12072 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12073 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12074 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12077 lt_cv_dlopen
="dyld"
12079 lt_cv_dlopen_self
=yes
12086 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12087 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12088 lt_cv_dlopen
="shl_load"
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12091 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12092 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12093 $as_echo_n "(cached) " >&6
12095 ac_check_lib_save_LIBS
=$LIBS
12097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 /* Override any GCC internal prototype to avoid an error.
12101 Use char because int might match the return type of a GCC
12102 builtin and then its argument prototype would still apply. */
12110 return shl_load ();
12115 if ac_fn_c_try_link
"$LINENO"; then :
12116 ac_cv_lib_dld_shl_load
=yes
12118 ac_cv_lib_dld_shl_load
=no
12120 rm -f core conftest.err conftest.
$ac_objext \
12121 conftest
$ac_exeext conftest.
$ac_ext
12122 LIBS
=$ac_check_lib_save_LIBS
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12125 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12126 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12127 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12129 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12130 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12131 lt_cv_dlopen
="dlopen"
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12134 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12135 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12136 $as_echo_n "(cached) " >&6
12138 ac_check_lib_save_LIBS
=$LIBS
12140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12158 if ac_fn_c_try_link
"$LINENO"; then :
12159 ac_cv_lib_dl_dlopen
=yes
12161 ac_cv_lib_dl_dlopen
=no
12163 rm -f core conftest.err conftest.
$ac_objext \
12164 conftest
$ac_exeext conftest.
$ac_ext
12165 LIBS
=$ac_check_lib_save_LIBS
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12168 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12169 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12170 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12173 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12174 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12175 $as_echo_n "(cached) " >&6
12177 ac_check_lib_save_LIBS
=$LIBS
12178 LIBS
="-lsvld $LIBS"
12179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12182 /* Override any GCC internal prototype to avoid an error.
12183 Use char because int might match the return type of a GCC
12184 builtin and then its argument prototype would still apply. */
12197 if ac_fn_c_try_link
"$LINENO"; then :
12198 ac_cv_lib_svld_dlopen
=yes
12200 ac_cv_lib_svld_dlopen
=no
12202 rm -f core conftest.err conftest.
$ac_objext \
12203 conftest
$ac_exeext conftest.
$ac_ext
12204 LIBS
=$ac_check_lib_save_LIBS
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12207 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12208 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12209 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12212 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12213 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12214 $as_echo_n "(cached) " >&6
12216 ac_check_lib_save_LIBS
=$LIBS
12218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12231 return dld_link ();
12236 if ac_fn_c_try_link
"$LINENO"; then :
12237 ac_cv_lib_dld_dld_link
=yes
12239 ac_cv_lib_dld_dld_link
=no
12241 rm -f core conftest.err conftest.
$ac_objext \
12242 conftest
$ac_exeext conftest.
$ac_ext
12243 LIBS
=$ac_check_lib_save_LIBS
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12246 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12247 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12248 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12269 if test "x$lt_cv_dlopen" != xno
; then
12275 case $lt_cv_dlopen in
12277 save_CPPFLAGS
="$CPPFLAGS"
12278 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12280 save_LDFLAGS
="$LDFLAGS"
12281 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12284 LIBS
="$lt_cv_dlopen_libs $LIBS"
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12287 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12288 if test "${lt_cv_dlopen_self+set}" = set; then :
12289 $as_echo_n "(cached) " >&6
12291 if test "$cross_compiling" = yes; then :
12292 lt_cv_dlopen_self
=cross
12294 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12295 lt_status
=$lt_dlunknown
12296 cat > conftest.
$ac_ext <<_LT_EOF
12297 #line 12297 "configure"
12298 #include "confdefs.h"
12307 # define LT_DLGLOBAL RTLD_GLOBAL
12310 # define LT_DLGLOBAL DL_GLOBAL
12312 # define LT_DLGLOBAL 0
12316 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12317 find out it does not work in some platform. */
12318 #ifndef LT_DLLAZY_OR_NOW
12320 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12323 # define LT_DLLAZY_OR_NOW DL_LAZY
12326 # define LT_DLLAZY_OR_NOW RTLD_NOW
12329 # define LT_DLLAZY_OR_NOW DL_NOW
12331 # define LT_DLLAZY_OR_NOW 0
12338 /* When -fvisbility=hidden is used, assume the code has been annotated
12339 correspondingly for the symbols needed. */
12340 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12341 void fnord () __attribute__((visibility("default")));
12344 void fnord () { int i=42; }
12347 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12348 int status = $lt_dlunknown;
12352 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12355 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12356 else puts (dlerror ());
12358 /* dlclose (self); */
12366 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12367 (eval $ac_link) 2>&5
12369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12370 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12371 (.
/conftest
; exit; ) >&5 2>/dev
/null
12373 case x
$lt_status in
12374 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12375 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12376 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12379 # compilation failed
12380 lt_cv_dlopen_self
=no
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12388 $as_echo "$lt_cv_dlopen_self" >&6; }
12390 if test "x$lt_cv_dlopen_self" = xyes
; then
12391 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12393 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12394 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12395 $as_echo_n "(cached) " >&6
12397 if test "$cross_compiling" = yes; then :
12398 lt_cv_dlopen_self_static
=cross
12400 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12401 lt_status
=$lt_dlunknown
12402 cat > conftest.
$ac_ext <<_LT_EOF
12403 #line 12403 "configure"
12404 #include "confdefs.h"
12413 # define LT_DLGLOBAL RTLD_GLOBAL
12416 # define LT_DLGLOBAL DL_GLOBAL
12418 # define LT_DLGLOBAL 0
12422 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12423 find out it does not work in some platform. */
12424 #ifndef LT_DLLAZY_OR_NOW
12426 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12429 # define LT_DLLAZY_OR_NOW DL_LAZY
12432 # define LT_DLLAZY_OR_NOW RTLD_NOW
12435 # define LT_DLLAZY_OR_NOW DL_NOW
12437 # define LT_DLLAZY_OR_NOW 0
12444 /* When -fvisbility=hidden is used, assume the code has been annotated
12445 correspondingly for the symbols needed. */
12446 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12447 void fnord () __attribute__((visibility("default")));
12450 void fnord () { int i=42; }
12453 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12454 int status = $lt_dlunknown;
12458 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12461 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12462 else puts (dlerror ());
12464 /* dlclose (self); */
12472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12473 (eval $ac_link) 2>&5
12475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12476 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12477 (.
/conftest
; exit; ) >&5 2>/dev
/null
12479 case x
$lt_status in
12480 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12481 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12482 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12485 # compilation failed
12486 lt_cv_dlopen_self_static
=no
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12494 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12497 CPPFLAGS
="$save_CPPFLAGS"
12498 LDFLAGS
="$save_LDFLAGS"
12503 case $lt_cv_dlopen_self in
12504 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12505 *) enable_dlopen_self
=unknown
;;
12508 case $lt_cv_dlopen_self_static in
12509 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12510 *) enable_dlopen_self_static
=unknown
;;
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12533 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12534 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12535 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12536 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12538 $as_echo "yes" >&6; }
12540 # FIXME - insert some real tests, host_os isn't really good enough
12543 if test -n "$STRIP" ; then
12544 striplib
="$STRIP -x"
12545 old_striplib
="$STRIP -S"
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12547 $as_echo "yes" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12550 $as_echo "no" >&6; }
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12555 $as_echo "no" >&6; }
12571 # Report which library types will actually be built
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12573 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12575 $as_echo "$can_build_shared" >&6; }
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12578 $as_echo_n "checking whether to build shared libraries... " >&6; }
12579 test "$can_build_shared" = "no" && enable_shared
=no
12581 # On AIX, shared libraries and static libraries use the same namespace, and
12582 # are all built from PIC.
12585 test "$enable_shared" = yes && enable_static
=no
12586 if test -n "$RANLIB"; then
12587 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12588 postinstall_cmds
='$RANLIB $lib'
12593 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12594 test "$enable_shared" = yes && enable_static
=no
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12599 $as_echo "$enable_shared" >&6; }
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12602 $as_echo_n "checking whether to build static libraries... " >&6; }
12603 # Make sure either enable_shared or enable_static is yes.
12604 test "$enable_shared" = yes || enable_static
=yes
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12606 $as_echo "$enable_static" >&6; }
12613 ac_cpp
='$CPP $CPPFLAGS'
12614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12632 ac_config_commands
="$ac_config_commands libtool"
12637 # Only expand once:
12642 .
${srcdir}/..
/..
/bfd
/configure.
host
12646 USE_MAINTAINER_MODE
=no
12647 # Check whether --enable-maintainer-mode was given.
12648 if test "${enable_maintainer_mode+set}" = set; then :
12649 enableval
=$enable_maintainer_mode; case "${enableval}" in
12650 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
12652 *) as_fn_error
"\"--enable-maintainer-mode does not take a value\"" "$LINENO" 5; MAINT
="#" ;;
12654 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
12655 echo "Setting maintainer mode" 6>&1
12663 # Check whether --enable-sim-bswap was given.
12664 if test "${enable_sim_bswap+set}" = set; then :
12665 enableval
=$enable_sim_bswap; case "${enableval}" in
12666 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
12667 no
) sim_bswap
="-DWITH_BSWAP=0";;
12668 *) as_fn_error
"\"--enable-sim-bswap does not take a value\"" "$LINENO" 5; sim_bswap
="";;
12670 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
12671 echo "Setting bswap flags = $sim_bswap" 6>&1
12679 # Check whether --enable-sim-cflags was given.
12680 if test "${enable_sim_cflags+set}" = set; then :
12681 enableval
=$enable_sim_cflags; case "${enableval}" in
12682 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
12683 trace
) as_fn_error
"\"Please use --enable-sim-debug instead.\"" "$LINENO" 5; sim_cflags
="";;
12684 no
) sim_cflags
="";;
12685 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12687 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
12688 echo "Setting sim cflags = $sim_cflags" 6>&1
12696 # Check whether --enable-sim-debug was given.
12697 if test "${enable_sim_debug+set}" = set; then :
12698 enableval
=$enable_sim_debug; case "${enableval}" in
12699 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
12700 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
12701 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
12703 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
12704 echo "Setting sim debug = $sim_debug" 6>&1
12712 # Check whether --enable-sim-stdio was given.
12713 if test "${enable_sim_stdio+set}" = set; then :
12714 enableval
=$enable_sim_stdio; case "${enableval}" in
12715 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
12716 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
12717 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-stdio\"" "$LINENO" 5; sim_stdio
="";;
12719 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
12720 echo "Setting stdio flags = $sim_stdio" 6>&1
12728 # Check whether --enable-sim-trace was given.
12729 if test "${enable_sim_trace+set}" = set; then :
12730 enableval
=$enable_sim_trace; case "${enableval}" in
12731 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
12732 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
12734 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
12737 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
12738 if test x
"$sim_trace" = x
; then
12739 sim_trace
="-DWITH_TRACE='(TRACE_$x"
12741 sim_trace
="${sim_trace}|TRACE_$x"
12744 sim_trace
="$sim_trace)'" ;;
12746 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
12747 echo "Setting sim trace = $sim_trace" 6>&1
12755 # Check whether --enable-sim-profile was given.
12756 if test "${enable_sim_profile+set}" = set; then :
12757 enableval
=$enable_sim_profile; case "${enableval}" in
12758 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
12759 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
12761 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
12764 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
12765 if test x
"$sim_profile" = x
; then
12766 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
12768 sim_profile
="${sim_profile}|PROFILE_$x"
12771 sim_profile
="$sim_profile)'" ;;
12773 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
12774 echo "Setting sim profile = $sim_profile" 6>&1
12777 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
12783 # Check whether --with-pkgversion was given.
12784 if test "${with_pkgversion+set}" = set; then :
12785 withval
=$with_pkgversion; case "$withval" in
12786 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
12788 *) PKGVERSION
="($withval) " ;;
12791 PKGVERSION
="(GDB) "
12799 # Check whether --with-bugurl was given.
12800 if test "${with_bugurl+set}" = set; then :
12801 withval
=$with_bugurl; case "$withval" in
12802 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
12805 *) BUGURL
="$withval"
12809 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
12819 REPORT_BUGS_TO
="<$BUGURL>"
12820 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
12827 cat >>confdefs.h
<<_ACEOF
12828 #define PKGVERSION "$PKGVERSION"
12832 cat >>confdefs.h
<<_ACEOF
12833 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12838 $as_echo_n "checking return type of signal handlers... " >&6; }
12839 if test "${ac_cv_type_signal+set}" = set; then :
12840 $as_echo_n "(cached) " >&6
12842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12844 #include <sys/types.h>
12845 #include <signal.h>
12850 return *(signal (0, 0)) (0) == 1;
12855 if ac_fn_c_try_compile
"$LINENO"; then :
12856 ac_cv_type_signal
=int
12858 ac_cv_type_signal
=void
12860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12863 $as_echo "$ac_cv_type_signal" >&6; }
12865 cat >>confdefs.h
<<_ACEOF
12866 #define RETSIGTYPE $ac_cv_type_signal
12876 sim_link_links
=tconfig.h
12877 if test -f ${srcdir}/tconfig.
in
12879 sim_link_files
=tconfig.
in
12881 sim_link_files
=..
/common
/tconfig.
in
12884 # targ-vals.def points to the libc macro description file.
12885 case "${target}" in
12886 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
12888 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
12889 sim_link_links
="${sim_link_links} targ-vals.def"
12894 wire_endian
="LITTLE_ENDIAN"
12896 # Check whether --enable-sim-endian was given.
12897 if test "${enable_sim_endian+set}" = set; then :
12898 enableval
=$enable_sim_endian; case "${enableval}" in
12899 b
*|B
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
12900 l
*|L
*) sim_endian
="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
12901 yes) if test x
"$wire_endian" != x
; then
12902 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
12904 if test x
"$default_endian" != x
; then
12905 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${default_endian}"
12907 echo "No hard-wired endian for target $target" 1>&6
12908 sim_endian
="-DWITH_TARGET_BYTE_ORDER=0"
12911 no
) if test x
"$default_endian" != x
; then
12912 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
12914 if test x
"$wire_endian" != x
; then
12915 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${wire_endian}"
12917 echo "No default endian for target $target" 1>&6
12918 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=0"
12921 *) as_fn_error
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5; sim_endian
="";;
12923 if test x
"$silent" != x
"yes" && test x
"$sim_endian" != x
""; then
12924 echo "Setting endian flags = $sim_endian" 6>&1
12927 if test x
"$default_endian" != x
; then
12928 sim_endian
="-DWITH_DEFAULT_TARGET_BYTE_ORDER=${default_endian}"
12930 if test x
"$wire_endian" != x
; then
12931 sim_endian
="-DWITH_TARGET_BYTE_ORDER=${wire_endian}"
12938 wire_alignment
="STRICT_ALIGNMENT"
12939 default_alignment
="STRICT_ALIGNMENT"
12941 # Check whether --enable-sim-alignment was given.
12942 if test "${enable_sim_alignment+set}" = set; then :
12943 enableval
=$enable_sim_alignment; case "${enableval}" in
12944 strict | STRICT
) sim_alignment
="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
12945 nonstrict | NONSTRICT
) sim_alignment
="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
12946 forced | FORCED
) sim_alignment
="-DWITH_ALIGNMENT=FORCED_ALIGNMENT";;
12947 yes) if test x
"$wire_alignment" != x
; then
12948 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
12950 if test x
"$default_alignment" != x
; then
12951 sim_alignment
="-DWITH_ALIGNMENT=${default_alignment}"
12953 echo "No hard-wired alignment for target $target" 1>&6
12954 sim_alignment
="-DWITH_ALIGNMENT=0"
12957 no
) if test x
"$default_alignment" != x
; then
12958 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
12960 if test x
"$wire_alignment" != x
; then
12961 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${wire_alignment}"
12963 echo "No default alignment for target $target" 1>&6
12964 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=0"
12967 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5; sim_alignment
="";;
12969 if test x
"$silent" != x
"yes" && test x
"$sim_alignment" != x
""; then
12970 echo "Setting alignment flags = $sim_alignment" 6>&1
12973 if test x
"$default_alignment" != x
; then
12974 sim_alignment
="-DWITH_DEFAULT_ALIGNMENT=${default_alignment}"
12976 if test x
"$wire_alignment" != x
; then
12977 sim_alignment
="-DWITH_ALIGNMENT=${wire_alignment}"
12985 # Check whether --enable-sim-hostendian was given.
12986 if test "${enable_sim_hostendian+set}" = set; then :
12987 enableval
=$enable_sim_hostendian; case "${enableval}" in
12988 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
12989 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
12990 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
12991 *) as_fn_error
"\"Unknown value $enableval for --enable-sim-hostendian\"" "$LINENO" 5; sim_hostendian
="";;
12993 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
12994 echo "Setting hostendian flags = $sim_hostendian" 6>&1
12998 if test "x$cross_compiling" = "xno"; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13000 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13001 if test "${ac_cv_c_bigendian+set}" = set; then :
13002 $as_echo_n "(cached) " >&6
13004 ac_cv_c_bigendian
=unknown
13005 # See if we're dealing with a universal compiler.
13006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13008 #ifndef __APPLE_CC__
13009 not a universal capable compiler
13014 if ac_fn_c_try_compile
"$LINENO"; then :
13016 # Check for potential -arch flags. It is not universal unless
13017 # there are at least two -arch flags with different values.
13020 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13021 if test -n "$ac_prev"; then
13023 i?
86 | x86_64 | ppc | ppc64
)
13024 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13027 ac_cv_c_bigendian
=universal
13033 elif test "x$ac_word" = "x-arch"; then
13038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13039 if test $ac_cv_c_bigendian = unknown
; then
13040 # See if sys/param.h defines the BYTE_ORDER macro.
13041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13043 #include <sys/types.h>
13044 #include <sys/param.h>
13049 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13050 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13052 bogus endian macros
13059 if ac_fn_c_try_compile
"$LINENO"; then :
13060 # It does; now see whether it defined to BIG_ENDIAN or not.
13061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13063 #include <sys/types.h>
13064 #include <sys/param.h>
13069 #if BYTE_ORDER != BIG_ENDIAN
13077 if ac_fn_c_try_compile
"$LINENO"; then :
13078 ac_cv_c_bigendian
=yes
13080 ac_cv_c_bigendian
=no
13082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13086 if test $ac_cv_c_bigendian = unknown
; then
13087 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13090 #include <limits.h>
13095 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13096 bogus endian macros
13103 if ac_fn_c_try_compile
"$LINENO"; then :
13104 # It does; now see whether it defined to _BIG_ENDIAN or not.
13105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13107 #include <limits.h>
13112 #ifndef _BIG_ENDIAN
13120 if ac_fn_c_try_compile
"$LINENO"; then :
13121 ac_cv_c_bigendian
=yes
13123 ac_cv_c_bigendian
=no
13125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13129 if test $ac_cv_c_bigendian = unknown
; then
13130 # Compile a test program.
13131 if test "$cross_compiling" = yes; then :
13132 # Try to guess by grepping values from an object file.
13133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13135 short int ascii_mm[] =
13136 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13137 short int ascii_ii[] =
13138 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13139 int use_ascii (int i) {
13140 return ascii_mm[i] + ascii_ii[i];
13142 short int ebcdic_ii[] =
13143 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13144 short int ebcdic_mm[] =
13145 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13146 int use_ebcdic (int i) {
13147 return ebcdic_mm[i] + ebcdic_ii[i];
13154 return use_ascii (foo) == use_ebcdic (foo);
13159 if ac_fn_c_try_compile
"$LINENO"; then :
13160 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
13161 ac_cv_c_bigendian
=yes
13163 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
13164 if test "$ac_cv_c_bigendian" = unknown
; then
13165 ac_cv_c_bigendian
=no
13167 # finding both strings is unlikely to happen, but who knows?
13168 ac_cv_c_bigendian
=unknown
13172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13176 $ac_includes_default
13181 /* Are we little or big endian? From Harbison&Steele. */
13185 char c[sizeof (long int)];
13188 return u.c[sizeof (long int) - 1] == 1;
13194 if ac_fn_c_try_run
"$LINENO"; then :
13195 ac_cv_c_bigendian
=no
13197 ac_cv_c_bigendian
=yes
13199 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13200 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13206 $as_echo "$ac_cv_c_bigendian" >&6; }
13207 case $ac_cv_c_bigendian in #(
13209 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13215 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13219 as_fn_error
"unknown endianness
13220 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13223 if test $ac_cv_c_bigendian = yes; then
13224 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
13226 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
13229 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
13234 default_sim_default_model
="bf537"
13235 # Check whether --enable-sim-default-model was given.
13236 if test "${enable_sim_default_model+set}" = set; then :
13237 enableval
=$enable_sim_default_model; case "${enableval}" in
13238 yes|no
) as_fn_error
"\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
13239 *) sim_default_model
="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
13241 if test x
"$silent" != x
"yes" && test x
"$sim_default_model" != x
""; then
13242 echo "Setting default model = $sim_default_model" 6>&1
13245 sim_default_model
="-DWITH_DEFAULT_MODEL='\"${default_sim_default_model}\"'"
13250 # Check whether --enable-sim-environment was given.
13251 if test "${enable_sim_environment+set}" = set; then :
13252 enableval
=$enable_sim_environment; case "${enableval}" in
13253 all | ALL
) sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT";;
13254 user | USER
) sim_environment
="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
13255 virtual | VIRTUAL
) sim_environment
="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT";;
13256 operating | OPERATING
) sim_environment
="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT";;
13257 *) as_fn_error
"\"Unknown value $enableval passed to --enable-sim-environment\"" "$LINENO" 5;
13258 sim_environment
="";;
13260 if test x
"$silent" != x
"yes" && test x
"$sim_environment" != x
""; then
13261 echo "Setting sim environment = $sim_environment" 6>&1
13264 sim_environment
="-DWITH_ENVIRONMENT=ALL_ENVIRONMENT"
13268 default_sim_inline
=""
13269 # Check whether --enable-sim-inline was given.
13270 if test "${enable_sim_inline+set}" = set; then :
13271 enableval
=$enable_sim_inline; sim_inline
=""
13272 case "$enableval" in
13273 no
) sim_inline
="-DDEFAULT_INLINE=0";;
13274 0) sim_inline
="-DDEFAULT_INLINE=0";;
13275 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
13276 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
13277 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13280 *_INLINE
=*) new_flag
="-D$x";;
13281 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
13282 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
13283 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
13285 if test x
"$sim_inline" = x
""; then
13286 sim_inline
="$new_flag"
13288 sim_inline
="$sim_inline $new_flag"
13292 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
13293 echo "Setting inline flags = $sim_inline" 6>&1
13297 if test "x$cross_compiling" = "xno"; then
13298 if test x
"$GCC" != "x" -a x
"${default_sim_inline}" != "x" ; then
13299 sim_inline
="${default_sim_inline}"
13300 if test x
"$silent" != x
"yes"; then
13301 echo "Setting inline flags = $sim_inline" 6>&1
13307 sim_inline
="-DDEFAULT_INLINE=0"
13312 # Check whether --enable-werror was given.
13313 if test "${enable_werror+set}" = set; then :
13314 enableval
=$enable_werror; case "${enableval}" in
13315 yes | y
) ERROR_ON_WARNING
="yes" ;;
13316 no | n
) ERROR_ON_WARNING
="no" ;;
13317 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
13322 # Enable -Werror by default when using gcc
13323 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
13324 ERROR_ON_WARNING
=yes
13328 if test "${ERROR_ON_WARNING}" = yes ; then
13329 # NOTE: Disabled in the sim dir due to most sims generating warnings.
13330 # WERROR_CFLAGS="-Werror"
13334 # The entries after -Wno-pointer-sign are disabled warnings which may
13335 # be enabled in the future, which can not currently be used to build
13337 # NOTE: If you change this list, remember to update
13338 # gdb/doc/gdbint.texinfo.
13339 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
13340 -Wformat-nonliteral -Wno-pointer-sign \
13341 -Wno-unused -Wunused-value -Wunused-function \
13342 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
13344 # Enable -Wno-format by default when using gcc on mingw since many
13345 # GCC versions complain about %I64.
13347 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
13350 # Check whether --enable-build-warnings was given.
13351 if test "${enable_build_warnings+set}" = set; then :
13352 enableval
=$enable_build_warnings; case "${enableval}" in
13354 no
) build_warnings
="-w";;
13355 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13356 build_warnings
="${build_warnings} ${t}";;
13357 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13358 build_warnings
="${t} ${build_warnings}";;
13359 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13361 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13362 echo "Setting compiler warning flags = $build_warnings" 6>&1
13365 # Check whether --enable-sim-build-warnings was given.
13366 if test "${enable_sim_build_warnings+set}" = set; then :
13367 enableval
=$enable_sim_build_warnings; case "${enableval}" in
13369 no
) build_warnings
="-w";;
13370 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13371 build_warnings
="${build_warnings} ${t}";;
13372 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13373 build_warnings
="${t} ${build_warnings}";;
13374 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13376 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13377 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
13381 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
13384 $as_echo_n "checking compiler warning flags... " >&6; }
13385 # Separate out the -Werror flag as some files just cannot be
13386 # compiled with it enabled.
13387 for w
in ${build_warnings}; do
13389 -Werr*) WERROR_CFLAGS
=-Werror ;;
13390 *) # Check that GCC accepts it
13391 saved_CFLAGS
="$CFLAGS"
13392 CFLAGS
="$CFLAGS $w"
13393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13404 if ac_fn_c_try_compile
"$LINENO"; then :
13405 WARN_CFLAGS
="${WARN_CFLAGS} $w"
13407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13408 CFLAGS
="$saved_CFLAGS"
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
13412 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
13416 if test x"yes" = x"yes"; then
13424 hardware="cfi core pal glue
"
13426 hardware="$hardware \
13459 sim_hw_cflags="-DWITH_HW=1"
13461 sim_hw_objs="\$
(SIM_COMMON_HW_OBJS
) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
13462 # Check whether --enable-sim-hardware was given.
13463 if test "${enable_sim_hardware+set}" = set; then :
13464 enableval=$enable_sim_hardware;
13465 case "${enableval}" in
13466 yes) sim_hw_p=yes;;
13468 ,*) sim_hw_p=yes; hardware="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
13469 *,) sim_hw_p=yes; hardware="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
13470 *) sim_hw_p=yes; hardware="`echo ${enableval} | sed -e 's/,/ /'`"'';;
13472 if test "$sim_hw_p" != yes; then
13474 sim_hw_cflags="-DWITH_HW=0"
13477 sim_hw_cflags="-DWITH_HW=1"
13478 # remove duplicates
13480 sim_hw_objs="\$
(SIM_COMMON_HW_OBJS
)"
13481 for i in $hardware ; do
13482 case " $sim_hw " in
13484 *) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-
$i.o
";;
13488 if test x"$silent" != x"yes" && test "$sim_hw_p" = "yes"; then
13489 echo "Setting hardware to
$sim_hw_cflags, $sim_hw, $sim_hw_objs"
13493 if test "$sim_hw_p" != yes; then
13495 sim_hw_cflags="-DWITH_HW=0"
13498 if test x"$silent" != x"yes"; then
13499 echo "Setting hardware to
$sim_hw_cflags, $sim_hw, $sim_hw_objs"
13503 case " $hardware " in
13504 *" cfi
"*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for log2
in -lm" >&5
13505 $as_echo_n "checking
for log2
in -lm...
" >&6; }
13506 if test "${ac_cv_lib_m_log2+set}" = set; then :
13507 $as_echo_n "(cached
) " >&6
13509 ac_check_lib_save_LIBS=$LIBS
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13514 /* Override any GCC internal prototype to avoid an error.
13515 Use char because int might match the return type of a GCC
13516 builtin and then its argument prototype would still apply. */
13529 if ac_fn_c_try_link "$LINENO"; then :
13530 ac_cv_lib_m_log2=yes
13532 ac_cv_lib_m_log2=no
13534 rm -f core conftest.err conftest.$ac_objext \
13535 conftest$ac_exeext conftest.$ac_ext
13536 LIBS=$ac_check_lib_save_LIBS
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_m_log2" >&5
13539 $as_echo "$ac_cv_lib_m_log2" >&6; }
13540 if test "x
$ac_cv_lib_m_log2" = x""yes; then :
13541 cat >>confdefs.h <<_ACEOF
13542 #define HAVE_LIBM 1
13552 for ac_func in getuid getgid geteuid getegid setuid setgid mmap munmap kill pread
13554 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13556 eval as_val=\$$as_ac_var
13557 if test "x
$as_val" = x""yes; then :
13558 cat >>confdefs.h <<_ACEOF
13559 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13574 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
13575 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13576 eval as_val=\$$as_ac_Header
13577 if test "x
$as_val" = x""yes; then :
13578 cat >>confdefs.h <<_ACEOF
13579 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
13587 BFIN_SIM_EXTRA_OBJS=
13593 cat >>confdefs.h <<_ACEOF
13594 #define HAVE_DV_SOCKSER 1
13597 BFIN_SIM_EXTRA_OBJS="${BFIN_SIM_EXTRA_OBJS} dv-sockser.o
"
13601 BFIN_SIM_EXTRA_OBJS=${BFIN_SIM_EXTRA_OBJS}
13611 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
13612 if test -n "$ac_tool_prefix"; then
13613 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
13614 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13616 $as_echo_n "checking
for $ac_word...
" >&6; }
13617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13618 $as_echo_n "(cached
) " >&6
13620 case $PKG_CONFIG in
13622 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13626 for as_dir in $PATH
13629 test -z "$as_dir" && as_dir=.
13630 for ac_exec_ext in '' $ac_executable_extensions; do
13631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13632 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13643 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13644 if test -n "$PKG_CONFIG"; then
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $PKG_CONFIG" >&5
13646 $as_echo "$PKG_CONFIG" >&6; }
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13649 $as_echo "no
" >&6; }
13654 if test -z "$ac_cv_path_PKG_CONFIG"; then
13655 ac_pt_PKG_CONFIG=$PKG_CONFIG
13656 # Extract the first word of "pkg-config
", so it can be a program name with args.
13657 set dummy pkg-config; ac_word=$2
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13659 $as_echo_n "checking
for $ac_word...
" >&6; }
13660 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13661 $as_echo_n "(cached
) " >&6
13663 case $ac_pt_PKG_CONFIG in
13665 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13669 for as_dir in $PATH
13672 test -z "$as_dir" && as_dir=.
13673 for ac_exec_ext in '' $ac_executable_extensions; do
13674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13675 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13686 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13687 if test -n "$ac_pt_PKG_CONFIG"; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_pt_PKG_CONFIG" >&5
13689 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13692 $as_echo "no
" >&6; }
13695 if test "x
$ac_pt_PKG_CONFIG" = x; then
13698 case $cross_compiling:$ac_tool_warned in
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
13701 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
13702 ac_tool_warned=yes ;;
13704 PKG_CONFIG=$ac_pt_PKG_CONFIG
13707 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13711 if test -n "$PKG_CONFIG"; then
13712 _pkg_min_version=0.9.0
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is
at least version
$_pkg_min_version" >&5
13714 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
13715 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13717 $as_echo "yes" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13720 $as_echo "no
" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for SDL
" >&5
13727 $as_echo_n "checking
for SDL...
" >&6; }
13729 if test -n "$SDL_CFLAGS"; then
13730 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
13731 elif test -n "$PKG_CONFIG"; then
13732 if test -n "$PKG_CONFIG" && \
13733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \
$PKG_CONFIG --exists --print-errors \"sdl
\""; } >&5
13734 ($PKG_CONFIG --exists --print-errors "sdl
") 2>&5
13736 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
13737 test $ac_status = 0; }; then
13738 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl
" 2>/dev/null`
13739 test "x$?
" != "x0
" && pkg_failed=yes
13746 if test -n "$SDL_LIBS"; then
13747 pkg_cv_SDL_LIBS="$SDL_LIBS"
13748 elif test -n "$PKG_CONFIG"; then
13749 if test -n "$PKG_CONFIG" && \
13750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \
$PKG_CONFIG --exists --print-errors \"sdl
\""; } >&5
13751 ($PKG_CONFIG --exists --print-errors "sdl
") 2>&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
13754 test $ac_status = 0; }; then
13755 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl
" 2>/dev/null`
13756 test "x$?
" != "x0
" && pkg_failed=yes
13766 if test $pkg_failed = yes; then
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13768 $as_echo "no
" >&6; }
13770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13771 _pkg_short_errors_supported=yes
13773 _pkg_short_errors_supported=no
13775 if test $_pkg_short_errors_supported = yes; then
13776 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl
" 2>&1`
13778 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl
" 2>&1`
13780 # Put the nasty error message in config.log where it belongs
13781 echo "$SDL_PKG_ERRORS" >&5
13784 elif test $pkg_failed = untried; then
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13786 $as_echo "no
" >&6; }
13789 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
13790 SDL_LIBS=$pkg_cv_SDL_LIBS
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13792 $as_echo "yes" >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlopen
in -ldl" >&5
13795 $as_echo_n "checking
for dlopen
in -ldl...
" >&6; }
13796 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13797 $as_echo_n "(cached
) " >&6
13799 ac_check_lib_save_LIBS=$LIBS
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13804 /* Override any GCC internal prototype to avoid an error.
13805 Use char because int might match the return type of a GCC
13806 builtin and then its argument prototype would still apply. */
13819 if ac_fn_c_try_link "$LINENO"; then :
13820 ac_cv_lib_dl_dlopen=yes
13822 ac_cv_lib_dl_dlopen=no
13824 rm -f core conftest.err conftest.$ac_objext \
13825 conftest$ac_exeext conftest.$ac_ext
13826 LIBS=$ac_check_lib_save_LIBS
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_dl_dlopen" >&5
13829 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13830 if test "x
$ac_cv_lib_dl_dlopen" = x""yes; then :
13832 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
13836 SDL_CFLAGS= SDL_LIBS=
13845 ac_sources="$sim_link_files"
13846 ac_dests="$sim_link_links"
13847 while test -n "$ac_sources"; do
13848 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
13849 set $ac_sources; ac_source=$1; shift; ac_sources=$*
13850 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
13852 ac_config_links="$ac_config_links $ac_config_links_1"
13855 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
13856 cgen_breaks="break cgen_rtx_error
";
13859 ac_config_files="$ac_config_files Makefile.sim
:Makefile.
in"
13861 ac_config_files="$ac_config_files Make-common.sim
:..
/common
/Make-common.
in"
13863 ac_config_files="$ac_config_files .gdbinit
:..
/common
/gdbinit.
in"
13865 ac_config_commands="$ac_config_commands Makefile
"
13867 ac_config_commands="$ac_config_commands stamp-h
"
13869 cat >confcache <<\_ACEOF
13870 # This file is a shell script that caches the results of configure
13871 # tests run on this system so they can be shared between configure
13872 # scripts and configure runs, see configure's option --config-cache.
13873 # It is not useful on other systems. If it contains results you don't
13874 # want to keep, you may remove or edit it.
13876 # config.status only pays attention to the cache file if you give it
13877 # the --recheck option to rerun configure.
13879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13881 # following values.
13885 # The following way of writing the cache mishandles newlines in values,
13886 # but we know of no workaround that is simple, portable, and efficient.
13887 # So, we kill variables containing newlines.
13888 # Ultrix sh set writes to stderr and can't be redirected directly,
13889 # and sets the high bit in the cache file unless we assign to the vars.
13891 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13892 eval ac_val=\$$ac_var
13896 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13897 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13900 _ | IFS | as_nl) ;; #(
13901 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13902 *) { eval $ac_var=; unset $ac_var;} ;;
13908 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13909 *${as_nl}ac_space=\ *)
13910 # `set' does not quote correctly, so add quotes: double-quote
13911 # substitution turns \\\\ into \\, and sed turns \\ into \.
13914 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13917 # `set' quotes correctly as required by POSIX, so do not add quotes.
13918 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13929 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13931 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13932 if test -w "$cache_file"; then
13933 test "x
$cache_file" != "x
/dev
/null
" &&
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13935 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13936 cat confcache >$cache_file
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13939 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13944 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13945 # Let make expand exec_prefix.
13946 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13948 DEFS=-DHAVE_CONFIG_H
13952 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
13953 # 1. Remove the extension, and $U if already installed.
13954 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13955 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13957 # will be set to the directory where LIBOBJS objects are built.
13958 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
13959 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
13961 LIBOBJS=$ac_libobjs
13963 LTLIBOBJS=$ac_ltlibobjs
13966 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
13967 as_fn_error "conditional
\"GMAKE
\" was never defined.
13968 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
13970 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
13971 as_fn_error "conditional
\"PLUGINS
\" was never defined.
13972 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
13976 : ${CONFIG_STATUS=./config.status}
13978 ac_clean_files_save=$ac_clean_files
13979 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
13981 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
13983 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13985 # Generated by $as_me.
13986 # Run this file to recreate the current configuration.
13987 # Compiler output produced by configure, useful for debugging
13988 # configure, is in config.log if it exists.
13991 ac_cs_recheck=false
13994 SHELL=\${CONFIG_SHELL-$SHELL}
13997 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13998 ## -------------------- ##
13999 ## M4sh Initialization. ##
14000 ## -------------------- ##
14002 # Be more Bourne compatible
14003 DUALCASE=1; export DUALCASE # for MKS sh
14004 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14007 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14008 # is contrary to our usage. Disable this feature.
14009 alias -g '${1+"$@"}'='"$@
"'
14010 setopt NO_GLOB_SUBST
14012 case `(set -o) 2>/dev/null` in #(
14024 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14025 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14026 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14027 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14028 # Prefer a ksh shell builtin over an external printf program on Solaris,
14029 # but without wasting forks for bash or zsh.
14030 if test -z "$BASH_VERSION$ZSH_VERSION" \
14031 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
14032 as_echo='print -r --'
14033 as_echo_n='print -rn --'
14034 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
14035 as_echo='printf %s\n'
14036 as_echo_n='printf %s'
14038 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14039 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14040 as_echo_n='/usr/ucb/echo -n'
14042 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14043 as_echo_n_body='eval
14047 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14048 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14050 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14052 export as_echo_n_body
14053 as_echo_n='sh -c $as_echo_n_body as_echo'
14055 export as_echo_body
14056 as_echo='sh -c $as_echo_body as_echo'
14059 # The user is always right.
14060 if test "${PATH_SEPARATOR+set}" != set; then
14062 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14063 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14070 # We need space, tab and new line, in precisely that order. Quoting is
14071 # there to prevent editors from complaining about space-tab.
14072 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14073 # splitting by setting IFS to empty value.)
14076 # Find who we are. Look in the path if we contain no directory separator.
14078 *[\\/]* ) as_myself=$0 ;;
14079 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14080 for as_dir in $PATH
14083 test -z "$as_dir" && as_dir=.
14084 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14090 # We did not find ourselves, most probably we were run as `sh COMMAND'
14091 # in which case we are not to be found in the path.
14092 if test "x
$as_myself" = x; then
14095 if test ! -f "$as_myself"; then
14096 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14100 # Unset variables that we do not need and which cause bugs (e.g. in
14101 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
14102 # suppresses any "Segmentation fault
" message there. '((' could
14103 # trigger a bug in pdksh 5.2.14.
14104 for as_var in BASH_ENV ENV MAIL MAILPATH
14105 do eval test x\${$as_var+set} = xset \
14106 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14119 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14122 # as_fn_error ERROR [LINENO LOG_FD]
14123 # ---------------------------------
14124 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
14125 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14126 # script with status $?, using 1 if that was 0.
14129 as_status=$?; test $as_status -eq 0 && as_status=1
14131 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14132 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
14134 $as_echo "$as_me: error
: $1" >&2
14135 as_fn_exit $as_status
14139 # as_fn_set_status STATUS
14140 # -----------------------
14141 # Set $? to STATUS, without forking.
14142 as_fn_set_status ()
14145 } # as_fn_set_status
14147 # as_fn_exit STATUS
14148 # -----------------
14149 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14153 as_fn_set_status $1
14159 # Portably unset VAR.
14162 { eval $1=; unset $1;}
14164 as_unset=as_fn_unset
14165 # as_fn_append VAR VALUE
14166 # ----------------------
14167 # Append the text in VALUE to the end of the definition contained in VAR. Take
14168 # advantage of any shell optimizations that allow amortized linear growth over
14169 # repeated appends, instead of the typical quadratic growth present in naive
14171 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
14172 eval 'as_fn_append ()
14183 # as_fn_arith ARG...
14184 # ------------------
14185 # Perform arithmetic evaluation on the ARGs, and store the result in the
14186 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14187 # must be portable across $(()) and expr.
14188 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
14189 eval 'as_fn_arith ()
14196 as_val=`expr "$@
" || test $? -eq 1`
14201 if expr a : '\(a\)' >/dev/null 2>&1 &&
14202 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14208 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14209 as_basename=basename
14214 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14220 as_me=`$as_basename -- "$0" ||
14221 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14222 X"$0" : 'X\(//\)$' \| \
14223 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14225 sed '/^.*\/\([^/][^/]*\)\/*$/{
14239 # Avoid depending upon Character Ranges.
14240 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14241 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14242 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14243 as_cr_digits='0123456789'
14244 as_cr_alnum=$as_cr_Letters$as_cr_digits
14246 ECHO_C= ECHO_N= ECHO_T=
14247 case `echo -n x` in #(((((
14249 case `echo 'xy\c'` in
14250 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14252 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14259 rm -f conf$$ conf$$.exe conf$$.file
14260 if test -d conf$$.dir; then
14261 rm -f conf$$.dir/conf$$.file
14264 mkdir conf$$.dir 2>/dev/null
14266 if (echo >conf$$.file) 2>/dev/null; then
14267 if ln -s conf$$.file conf$$ 2>/dev/null; then
14269 # ... but there are two gotchas:
14270 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14271 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14272 # In both cases, we have to default to `cp -p'.
14273 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14275 elif ln conf$$.file conf$$ 2>/dev/null; then
14283 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14284 rmdir conf$$.dir 2>/dev/null
14289 # Create "$as_dir" as a directory, including parents if necessary.
14294 -*) as_dir=./$as_dir;;
14296 test -d "$as_dir" || eval $as_mkdir_p || {
14300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
14301 *) as_qdir=$as_dir;;
14303 as_dirs="'$as_qdir' $as_dirs"
14304 as_dir=`$as_dirname -- "$as_dir" ||
14305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14306 X"$as_dir" : 'X\(//\)[^/]' \| \
14307 X"$as_dir" : 'X\(//\)$' \| \
14308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14309 $as_echo X"$as_dir" |
14310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14314 /^X\(\/\/\)[^/].*/{
14327 test -d "$as_dir" && break
14329 test -z "$as_dirs" || eval "mkdir
$as_dirs"
14330 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
14334 if mkdir -p . 2>/dev/null; then
14335 as_mkdir_p='mkdir -p "$as_dir"'
14337 test -d ./-p && rmdir ./-p
14341 if test -x / >/dev/null 2>&1; then
14342 as_test_x='test -x'
14344 if ls -dL / >/dev/null 2>&1; then
14351 if test -d "$1"; then
14357 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14358 ???[sx]*):;;*)false;;esac;fi
14362 as_executable_p=$as_test_x
14364 # Sed expression to map a string onto a valid CPP name.
14365 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14367 # Sed expression to map a string onto a valid variable name.
14368 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14372 ## ----------------------------------- ##
14373 ## Main body of $CONFIG_STATUS script. ##
14374 ## ----------------------------------- ##
14376 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14379 # Save the log message, to keep $0 and so on meaningful, and to
14380 # report actual input values of CONFIG_FILES etc. instead of their
14381 # values after options handling.
14383 This
file was extended by
$as_me, which was
14384 generated by GNU Autoconf
2.64. Invocation
command line was
14386 CONFIG_FILES
= $CONFIG_FILES
14387 CONFIG_HEADERS
= $CONFIG_HEADERS
14388 CONFIG_LINKS
= $CONFIG_LINKS
14389 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14392 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14397 case $ac_config_files in *"
14398 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14401 case $ac_config_headers in *"
14402 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14407 # Files that config.status was made for.
14408 config_files="$ac_config_files"
14409 config_headers="$ac_config_headers"
14410 config_links="$ac_config_links"
14411 config_commands="$ac_config_commands"
14415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14417 \
`$as_me' instantiates files and other configuration actions
14418 from templates according to the current configuration. Unless the files
14419 and actions are specified as TAGs, all are instantiated by default.
14421 Usage: $0 [OPTION]... [TAG]...
14423 -h, --help print this help, then exit
14424 -V, --version print version number and configuration settings, then exit
14425 -q, --quiet, --silent
14426 do not print progress messages
14427 -d, --debug don't remove temporary files
14428 --recheck update $as_me by reconfiguring in the same conditions
14429 --file=FILE[:TEMPLATE]
14430 instantiate the configuration file FILE
14431 --header=FILE[:TEMPLATE]
14432 instantiate the configuration header FILE
14434 Configuration files:
14437 Configuration headers:
14440 Configuration links:
14443 Configuration commands:
14446 Report bugs to the package provider."
14449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14452 configured by $0, generated by GNU Autoconf 2.64,
14453 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14455 Copyright (C) 2009 Free Software Foundation, Inc.
14456 This config.status script is free software; the Free Software Foundation
14457 gives unlimited permission to copy, distribute and modify it."
14463 test -n "\$AWK" || AWK=awk
14466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14467 # The default lists apply if the user does not specify any file.
14473 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14474 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14485 # Handling of the options.
14486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14488 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14489 $as_echo "$ac_cs_version"; exit ;;
14490 --debug | --debu | --deb | --de | --d | -d )
14492 --file | --fil | --fi | --f )
14495 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14497 as_fn_append CONFIG_FILES " '$ac_optarg'"
14498 ac_need_defaults=false;;
14499 --header | --heade | --head | --hea )
14502 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14504 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14505 ac_need_defaults=false;;
14507 # Conflict between --help and --header
14508 as_fn_error "ambiguous option: \`$1'
14509 Try \`$0 --help' for more information.
";;
14510 --help | --hel | -h )
14511 $as_echo "$ac_cs_usage"; exit ;;
14512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14513 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14516 # This is an error.
14517 -*) as_fn_error "unrecognized option
: \
`$1'
14518 Try \`$0 --help' for more information." ;;
14520 *) as_fn_append ac_config_targets " $1"
14521 ac_need_defaults=false ;;
14527 ac_configure_extra_args=
14529 if $ac_cs_silent; then
14531 ac_configure_extra_args="$ac_configure_extra_args --silent"
14535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14536 if \$ac_cs_recheck; then
14537 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14539 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14540 CONFIG_SHELL='$SHELL'
14541 export CONFIG_SHELL
14546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14550 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14551 ## Running $as_me. ##
14557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14561 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
14564 # The HP-UX ksh and POSIX shell print the target directory to stdout
14565 # if CDPATH is set.
14566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14568 sed_quote_subst='$sed_quote_subst'
14569 double_quote_subst='$double_quote_subst'
14570 delay_variable_subst='$delay_variable_subst'
14571 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14572 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14573 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14574 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14575 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14576 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14577 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14578 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14579 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14580 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14581 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14582 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14583 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14584 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14585 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14586 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14587 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14588 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14589 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14590 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14591 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14592 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14593 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14594 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14595 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14596 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14597 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14598 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14599 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14600 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14601 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14602 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14603 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14604 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14605 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14606 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14607 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14608 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14609 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14610 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14611 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14612 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14613 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14614 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14615 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14616 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14617 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14618 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14619 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"`'
14620 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14621 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14622 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14623 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14624 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14625 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14626 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14627 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14628 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14629 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14630 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14631 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14632 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14633 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14634 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14635 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14636 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14637 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14638 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14639 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14640 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14641 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14642 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14643 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14644 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14645 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14646 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14647 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14648 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14649 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14650 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14651 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14652 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14653 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14654 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14655 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14656 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14657 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14658 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14659 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14660 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14661 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14662 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14663 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14664 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14665 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14666 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14667 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14668 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14669 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14670 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14671 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14672 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14673 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14674 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14675 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14676 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14677 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14678 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14679 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14680 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14681 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14682 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14683 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14684 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14685 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14686 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14687 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14688 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14689 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14690 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14693 LTCFLAGS='$LTCFLAGS'
14694 compiler='$compiler_DEFAULT'
14696 # A function that is used when there is no print builtin or printf.
14697 func_fallback_echo ()
14699 eval 'cat <<_LTECHO_EOF
14704 # Quote evaled strings.
14718 deplibs_check_method \
14727 lt_cv_sys_global_symbol_pipe \
14728 lt_cv_sys_global_symbol_to_cdecl \
14729 lt_cv_sys_global_symbol_to_c_name_address \
14730 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14731 lt_prog_compiler_no_builtin_flag \
14732 lt_prog_compiler_wl \
14733 lt_prog_compiler_pic \
14734 lt_prog_compiler_static \
14735 lt_cv_prog_compiler_c_o \
14743 export_dynamic_flag_spec \
14744 whole_archive_flag_spec \
14745 compiler_needs_object \
14747 allow_undefined_flag \
14748 no_undefined_flag \
14749 hardcode_libdir_flag_spec \
14750 hardcode_libdir_flag_spec_ld \
14751 hardcode_libdir_separator \
14756 variables_saved_for_relink \
14758 library_names_spec \
14760 install_override_mode \
14764 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14765 *[\\\\\\\`\\"\\\$]*)
14766 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14769 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14774 # Double-quote double-evaled strings.
14775 for var in reload_cmds \
14776 old_postinstall_cmds \
14777 old_postuninstall_cmds \
14779 extract_expsyms_cmds \
14780 old_archive_from_new_cmds \
14781 old_archive_from_expsyms_cmds \
14783 archive_expsym_cmds \
14785 module_expsym_cmds \
14786 export_symbols_cmds \
14789 postuninstall_cmds \
14791 sys_lib_search_path_spec \
14792 sys_lib_dlsearch_path_spec; do
14793 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14794 *[\\\\\\\`\\"\\\$]*)
14795 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14798 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14803 ac_aux_dir='$ac_aux_dir'
14804 xsi_shell='$xsi_shell'
14805 lt_shell_append='$lt_shell_append'
14807 # See if we are running on zsh, and set the options which allow our
14808 # commands through without removal of \ escapes INIT.
14809 if test -n "\${ZSH_VERSION+set}" ; then
14810 setopt NO_GLOB_SUBST
14816 TIMESTAMP='$TIMESTAMP'
14825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14827 # Handling of arguments.
14828 for ac_config_target
in $ac_config_targets
14830 case $ac_config_target in
14831 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14832 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
14833 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14834 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
14835 "Makefile.sim") CONFIG_FILES
="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
14836 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
14837 ".gdbinit") CONFIG_FILES
="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
14838 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
14839 "stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS stamp-h" ;;
14841 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14846 # If the user did not use the arguments to specify the items to instantiate,
14847 # then the envvar interface is used. Set only those that are not.
14848 # We use the long form for the default assignment because of an extremely
14849 # bizarre bug on SunOS 4.1.3.
14850 if $ac_need_defaults; then
14851 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14852 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14853 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
14854 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14857 # Have a temporary directory for convenience. Make it in the build tree
14858 # simply because there is no reason against having it here, and in addition,
14859 # creating and moving files from /tmp can sometimes cause problems.
14860 # Hook for its removal unless debugging.
14861 # Note that there is a small window in which the directory will not be cleaned:
14862 # after its creation but before its name has been assigned to `$tmp'.
14866 trap 'exit_status=$?
14867 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14869 trap 'as_fn_exit 1' 1 2 13 15
14871 # Create a (secure) tmp directory for tmp files.
14874 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14875 test -n "$tmp" && test -d "$tmp"
14878 tmp
=.
/conf$$
-$RANDOM
14879 (umask 077 && mkdir
"$tmp")
14880 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14882 # Set up the scripts for CONFIG_FILES section.
14883 # No need to generate them if there are no CONFIG_FILES.
14884 # This happens for instance with `./config.status config.h'.
14885 if test -n "$CONFIG_FILES"; then
14888 ac_cr
=`echo X | tr X '\015'`
14889 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14890 # But we know of no other shell where ac_cr would be empty at this
14891 # point, so we can use a bashism as a fallback.
14892 if test "x$ac_cr" = x
; then
14893 eval ac_cr
=\$
\'\\r
\'
14895 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14896 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14899 ac_cs_awk_cr
=$ac_cr
14902 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14907 echo "cat >conf$$subs.awk <<_ACEOF" &&
14908 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14910 } >conf$$subs.sh ||
14911 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14912 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14914 for ac_last_try in false false false false false :; do
14915 . ./conf$$subs.sh ||
14916 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14918 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14919 if test $ac_delim_n = $ac_delim_num; then
14921 elif $ac_last_try; then
14922 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14924 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14927 rm -f conf$$subs.sh
14929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14930 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14934 s/^/S["/; s
/!.
*/"]=/
14944 s/\(.\{148\}\).*/\1/
14946 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14951 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14958 s/\(.\{148\}\).*/\1/
14960 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14964 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14969 ' <conf$$subs.awk | sed '
14974 ' >>$CONFIG_STATUS || ac_write_fail=1
14975 rm -f conf$$subs.awk
14976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14978 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14979 for (key in S) S_is_set[key] = 1
14985 nfields = split(line, field, "@
")
14987 len = length(field[1])
14988 for (i = 2; i < nfields; i++) {
14990 keylen = length(key)
14991 if (S_is_set[key]) {
14993 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14994 len += length(value) + length(field[++i])
15005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15006 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15007 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15010 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15011 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15014 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15015 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15016 # trailing colons and then remove the whole line if VPATH becomes empty
15017 # (actually we leave an empty line to preserve line numbers).
15018 if test "x
$srcdir" = x.; then
15019 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15020 s/:*\$(srcdir):*/:/
15021 s/:*\${srcdir}:*/:/
15023 s/^\([^=]*=[ ]*\):*/\1/
15029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15030 fi # test -n "$CONFIG_FILES"
15032 # Set up the scripts for CONFIG_HEADERS section.
15033 # No need to generate them if there are no CONFIG_HEADERS.
15034 # This happens for instance with `./config.status Makefile'.
15035 if test -n "$CONFIG_HEADERS"; then
15036 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15040 # Transform confdefs.h into an awk script `defines.awk', embedded as
15041 # here-document in config.status, that substitutes the proper values into
15042 # config.h.in to produce config.h.
15044 # Create a delimiter string that does not exist in confdefs.h, to ease
15045 # handling of long lines.
15047 for ac_last_try in false false :; do
15048 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15049 if test -z "$ac_t"; then
15051 elif $ac_last_try; then
15052 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15054 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15058 # For the awk script, D is an array of macro values keyed by name,
15059 # likewise P contains macro parameters if any. Preserve backslash
15060 # newline sequences.
15062 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15064 s/.\{148\}/&'"$ac_delim"'/g
15067 s/^[ ]*#[ ]*define[ ][ ]*/ /
15074 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15076 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15080 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15081 D["\
1"]=" \
3\\\\\\n
"\\/p
15083 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15088 s/.\{148\}/&'"$ac_delim"'/g
15093 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15096 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15098 ' <confdefs.h | sed '
15099 s/'"$ac_delim"'/"\\\
15100 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15103 for (key in D) D_is_set[key] = 1
15106 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15108 split(line, arg, " ")
15109 if (arg[1] == "#") {
15113 defundef
= substr
(arg
[1], 2)
15116 split(mac1
, mac2
, "(") #)
15118 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15119 if (D_is_set
[macro
]) {
15120 # Preserve the white space surrounding the "#".
15121 print prefix
"define", macro P
[macro
] D
[macro
]
15124 # Replace #undef with comments. This is necessary, for example,
15125 # in the case of _POSIX_SOURCE, which is predefined and required
15126 # on some systems where configure will not decide to define it.
15127 if (defundef
== "undef") {
15128 print
"/*", prefix defundef
, macro
, "*/"
15136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15137 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15138 fi # test -n "$CONFIG_HEADERS"
15141 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
15146 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15148 case $ac_mode$ac_tag in
15150 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15151 :[FH
]-) ac_tag
=-:-;;
15152 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15169 -) ac_f
="$tmp/stdin";;
15170 *) # Look for the file first in the build tree, then in the source tree
15171 # (if the path is not absolute). The absolute path cannot be DOS-style,
15172 # because $ac_f cannot contain `:'.
15176 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15178 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15180 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15181 as_fn_append ac_file_inputs
" '$ac_f'"
15184 # Let's still pretend it is `configure' which instantiates (i.e., don't
15185 # use $as_me), people would be surprised to read:
15186 # /* config.h. Generated by config.status. */
15187 configure_input
='Generated from '`
15188 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15190 if test x
"$ac_file" != x-
; then
15191 configure_input
="$ac_file. $configure_input"
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15193 $as_echo "$as_me: creating $ac_file" >&6;}
15195 # Neutralize special characters interpreted by sed in replacement strings.
15196 case $configure_input in #(
15197 *\
&* |
*\|
* |
*\\* )
15198 ac_sed_conf_input
=`$as_echo "$configure_input" |
15199 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15200 *) ac_sed_conf_input
=$configure_input;;
15204 *:-:* |
*:-) cat >"$tmp/stdin" \
15205 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15210 ac_dir
=`$as_dirname -- "$ac_file" ||
15211 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15212 X"$ac_file" : 'X\(//\)[^/]' \| \
15213 X"$ac_file" : 'X\(//\)$' \| \
15214 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15215 $as_echo X"$ac_file" |
15216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15220 /^X\(\/\/\)[^/].*/{
15233 as_dir
="$ac_dir"; as_fn_mkdir_p
15237 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15239 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15240 # A ".." for each directory in $ac_dir_suffix.
15241 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15242 case $ac_top_builddir_sub in
15243 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15244 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15247 ac_abs_top_builddir
=$ac_pwd
15248 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15249 # for backward compatibility:
15250 ac_top_builddir
=$ac_top_build_prefix
15253 .
) # We are building in place.
15255 ac_top_srcdir
=$ac_top_builddir_sub
15256 ac_abs_top_srcdir
=$ac_pwd ;;
15257 [\\/]* | ?
:[\\/]* ) # Absolute name.
15258 ac_srcdir
=$srcdir$ac_dir_suffix;
15259 ac_top_srcdir
=$srcdir
15260 ac_abs_top_srcdir
=$srcdir ;;
15261 *) # Relative name.
15262 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15263 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15264 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15266 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15276 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15277 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15282 # If the template does not know about datarootdir, expand it.
15283 # FIXME: This hack should be removed a few years after 2.60.
15284 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15295 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15296 *datarootdir
*) ac_datarootdir_seen
=yes;;
15297 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15299 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15302 ac_datarootdir_hack='
15303 s&@datadir@&$datadir&g
15304 s&@docdir@&$docdir&g
15305 s&@infodir@&$infodir&g
15306 s&@localedir@&$localedir&g
15307 s&@mandir@&$mandir&g
15308 s&\\\${datarootdir}&$datarootdir&g' ;;
15312 # Neutralize VPATH when `$srcdir' = `.'.
15313 # Shell code in configure.ac might set extrasub.
15314 # FIXME: do we really want to maintain this feature?
15315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15316 ac_sed_extra="$ac_vpsub
15319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15321 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15322 s|@configure_input@|
$ac_sed_conf_input|
;t t
15323 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15324 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15325 s
&@srcdir@
&$ac_srcdir&;t t
15326 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15327 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15328 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15329 s
&@builddir@
&$ac_builddir&;t t
15330 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15331 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15332 s
&@INSTALL@
&$ac_INSTALL&;t t
15333 $ac_datarootdir_hack
15335 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15336 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15338 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15339 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15340 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15342 which seems to be undefined. Please make sure it is defined." >&5
15343 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15344 which seems to be undefined. Please make sure it is defined." >&2;}
15348 -) cat "$tmp/out" && rm -f "$tmp/out";;
15349 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15351 || as_fn_error "could not create $ac_file" "$LINENO" 5
15357 if test x"$ac_file" != x-; then
15359 $as_echo "/* $configure_input */" \
15360 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15361 } >"$tmp/config.h" \
15362 || as_fn_error "could not create $ac_file" "$LINENO" 5
15363 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15365 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15368 mv "$tmp/config.h" "$ac_file" \
15369 || as_fn_error "could not create $ac_file" "$LINENO" 5
15372 $as_echo "/* $configure_input */" \
15373 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15374 || as_fn_error "could not create -" "$LINENO" 5
15382 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
15385 # Prefer the file from the source tree if names are identical.
15386 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
15387 ac_source=$srcdir/$ac_source
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
15391 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
15393 if test ! -r "$ac_source"; then
15394 as_fn_error "$ac_source: file not found" "$LINENO" 5
15398 # Try a relative symlink, then a hard link, then a copy.
15400 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
15401 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
15403 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
15404 ln "$ac_source" "$ac_file" 2>/dev/null ||
15405 cp -p "$ac_source" "$ac_file" ||
15406 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
15409 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15410 $as_echo "$as_me: executing $ac_file commands" >&6;}
15415 case $ac_file$ac_mode in
15416 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
15419 # See if we are running on zsh, and set the options which allow our
15420 # commands through without removal of \ escapes.
15421 if test -n "${ZSH_VERSION+set}" ; then
15422 setopt NO_GLOB_SUBST
15425 cfgfile="${ofile}T"
15426 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15429 cat <<_LT_EOF >> "$cfgfile"
15432 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
15433 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15434 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15435 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15437 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15438 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15439 # Written by Gordon Matzigkeit, 1996
15441 # This file is part of GNU Libtool.
15443 # GNU Libtool is free software; you can redistribute it and/or
15444 # modify it under the terms of the GNU General Public License as
15445 # published by the Free Software Foundation; either version 2 of
15446 # the License, or (at your option) any later version.
15448 # As a special exception to the GNU General Public License,
15449 # if you distribute this file as part of a program or library that
15450 # is built using GNU Libtool, you may include this file under the
15451 # same distribution terms that you use for the rest of that program.
15453 # GNU Libtool is distributed in the hope that it will be useful,
15454 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15455 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15456 # GNU General Public License for more details.
15458 # You should have received a copy of the GNU General Public License
15459 # along with GNU Libtool; see the file COPYING. If not, a copy
15460 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15461 # obtained by writing to the Free Software Foundation, Inc.,
15462 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15465 # The names of the tagged configurations supported by this script.
15468 # ### BEGIN LIBTOOL CONFIG
15470 # Which release of libtool.m4 was used?
15471 macro_version=$macro_version
15472 macro_revision=$macro_revision
15474 # Whether or not to build shared libraries.
15475 build_libtool_libs=$enable_shared
15477 # Whether or not to build static libraries.
15478 build_old_libs=$enable_static
15480 # What type of objects to build.
15483 # Whether or not to optimize for fast installation.
15484 fast_install=$enable_fast_install
15486 # Shell to use when invoking shell scripts.
15489 # An echo program that protects backslashes.
15493 host_alias=$host_alias
15497 # The build system.
15498 build_alias=$build_alias
15502 # A sed program that does not truncate output.
15505 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15506 Xsed="\$SED -e 1s/^X//"
15508 # A grep program that handles long lines.
15514 # A literal string matcher.
15517 # A BSD- or MS-compatible name lister.
15520 # Whether we need soft or hard links.
15523 # What is the maximum length of a command?
15524 max_cmd_len=$max_cmd_len
15526 # Object file suffix (normally "o").
15529 # Executable file suffix (normally "").
15532 # whether the shell understands "unset".
15535 # turn spaces into newlines.
15538 # turn newlines into spaces.
15541 # An object symbol dumper.
15542 OBJDUMP=$lt_OBJDUMP
15544 # Method to check whether dependent libraries are shared objects.
15545 deplibs_check_method=$lt_deplibs_check_method
15547 # Command to use when deplibs_check_method == "file_magic".
15548 file_magic_cmd=$lt_file_magic_cmd
15552 AR_FLAGS=$lt_AR_FLAGS
15554 # A symbol stripping program.
15557 # Commands used to install an old-style archive.
15559 old_postinstall_cmds=$lt_old_postinstall_cmds
15560 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15562 # Whether to use a lock for old archive extraction.
15563 lock_old_archive_extraction=$lock_old_archive_extraction
15568 # LTCC compiler flags.
15569 LTCFLAGS=$lt_CFLAGS
15571 # Take the output of nm and produce a listing of raw symbols and C names.
15572 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15574 # Transform the output of nm in a proper C declaration.
15575 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15577 # Transform the output of nm in a C name address pair.
15578 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15580 # Transform the output of nm in a C name address pair when lib prefix is needed.
15581 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15583 # The name of the directory that contains temporary libtool files.
15586 # Used to examine libraries when file_magic_cmd begins with "file".
15587 MAGIC_CMD=$MAGIC_CMD
15589 # Must we lock files when doing compilation?
15590 need_locks=$lt_need_locks
15592 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15593 DSYMUTIL=$lt_DSYMUTIL
15595 # Tool to change global to local symbols on Mac OS X.
15598 # Tool to manipulate fat objects and archives on Mac OS X.
15601 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15604 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15605 OTOOL64=$lt_OTOOL64
15607 # Old archive suffix (normally "a").
15610 # Shared library suffix (normally ".so").
15611 shrext_cmds=$lt_shrext_cmds
15613 # The commands to extract the exported symbol list from a shared archive.
15614 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15616 # Variables whose values should be saved in libtool wrapper scripts and
15617 # restored at link time.
15618 variables_saved_for_relink=$lt_variables_saved_for_relink
15620 # Do we need the "lib" prefix for modules?
15621 need_lib_prefix=$need_lib_prefix
15623 # Do we need a version for libraries?
15624 need_version=$need_version
15626 # Library versioning type.
15627 version_type=$version_type
15629 # Shared library runtime path variable.
15630 runpath_var=$runpath_var
15632 # Shared library path variable.
15633 shlibpath_var=$shlibpath_var
15635 # Is shlibpath searched before the hard-coded library search path?
15636 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15638 # Format of library name prefix.
15639 libname_spec=$lt_libname_spec
15641 # List of archive names. First name is the real one, the rest are links.
15642 # The last name is the one that the linker finds with -lNAME
15643 library_names_spec=$lt_library_names_spec
15645 # The coded name of the library, if different from the real name.
15646 soname_spec=$lt_soname_spec
15648 # Permission mode override for installation of shared libraries.
15649 install_override_mode=$lt_install_override_mode
15651 # Command to use after installation of a shared archive.
15652 postinstall_cmds=$lt_postinstall_cmds
15654 # Command to use after uninstallation of a shared archive.
15655 postuninstall_cmds=$lt_postuninstall_cmds
15657 # Commands used to finish a libtool library installation in a directory.
15658 finish_cmds=$lt_finish_cmds
15660 # As "finish_cmds", except a single script fragment to be evaled but
15662 finish_eval=$lt_finish_eval
15664 # Whether we should hardcode library paths into libraries.
15665 hardcode_into_libs=$hardcode_into_libs
15667 # Compile-time system search path for libraries.
15668 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15670 # Run-time system search path for libraries.
15671 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15673 # Whether dlopen is supported.
15674 dlopen_support=$enable_dlopen
15676 # Whether dlopen of programs is supported.
15677 dlopen_self=$enable_dlopen_self
15679 # Whether dlopen of statically linked programs is supported.
15680 dlopen_self_static=$enable_dlopen_self_static
15682 # Commands to strip libraries.
15683 old_striplib=$lt_old_striplib
15684 striplib=$lt_striplib
15687 # The linker used to build libraries.
15690 # How to create reloadable object files.
15691 reload_flag=$lt_reload_flag
15692 reload_cmds=$lt_reload_cmds
15694 # Commands used to build an old-style archive.
15695 old_archive_cmds=$lt_old_archive_cmds
15697 # A language specific compiler.
15700 # Is the compiler the GNU compiler?
15703 # Compiler flag to turn off builtin functions.
15704 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15706 # How to pass a linker flag through the compiler.
15707 wl=$lt_lt_prog_compiler_wl
15709 # Additional compiler flags for building library objects.
15710 pic_flag=$lt_lt_prog_compiler_pic
15712 # Compiler flag to prevent dynamic linking.
15713 link_static_flag=$lt_lt_prog_compiler_static
15715 # Does compiler simultaneously support -c and -o options?
15716 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15718 # Whether or not to add -lc for building shared libraries.
15719 build_libtool_need_lc=$archive_cmds_need_lc
15721 # Whether or not to disallow shared libs when runtime libs are static.
15722 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15724 # Compiler flag to allow reflexive dlopens.
15725 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15727 # Compiler flag to generate shared objects directly from archives.
15728 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15730 # Whether the compiler copes with passing no objects directly.
15731 compiler_needs_object=$lt_compiler_needs_object
15733 # Create an old-style archive from a shared archive.
15734 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15736 # Create a temporary old-style archive to link instead of a shared archive.
15737 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15739 # Commands used to build a shared archive.
15740 archive_cmds=$lt_archive_cmds
15741 archive_expsym_cmds=$lt_archive_expsym_cmds
15743 # Commands used to build a loadable module if different from building
15744 # a shared archive.
15745 module_cmds=$lt_module_cmds
15746 module_expsym_cmds=$lt_module_expsym_cmds
15748 # Whether we are building with GNU ld or not.
15749 with_gnu_ld=$lt_with_gnu_ld
15751 # Flag that allows shared libraries with undefined symbols to be built.
15752 allow_undefined_flag=$lt_allow_undefined_flag
15754 # Flag that enforces no undefined symbols.
15755 no_undefined_flag=$lt_no_undefined_flag
15757 # Flag to hardcode \$libdir into a binary during linking.
15758 # This must work even if \$libdir does not exist
15759 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15761 # If ld is used when linking, flag to hardcode \$libdir into a binary
15762 # during linking. This must work even if \$libdir does not exist.
15763 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15765 # Whether we need a single "-rpath" flag with a separated argument.
15766 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15768 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15769 # DIR into the resulting binary.
15770 hardcode_direct=$hardcode_direct
15772 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15773 # DIR into the resulting binary and the resulting library dependency is
15774 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15775 # library is relocated.
15776 hardcode_direct_absolute=$hardcode_direct_absolute
15778 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15779 # into the resulting binary.
15780 hardcode_minus_L=$hardcode_minus_L
15782 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15783 # into the resulting binary.
15784 hardcode_shlibpath_var=$hardcode_shlibpath_var
15786 # Set to "yes" if building a shared library automatically hardcodes DIR
15787 # into the library and all subsequent libraries and executables linked
15789 hardcode_automatic=$hardcode_automatic
15791 # Set to yes if linker adds runtime paths of dependent libraries
15792 # to runtime path list.
15793 inherit_rpath=$inherit_rpath
15795 # Whether libtool must link a program against all its dependency libraries.
15796 link_all_deplibs=$link_all_deplibs
15798 # Fix the shell variable \$srcfile for the compiler.
15799 fix_srcfile_path=$lt_fix_srcfile_path
15801 # Set to "yes" if exported symbols are required.
15802 always_export_symbols=$always_export_symbols
15804 # The commands to list exported symbols.
15805 export_symbols_cmds=$lt_export_symbols_cmds
15807 # Symbols that should not be listed in the preloaded symbols.
15808 exclude_expsyms=$lt_exclude_expsyms
15810 # Symbols that must always be exported.
15811 include_expsyms=$lt_include_expsyms
15813 # Commands necessary for linking programs (against libraries) with templates.
15814 prelink_cmds=$lt_prelink_cmds
15816 # Specify filename containing input files.
15817 file_list_spec=$lt_file_list_spec
15819 # How to hardcode a shared library path into an executable.
15820 hardcode_action=$hardcode_action
15822 # ### END LIBTOOL CONFIG
15828 cat <<\_LT_EOF >> "$cfgfile"
15829 # AIX sometimes has problems with the GCC collect2 program. For some
15830 # reason, if we set the COLLECT_NAMES environment variable, the problems
15831 # vanish in a puff of smoke.
15832 if test "X${COLLECT_NAMES+set}" != Xset; then
15834 export COLLECT_NAMES
15841 ltmain="$ac_aux_dir/ltmain.sh"
15844 # We use sed instead of cat because bash on DJGPP gets confused if
15845 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15846 # text mode, it properly converts lines to CR/LF. This bash problem
15847 # is reportedly fixed, but why not run on old versions too?
15848 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15849 ||
(rm -f "$cfgfile"; exit 1)
15853 cat << \_LT_EOF
>> "$cfgfile"
15855 # func_dirname file append nondir_replacement
15856 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15857 # otherwise set result to NONDIR_REPLACEMENT.
15861 */*) func_dirname_result
="${1%/*}${2}" ;;
15862 * ) func_dirname_result
="${3}" ;;
15866 # func_basename file
15869 func_basename_result
="${1##*/}"
15872 # func_dirname_and_basename file append nondir_replacement
15873 # perform func_basename and func_dirname in a single function
15875 # dirname: Compute the dirname of FILE. If nonempty,
15876 # add APPEND to the result, otherwise set result
15877 # to NONDIR_REPLACEMENT.
15878 # value returned in "$func_dirname_result"
15879 # basename: Compute filename of FILE.
15880 # value retuned in "$func_basename_result"
15881 # Implementation must be kept synchronized with func_dirname
15882 # and func_basename. For efficiency, we do not delegate to
15883 # those functions but instead duplicate the functionality here.
15884 func_dirname_and_basename
()
15887 */*) func_dirname_result
="${1%/*}${2}" ;;
15888 * ) func_dirname_result
="${3}" ;;
15890 func_basename_result
="${1##*/}"
15893 # func_stripname prefix suffix name
15894 # strip PREFIX and SUFFIX off of NAME.
15895 # PREFIX and SUFFIX must not contain globbing or regex special
15896 # characters, hashes, percent signs, but SUFFIX may contain a leading
15897 # dot (in which case that matches only a dot).
15900 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15901 # positional parameters, so assign one to ordinary parameter first.
15902 func_stripname_result
=${3}
15903 func_stripname_result
=${func_stripname_result#"${1}"}
15904 func_stripname_result
=${func_stripname_result%"${2}"}
15910 func_opt_split_opt
=${1%%=*}
15911 func_opt_split_arg
=${1#*=}
15918 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15919 *) func_lo2o_result
=${1} ;;
15923 # func_xform libobj-or-source
15926 func_xform_result
=${1%.*}.lo
15929 # func_arith arithmetic-term...
15932 func_arith_result
=$
(( $
* ))
15936 # STRING may not start with a hyphen.
15939 func_len_result
=${#1}
15944 *) # Bourne compatible functions.
15945 cat << \_LT_EOF
>> "$cfgfile"
15947 # func_dirname file append nondir_replacement
15948 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15949 # otherwise set result to NONDIR_REPLACEMENT.
15952 # Extract subdirectory from the argument.
15953 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15954 if test "X$func_dirname_result" = "X${1}"; then
15955 func_dirname_result
="${3}"
15957 func_dirname_result
="$func_dirname_result${2}"
15961 # func_basename file
15964 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15968 # func_stripname prefix suffix name
15969 # strip PREFIX and SUFFIX off of NAME.
15970 # PREFIX and SUFFIX must not contain globbing or regex special
15971 # characters, hashes, percent signs, but SUFFIX may contain a leading
15972 # dot (in which case that matches only a dot).
15973 # func_strip_suffix prefix name
15977 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15978 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15983 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15984 my_sed_long_arg
='1s/^-[^=]*=//'
15989 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15990 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15996 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15999 # func_xform libobj-or-source
16002 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16005 # func_arith arithmetic-term...
16008 func_arith_result
=`expr "$@"`
16012 # STRING may not start with a hyphen.
16015 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16021 case $lt_shell_append in
16023 cat << \_LT_EOF
>> "$cfgfile"
16025 # func_append var value
16026 # Append VALUE to the end of shell variable VAR.
16034 cat << \_LT_EOF
>> "$cfgfile"
16036 # func_append var value
16037 # Append VALUE to the end of shell variable VAR.
16048 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16049 ||
(rm -f "$cfgfile"; exit 1)
16051 mv -f "$cfgfile" "$ofile" ||
16052 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16056 "Makefile":C
) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
16057 rm -f Makesim1.tmp Makesim2.tmp Makefile
16058 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim
>Makesim1.tmp
16059 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>Makesim2.tmp
16060 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
16061 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
16062 <Makefile.sim
>Makefile
16063 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
16065 "stamp-h":C
) echo > stamp-h
;;
16073 ac_clean_files
=$ac_clean_files_save
16075 test $ac_write_fail = 0 ||
16076 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16079 # configure is writing to config.log, and then calls config.status.
16080 # config.status does its own redirection, appending to config.log.
16081 # Unfortunately, on DOS this fails, as config.log is still kept open
16082 # by configure, so config.status won't be able to write to it; its
16083 # output is simply discarded. So we exec the FD to /dev/null,
16084 # effectively closing config.log, so it can be properly (re)opened and
16085 # appended to by config.status. When coming back to configure, we
16086 # need to make the FD available again.
16087 if test "$no_create" != yes; then
16089 ac_config_status_args
=
16090 test "$silent" = yes &&
16091 ac_config_status_args
="$ac_config_status_args --quiet"
16093 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16095 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16096 # would make configure fail if this is the last instruction.
16097 $ac_cs_success || as_fn_exit $?
16099 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16101 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}