2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Report bugs to <libmpx>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and libmpx about your
240 $0: system, including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error ERROR [LINENO LOG_FD]
368 # ---------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with status $?, using 1 if that was 0.
374 as_status
=$?
; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
379 $as_echo "$as_me: error: $1" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 SHELL
=${CONFIG_SHELL-/bin/sh}
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
558 # Identity of this package.
559 PACKAGE_NAME
='package-unused'
560 PACKAGE_TARNAME
='package-unused'
561 PACKAGE_VERSION
='version-unused'
562 PACKAGE_STRING
='package-unused version-unused'
563 PACKAGE_BUGREPORT
='libmpx'
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
602 ac_subst_vars
='am__EXEEXT_FALSE
624 MPX_AS_SUPPORTED_FALSE
625 MPX_AS_SUPPORTED_TRUE
644 MAINTAINER_MODE_FALSE
655 INSTALL_STRIP_PROGRAM
671 LIBMPX_SUPPORTED_FALSE
672 LIBMPX_SUPPORTED_TRUE
712 program_transform_name
725 enable_option_checking
726 enable_version_specific_runtime_libs
728 enable_maintainer_mode
736 with_gcc_major_version_only
738 ac_precious_vars
='build_alias
749 # Initialize some variables set by options.
751 ac_init_version
=false
752 ac_unrecognized_opts
=
754 # The variables have the same names as the options, with
755 # dashes changed to underlines.
763 program_transform_name
=s
,x
,x
,
771 # Installation directory options.
772 # These are left unexpanded so users can "make install exec_prefix=/foo"
773 # and all the variables that are supposed to be based on exec_prefix
774 # by default will actually change.
775 # Use braces instead of parens because sh, perl, etc. also accept them.
776 # (The list follows the same order as the GNU Coding Standards.)
777 bindir
='${exec_prefix}/bin'
778 sbindir
='${exec_prefix}/sbin'
779 libexecdir
='${exec_prefix}/libexec'
780 datarootdir
='${prefix}/share'
781 datadir
='${datarootdir}'
782 sysconfdir
='${prefix}/etc'
783 sharedstatedir
='${prefix}/com'
784 localstatedir
='${prefix}/var'
785 includedir
='${prefix}/include'
786 oldincludedir
='/usr/include'
787 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
788 infodir
='${datarootdir}/info'
793 libdir
='${exec_prefix}/lib'
794 localedir
='${datarootdir}/locale'
795 mandir
='${datarootdir}/man'
801 # If the previous option needs an argument, assign it.
802 if test -n "$ac_prev"; then
803 eval $ac_prev=\
$ac_option
809 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
813 # Accept the important Cygnus configure options, so we can diagnose typos.
815 case $ac_dashdash$ac_option in
819 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
821 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
824 -build |
--build |
--buil |
--bui |
--bu)
825 ac_prev
=build_alias
;;
826 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
827 build_alias
=$ac_optarg ;;
829 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
830 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
831 ac_prev
=cache_file
;;
832 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
833 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
834 cache_file
=$ac_optarg ;;
837 cache_file
=config.cache
;;
839 -datadir |
--datadir |
--datadi |
--datad)
841 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
842 datadir
=$ac_optarg ;;
844 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
845 |
--dataroo |
--dataro |
--datar)
846 ac_prev
=datarootdir
;;
847 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
848 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
849 datarootdir
=$ac_optarg ;;
851 -disable-* |
--disable-*)
852 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
853 # Reject names that are not valid shell variable names.
854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
855 as_fn_error
"invalid feature name: $ac_useropt"
856 ac_useropt_orig
=$ac_useropt
857 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
858 case $ac_user_opts in
862 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
863 ac_unrecognized_sep
=', ';;
865 eval enable_
$ac_useropt=no
;;
867 -docdir |
--docdir |
--docdi |
--doc |
--do)
869 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
872 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
874 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
877 -enable-* |
--enable-*)
878 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
881 as_fn_error
"invalid feature name: $ac_useropt"
882 ac_useropt_orig
=$ac_useropt
883 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884 case $ac_user_opts in
888 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
889 ac_unrecognized_sep
=', ';;
891 eval enable_
$ac_useropt=\
$ac_optarg ;;
893 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
894 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
895 |
--exec |
--exe |
--ex)
896 ac_prev
=exec_prefix
;;
897 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
898 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
899 |
--exec=* |
--exe=* |
--ex=*)
900 exec_prefix
=$ac_optarg ;;
902 -gas |
--gas |
--ga |
--g)
903 # Obsolete; use --with-gas.
906 -help |
--help |
--hel |
--he |
-h)
908 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
909 ac_init_help
=recursive
;;
910 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
911 ac_init_help
=short
;;
913 -host |
--host |
--hos |
--ho)
914 ac_prev
=host_alias
;;
915 -host=* |
--host=* |
--hos=* |
--ho=*)
916 host_alias
=$ac_optarg ;;
918 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
920 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
922 htmldir
=$ac_optarg ;;
924 -includedir |
--includedir |
--includedi |
--included |
--include \
925 |
--includ |
--inclu |
--incl |
--inc)
926 ac_prev
=includedir
;;
927 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
928 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
929 includedir
=$ac_optarg ;;
931 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
933 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
934 infodir
=$ac_optarg ;;
936 -libdir |
--libdir |
--libdi |
--libd)
938 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
941 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
942 |
--libexe |
--libex |
--libe)
943 ac_prev
=libexecdir
;;
944 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
945 |
--libexe=* |
--libex=* |
--libe=*)
946 libexecdir
=$ac_optarg ;;
948 -localedir |
--localedir |
--localedi |
--localed |
--locale)
950 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
951 localedir
=$ac_optarg ;;
953 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
954 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
955 ac_prev
=localstatedir
;;
956 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
957 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
958 localstatedir
=$ac_optarg ;;
960 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
962 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
966 # Obsolete; use --without-fp.
969 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
970 |
--no-cr |
--no-c |
-n)
973 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
974 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
977 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
978 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
979 |
--oldin |
--oldi |
--old |
--ol |
--o)
980 ac_prev
=oldincludedir
;;
981 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
982 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
983 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
984 oldincludedir
=$ac_optarg ;;
986 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
988 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
991 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
992 |
--program-pre |
--program-pr |
--program-p)
993 ac_prev
=program_prefix
;;
994 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
995 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
996 program_prefix
=$ac_optarg ;;
998 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
999 |
--program-suf |
--program-su |
--program-s)
1000 ac_prev
=program_suffix
;;
1001 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1002 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1003 program_suffix
=$ac_optarg ;;
1005 -program-transform-name |
--program-transform-name \
1006 |
--program-transform-nam |
--program-transform-na \
1007 |
--program-transform-n |
--program-transform- \
1008 |
--program-transform |
--program-transfor \
1009 |
--program-transfo |
--program-transf \
1010 |
--program-trans |
--program-tran \
1011 |
--progr-tra |
--program-tr |
--program-t)
1012 ac_prev
=program_transform_name
;;
1013 -program-transform-name=* |
--program-transform-name=* \
1014 |
--program-transform-nam=* |
--program-transform-na=* \
1015 |
--program-transform-n=* |
--program-transform-=* \
1016 |
--program-transform=* |
--program-transfor=* \
1017 |
--program-transfo=* |
--program-transf=* \
1018 |
--program-trans=* |
--program-tran=* \
1019 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1020 program_transform_name
=$ac_optarg ;;
1022 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1024 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1025 pdfdir
=$ac_optarg ;;
1027 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1029 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1032 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1033 |
-silent |
--silent |
--silen |
--sile |
--sil)
1036 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1038 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1040 sbindir
=$ac_optarg ;;
1042 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1043 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1044 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1046 ac_prev
=sharedstatedir
;;
1047 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1048 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1049 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1051 sharedstatedir
=$ac_optarg ;;
1053 -site |
--site |
--sit)
1055 -site=* |
--site=* |
--sit=*)
1058 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1060 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1061 srcdir
=$ac_optarg ;;
1063 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1064 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1065 ac_prev
=sysconfdir
;;
1066 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1067 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1068 sysconfdir
=$ac_optarg ;;
1070 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1071 ac_prev
=target_alias
;;
1072 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1073 target_alias
=$ac_optarg ;;
1075 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1078 -version |
--version |
--versio |
--versi |
--vers |
-V)
1079 ac_init_version
=: ;;
1082 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1085 as_fn_error
"invalid package name: $ac_useropt"
1086 ac_useropt_orig
=$ac_useropt
1087 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1092 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1093 ac_unrecognized_sep
=', ';;
1095 eval with_
$ac_useropt=\
$ac_optarg ;;
1097 -without-* |
--without-*)
1098 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1101 as_fn_error
"invalid package name: $ac_useropt"
1102 ac_useropt_orig
=$ac_useropt
1103 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1108 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1109 ac_unrecognized_sep
=', ';;
1111 eval with_
$ac_useropt=no
;;
1114 # Obsolete; use --with-x.
1117 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1118 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1119 ac_prev
=x_includes
;;
1120 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1121 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1122 x_includes
=$ac_optarg ;;
1124 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1125 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1126 ac_prev
=x_libraries
;;
1127 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1128 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1129 x_libraries
=$ac_optarg ;;
1131 -*) as_fn_error
"unrecognized option: \`$ac_option'
1132 Try \`$0 --help' for more information."
1136 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1137 # Reject names that are not valid shell variable names.
1138 case $ac_envvar in #(
1139 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1140 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1142 eval $ac_envvar=\
$ac_optarg
1143 export $ac_envvar ;;
1146 # FIXME: should be removed in autoconf 3.0.
1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1150 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1156 if test -n "$ac_prev"; then
1157 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1158 as_fn_error
"missing argument to $ac_option"
1161 if test -n "$ac_unrecognized_opts"; then
1162 case $enable_option_checking in
1164 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1169 # Check all directory arguments for consistency.
1170 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1171 datadir sysconfdir sharedstatedir localstatedir includedir \
1172 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1173 libdir localedir mandir
1175 eval ac_val
=\$
$ac_var
1176 # Remove trailing slashes.
1179 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1180 eval $ac_var=\
$ac_val;;
1182 # Be sure to have absolute directory names.
1184 [\\/$
]* | ?
:[\\/]* ) continue;;
1185 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1187 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target
=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x
; then
1199 if test "x$build_alias" = x
; then
1200 cross_compiling
=maybe
1201 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1211 test "$silent" = yes && exec 6>/dev
/null
1214 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di
=`ls -di .` &&
1216 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1217 as_fn_error
"working directory cannot be determined"
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 as_fn_error
"pwd does not report name of working directory"
1222 # Find the source files, if location was not specified.
1223 if test -z "$srcdir"; then
1224 ac_srcdir_defaulted
=yes
1225 # Try the directory containing this script, then the parent directory.
1226 ac_confdir
=`$as_dirname -- "$as_myself" ||
1227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1228 X"$as_myself" : 'X\(//\)[^/]' \| \
1229 X"$as_myself" : 'X\(//\)$' \| \
1230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1231 $as_echo X"$as_myself" |
1232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1254 ac_srcdir_defaulted
=no
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1258 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1260 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1264 # When building in place, set srcdir=.
1265 if test "$ac_abs_confdir" = "$ac_pwd"; then
1268 # Remove unnecessary trailing slashes from srcdir.
1269 # Double slashes in file names in object file debugging info
1270 # mess up M-x gdb in Emacs.
1272 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1274 for ac_var
in $ac_precious_vars; do
1275 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1276 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1277 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1278 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1282 # Report the --help message.
1284 if test "$ac_init_help" = "long"; then
1285 # Omit some internal or obsolete options to make the list less imposing.
1286 # This message is too long to be a string in the A/UX 3.1 sh.
1288 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1290 Usage: $0 [OPTION]... [VAR=VALUE]...
1292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1293 VAR=VALUE. See below for descriptions of some of the useful variables.
1295 Defaults for the options are specified in brackets.
1298 -h, --help display this help and exit
1299 --help=short display options specific to this package
1300 --help=recursive display the short help of all the included packages
1301 -V, --version display version information and exit
1302 -q, --quiet, --silent do not print \`checking...' messages
1303 --cache-file=FILE cache test results in FILE [disabled]
1304 -C, --config-cache alias for \`--cache-file=config.cache'
1305 -n, --no-create do not create output files
1306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1308 Installation directories:
1309 --prefix=PREFIX install architecture-independent files in PREFIX
1310 [$ac_default_prefix]
1311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1314 By default, \`make install' will install all the files in
1315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1317 for instance \`--prefix=\$HOME'.
1319 For better control, use the options below.
1321 Fine tuning of the installation directories:
1322 --bindir=DIR user executables [EPREFIX/bin]
1323 --sbindir=DIR system admin executables [EPREFIX/sbin]
1324 --libexecdir=DIR program executables [EPREFIX/libexec]
1325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1328 --libdir=DIR object code libraries [EPREFIX/lib]
1329 --includedir=DIR C header files [PREFIX/include]
1330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1333 --infodir=DIR info documentation [DATAROOTDIR/info]
1334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1335 --mandir=DIR man documentation [DATAROOTDIR/man]
1336 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1337 --htmldir=DIR html documentation [DOCDIR]
1338 --dvidir=DIR dvi documentation [DOCDIR]
1339 --pdfdir=DIR pdf documentation [DOCDIR]
1340 --psdir=DIR ps documentation [DOCDIR]
1346 --program-prefix=PREFIX prepend PREFIX to installed program names
1347 --program-suffix=SUFFIX append SUFFIX to installed program names
1348 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1351 --build=BUILD configure
for building on BUILD
[guessed
]
1352 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1353 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1357 if test -n "$ac_init_help"; then
1358 case $ac_init_help in
1359 short | recursive
) echo "Configuration of package-unused version-unused:";;
1364 --disable-option-checking ignore unrecognized
--enable/--with options
1365 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1366 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1367 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1368 --enable-multilib build many library versions
(default
)
1369 --enable-maintainer-mode enable make rules and dependencies not useful
1370 (and sometimes confusing
) to the casual installer
1371 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1372 --enable-static[=PKGS
] build static libraries
[default
=yes]
1373 --enable-fast-install[=PKGS
]
1374 optimize
for fast installation
[default
=yes]
1375 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1376 --enable-cet enable Intel CET
in target libraries
1380 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1381 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1382 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1384 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1385 --with-gcc-major-version-only
1386 use only GCC major number
in filesystem paths
1388 Some influential environment variables
:
1389 CC C compiler
command
1390 CFLAGS C compiler flags
1391 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1392 nonstandard directory
<lib dir
>
1393 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1394 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1395 you have headers
in a nonstandard directory
<include dir
>
1398 Use these variables to override the choices made by
`configure' or to help
1399 it to find libraries and programs with nonstandard names/locations.
1401 Report bugs to <libmpx>.
1406 if test "$ac_init_help" = "recursive"; then
1407 # If there are subdirs, report their specific --help.
1408 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409 test -d "$ac_dir" ||
1410 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1418 # A ".." for each directory in $ac_dir_suffix.
1419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1420 case $ac_top_builddir_sub in
1421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1425 ac_abs_top_builddir=$ac_pwd
1426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1427 # for backward compatibility:
1428 ac_top_builddir=$ac_top_build_prefix
1431 .) # We are building in place.
1433 ac_top_srcdir=$ac_top_builddir_sub
1434 ac_abs_top_srcdir=$ac_pwd ;;
1435 [\\/]* | ?:[\\/]* ) # Absolute name.
1436 ac_srcdir=$srcdir$ac_dir_suffix;
1437 ac_top_srcdir=$srcdir
1438 ac_abs_top_srcdir=$srcdir ;;
1440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1441 ac_top_srcdir=$ac_top_build_prefix$srcdir
1442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1446 cd "$ac_dir" || { ac_status=$?; continue; }
1447 # Check for guested configure.
1448 if test -f "$ac_srcdir/configure.gnu"; then
1450 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1451 elif test -f "$ac_srcdir/configure"; then
1453 $SHELL "$ac_srcdir/configure" --help=recursive
1455 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1457 cd "$ac_pwd" || { ac_status=$?; break; }
1461 test -n "$ac_init_help" && exit $ac_status
1462 if $ac_init_version; then
1464 package-unused configure version-unused
1465 generated by GNU Autoconf 2.64
1467 Copyright (C) 2009 Free Software Foundation, Inc.
1468 This configure script is free software; the Free Software Foundation
1469 gives unlimited permission to copy, distribute and modify it.
1474 ## ------------------------ ##
1475 ## Autoconf initialization. ##
1476 ## ------------------------ ##
1478 # ac_fn_c_try_compile LINENO
1479 # --------------------------
1480 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1481 ac_fn_c_try_compile ()
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 rm -f conftest.$ac_objext
1485 if { { ac_try="$ac_compile"
1487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1488 *) ac_try_echo
=$ac_try;;
1490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_compile") 2>conftest.err
1494 if test -s conftest.err
; then
1495 grep -v '^ *+' conftest.err
>conftest.er1
1496 cat conftest.er1
>&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } && {
1501 test -z "$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1503 } && test -s conftest.
$ac_objext; then :
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.
$ac_ext >&5
1511 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1514 } # ac_fn_c_try_compile
1516 # ac_fn_c_try_cpp LINENO
1517 # ----------------------
1518 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1522 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1525 *) ac_try_echo=$ac_try;;
1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1531 if test -s conftest.err; then
1532 grep -v '^ *+' conftest.err >conftest.er1
1533 cat conftest.er1 >&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } >/dev/null && {
1538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1548 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1553 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1554 # -------------------------------------------------------
1555 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1556 # the include files in INCLUDES and setting the cache variable VAR
1558 ac_fn_c_check_header_mongrel ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1563 $as_echo_n "checking for $2... " >&6; }
1564 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1565 $as_echo_n "(cached) " >&6
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1569 $as_echo "$ac_res" >&6; }
1571 # Is the header compilable?
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1573 $as_echo_n "checking $2 usability... " >&6; }
1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1575 /* end confdefs.h. */
1579 if ac_fn_c_try_compile "$LINENO"; then :
1580 ac_header_compiler=yes
1582 ac_header_compiler=no
1584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1586 $as_echo "$ac_header_compiler" >&6; }
1588 # Is the header present?
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1590 $as_echo_n "checking $2 presence... " >&6; }
1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h. */
1595 if ac_fn_c_try_cpp "$LINENO"; then :
1596 ac_header_preproc=yes
1598 ac_header_preproc=no
1600 rm -f conftest.err conftest.$ac_ext
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1602 $as_echo "$ac_header_preproc" >&6; }
1604 # So? What about this header?
1605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1608 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1610 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1614 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1616 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1618 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1620 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1622 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1624 ## --------------------- ##
1625 ## Report this to libmpx ##
1626 ## --------------------- ##
1628 ) | sed "s/^/$as_me: WARNING: /" >&2
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1634 $as_echo_n "(cached) " >&6
1636 eval "$3=\$ac_header_compiler"
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644 } # ac_fn_c_check_header_mongrel
1646 # ac_fn_c_try_run LINENO
1647 # ----------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1649 # that executables *can* be run.
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 if { { ac_try="$ac_link"
1655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1656 *) ac_try_echo
=$ac_try;;
1658 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>&5
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1664 { { case "(($ac_try" in
1665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_try") 2>&5
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; }; }; then :
1676 $as_echo "$as_me: program exited with status $ac_status" >&5
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1680 ac_retval=$ac_status
1682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1698 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1705 if ac_fn_c_try_compile "$LINENO"; then :
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 } # ac_fn_c_check_header_compile
1719 # ac_fn_c_try_link LINENO
1720 # -----------------------
1721 # Try to link conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 rm -f conftest.$ac_objext conftest$ac_exeext
1726 if { { ac_try="$ac_link"
1728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1729 *) ac_try_echo
=$ac_try;;
1731 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_link") 2>conftest.err
1735 if test -s conftest.err
; then
1736 grep -v '^ *+' conftest.err
>conftest.er1
1737 cat conftest.er1
>&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest
$ac_exeext && {
1745 test "$cross_compiling" = yes ||
1746 $as_test_x conftest
$ac_exeext
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.
$ac_ext >&5
1755 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1756 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1757 # interfere with the next link command; also delete a directory that is
1758 # left behind by Apple's compiler. We do this before executing the actions.
1759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1763 } # ac_fn_c_try_link
1765 # ac_fn_c_check_func LINENO FUNC VAR
1766 # ----------------------------------
1767 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1768 ac_fn_c_check_func
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1774 $as_echo_n "(cached) " >&6
1776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1778 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1780 #define $2 innocuous_$2
1782 /* System header to define __stub macros and hopefully few prototypes,
1783 which can conflict with char $2 (); below.
1784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1785 <limits.h> exists even on freestanding compilers. */
1788 # include <limits.h>
1790 # include <assert.h>
1795 /* Override any GCC internal prototype to avoid an error.
1796 Use char because int might match the return type of a GCC
1797 builtin and then its argument prototype would still apply. */
1802 /* The GNU C library defines this for functions which it implements
1803 to always fail with ENOSYS. Some functions are actually named
1804 something starting with __ and the normal name is an alias. */
1805 #if defined __stub_$2 || defined __stub___$2
1817 if ac_fn_c_try_link
"$LINENO"; then :
1822 rm -f core conftest.err conftest.
$ac_objext \
1823 conftest
$ac_exeext conftest.
$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1830 } # ac_fn_c_check_func
1831 cat >config.log
<<_ACEOF
1832 This file contains any messages produced by compilers while
1833 running configure, to aid debugging if configure makes a mistake.
1835 It was created by package-unused $as_me version-unused, which was
1836 generated by GNU Autoconf 2.64. Invocation command line was
1848 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1849 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1850 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1851 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1852 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1854 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1855 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1857 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1858 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1859 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1860 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1861 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1862 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1863 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir
=.
1872 $as_echo "PATH: $as_dir"
1888 # Keep a trace of the command line.
1889 # Strip out --no-create and --no-recursion so they do not pile up.
1890 # Strip out --silent because we don't want to record it for future runs.
1891 # Also quote any args containing shell meta-characters.
1892 # Make two passes to allow for proper duplicate-argument suppression.
1896 ac_must_keep_next
=false
1902 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1903 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1904 |
-silent |
--silent |
--silen |
--sile |
--sil)
1907 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1910 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1912 as_fn_append ac_configure_args1
" '$ac_arg'"
1913 if test $ac_must_keep_next = true
; then
1914 ac_must_keep_next
=false
# Got value, back to normal.
1917 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1918 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1919 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1920 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1921 case "$ac_configure_args0 " in
1922 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1925 -* ) ac_must_keep_next
=true
;;
1928 as_fn_append ac_configure_args
" '$ac_arg'"
1933 { ac_configure_args0
=; unset ac_configure_args0
;}
1934 { ac_configure_args1
=; unset ac_configure_args1
;}
1936 # When interrupted or exit'd, cleanup temporary files, and complete
1937 # config.log. We remove comments because anyway the quotes in there
1938 # would cause problems or look ugly.
1939 # WARNING: Use '\'' to represent an apostrophe within the trap.
1940 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1941 trap 'exit_status=$?
1942 # Save into config.log some information that might help in debugging.
1947 ## ---------------- ##
1948 ## Cache variables. ##
1949 ## ---------------- ##
1952 # The following way of writing the cache mishandles newlines in values,
1954 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1955 eval ac_val=\$$ac_var
1959 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1963 _ | IFS | as_nl) ;; #(
1964 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1965 *) { eval $ac_var=; unset $ac_var;} ;;
1970 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1971 *${as_nl}ac_space=\ *)
1973 "s/'\''/'\''\\\\'\'''\''/g;
1974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1985 ## ----------------- ##
1986 ## Output variables. ##
1987 ## ----------------- ##
1990 for ac_var in $ac_subst_vars
1992 eval ac_val=\$$ac_var
1994 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1996 $as_echo "$ac_var='\''$ac_val'\''"
2000 if test -n "$ac_subst_files"; then
2002 ## ------------------- ##
2003 ## File substitutions. ##
2004 ## ------------------- ##
2007 for ac_var
in $ac_subst_files
2009 eval ac_val
=\$
$ac_var
2011 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2013 $as_echo "$ac_var='\''$ac_val'\''"
2018 if test -s confdefs.h; then
2028 test "$ac_signal" != 0 &&
2029 $as_echo "$as_me: caught signal $ac_signal"
2030 $as_echo "$as_me: exit $exit_status"
2032 rm -f core *.core core.conftest.* &&
2033 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2036 for ac_signal
in 1 2 13 15; do
2037 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2041 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2042 rm -f -r conftest
* confdefs.h
2044 $as_echo "/* confdefs.h */" > confdefs.h
2046 # Predefined preprocessor variables.
2048 cat >>confdefs.h
<<_ACEOF
2049 #define PACKAGE_NAME "$PACKAGE_NAME"
2052 cat >>confdefs.h
<<_ACEOF
2053 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2056 cat >>confdefs.h
<<_ACEOF
2057 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2060 cat >>confdefs.h
<<_ACEOF
2061 #define PACKAGE_STRING "$PACKAGE_STRING"
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_URL "$PACKAGE_URL"
2073 # Let the site file select an alternate cache file if it wants to.
2074 # Prefer an explicitly selected file to automatically selected ones.
2077 if test -n "$CONFIG_SITE"; then
2078 ac_site_file1
=$CONFIG_SITE
2079 elif test "x$prefix" != xNONE
; then
2080 ac_site_file1
=$prefix/share
/config.site
2081 ac_site_file2
=$prefix/etc
/config.site
2083 ac_site_file1
=$ac_default_prefix/share
/config.site
2084 ac_site_file2
=$ac_default_prefix/etc
/config.site
2086 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2088 test "x$ac_site_file" = xNONE
&& continue
2089 if test -r "$ac_site_file"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2091 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2092 sed 's/^/| /' "$ac_site_file" >&5
2097 if test -r "$cache_file"; then
2098 # Some versions of bash will fail to source /dev/null (special
2099 # files actually), so we avoid doing that.
2100 if test -f "$cache_file"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2104 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2105 *) .
"./$cache_file";;
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2114 # Check that the precious variables saved in the cache have kept the same
2116 ac_cache_corrupted
=false
2117 for ac_var
in $ac_precious_vars; do
2118 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2119 eval ac_new_set
=\
$ac_env_${ac_var}_set
2120 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2121 eval ac_new_val
=\
$ac_env_${ac_var}_value
2122 case $ac_old_set,$ac_new_set in
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126 ac_cache_corrupted
=: ;;
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130 ac_cache_corrupted
=: ;;
2133 if test "x$ac_old_val" != "x$ac_new_val"; then
2134 # differences in whitespace do not lead to failure.
2135 ac_old_val_w
=`echo x $ac_old_val`
2136 ac_new_val_w
=`echo x $ac_new_val`
2137 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140 ac_cache_corrupted
=:
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144 eval $ac_var=\
$ac_old_val
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2147 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2152 # Pass precious variables to config.status.
2153 if test "$ac_new_set" = set; then
2155 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 *) ac_arg
=$ac_var=$ac_new_val ;;
2158 case " $ac_configure_args " in
2159 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2160 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2164 if $ac_cache_corrupted; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2176 ac_cpp
='$CPP $CPPFLAGS'
2177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2190 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2191 # Check whether --enable-version-specific-runtime-libs was given.
2192 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2193 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2194 yes) version_specific_libs
=yes ;;
2195 no
) version_specific_libs
=no
;;
2196 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2199 version_specific_libs
=no
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2203 $as_echo "$version_specific_libs" >&6; }
2205 # Do not delete or change the following two lines. For why, see
2206 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2208 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2209 for ac_t
in install-sh
install.sh shtool
; do
2210 if test -f "$ac_dir/$ac_t"; then
2212 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2217 if test -z "$ac_aux_dir"; then
2218 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2221 # These three variables are undocumented and unsupported,
2222 # and are intended to be withdrawn in a future Autoconf release.
2223 # They can cause serious problems if a builder's source tree is in a directory
2224 # whose full name contains unusual characters.
2225 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2226 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2227 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2230 # Make sure we can run config.sub.
2231 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2232 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2235 $as_echo_n "checking build system type... " >&6; }
2236 if test "${ac_cv_build+set}" = set; then :
2237 $as_echo_n "(cached) " >&6
2239 ac_build_alias
=$build_alias
2240 test "x$ac_build_alias" = x
&&
2241 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2242 test "x$ac_build_alias" = x
&&
2243 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2244 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2245 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2249 $as_echo "$ac_cv_build" >&6; }
2250 case $ac_cv_build in
2252 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2255 ac_save_IFS
=$IFS; IFS
='-'
2261 # Remember, the first character of IFS is used to create $*,
2262 # except with old shells:
2265 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2269 $as_echo_n "checking host system type... " >&6; }
2270 if test "${ac_cv_host+set}" = set; then :
2271 $as_echo_n "(cached) " >&6
2273 if test "x$host_alias" = x
; then
2274 ac_cv_host
=$ac_cv_build
2276 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2277 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2282 $as_echo "$ac_cv_host" >&6; }
2285 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2288 ac_save_IFS
=$IFS; IFS
='-'
2294 # Remember, the first character of IFS is used to create $*,
2295 # except with old shells:
2298 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2302 $as_echo_n "checking target system type... " >&6; }
2303 if test "${ac_cv_target+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2306 if test "x$target_alias" = x
; then
2307 ac_cv_target
=$ac_cv_host
2309 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2310 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2315 $as_echo "$ac_cv_target" >&6; }
2316 case $ac_cv_target in
2318 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2320 target
=$ac_cv_target
2321 ac_save_IFS
=$IFS; IFS
='-'
2327 # Remember, the first character of IFS is used to create $*,
2328 # except with old shells:
2331 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2334 # The aliases save the names the user supplied, while $host etc.
2335 # will get canonicalized.
2336 test -n "$target_alias" &&
2337 test "$program_prefix$program_suffix$program_transform_name" = \
2339 program_prefix
=${target_alias}-
2341 target_alias
=${target_alias-$host_alias}
2345 unset LIBMPX_SUPPORTED
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target support for Intel MPX runtime library" >&5
2347 $as_echo_n "checking for target support for Intel MPX runtime library... " >&6; }
2348 echo "int i[sizeof (void *) == 4 ? 1 : -1] = { __x86_64__ };" > conftest.c
2349 if { ac_try
='${CC} ${CFLAGS} -c -o conftest.o conftest.c 1>&5'
2350 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }; }
2358 LIBMPX_SUPPORTED
=yes
2360 rm -f conftest.o conftest.c
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPX_SUPPORTED" >&5
2362 $as_echo "$LIBMPX_SUPPORTED" >&6; }
2363 if test "x$LIBMPX_SUPPORTED" = "xyes"; then
2364 LIBMPX_SUPPORTED_TRUE
=
2365 LIBMPX_SUPPORTED_FALSE
='#'
2367 LIBMPX_SUPPORTED_TRUE
='#'
2368 LIBMPX_SUPPORTED_FALSE
=
2372 link_libmpx
="-lpthread"
2375 am__api_version
='1.11'
2377 # Find a good install program. We prefer a C program (faster),
2378 # so one script is as good as another. But avoid the broken or
2379 # incompatible versions:
2380 # SysV /etc/install, /usr/sbin/install
2381 # SunOS /usr/etc/install
2382 # IRIX /sbin/install
2384 # AmigaOS /C/install, which installs bootblocks on floppy discs
2385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2388 # OS/2's system install, which has a completely different semantic
2389 # ./install, which can be erroneously created by make from ./install.sh.
2390 # Reject install programs that cannot install multiple files.
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2392 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2393 if test -z "$INSTALL"; then
2394 if test "${ac_cv_path_install+set}" = set; then :
2395 $as_echo_n "(cached) " >&6
2397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir
=.
2402 # Account for people who put trailing slashes in PATH elements.
2403 case $as_dir/ in #((
2404 .
/ | .
// |
/[cC
]/* | \
2405 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2406 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2409 # OSF1 and SCO ODT 3.0 have their own names for install.
2410 # Don't use installbsd from OSF since it installs stuff as root
2412 for ac_prog
in ginstall scoinst
install; do
2413 for ac_exec_ext
in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2415 if test $ac_prog = install &&
2416 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2417 # AIX install. It has an incompatible calling convention.
2419 elif test $ac_prog = install &&
2420 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2421 # program-specific install script used by HP pwplus--don't use.
2424 rm -rf conftest.one conftest.two conftest.dir
2425 echo one
> conftest.one
2426 echo two
> conftest.two
2428 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2429 test -s conftest.one
&& test -s conftest.two
&&
2430 test -s conftest.dir
/conftest.one
&&
2431 test -s conftest.dir
/conftest.two
2433 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2446 rm -rf conftest.one conftest.two conftest.dir
2449 if test "${ac_cv_path_install+set}" = set; then
2450 INSTALL
=$ac_cv_path_install
2452 # As a last resort, use the slow shell script. Don't cache a
2453 # value for INSTALL within a source directory, because that will
2454 # break other packages using the cache if that directory is
2455 # removed, or if the value is a relative name.
2456 INSTALL
=$ac_install_sh
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2460 $as_echo "$INSTALL" >&6; }
2462 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2463 # It thinks the first close brace ends the variable substitution.
2464 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2466 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2468 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2471 $as_echo_n "checking whether build environment is sane... " >&6; }
2474 echo timestamp
> conftest.
file
2475 # Reject unsafe characters in $srcdir or the absolute working directory
2476 # name. Accept space and tab only in the latter.
2480 *[\\\"\
#\$\&\'\`$am_lf]*)
2481 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2484 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2485 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2488 # Do `set' in a subshell so we don't clobber the current shell's
2489 # arguments. Must try -L first in case configure is actually a
2490 # symlink; some systems play weird games with the mod time of symlinks
2491 # (eg FreeBSD returns the mod time of the symlink's containing
2494 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2495 if test "$*" = "X"; then
2497 set X
`ls -t "$srcdir/configure" conftest.file`
2500 if test "$*" != "X $srcdir/configure conftest.file" \
2501 && test "$*" != "X conftest.file $srcdir/configure"; then
2503 # If neither matched, then we have a broken ls. This can happen
2504 # if, for instance, CONFIG_SHELL is bash and it inherits a
2505 # broken ls alias from the environment. This has actually
2506 # happened. Such a system could not be considered "sane".
2507 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2508 alias in your environment" "$LINENO" 5
2511 test "$2" = conftest.
file
2517 as_fn_error
"newly created file is older than distributed files!
2518 Check your system clock" "$LINENO" 5
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2521 $as_echo "yes" >&6; }
2522 test "$program_prefix" != NONE
&&
2523 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2524 # Use a double $ so make ignores it.
2525 test "$program_suffix" != NONE
&&
2526 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2527 # Double any \ or $.
2528 # By default was `s,x,x', remove it if useless.
2529 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2530 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2532 # expand $ac_aux_dir to an absolute path
2533 am_aux_dir
=`cd $ac_aux_dir && pwd`
2535 if test x
"${MISSING+set}" != xset
; then
2538 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2540 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2543 # Use eval to expand $SHELL
2544 if eval "$MISSING --run true"; then
2545 am_missing_run
="$MISSING --run "
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2549 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2552 if test x
"${install_sh}" != xset
; then
2555 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2557 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2561 # Installed binaries are usually stripped using `strip' when the user
2562 # run `make install-strip'. However `strip' might not be the right
2563 # tool to use in cross-compilation environments, therefore Automake
2564 # will honor the `STRIP' environment variable to overrule this program.
2565 if test "$cross_compiling" != no
; then
2566 if test -n "$ac_tool_prefix"; then
2567 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2568 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if test "${ac_cv_prog_STRIP+set}" = set; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$STRIP"; then
2575 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 STRIP
=$ac_cv_prog_STRIP
2595 if test -n "$STRIP"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2597 $as_echo "$STRIP" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2605 if test -z "$ac_cv_prog_STRIP"; then
2607 # Extract the first word of "strip", so it can be a program name with args.
2608 set dummy strip
; ac_word
=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$ac_ct_STRIP"; then
2615 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir
=.
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_ac_ct_STRIP
="strip"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2635 if test -n "$ac_ct_STRIP"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2637 $as_echo "$ac_ct_STRIP" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2643 if test "x$ac_ct_STRIP" = x
; then
2646 case $cross_compiling:$ac_tool_warned in
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2650 ac_tool_warned
=yes ;;
2655 STRIP
="$ac_cv_prog_STRIP"
2659 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2662 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2663 if test -z "$MKDIR_P"; then
2664 if test "${ac_cv_path_mkdir+set}" = set; then :
2665 $as_echo_n "(cached) " >&6
2667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2671 test -z "$as_dir" && as_dir
=.
2672 for ac_prog
in mkdir gmkdir
; do
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2675 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2676 'mkdir (GNU coreutils) '* | \
2677 'mkdir (coreutils) '* | \
2678 'mkdir (fileutils) '4.1*)
2679 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2689 if test "${ac_cv_path_mkdir+set}" = set; then
2690 MKDIR_P
="$ac_cv_path_mkdir -p"
2692 # As a last resort, use the slow shell script. Don't cache a
2693 # value for MKDIR_P within a source directory, because that will
2694 # break other packages using the cache if that directory is
2695 # removed, or if the value is a relative name.
2696 test -d .
/--version && rmdir .
/--version
2697 MKDIR_P
="$ac_install_sh -d"
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2701 $as_echo "$MKDIR_P" >&6; }
2705 [\\/$
]* | ?
:[\\/]*) ;;
2706 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2709 for ac_prog
in gawk mawk nawk
awk
2711 # Extract the first word of "$ac_prog", so it can be a program name with args.
2712 set dummy
$ac_prog; ac_word
=$2
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if test "${ac_cv_prog_AWK+set}" = set; then :
2716 $as_echo_n "(cached) " >&6
2718 if test -n "$AWK"; then
2719 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir
=.
2726 for ac_exec_ext
in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2728 ac_cv_prog_AWK
="$ac_prog"
2729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739 if test -n "$AWK"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2741 $as_echo "$AWK" >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744 $as_echo "no" >&6; }
2748 test -n "$AWK" && break
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2752 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2754 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2755 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2756 $as_echo_n "(cached) " >&6
2758 cat >conftest.
make <<\_ACEOF
2761 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2763 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2764 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2766 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2768 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2772 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2774 $as_echo "yes" >&6; }
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2778 $as_echo "no" >&6; }
2779 SET_MAKE
="MAKE=${MAKE-make}"
2782 rm -rf .tst
2>/dev
/null
2783 mkdir .tst
2>/dev
/null
2784 if test -d .tst
; then
2789 rmdir .tst
2>/dev
/null
2791 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2792 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2793 # is not polluted with repeated "-I."
2794 am__isrc
=' -I$(srcdir)'
2795 # test to see if srcdir already configured
2796 if test -f $srcdir/config.status
; then
2797 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2801 # test whether we have cygpath
2802 if test -z "$CYGPATH_W"; then
2803 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2804 CYGPATH_W
='cygpath -w'
2811 # Define the identity of the package.
2812 PACKAGE
='package-unused'
2813 VERSION
='version-unused'
2816 cat >>confdefs.h
<<_ACEOF
2817 #define PACKAGE "$PACKAGE"
2821 cat >>confdefs.h
<<_ACEOF
2822 #define VERSION "$VERSION"
2825 # Some tools Automake needs.
2827 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2830 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2833 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2836 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2839 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2841 # We need awk for the "check" target. The system "awk" is bad on
2843 # Always define AMTAR for backward compatibility. Yes, it's still used
2844 # in the wild :-( We should find a proper way to deprecate it ...
2847 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval
=$enable_multilib; case "$enableval" in
2857 yes) multilib
=yes ;;
2859 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir
="$srcdir/$with_multisrctop../.."
2874 multi_basedir
="$srcdir/$with_multisrctop.."
2877 multi_basedir
="$srcdir/.."
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no
&& test $multilib = yes \
2884 && test "x${with_multisubdir}" != x
; then
2885 cross_compiling
=maybe
2888 ac_config_commands
="$ac_config_commands default-1"
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2892 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2893 # Check whether --enable-maintainer-mode was given.
2894 if test "${enable_maintainer_mode+set}" = set; then :
2895 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2897 USE_MAINTAINER_MODE
=no
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2901 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2902 if test $USE_MAINTAINER_MODE = yes; then
2903 MAINTAINER_MODE_TRUE
=
2904 MAINTAINER_MODE_FALSE
='#'
2906 MAINTAINER_MODE_TRUE
='#'
2907 MAINTAINER_MODE_FALSE
=
2910 MAINT
=$MAINTAINER_MODE_TRUE
2915 ac_cpp
='$CPP $CPPFLAGS'
2916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2919 if test -n "$ac_tool_prefix"; then
2920 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2921 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_CC+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC
="$CC" # Let the user override the test.
2930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir
=.
2935 for ac_exec_ext
in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CC"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2958 if test -z "$ac_cv_prog_CC"; then
2960 # Extract the first word of "gcc", so it can be a program name with args.
2961 set dummy gcc
; ac_word
=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$ac_ct_CC"; then
2968 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir
=.
2975 for ac_exec_ext
in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_ac_ct_CC
="gcc"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2988 if test -n "$ac_ct_CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2990 $as_echo "$ac_ct_CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2996 if test "x$ac_ct_CC" = x
; then
2999 case $cross_compiling:$ac_tool_warned in
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3003 ac_tool_warned
=yes ;;
3011 if test -z "$CC"; then
3012 if test -n "$ac_tool_prefix"; then
3013 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3014 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016 $as_echo_n "checking for $ac_word... " >&6; }
3017 if test "${ac_cv_prog_CC+set}" = set; then :
3018 $as_echo_n "(cached) " >&6
3020 if test -n "$CC"; then
3021 ac_cv_prog_CC
="$CC" # Let the user override the test.
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 if test -n "$CC"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3043 $as_echo "$CC" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3052 if test -z "$CC"; then
3053 # Extract the first word of "cc", so it can be a program name with args.
3054 set dummy cc
; ac_word
=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if test "${ac_cv_prog_CC+set}" = set; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC
="$CC" # Let the user override the test.
3064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir
=.
3069 for ac_exec_ext
in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3072 ac_prog_rejected
=yes
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test $ac_prog_rejected = yes; then
3084 # We found a bogon in the path, so make sure we never use it.
3085 set dummy
$ac_cv_prog_CC
3087 if test $# != 0; then
3088 # We chose a different compiler from the bogus one.
3089 # However, it has the same basename, so the bogon will be chosen
3090 # first if we set CC to just the basename; use the full file name.
3092 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3098 if test -n "$CC"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3100 $as_echo "$CC" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3108 if test -z "$CC"; then
3109 if test -n "$ac_tool_prefix"; then
3110 for ac_prog
in cl.exe
3112 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3113 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if test "${ac_cv_prog_CC+set}" = set; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$CC"; then
3120 ac_cv_prog_CC
="$CC" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3149 test -n "$CC" && break
3152 if test -z "$CC"; then
3154 for ac_prog
in cl.exe
3156 # Extract the first word of "$ac_prog", so it can be a program name with args.
3157 set dummy
$ac_prog; ac_word
=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$ac_ct_CC"; then
3164 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir
=.
3171 for ac_exec_ext
in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_ac_ct_CC
="$ac_prog"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3184 if test -n "$ac_ct_CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3186 $as_echo "$ac_ct_CC" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3193 test -n "$ac_ct_CC" && break
3196 if test "x$ac_ct_CC" = x
; then
3199 case $cross_compiling:$ac_tool_warned in
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3203 ac_tool_warned
=yes ;;
3212 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error
"no acceptable C compiler found in \$PATH
3215 See \`config.log' for more details." "$LINENO" 5; }
3217 # Provide some information about the compiler.
3218 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3221 for ac_option
in --version -v -V -qversion; do
3222 { { ac_try
="$ac_compiler $ac_option >&5"
3224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228 $as_echo "$ac_try_echo"; } >&5
3229 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3231 if test -s conftest.err; then
3233 ... rest of stderr output deleted ...
3234 10q' conftest.err >conftest.er1
3235 cat conftest.er1 >&5
3236 rm -f conftest.er1 conftest.err
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3253 ac_clean_files_save=$ac_clean_files
3254 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3255 # Try to create an executable without -o first, disregard a.out.
3256 # It will help us diagnose broken compilers, and finding out an intuition
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3259 $as_echo_n "checking for C compiler default output file name... " >&6; }
3260 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3262 # The possible output files:
3263 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3266 for ac_file in $ac_files
3269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3270 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3275 if { { ac_try="$ac_link_default"
3277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3278 *) ac_try_echo
=$ac_try;;
3280 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_link_default") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; then :
3286 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3288 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3289 # so that the user can short-circuit this test for compilers unknown to
3291 for ac_file
in $ac_files ''
3293 test -f "$ac_file" ||
continue
3295 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3298 # We found the default executable, but exeext='' is most
3302 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3304 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3306 # We set ac_cv_exeext here because the later test for it is not
3307 # safe: cross compilers may not add the suffix if given an `-o'
3308 # argument, so we may need to know it at that point already.
3309 # Even if this section looks crufty: it has the advantage of
3316 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3322 $as_echo "$ac_file" >&6; }
3323 if test -z "$ac_file"; then :
3324 $as_echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.
$ac_ext >&5
3327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329 { as_fn_set_status
77
3330 as_fn_error
"C compiler cannot create executables
3331 See \`config.log' for more details." "$LINENO" 5; }; }
3333 ac_exeext
=$ac_cv_exeext
3335 # Check that the compiler produces executables we can run. If not, either
3336 # the compiler is broken, or we cross compile.
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3338 $as_echo_n "checking whether the C compiler works... " >&6; }
3339 # If not cross compiling, check that we can run a simple program.
3340 if test "$cross_compiling" != yes; then
3341 if { ac_try
='./$ac_file'
3342 { { case "(($ac_try" in
3343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347 $as_echo "$ac_try_echo"; } >&5
3348 (eval "$ac_try") 2>&5
3350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351 test $ac_status = 0; }; }; then
3354 if test "$cross_compiling" = maybe; then
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error "cannot run C compiled programs.
3360 If you meant to cross compile
, use \
`--host'.
3361 See \`config.log
' for more details." "$LINENO" 5; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3366 $as_echo "yes" >&6; }
3368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3369 ac_clean_files=$ac_clean_files_save
3370 # Check that the compiler produces executables we can run. If not, either
3371 # the compiler is broken, or we cross compile.
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3373 $as_echo_n "checking whether we are cross compiling... " >&6; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3375 $as_echo "$cross_compiling" >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3378 $as_echo_n "checking for suffix of executables... " >&6; }
3379 if { { ac_try="$ac_link"
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386 (eval "$ac_link") 2>&5
3388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test $ac_status = 0; }; then :
3390 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3391 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3392 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3394 for ac_file
in conftest.exe conftest conftest.
*; do
3395 test -f "$ac_file" ||
continue
3397 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3398 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3407 See \`config.log' for more details." "$LINENO" 5; }
3409 rm -f conftest
$ac_cv_exeext
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3411 $as_echo "$ac_cv_exeext" >&6; }
3413 rm -f conftest.
$ac_ext
3414 EXEEXT
=$ac_cv_exeext
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3417 $as_echo_n "checking for suffix of object files... " >&6; }
3418 if test "${ac_cv_objext+set}" = set; then :
3419 $as_echo_n "(cached) " >&6
3421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 rm -f conftest.o conftest.obj
3433 if { { ac_try
="$ac_compile"
3435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3439 $as_echo "$ac_try_echo"; } >&5
3440 (eval "$ac_compile") 2>&5
3442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3443 test $ac_status = 0; }; then :
3444 for ac_file in conftest.o conftest.obj conftest.*; do
3445 test -f "$ac_file" || continue;
3447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3448 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3453 $as_echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458 as_fn_error "cannot compute suffix of object files
: cannot compile
3459 See \
`config.log' for more details." "$LINENO" 5; }
3461 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3464 $as_echo "$ac_cv_objext" >&6; }
3465 OBJEXT=$ac_cv_objext
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3468 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3469 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3470 $as_echo_n "(cached) " >&6
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3486 if ac_fn_c_try_compile "$LINENO"; then :
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3496 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3497 if test $ac_compiler_gnu = yes; then
3502 ac_test_CFLAGS=${CFLAGS+set}
3503 ac_save_CFLAGS=$CFLAGS
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3505 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3506 if test "${ac_cv_prog_cc_g+set}" = set; then :
3507 $as_echo_n "(cached) " >&6
3509 ac_save_c_werror_flag=$ac_c_werror_flag
3510 ac_c_werror_flag=yes
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3524 if ac_fn_c_try_compile "$LINENO"; then :
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3539 if ac_fn_c_try_compile "$LINENO"; then :
3542 ac_c_werror_flag=$ac_save_c_werror_flag
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3555 if ac_fn_c_try_compile "$LINENO"; then :
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 ac_c_werror_flag=$ac_save_c_werror_flag
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3566 $as_echo "$ac_cv_prog_cc_g" >&6; }
3567 if test "$ac_test_CFLAGS" = set; then
3568 CFLAGS=$ac_save_CFLAGS
3569 elif test $ac_cv_prog_cc_g = yes; then
3570 if test "$GCC" = yes; then
3576 if test "$GCC" = yes; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3583 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3584 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3587 ac_cv_prog_cc_c89=no
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3593 #include <sys/types.h>
3594 #include <sys/stat.h>
3595 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3596 struct buf { int x; };
3597 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3598 static char *e (p, i)
3604 static char *f (char * (*g) (char **, int), char **p, ...)
3609 s = g (p, va_arg (v,int));
3614 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3615 function prototypes and stuff, but not '\xHH' hex character constants.
3616 These don't provoke an error unfortunately, instead are silently treated
3617 as 'x'. The following induces an error, until -std is added to get
3618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3619 array size at least. It's necessary to write '\x00'==0 to get something
3620 that's true only with -std. */
3621 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3623 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3624 inside strings and character constants. */
3626 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3628 int test (int i, double x);
3629 struct s1 {int (*f) (int a);};
3630 struct s2 {int (*f) (double a);};
3631 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3637 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3645 CC="$ac_save_CC $ac_arg"
3646 if ac_fn_c_try_compile "$LINENO"; then :
3647 ac_cv_prog_cc_c89=$ac_arg
3649 rm -f core conftest.err conftest.$ac_objext
3650 test "x$ac_cv_prog_cc_c89" != "xno" && break
3652 rm -f conftest.$ac_ext
3657 case "x$ac_cv_prog_cc_c89" in
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3660 $as_echo "none needed" >&6; } ;;
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3663 $as_echo "unsupported" >&6; } ;;
3665 CC="$CC $ac_cv_prog_cc_c89"
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3667 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3669 if test "x$ac_cv_prog_cc_c89" != xno; then :
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3686 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3687 # On Suns, sometimes $CPP names a directory.
3688 if test -n "$CPP" && test -d "$CPP"; then
3691 if test -z "$CPP"; then
3692 if test "${ac_cv_prog_CPP+set}" = set; then :
3693 $as_echo_n "(cached) " >&6
3695 # Double quotes because CPP needs to be expanded
3696 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3699 for ac_c_preproc_warn_flag in '' yes
3701 # Use a header file that comes with gcc, so configuring glibc
3702 # with a fresh cross-compiler works.
3703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3704 # <limits.h> exists even on freestanding compilers.
3705 # On the NeXT, cc -E runs the code through the compiler's parser,
3706 # not just through cpp. "Syntax error" is here to catch this case.
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3710 # include <limits.h>
3712 # include <assert.h>
3716 if ac_fn_c_try_cpp "$LINENO"; then :
3719 # Broken: fails on valid input.
3722 rm -f conftest.err conftest.$ac_ext
3724 # OK, works on sane cases. Now check whether nonexistent headers
3725 # can be detected and how.
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3728 #include <ac_nonexistent.h>
3730 if ac_fn_c_try_cpp "$LINENO"; then :
3731 # Broken: success on invalid input.
3734 # Passes both tests.
3738 rm -f conftest.err conftest.$ac_ext
3741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3742 rm -f conftest.err conftest.
$ac_ext
3743 if $ac_preproc_ok; then :
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3756 $as_echo "$CPP" >&6; }
3758 for ac_c_preproc_warn_flag
in '' yes
3760 # Use a header file that comes with gcc, so configuring glibc
3761 # with a fresh cross-compiler works.
3762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3763 # <limits.h> exists even on freestanding compilers.
3764 # On the NeXT, cc -E runs the code through the compiler's parser,
3765 # not just through cpp. "Syntax error" is here to catch this case.
3766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3769 # include <limits.h>
3771 # include <assert.h>
3775 if ac_fn_c_try_cpp
"$LINENO"; then :
3778 # Broken: fails on valid input.
3781 rm -f conftest.err conftest.
$ac_ext
3783 # OK, works on sane cases. Now check whether nonexistent headers
3784 # can be detected and how.
3785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3787 #include <ac_nonexistent.h>
3789 if ac_fn_c_try_cpp
"$LINENO"; then :
3790 # Broken: success on invalid input.
3793 # Passes both tests.
3797 rm -f conftest.err conftest.
$ac_ext
3800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3801 rm -f conftest.err conftest.
$ac_ext
3802 if $ac_preproc_ok; then :
3805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3808 See \`config.log' for more details." "$LINENO" 5; }
3812 ac_cpp
='$CPP $CPPFLAGS'
3813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3819 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3820 if test "${ac_cv_path_GREP+set}" = set; then :
3821 $as_echo_n "(cached) " >&6
3823 if test -z "$GREP"; then
3824 ac_path_GREP_found
=false
3825 # Loop through the user's path and test for each of PROGNAME-LIST
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_prog
in grep ggrep
; do
3832 for ac_exec_ext
in '' $ac_executable_extensions; do
3833 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3834 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3835 # Check for GNU ac_path_GREP and select it if it is found.
3836 # Check for GNU $ac_path_GREP
3837 case `"$ac_path_GREP" --version 2>&1` in
3839 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3842 $as_echo_n 0123456789 >"conftest.in"
3845 cat "conftest.in" "conftest.in" >"conftest.tmp"
3846 mv "conftest.tmp" "conftest.in"
3847 cp "conftest.in" "conftest.nl"
3848 $as_echo 'GREP' >> "conftest.nl"
3849 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3850 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3851 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3852 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3853 # Best one so far, save it but keep looking for a better one
3854 ac_cv_path_GREP
="$ac_path_GREP"
3855 ac_path_GREP_max
=$ac_count
3857 # 10*(2^10) chars as input seems more than enough
3858 test $ac_count -gt 10 && break
3860 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3863 $ac_path_GREP_found && break 3
3868 if test -z "$ac_cv_path_GREP"; then
3869 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3872 ac_cv_path_GREP
=$GREP
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3877 $as_echo "$ac_cv_path_GREP" >&6; }
3878 GREP
="$ac_cv_path_GREP"
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3882 $as_echo_n "checking for egrep... " >&6; }
3883 if test "${ac_cv_path_EGREP+set}" = set; then :
3884 $as_echo_n "(cached) " >&6
3886 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3887 then ac_cv_path_EGREP
="$GREP -E"
3889 if test -z "$EGREP"; then
3890 ac_path_EGREP_found
=false
3891 # Loop through the user's path and test for each of PROGNAME-LIST
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3893 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_prog
in egrep; do
3898 for ac_exec_ext
in '' $ac_executable_extensions; do
3899 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3900 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3901 # Check for GNU ac_path_EGREP and select it if it is found.
3902 # Check for GNU $ac_path_EGREP
3903 case `"$ac_path_EGREP" --version 2>&1` in
3905 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3908 $as_echo_n 0123456789 >"conftest.in"
3911 cat "conftest.in" "conftest.in" >"conftest.tmp"
3912 mv "conftest.tmp" "conftest.in"
3913 cp "conftest.in" "conftest.nl"
3914 $as_echo 'EGREP' >> "conftest.nl"
3915 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3916 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3917 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3918 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3919 # Best one so far, save it but keep looking for a better one
3920 ac_cv_path_EGREP
="$ac_path_EGREP"
3921 ac_path_EGREP_max
=$ac_count
3923 # 10*(2^10) chars as input seems more than enough
3924 test $ac_count -gt 10 && break
3926 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3929 $ac_path_EGREP_found && break 3
3934 if test -z "$ac_cv_path_EGREP"; then
3935 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3938 ac_cv_path_EGREP
=$EGREP
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3944 $as_echo "$ac_cv_path_EGREP" >&6; }
3945 EGREP
="$ac_cv_path_EGREP"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3949 $as_echo_n "checking for ANSI C header files... " >&6; }
3950 if test "${ac_cv_header_stdc+set}" = set; then :
3951 $as_echo_n "(cached) " >&6
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3968 if ac_fn_c_try_compile
"$LINENO"; then :
3969 ac_cv_header_stdc
=yes
3971 ac_cv_header_stdc
=no
3973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3975 if test $ac_cv_header_stdc = yes; then
3976 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3983 $EGREP "memchr" >/dev
/null
2>&1; then :
3986 ac_cv_header_stdc
=no
3992 if test $ac_cv_header_stdc = yes; then
3993 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
3999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4000 $EGREP "free" >/dev
/null
2>&1; then :
4003 ac_cv_header_stdc
=no
4009 if test $ac_cv_header_stdc = yes; then
4010 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4011 if test "$cross_compiling" = yes; then :
4014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4018 #if ((' ' & 0x0FF) == 0x020)
4019 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4020 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4022 # define ISLOWER(c) \
4023 (('a' <= (c) && (c) <= 'i') \
4024 || ('j' <= (c) && (c) <= 'r') \
4025 || ('s' <= (c) && (c) <= 'z'))
4026 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4029 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4034 for (i = 0; i < 256; i++)
4035 if (XOR (islower (i), ISLOWER (i))
4036 || toupper (i) != TOUPPER (i))
4041 if ac_fn_c_try_run
"$LINENO"; then :
4044 ac_cv_header_stdc
=no
4046 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4047 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4053 $as_echo "$ac_cv_header_stdc" >&6; }
4054 if test $ac_cv_header_stdc = yes; then
4056 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4060 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4061 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4062 inttypes.h stdint.h unistd.h
4064 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4065 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4067 eval as_val
=\$
$as_ac_Header
4068 if test "x$as_val" = x
""yes; then :
4069 cat >>confdefs.h
<<_ACEOF
4070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4079 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4080 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4087 if test "$MINIX" = yes; then
4089 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4092 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4095 $as_echo "#define _MINIX 1" >>confdefs.h
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4101 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4102 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4108 # define __EXTENSIONS__ 1
4109 $ac_includes_default
4118 if ac_fn_c_try_compile
"$LINENO"; then :
4119 ac_cv_safe_to_define___extensions__
=yes
4121 ac_cv_safe_to_define___extensions__
=no
4123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4126 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4127 test $ac_cv_safe_to_define___extensions__ = yes &&
4128 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4130 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4132 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4134 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4136 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4140 for ac_func
in secure_getenv
4142 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4143 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4144 cat >>confdefs.h
<<_ACEOF
4145 #define HAVE_SECURE_GETENV 1
4152 # Calculate toolexeclibdir
4153 # Also toolexecdir, though it's only used in toolexeclibdir
4154 case ${version_specific_libs} in
4156 # Need the gcc compiler version to know where to install libraries
4157 # and header files if --enable-version-specific-runtime-libs option
4159 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4160 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4163 if test -n "$with_cross_host" &&
4164 test x
"$with_cross_host" != x
"no"; then
4165 # Install a library built with a cross compiler in tooldir, not libdir.
4166 toolexecdir
='$(exec_prefix)/$(target_alias)'
4167 toolexeclibdir
='$(toolexecdir)/lib'
4169 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4170 toolexeclibdir
='$(libdir)'
4172 multi_os_directory
=`$CC -print-multi-os-directory`
4173 case $multi_os_directory in
4174 .
) ;; # Avoid trailing /.
4175 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4182 # Check for programs.
4186 ac_cpp
='$CPP $CPPFLAGS'
4187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4190 if test -n "$ac_tool_prefix"; then
4191 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4192 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if test "${ac_cv_prog_CC+set}" = set; then :
4196 $as_echo_n "(cached) " >&6
4198 if test -n "$CC"; then
4199 ac_cv_prog_CC
="$CC" # Let the user override the test.
4201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir
=.
4206 for ac_exec_ext
in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 if test -n "$CC"; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4221 $as_echo "$CC" >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 $as_echo "no" >&6; }
4229 if test -z "$ac_cv_prog_CC"; then
4231 # Extract the first word of "gcc", so it can be a program name with args.
4232 set dummy gcc
; ac_word
=$2
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234 $as_echo_n "checking for $ac_word... " >&6; }
4235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4236 $as_echo_n "(cached) " >&6
4238 if test -n "$ac_ct_CC"; then
4239 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_prog_ac_ct_CC
="gcc"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4259 if test -n "$ac_ct_CC"; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4261 $as_echo "$ac_ct_CC" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4267 if test "x$ac_ct_CC" = x
; then
4270 case $cross_compiling:$ac_tool_warned in
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4274 ac_tool_warned
=yes ;;
4282 if test -z "$CC"; then
4283 if test -n "$ac_tool_prefix"; then
4284 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4285 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if test "${ac_cv_prog_CC+set}" = set; then :
4289 $as_echo_n "(cached) " >&6
4291 if test -n "$CC"; then
4292 ac_cv_prog_CC
="$CC" # Let the user override the test.
4294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir
=.
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test -n "$CC"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4314 $as_echo "$CC" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4323 if test -z "$CC"; then
4324 # Extract the first word of "cc", so it can be a program name with args.
4325 set dummy cc
; ac_word
=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if test "${ac_cv_prog_CC+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$CC"; then
4332 ac_cv_prog_CC
="$CC" # Let the user override the test.
4335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4339 test -z "$as_dir" && as_dir
=.
4340 for ac_exec_ext
in '' $ac_executable_extensions; do
4341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4343 ac_prog_rejected
=yes
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 if test $ac_prog_rejected = yes; then
4355 # We found a bogon in the path, so make sure we never use it.
4356 set dummy
$ac_cv_prog_CC
4358 if test $# != 0; then
4359 # We chose a different compiler from the bogus one.
4360 # However, it has the same basename, so the bogon will be chosen
4361 # first if we set CC to just the basename; use the full file name.
4363 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4369 if test -n "$CC"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4371 $as_echo "$CC" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4379 if test -z "$CC"; then
4380 if test -n "$ac_tool_prefix"; then
4381 for ac_prog
in cl.exe
4383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4384 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386 $as_echo_n "checking for $ac_word... " >&6; }
4387 if test "${ac_cv_prog_CC+set}" = set; then :
4388 $as_echo_n "(cached) " >&6
4390 if test -n "$CC"; then
4391 ac_cv_prog_CC
="$CC" # Let the user override the test.
4393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir
=.
4398 for ac_exec_ext
in '' $ac_executable_extensions; do
4399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 if test -n "$CC"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4413 $as_echo "$CC" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4420 test -n "$CC" && break
4423 if test -z "$CC"; then
4425 for ac_prog
in cl.exe
4427 # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy
$ac_prog; ac_word
=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4432 $as_echo_n "(cached) " >&6
4434 if test -n "$ac_ct_CC"; then
4435 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir
=.
4442 for ac_exec_ext
in '' $ac_executable_extensions; do
4443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4444 ac_cv_prog_ac_ct_CC
="$ac_prog"
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4455 if test -n "$ac_ct_CC"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4457 $as_echo "$ac_ct_CC" >&6; }
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4464 test -n "$ac_ct_CC" && break
4467 if test "x$ac_ct_CC" = x
; then
4470 case $cross_compiling:$ac_tool_warned in
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4474 ac_tool_warned
=yes ;;
4483 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4485 as_fn_error
"no acceptable C compiler found in \$PATH
4486 See \`config.log' for more details." "$LINENO" 5; }
4488 # Provide some information about the compiler.
4489 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4492 for ac_option
in --version -v -V -qversion; do
4493 { { ac_try
="$ac_compiler $ac_option >&5"
4495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4496 *) ac_try_echo=$ac_try;;
4498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4499 $as_echo "$ac_try_echo"; } >&5
4500 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4502 if test -s conftest.err; then
4504 ... rest of stderr output deleted ...
4505 10q' conftest.err >conftest.er1
4506 cat conftest.er1 >&5
4507 rm -f conftest.er1 conftest.err
4509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4510 test $ac_status = 0; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4514 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4515 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4516 $as_echo_n "(cached) " >&6
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4532 if ac_fn_c_try_compile "$LINENO"; then :
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4542 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4543 if test $ac_compiler_gnu = yes; then
4548 ac_test_CFLAGS=${CFLAGS+set}
4549 ac_save_CFLAGS=$CFLAGS
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4551 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4552 if test "${ac_cv_prog_cc_g+set}" = set; then :
4553 $as_echo_n "(cached) " >&6
4555 ac_save_c_werror_flag=$ac_c_werror_flag
4556 ac_c_werror_flag=yes
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4570 if ac_fn_c_try_compile "$LINENO"; then :
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4585 if ac_fn_c_try_compile "$LINENO"; then :
4588 ac_c_werror_flag=$ac_save_c_werror_flag
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4601 if ac_fn_c_try_compile "$LINENO"; then :
4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609 ac_c_werror_flag=$ac_save_c_werror_flag
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4612 $as_echo "$ac_cv_prog_cc_g" >&6; }
4613 if test "$ac_test_CFLAGS" = set; then
4614 CFLAGS=$ac_save_CFLAGS
4615 elif test $ac_cv_prog_cc_g = yes; then
4616 if test "$GCC" = yes; then
4622 if test "$GCC" = yes; then
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4629 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4630 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4631 $as_echo_n "(cached) " >&6
4633 ac_cv_prog_cc_c89=no
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 #include <sys/types.h>
4640 #include <sys/stat.h>
4641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4642 struct buf { int x; };
4643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4644 static char *e (p, i)
4650 static char *f (char * (*g) (char **, int), char **p, ...)
4655 s = g (p, va_arg (v,int));
4660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4661 function prototypes and stuff, but not '\xHH' hex character constants.
4662 These don't provoke an error unfortunately, instead are silently treated
4663 as 'x'. The following induces an error, until -std is added to get
4664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4665 array size at least. It's necessary to write '\x00'==0 to get something
4666 that's true only with -std. */
4667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4670 inside strings and character constants. */
4672 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4674 int test (int i, double x);
4675 struct s1 {int (*f) (int a);};
4676 struct s2 {int (*f) (double a);};
4677 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4688 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4691 CC="$ac_save_CC $ac_arg"
4692 if ac_fn_c_try_compile "$LINENO"; then :
4693 ac_cv_prog_cc_c89=$ac_arg
4695 rm -f core conftest.err conftest.$ac_objext
4696 test "x$ac_cv_prog_cc_c89" != "xno" && break
4698 rm -f conftest.$ac_ext
4703 case "x$ac_cv_prog_cc_c89" in
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4706 $as_echo "none needed" >&6; } ;;
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4709 $as_echo "unsupported" >&6; } ;;
4711 CC="$CC $ac_cv_prog_cc_c89"
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4713 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4715 if test "x$ac_cv_prog_cc_c89" != xno; then :
4720 ac_cpp='$CPP $CPPFLAGS'
4721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727 if test "x$CC" != xcc; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4729 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4732 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4734 set dummy $CC; ac_cc=`$as_echo "$2" |
4735 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4736 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4737 $as_echo_n "(cached) " >&6
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4750 # Make sure it works both with $CC and with simple cc.
4751 # We do the test twice because some compilers refuse to overwrite an
4752 # existing .o file with -o, though they will create one.
4753 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4755 if { { case "(($ac_try" in
4756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4757 *) ac_try_echo
=$ac_try;;
4759 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4760 $as_echo "$ac_try_echo"; } >&5
4761 (eval "$ac_try") 2>&5
4763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4764 test $ac_status = 0; } &&
4765 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4770 $as_echo "$ac_try_echo"; } >&5
4771 (eval "$ac_try") 2>&5
4773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4774 test $ac_status = 0; };
4776 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4777 if test "x$CC" != xcc; then
4778 # Test first that cc exists at all.
4779 if { ac_try='cc -c conftest.$ac_ext >&5'
4780 { { case "(($ac_try" in
4781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4782 *) ac_try_echo
=$ac_try;;
4784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4785 $as_echo "$ac_try_echo"; } >&5
4786 (eval "$ac_try") 2>&5
4788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4789 test $ac_status = 0; }; }; then
4790 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4792 if { { case "(($ac_try" in
4793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4794 *) ac_try_echo=$ac_try;;
4796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4797 $as_echo "$ac_try_echo"; } >&5
4798 (eval "$ac_try") 2>&5
4800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4801 test $ac_status = 0; } &&
4802 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4804 *) ac_try_echo
=$ac_try;;
4806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4807 $as_echo "$ac_try_echo"; } >&5
4808 (eval "$ac_try") 2>&5
4810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4811 test $ac_status = 0; };
4816 # cc exists but doesn't like -o.
4817 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4822 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4824 rm -f core conftest
*
4827 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4829 $as_echo "yes" >&6; }
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 $as_echo "no" >&6; }
4834 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4838 # FIXME: we rely on the cache variable name because
4839 # there is no other way.
4841 am_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4842 eval am_t
=\
$ac_cv_prog_cc_${am_cc}_c_o
4843 if test "$am_t" != yes; then
4844 # Losing compiler, so override with the script.
4845 # FIXME: It is wrong to rewrite CC.
4846 # But if we don't then we get into trouble of one sort or another.
4847 # A longer-term fix would be to have automake use am__CC in this case,
4848 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4849 CC
="$am_aux_dir/compile $CC"
4856 # Newer automakes demand CCAS and CCASFLAGS.
4858 : ${CCASFLAGS='$(CFLAGS)'}
4862 if test -n "$ac_tool_prefix"; then
4863 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4864 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if test "${ac_cv_prog_AS+set}" = set; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -n "$AS"; then
4871 ac_cv_prog_AS
="$AS" # Let the user override the test.
4873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir
=.
4878 for ac_exec_ext
in '' $ac_executable_extensions; do
4879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880 ac_cv_prog_AS
="${ac_tool_prefix}as"
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 if test -n "$AS"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4893 $as_echo "$AS" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4901 if test -z "$ac_cv_prog_AS"; then
4903 # Extract the first word of "as", so it can be a program name with args.
4904 set dummy as
; ac_word
=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$ac_ct_AS"; then
4911 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir
=.
4918 for ac_exec_ext
in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_ac_ct_AS
="as"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4931 if test -n "$ac_ct_AS"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4933 $as_echo "$ac_ct_AS" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4939 if test "x$ac_ct_AS" = x
; then
4942 case $cross_compiling:$ac_tool_warned in
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4946 ac_tool_warned
=yes ;;
4954 if test -n "$ac_tool_prefix"; then
4955 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4956 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if test "${ac_cv_prog_AR+set}" = set; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$AR"; then
4963 ac_cv_prog_AR
="$AR" # Let the user override the test.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 if test -n "$AR"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4985 $as_echo "$AR" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4993 if test -z "$ac_cv_prog_AR"; then
4995 # Extract the first word of "ar", so it can be a program name with args.
4996 set dummy
ar; ac_word
=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$ac_ct_AR"; then
5003 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_exec_ext
in '' $ac_executable_extensions; do
5011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012 ac_cv_prog_ac_ct_AR
="ar"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5023 if test -n "$ac_ct_AR"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5025 $as_echo "$ac_ct_AR" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5031 if test "x$ac_ct_AR" = x
; then
5034 case $cross_compiling:$ac_tool_warned in
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5038 ac_tool_warned
=yes ;;
5046 if test -n "$ac_tool_prefix"; then
5047 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5048 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5052 $as_echo_n "(cached) " >&6
5054 if test -n "$RANLIB"; then
5055 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 RANLIB
=$ac_cv_prog_RANLIB
5075 if test -n "$RANLIB"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5077 $as_echo "$RANLIB" >&6; }
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5085 if test -z "$ac_cv_prog_RANLIB"; then
5086 ac_ct_RANLIB
=$RANLIB
5087 # Extract the first word of "ranlib", so it can be a program name with args.
5088 set dummy ranlib
; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$ac_ct_RANLIB"; then
5095 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5115 if test -n "$ac_ct_RANLIB"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5117 $as_echo "$ac_ct_RANLIB" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5123 if test "x$ac_ct_RANLIB" = x
; then
5126 case $cross_compiling:$ac_tool_warned in
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5130 ac_tool_warned
=yes ;;
5132 RANLIB
=$ac_ct_RANLIB
5135 RANLIB
="$ac_cv_prog_RANLIB"
5139 # Check we may build wrappers library
5140 echo "test: bndmov %bnd0, %bnd1" > conftest.s
5141 if { ac_try
='$AS -o conftest.o conftest.s 1>&5'
5142 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5146 test $ac_status = 0; }; }
5151 echo "configure: no MPX support fo as" >&5
5153 rm -f conftest.o conftest.s
5154 if test "x$mpx_as" = "xyes"; then
5155 MPX_AS_SUPPORTED_TRUE
=
5156 MPX_AS_SUPPORTED_FALSE
='#'
5158 MPX_AS_SUPPORTED_TRUE
='#'
5159 MPX_AS_SUPPORTED_FALSE
=
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5171 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5176 macro_version
='2.2.7a'
5177 macro_revision
='1.3134'
5191 ltmain
="$ac_aux_dir/ltmain.sh"
5193 # Backslashify metacharacters that are still active within
5194 # double-quoted strings.
5195 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5197 # Same as above, but do not quote variable references.
5198 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5200 # Sed substitution to delay expansion of an escaped shell variable in a
5201 # double_quote_subst'ed string.
5202 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5204 # Sed substitution to delay expansion of an escaped single quote.
5205 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5207 # Sed substitution to avoid accidental globbing in evaled expressions
5208 no_glob_subst
='s/\*/\\\*/g'
5210 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5211 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5212 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5215 $as_echo_n "checking how to print strings... " >&6; }
5216 # Test print first, because it will be a builtin if present.
5217 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5218 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5220 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5223 # Use this function as a fallback that always works.
5224 func_fallback_echo ()
5226 eval 'cat <<_LTECHO_EOF
5230 ECHO='func_fallback_echo
'
5233 # func_echo_all arg...
5234 # Invoke $ECHO with all args, space-separated.
5241 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5242 $as_echo "printf" >&6; } ;;
5243 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5244 $as_echo "print -r" >&6; } ;;
5245 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5246 $as_echo "cat" >&6; } ;;
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5263 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5264 if test "${ac_cv_path_SED+set}" = set; then :
5265 $as_echo_n "(cached) " >&6
5267 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5268 for ac_i in 1 2 3 4 5 6 7; do
5269 ac_script="$ac_script$as_nl$ac_script"
5271 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5272 { ac_script=; unset ac_script;}
5273 if test -z "$SED"; then
5274 ac_path_SED_found=false
5275 # Loop through the user's path and
test for each of PROGNAME-LIST
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_prog
in sed gsed
; do
5282 for ac_exec_ext
in '' $ac_executable_extensions; do
5283 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5284 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5285 # Check for GNU ac_path_SED and select it if it is found.
5286 # Check for GNU $ac_path_SED
5287 case `"$ac_path_SED" --version 2>&1` in
5289 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5292 $as_echo_n 0123456789 >"conftest.in"
5295 cat "conftest.in" "conftest.in" >"conftest.tmp"
5296 mv "conftest.tmp" "conftest.in"
5297 cp "conftest.in" "conftest.nl"
5298 $as_echo '' >> "conftest.nl"
5299 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5300 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5301 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5302 if test $ac_count -gt ${ac_path_SED_max-0}; then
5303 # Best one so far, save it but keep looking for a better one
5304 ac_cv_path_SED
="$ac_path_SED"
5305 ac_path_SED_max
=$ac_count
5307 # 10*(2^10) chars as input seems more than enough
5308 test $ac_count -gt 10 && break
5310 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5313 $ac_path_SED_found && break 3
5318 if test -z "$ac_cv_path_SED"; then
5319 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5327 $as_echo "$ac_cv_path_SED" >&6; }
5328 SED
="$ac_cv_path_SED"
5331 test -z "$SED" && SED
=sed
5332 Xsed
="$SED -e 1s/^X//"
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5345 $as_echo_n "checking for fgrep... " >&6; }
5346 if test "${ac_cv_path_FGREP+set}" = set; then :
5347 $as_echo_n "(cached) " >&6
5349 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5350 then ac_cv_path_FGREP
="$GREP -F"
5352 if test -z "$FGREP"; then
5353 ac_path_FGREP_found
=false
5354 # Loop through the user's path and test for each of PROGNAME-LIST
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5356 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_prog
in fgrep
; do
5361 for ac_exec_ext
in '' $ac_executable_extensions; do
5362 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5363 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5364 # Check for GNU ac_path_FGREP and select it if it is found.
5365 # Check for GNU $ac_path_FGREP
5366 case `"$ac_path_FGREP" --version 2>&1` in
5368 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5371 $as_echo_n 0123456789 >"conftest.in"
5374 cat "conftest.in" "conftest.in" >"conftest.tmp"
5375 mv "conftest.tmp" "conftest.in"
5376 cp "conftest.in" "conftest.nl"
5377 $as_echo 'FGREP' >> "conftest.nl"
5378 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5379 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5380 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5381 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5382 # Best one so far, save it but keep looking for a better one
5383 ac_cv_path_FGREP
="$ac_path_FGREP"
5384 ac_path_FGREP_max
=$ac_count
5386 # 10*(2^10) chars as input seems more than enough
5387 test $ac_count -gt 10 && break
5389 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5392 $ac_path_FGREP_found && break 3
5397 if test -z "$ac_cv_path_FGREP"; then
5398 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5401 ac_cv_path_FGREP
=$FGREP
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5407 $as_echo "$ac_cv_path_FGREP" >&6; }
5408 FGREP
="$ac_cv_path_FGREP"
5411 test -z "$GREP" && GREP
=grep
5431 # Check whether --with-gnu-ld was given.
5432 if test "${with_gnu_ld+set}" = set; then :
5433 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5439 if test "$GCC" = yes; then
5440 # Check if gcc -print-prog-name=ld gives a path.
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5442 $as_echo_n "checking for ld used by $CC... " >&6; }
5445 # gcc leaves a trailing carriage return which upsets mingw
5446 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5448 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5451 # Accept absolute paths.
5453 re_direlt
='/[^/][^/]*/\.\./'
5454 # Canonicalize the pathname of ld
5455 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5456 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5457 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5459 test -z "$LD" && LD
="$ac_prog"
5462 # If it fails, then pretend we aren't using GCC.
5466 # If it is relative, then search for the first ld in PATH.
5470 elif test "$with_gnu_ld" = yes; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5472 $as_echo_n "checking for GNU ld... " >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5475 $as_echo_n "checking for non-GNU ld... " >&6; }
5477 if test "${lt_cv_path_LD+set}" = set; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -z "$LD"; then
5481 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5482 for ac_dir
in $PATH; do
5484 test -z "$ac_dir" && ac_dir
=.
5485 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5486 lt_cv_path_LD
="$ac_dir/$ac_prog"
5487 # Check to see if the program is GNU ld. I'd rather use --version,
5488 # but apparently some variants of GNU ld only accept -v.
5489 # Break only if it was the GNU/non-GNU ld that we prefer.
5490 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5491 *GNU
* |
*'with BFD'*)
5492 test "$with_gnu_ld" != no
&& break
5495 test "$with_gnu_ld" != yes && break
5502 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5507 if test -n "$LD"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5509 $as_echo "$LD" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5514 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5516 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5517 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5518 $as_echo_n "(cached) " >&6
5520 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5521 case `$LD -v 2>&1 </dev/null` in
5522 *GNU
* |
*'with BFD'*)
5523 lt_cv_prog_gnu_ld
=yes
5526 lt_cv_prog_gnu_ld
=no
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5531 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5532 with_gnu_ld
=$lt_cv_prog_gnu_ld
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5543 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5544 if test "${lt_cv_path_NM+set}" = set; then :
5545 $as_echo_n "(cached) " >&6
5547 if test -n "$NM"; then
5548 # Let the user override the test.
5551 lt_nm_to_check
="${ac_tool_prefix}nm"
5552 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5553 lt_nm_to_check
="$lt_nm_to_check nm"
5555 for lt_tmp_nm
in $lt_nm_to_check; do
5556 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5557 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5559 test -z "$ac_dir" && ac_dir
=.
5560 tmp_nm
="$ac_dir/$lt_tmp_nm"
5561 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5562 # Check to see if the nm accepts a BSD-compat flag.
5563 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5564 # nm: unknown option "B" ignored
5565 # Tru64's nm complains that /dev/null is an invalid object file
5566 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5567 */dev
/null
* |
*'Invalid file or object type'*)
5568 lt_cv_path_NM
="$tmp_nm -B"
5572 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5574 lt_cv_path_NM
="$tmp_nm -p"
5578 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5579 continue # so that we can try to find one that supports BSD flags
5588 : ${lt_cv_path_NM=no}
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5592 $as_echo "$lt_cv_path_NM" >&6; }
5593 if test "$lt_cv_path_NM" != "no"; then
5596 # Didn't find any BSD compatible name lister, look for dumpbin.
5597 if test -n "$DUMPBIN"; then :
5598 # Let the user override the test.
5600 if test -n "$ac_tool_prefix"; then
5601 for ac_prog
in dumpbin
"link -dump"
5603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5604 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$DUMPBIN"; then
5611 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5620 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 DUMPBIN
=$ac_cv_prog_DUMPBIN
5631 if test -n "$DUMPBIN"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5633 $as_echo "$DUMPBIN" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5640 test -n "$DUMPBIN" && break
5643 if test -z "$DUMPBIN"; then
5644 ac_ct_DUMPBIN
=$DUMPBIN
5645 for ac_prog
in dumpbin
"link -dump"
5647 # Extract the first word of "$ac_prog", so it can be a program name with args.
5648 set dummy
$ac_prog; ac_word
=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$ac_ct_DUMPBIN"; then
5655 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_exec_ext
in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5675 if test -n "$ac_ct_DUMPBIN"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5677 $as_echo "$ac_ct_DUMPBIN" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5684 test -n "$ac_ct_DUMPBIN" && break
5687 if test "x$ac_ct_DUMPBIN" = x
; then
5690 case $cross_compiling:$ac_tool_warned in
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5694 ac_tool_warned
=yes ;;
5696 DUMPBIN
=$ac_ct_DUMPBIN
5700 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5702 DUMPBIN
="$DUMPBIN -symbols"
5710 if test "$DUMPBIN" != ":"; then
5714 test -z "$NM" && NM
=nm
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5722 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5723 if test "${lt_cv_nm_interface+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5726 lt_cv_nm_interface
="BSD nm"
5727 echo "int some_variable = 0;" > conftest.
$ac_ext
5728 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5729 (eval "$ac_compile" 2>conftest.err
)
5730 cat conftest.err
>&5
5731 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5732 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5733 cat conftest.err
>&5
5734 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5735 cat conftest.out
>&5
5736 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5737 lt_cv_nm_interface
="MS dumpbin"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5742 $as_echo "$lt_cv_nm_interface" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5745 $as_echo_n "checking whether ln -s works... " >&6; }
5747 if test "$LN_S" = "ln -s"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5749 $as_echo "yes" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5752 $as_echo "no, using $LN_S" >&6; }
5755 # find the maximum length of command line arguments
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5757 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5758 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5759 $as_echo_n "(cached) " >&6
5766 # On DJGPP, this test can blow up pretty badly due to problems in libc
5767 # (any single argument exceeding 2000 bytes causes a buffer overrun
5768 # during glob expansion). Even if it were fixed, the result of this
5769 # check would be larger than it should be.
5770 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5774 # Under GNU Hurd, this test is not required because there is
5775 # no limit to the length of command line arguments.
5776 # Libtool will interpret -1 as no limit whatsoever
5777 lt_cv_sys_max_cmd_len
=-1;
5780 cygwin
* | mingw
* | cegcc
*)
5781 # On Win9x/ME, this test blows up -- it succeeds, but takes
5782 # about 5 minutes as the teststring grows exponentially.
5783 # Worse, since 9x/ME are not pre-emptively multitasking,
5784 # you end up with a "frozen" computer, even though with patience
5785 # the test eventually succeeds (with a max line length of 256k).
5786 # Instead, let's just punt: use the minimum linelength reported by
5787 # all of the supported platforms: 8192 (on NT/2K/XP).
5788 lt_cv_sys_max_cmd_len
=8192;
5792 # On MiNT this can take a long time and run out of memory.
5793 lt_cv_sys_max_cmd_len
=8192;
5797 # On AmigaOS with pdksh, this test takes hours, literally.
5798 # So we just punt and use a minimum line length of 8192.
5799 lt_cv_sys_max_cmd_len
=8192;
5802 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5803 # This has been around since 386BSD, at least. Likely further.
5804 if test -x /sbin
/sysctl
; then
5805 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5806 elif test -x /usr
/sbin
/sysctl
; then
5807 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5809 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5811 # And add a safety zone
5812 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5813 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5817 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5818 lt_cv_sys_max_cmd_len
=196608
5822 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5823 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5824 # nice to cause kernel panics so lets avoid the loop below.
5825 # First set a reasonable default.
5826 lt_cv_sys_max_cmd_len
=16384
5828 if test -x /sbin
/sysconfig
; then
5829 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5830 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5835 lt_cv_sys_max_cmd_len
=102400
5837 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5838 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5839 if test -n "$kargmax"; then
5840 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5842 lt_cv_sys_max_cmd_len
=32768
5846 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5847 if test -n "$lt_cv_sys_max_cmd_len"; then
5848 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5849 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5851 # Make teststring a little bigger before we do anything with it.
5852 # a 1K string should be a reasonable start.
5853 for i
in 1 2 3 4 5 6 7 8 ; do
5854 teststring
=$teststring$teststring
5856 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5857 # If test is not a shell built-in, we'll probably end up computing a
5858 # maximum length that is only half of the actual maximum length, but
5860 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5861 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5862 test $i != 17 # 1/2 MB should be enough
5865 teststring
=$teststring$teststring
5867 # Only check the string length outside the loop.
5868 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5870 # Add a significant safety factor because C++ compilers can tack on
5871 # massive amounts of additional arguments before passing them to the
5872 # linker. It appears as though 1/2 is a usable value.
5873 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5880 if test -n $lt_cv_sys_max_cmd_len ; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5882 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5885 $as_echo "none" >&6; }
5887 max_cmd_len
=$lt_cv_sys_max_cmd_len
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5899 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5900 # Try some XSI features
5903 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5905 && eval 'test $(( 1 + 1 )) -eq 2 \
5906 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5909 $as_echo "$xsi_shell" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5913 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5915 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5917 && lt_shell_append=yes
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5919 $as_echo "$lt_shell_append" >&6; }
5922 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5932 # test EBCDIC or ASCII
5933 case `echo X|tr X '\101'` in
5934 A) # ASCII based system
5935 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5936 lt_SP2NL='tr \040 \012'
5937 lt_NL2SP='tr \015\012 \040\040'
5939 *) # EBCDIC based system
5940 lt_SP2NL='tr \100 \n'
5941 lt_NL2SP='tr \r\n \100\100'
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5954 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5955 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5956 $as_echo_n "(cached
) " >&6
5958 lt_cv_ld_reload_flag='-r'
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5961 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5962 reload_flag=$lt_cv_ld_reload_flag
5963 case $reload_flag in
5965 *) reload_flag=" $reload_flag" ;;
5967 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5970 if test "$GCC" = yes; then
5971 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5973 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5986 if test -n "$ac_tool_prefix"; then
5987 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5988 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5990 $as_echo_n "checking
for $ac_word...
" >&6; }
5991 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5992 $as_echo_n "(cached
) " >&6
5994 if test -n "$OBJDUMP"; then
5995 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6014 OBJDUMP=$ac_cv_prog_OBJDUMP
6015 if test -n "$OBJDUMP"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6017 $as_echo "$OBJDUMP" >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6020 $as_echo "no
" >&6; }
6025 if test -z "$ac_cv_prog_OBJDUMP"; then
6026 ac_ct_OBJDUMP=$OBJDUMP
6027 # Extract the first word of "objdump
", so it can be a program name with args.
6028 set dummy objdump; ac_word=$2
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6030 $as_echo_n "checking
for $ac_word...
" >&6; }
6031 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6032 $as_echo_n "(cached
) " >&6
6034 if test -n "$ac_ct_OBJDUMP"; then
6035 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041 test -z "$as_dir" && as_dir=.
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6044 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6054 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6055 if test -n "$ac_ct_OBJDUMP"; then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6057 $as_echo "$ac_ct_OBJDUMP" >&6; }
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6060 $as_echo "no
" >&6; }
6063 if test "x
$ac_ct_OBJDUMP" = x; then
6066 case $cross_compiling:$ac_tool_warned in
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6069 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6070 ac_tool_warned=yes ;;
6072 OBJDUMP=$ac_ct_OBJDUMP
6075 OBJDUMP="$ac_cv_prog_OBJDUMP"
6078 test -z "$OBJDUMP" && OBJDUMP=objdump
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6089 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6090 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6091 $as_echo_n "(cached
) " >&6
6093 lt_cv_file_magic_cmd='$MAGIC_CMD'
6094 lt_cv_file_magic_test_file=
6095 lt_cv_deplibs_check_method='unknown'
6096 # Need to set the preceding variable on all platforms that support
6097 # interlibrary dependencies.
6098 # 'none' -- dependencies not supported.
6099 # `unknown' -- same as none, but documents that we really don't know.
6100 # 'pass_all' -- all dependencies passed with no checks.
6101 # 'test_compile' -- check by making test program.
6102 # 'file_magic [[regex]]' -- check by looking for files in library path
6103 # which responds to the $file_magic_cmd with a given extended regex.
6104 # If you have `file' or equivalent on your system and you're not sure
6105 # whether `pass_all' will *always* work, you probably want this one.
6109 lt_cv_deplibs_check_method=pass_all
6113 lt_cv_deplibs_check_method=pass_all
6117 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6118 lt_cv_file_magic_cmd='/usr/bin/file -L'
6119 lt_cv_file_magic_test_file=/shlib/libc.so
6123 # func_win32_libid is a shell function defined in ltmain.sh
6124 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6125 lt_cv_file_magic_cmd='func_win32_libid'
6129 # Base MSYS/MinGW do not provide the 'file' command needed by
6130 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6131 # unless we find 'file', for example because we are cross-compiling.
6132 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6133 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6134 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6135 lt_cv_file_magic_cmd='func_win32_libid'
6137 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6138 lt_cv_file_magic_cmd='$OBJDUMP -f'
6143 # use the weaker test based on 'objdump'. See mingw*.
6144 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6145 lt_cv_file_magic_cmd='$OBJDUMP -f'
6148 darwin* | rhapsody*)
6149 lt_cv_deplibs_check_method=pass_all
6152 freebsd* | dragonfly*)
6153 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6156 # Not sure whether the presence of OpenBSD here was a mistake.
6157 # Let's accept both of them until this is cleared up.
6158 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6159 lt_cv_file_magic_cmd=/usr/bin/file
6160 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6164 lt_cv_deplibs_check_method=pass_all
6169 lt_cv_deplibs_check_method=pass_all
6173 lt_cv_deplibs_check_method=pass_all
6176 hpux10.20* | hpux11*)
6177 lt_cv_file_magic_cmd=/usr/bin/file
6180 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6181 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6184 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]'
6185 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6188 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6189 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6195 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6196 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6199 irix5* | irix6* | nonstopux*)
6201 *-32|*"-32 ") libmagic=32-bit;;
6202 *-n32|*"-n32 ") libmagic=N32;;
6203 *-64|*"-64 ") libmagic=64-bit;;
6204 *) libmagic=never-match;;
6206 lt_cv_deplibs_check_method=pass_all
6209 # This must be Linux ELF.
6210 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6211 lt_cv_deplibs_check_method=pass_all
6215 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6216 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6218 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6223 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6224 lt_cv_file_magic_cmd=/usr/bin/file
6225 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6229 lt_cv_deplibs_check_method=pass_all
6233 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6234 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6236 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6240 osf3* | osf4* | osf5*)
6241 lt_cv_deplibs_check_method=pass_all
6245 lt_cv_deplibs_check_method=pass_all
6249 lt_cv_deplibs_check_method=pass_all
6252 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6253 lt_cv_deplibs_check_method=pass_all
6257 case $host_vendor in
6259 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]'
6260 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6263 lt_cv_deplibs_check_method=pass_all
6266 lt_cv_file_magic_cmd='/bin/file'
6267 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6270 lt_cv_file_magic_cmd='/bin/file'
6271 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6272 lt_cv_file_magic_test_file=/lib/libc.so
6275 lt_cv_deplibs_check_method=pass_all
6278 lt_cv_deplibs_check_method=pass_all
6284 lt_cv_deplibs_check_method=pass_all
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6290 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6291 file_magic_cmd=$lt_cv_file_magic_cmd
6292 deplibs_check_method=$lt_cv_deplibs_check_method
6293 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6306 if test -n "$ac_tool_prefix"; then
6307 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6308 set dummy ${ac_tool_prefix}ar; ac_word=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6310 $as_echo_n "checking
for $ac_word...
" >&6; }
6311 if test "${ac_cv_prog_AR+set}" = set; then :
6312 $as_echo_n "(cached
) " >&6
6314 if test -n "$AR"; then
6315 ac_cv_prog_AR="$AR" # Let the user override the test.
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6324 ac_cv_prog_AR="${ac_tool_prefix}ar"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6335 if test -n "$AR"; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6337 $as_echo "$AR" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6340 $as_echo "no
" >&6; }
6345 if test -z "$ac_cv_prog_AR"; then
6347 # Extract the first word of "ar", so it can be a program name with args.
6348 set dummy ar; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6350 $as_echo_n "checking
for $ac_word...
" >&6; }
6351 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6352 $as_echo_n "(cached
) " >&6
6354 if test -n "$ac_ct_AR"; then
6355 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6364 ac_cv_prog_ac_ct_AR="ar"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6374 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6375 if test -n "$ac_ct_AR"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6377 $as_echo "$ac_ct_AR" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6380 $as_echo "no
" >&6; }
6383 if test "x
$ac_ct_AR" = x; then
6386 case $cross_compiling:$ac_tool_warned in
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6389 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6390 ac_tool_warned=yes ;;
6398 test -z "$AR" && AR=ar
6399 test -z "$AR_FLAGS" && AR_FLAGS=cru
6411 if test -n "$ac_tool_prefix"; then
6412 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6413 set dummy ${ac_tool_prefix}strip; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6415 $as_echo_n "checking
for $ac_word...
" >&6; }
6416 if test "${ac_cv_prog_STRIP+set}" = set; then :
6417 $as_echo_n "(cached
) " >&6
6419 if test -n "$STRIP"; then
6420 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6439 STRIP=$ac_cv_prog_STRIP
6440 if test -n "$STRIP"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6442 $as_echo "$STRIP" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6445 $as_echo "no
" >&6; }
6450 if test -z "$ac_cv_prog_STRIP"; then
6452 # Extract the first word of "strip
", so it can be a program name with args.
6453 set dummy strip; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6455 $as_echo_n "checking
for $ac_word...
" >&6; }
6456 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6457 $as_echo_n "(cached
) " >&6
6459 if test -n "$ac_ct_STRIP"; then
6460 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_ac_ct_STRIP="strip
"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6479 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6480 if test -n "$ac_ct_STRIP"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6482 $as_echo "$ac_ct_STRIP" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6485 $as_echo "no
" >&6; }
6488 if test "x
$ac_ct_STRIP" = x; then
6491 case $cross_compiling:$ac_tool_warned in
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6494 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6495 ac_tool_warned=yes ;;
6500 STRIP="$ac_cv_prog_STRIP"
6503 test -z "$STRIP" && STRIP=:
6510 if test -n "$ac_tool_prefix"; then
6511 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6514 $as_echo_n "checking
for $ac_word...
" >&6; }
6515 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6516 $as_echo_n "(cached
) " >&6
6518 if test -n "$RANLIB"; then
6519 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6538 RANLIB=$ac_cv_prog_RANLIB
6539 if test -n "$RANLIB"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6541 $as_echo "$RANLIB" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6544 $as_echo "no
" >&6; }
6549 if test -z "$ac_cv_prog_RANLIB"; then
6550 ac_ct_RANLIB=$RANLIB
6551 # Extract the first word of "ranlib
", so it can be a program name with args.
6552 set dummy ranlib; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6554 $as_echo_n "checking
for $ac_word...
" >&6; }
6555 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6556 $as_echo_n "(cached
) " >&6
6558 if test -n "$ac_ct_RANLIB"; then
6559 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6578 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6579 if test -n "$ac_ct_RANLIB"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6581 $as_echo "$ac_ct_RANLIB" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6584 $as_echo "no
" >&6; }
6587 if test "x
$ac_ct_RANLIB" = x; then
6590 case $cross_compiling:$ac_tool_warned in
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6593 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6594 ac_tool_warned=yes ;;
6596 RANLIB=$ac_ct_RANLIB
6599 RANLIB="$ac_cv_prog_RANLIB"
6602 test -z "$RANLIB" && RANLIB=:
6609 # Determine commands to create old-style static archives.
6610 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6611 old_postinstall_cmds='chmod 644 $oldlib'
6612 old_postuninstall_cmds=
6614 if test -n "$RANLIB"; then
6617 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6620 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6623 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6628 lock_old_archive_extraction=yes ;;
6630 lock_old_archive_extraction=no ;;
6671 # If no C compiler was specified, use CC.
6674 # If no C compiler flags were specified, use CFLAGS.
6675 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6677 # Allow CC to be a program name with arguments.
6681 # Check for command to grab the raw symbol name followed by C symbol from nm.
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6683 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6684 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6685 $as_echo_n "(cached
) " >&6
6688 # These are sane defaults that work on at least a few old systems.
6689 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6691 # Character class describing NM global symbol codes.
6692 symcode='[BCDEGRST]'
6694 # Regexp to match symbols that can be accessed directly from C.
6695 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6697 # Define system-specific variables.
6702 cygwin* | mingw* | pw32* | cegcc*)
6703 symcode='[ABCDGISTW]'
6706 if test "$host_cpu" = ia64; then
6707 symcode='[ABCDEGRST]'
6711 symcode='[BCDEGRST]'
6714 symcode='[BCDEGQRST]'
6725 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6733 # If we're using GNU nm, then use its standard symbol codes.
6734 case `$NM -V 2>&1` in
6735 *GNU* | *'with BFD'*)
6736 symcode='[ABCDGIRSTW]' ;;
6739 # Transform an extracted symbol line into a proper C declaration.
6740 # Some systems (esp. on ia64) link data and code symbols differently,
6741 # so use this general approach.
6742 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6744 # Transform an extracted symbol line into symbol name and symbol address
6745 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6746 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'"
6748 # Handle CRLF in mingw tool chain
6752 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6756 # Try without a prefix underscore, then with it.
6757 for ac_symprfx in "" "_
"; do
6759 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6760 symxfrm="\\1 $ac_symprfx\\2 \\2"
6762 # Write the raw and C identifiers.
6763 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6764 # Fake it for dumpbin and say T for any non-static function
6765 # and D for any global variable.
6766 # Also find C++ and __fastcall symbols from MSVC++,
6767 # which start with @ or ?.
6768 lt_cv_sys_global_symbol_pipe="$AWK '"\
6769 " {last_section=section; section=\$ 3};"\
6770 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6771 " \$ 0!~/External *\|/{next};"\
6772 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6773 " {if(hide[section]) next};"\
6774 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6775 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6776 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6777 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6778 " ' prfx
=^
$ac_symprfx"
6780 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6783 # Check to see that the pipe works correctly.
6787 cat > conftest.$ac_ext <<_LT_EOF
6792 void nm_test_func(void);
6793 void nm_test_func(void){}
6797 int main(){nm_test_var='a';nm_test_func();return(0);}
6800 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6801 (eval $ac_compile) 2>&5
6803 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6804 test $ac_status = 0; }; then
6805 # Now try to grab the symbols.
6807 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6808 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6810 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6811 test $ac_status = 0; } && test -s "$nlist"; then
6812 # Try sorting and uniquifying the output.
6813 if sort "$nlist" | uniq > "$nlist"T; then
6814 mv -f "$nlist"T "$nlist"
6819 # Make sure that we snagged all the symbols we need.
6820 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6821 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6822 cat <<_LT_EOF > conftest.$ac_ext
6828 # Now generate the symbol file.
6829 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6831 cat <<_LT_EOF >> conftest.$ac_ext
6833 /* The mapping between symbol names and symbols. */
6838 lt__PROGRAM__LTX_preloaded_symbols[] =
6840 { "@PROGRAM@
", (void *) 0 },
6842 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6843 cat <<\_LT_EOF >> conftest.$ac_ext
6847 /* This works around a problem in FreeBSD linker */
6848 #ifdef FREEBSD_WORKAROUND
6849 static const void *lt_preloaded_setup() {
6850 return lt__PROGRAM__LTX_preloaded_symbols;
6858 # Now try linking the two files.
6859 mv conftest.$ac_objext conftstm.$ac_objext
6860 lt_save_LIBS="$LIBS"
6861 lt_save_CFLAGS="$CFLAGS"
6862 LIBS="conftstm.
$ac_objext"
6863 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6864 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6865 (eval $ac_link) 2>&5
6867 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6868 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6871 LIBS="$lt_save_LIBS"
6872 CFLAGS="$lt_save_CFLAGS"
6874 echo "cannot
find nm_test_func
in $nlist" >&5
6877 echo "cannot
find nm_test_var
in $nlist" >&5
6880 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6883 echo "$progname: failed program was
:" >&5
6884 cat conftest.$ac_ext >&5
6886 rm -rf conftest* conftst*
6888 # Do not use the global_symbol_pipe unless it works.
6889 if test "$pipe_works" = yes; then
6892 lt_cv_sys_global_symbol_pipe=
6898 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6899 lt_cv_sys_global_symbol_to_cdecl=
6901 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6903 $as_echo "failed
" >&6; }
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6906 $as_echo "ok
" >&6; }
6930 # Check whether --enable-libtool-lock was given.
6931 if test "${enable_libtool_lock+set}" = set; then :
6932 enableval=$enable_libtool_lock;
6935 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6937 # Some flags need to be propagated to the compiler or linker for good
6941 # Find out which ABI we are using.
6942 echo 'int i;' > conftest.$ac_ext
6943 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6944 (eval $ac_compile) 2>&5
6946 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6947 test $ac_status = 0; }; then
6948 case `/usr/bin/file conftest.$ac_objext` in
6960 # Find out which ABI we are using.
6961 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6962 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6963 (eval $ac_compile) 2>&5
6965 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6966 test $ac_status = 0; }; then
6967 if test "$lt_cv_prog_gnu_ld" = yes; then
6968 case `/usr/bin/file conftest.$ac_objext` in
6970 LD="${LD-ld} -melf32bsmip"
6973 LD="${LD-ld} -melf32bmipn32"
6976 LD="${LD-ld} -melf64bmip"
6980 case `/usr/bin/file conftest.$ac_objext` in
6996 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6997 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6998 # Find out which ABI we are using.
6999 echo 'int i;' > conftest.$ac_ext
7000 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7001 (eval $ac_compile) 2>&5
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7004 test $ac_status = 0; }; then
7005 case `/usr/bin/file conftest.o` in
7008 x86_64-*kfreebsd*-gnu)
7009 LD="${LD-ld} -m elf_i386_fbsd
"
7012 case `/usr/bin/file conftest.o` in
7014 LD="${LD-ld} -m elf32_x86_64
"
7017 LD="${LD-ld} -m elf_i386
"
7021 powerpc64le-*linux*)
7022 LD="${LD-ld} -m elf32lppclinux
"
7025 LD="${LD-ld} -m elf32ppclinux
"
7028 LD="${LD-ld} -m elf_s390
"
7031 LD="${LD-ld} -m elf32_sparc
"
7037 x86_64-*kfreebsd*-gnu)
7038 LD="${LD-ld} -m elf_x86_64_fbsd
"
7041 LD="${LD-ld} -m elf_x86_64
"
7044 LD="${LD-ld} -m elf64lppc
"
7047 LD="${LD-ld} -m elf64ppc
"
7049 s390*-*linux*|s390*-*tpf*)
7050 LD="${LD-ld} -m elf64_s390
"
7053 LD="${LD-ld} -m elf64_sparc
"
7063 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7064 SAVE_CFLAGS="$CFLAGS"
7065 CFLAGS="$CFLAGS -belf"
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7067 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7068 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7069 $as_echo_n "(cached
) " >&6
7072 ac_cpp='$CPP $CPPFLAGS'
7073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7088 if ac_fn_c_try_link "$LINENO"; then :
7089 lt_cv_cc_needs_belf=yes
7091 lt_cv_cc_needs_belf=no
7093 rm -f core conftest.err conftest.$ac_objext \
7094 conftest$ac_exeext conftest.$ac_ext
7096 ac_cpp='$CPP $CPPFLAGS'
7097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7103 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7104 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7105 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7106 CFLAGS="$SAVE_CFLAGS"
7110 # Find out which ABI we are using.
7111 echo 'int i;' > conftest.$ac_ext
7112 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7113 (eval $ac_compile) 2>&5
7115 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7116 test $ac_status = 0; }; then
7117 case `/usr/bin/file conftest.o` in
7119 case $lt_cv_prog_gnu_ld in
7120 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7122 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7134 need_locks="$enable_libtool_lock"
7138 rhapsody* | darwin*)
7139 if test -n "$ac_tool_prefix"; then
7140 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7141 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7143 $as_echo_n "checking
for $ac_word...
" >&6; }
7144 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7145 $as_echo_n "(cached
) " >&6
7147 if test -n "$DSYMUTIL"; then
7148 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 test -z "$as_dir" && as_dir=.
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7157 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7167 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7168 if test -n "$DSYMUTIL"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7170 $as_echo "$DSYMUTIL" >&6; }
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7173 $as_echo "no
" >&6; }
7178 if test -z "$ac_cv_prog_DSYMUTIL"; then
7179 ac_ct_DSYMUTIL=$DSYMUTIL
7180 # Extract the first word of "dsymutil
", so it can be a program name with args.
7181 set dummy dsymutil; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7183 $as_echo_n "checking
for $ac_word...
" >&6; }
7184 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7185 $as_echo_n "(cached
) " >&6
7187 if test -n "$ac_ct_DSYMUTIL"; then
7188 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir=.
7195 for ac_exec_ext in '' $ac_executable_extensions; do
7196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7207 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7208 if test -n "$ac_ct_DSYMUTIL"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7210 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7213 $as_echo "no
" >&6; }
7216 if test "x
$ac_ct_DSYMUTIL" = x; then
7219 case $cross_compiling:$ac_tool_warned in
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7222 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7223 ac_tool_warned=yes ;;
7225 DSYMUTIL=$ac_ct_DSYMUTIL
7228 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7235 $as_echo_n "checking
for $ac_word...
" >&6; }
7236 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7237 $as_echo_n "(cached
) " >&6
7239 if test -n "$NMEDIT"; then
7240 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7259 NMEDIT=$ac_cv_prog_NMEDIT
7260 if test -n "$NMEDIT"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7262 $as_echo "$NMEDIT" >&6; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7265 $as_echo "no
" >&6; }
7270 if test -z "$ac_cv_prog_NMEDIT"; then
7271 ac_ct_NMEDIT=$NMEDIT
7272 # Extract the first word of "nmedit
", so it can be a program name with args.
7273 set dummy nmedit; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7275 $as_echo_n "checking
for $ac_word...
" >&6; }
7276 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7277 $as_echo_n "(cached
) " >&6
7279 if test -n "$ac_ct_NMEDIT"; then
7280 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7299 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7300 if test -n "$ac_ct_NMEDIT"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7302 $as_echo "$ac_ct_NMEDIT" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7305 $as_echo "no
" >&6; }
7308 if test "x
$ac_ct_NMEDIT" = x; then
7311 case $cross_compiling:$ac_tool_warned in
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7314 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7315 ac_tool_warned=yes ;;
7317 NMEDIT=$ac_ct_NMEDIT
7320 NMEDIT="$ac_cv_prog_NMEDIT"
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7327 $as_echo_n "checking
for $ac_word...
" >&6; }
7328 if test "${ac_cv_prog_LIPO+set}" = set; then :
7329 $as_echo_n "(cached
) " >&6
7331 if test -n "$LIPO"; then
7332 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7351 LIPO=$ac_cv_prog_LIPO
7352 if test -n "$LIPO"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7354 $as_echo "$LIPO" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7357 $as_echo "no
" >&6; }
7362 if test -z "$ac_cv_prog_LIPO"; then
7364 # Extract the first word of "lipo
", so it can be a program name with args.
7365 set dummy lipo; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7367 $as_echo_n "checking
for $ac_word...
" >&6; }
7368 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7369 $as_echo_n "(cached
) " >&6
7371 if test -n "$ac_ct_LIPO"; then
7372 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7381 ac_cv_prog_ac_ct_LIPO="lipo
"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7391 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7392 if test -n "$ac_ct_LIPO"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7394 $as_echo "$ac_ct_LIPO" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7397 $as_echo "no
" >&6; }
7400 if test "x
$ac_ct_LIPO" = x; then
7403 case $cross_compiling:$ac_tool_warned in
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7406 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7407 ac_tool_warned=yes ;;
7412 LIPO="$ac_cv_prog_LIPO"
7415 if test -n "$ac_tool_prefix"; then
7416 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7417 set dummy ${ac_tool_prefix}otool; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7419 $as_echo_n "checking
for $ac_word...
" >&6; }
7420 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7421 $as_echo_n "(cached
) " >&6
7423 if test -n "$OTOOL"; then
7424 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7443 OTOOL=$ac_cv_prog_OTOOL
7444 if test -n "$OTOOL"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7446 $as_echo "$OTOOL" >&6; }
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7449 $as_echo "no
" >&6; }
7454 if test -z "$ac_cv_prog_OTOOL"; then
7456 # Extract the first word of "otool
", so it can be a program name with args.
7457 set dummy otool; ac_word=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7459 $as_echo_n "checking
for $ac_word...
" >&6; }
7460 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7461 $as_echo_n "(cached
) " >&6
7463 if test -n "$ac_ct_OTOOL"; then
7464 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470 test -z "$as_dir" && as_dir=.
7471 for ac_exec_ext in '' $ac_executable_extensions; do
7472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7473 ac_cv_prog_ac_ct_OTOOL="otool
"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7483 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7484 if test -n "$ac_ct_OTOOL"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7486 $as_echo "$ac_ct_OTOOL" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7489 $as_echo "no
" >&6; }
7492 if test "x
$ac_ct_OTOOL" = x; then
7495 case $cross_compiling:$ac_tool_warned in
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7498 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7499 ac_tool_warned=yes ;;
7504 OTOOL="$ac_cv_prog_OTOOL"
7507 if test -n "$ac_tool_prefix"; then
7508 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7511 $as_echo_n "checking
for $ac_word...
" >&6; }
7512 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7513 $as_echo_n "(cached
) " >&6
7515 if test -n "$OTOOL64"; then
7516 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7535 OTOOL64=$ac_cv_prog_OTOOL64
7536 if test -n "$OTOOL64"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7538 $as_echo "$OTOOL64" >&6; }
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7541 $as_echo "no
" >&6; }
7546 if test -z "$ac_cv_prog_OTOOL64"; then
7547 ac_ct_OTOOL64=$OTOOL64
7548 # Extract the first word of "otool64
", so it can be a program name with args.
7549 set dummy otool64; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7551 $as_echo_n "checking
for $ac_word...
" >&6; }
7552 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7553 $as_echo_n "(cached
) " >&6
7555 if test -n "$ac_ct_OTOOL64"; then
7556 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7565 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7575 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7576 if test -n "$ac_ct_OTOOL64"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7578 $as_echo "$ac_ct_OTOOL64" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7581 $as_echo "no
" >&6; }
7584 if test "x
$ac_ct_OTOOL64" = x; then
7587 case $cross_compiling:$ac_tool_warned in
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7590 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7591 ac_tool_warned=yes ;;
7593 OTOOL64=$ac_ct_OTOOL64
7596 OTOOL64="$ac_cv_prog_OTOOL64"
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7626 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7627 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7628 $as_echo_n "(cached
) " >&6
7630 lt_cv_apple_cc_single_mod=no
7631 if test -z "${LT_MULTI_MODULE}"; then
7632 # By default we will add the -single_module flag. You can override
7633 # by either setting the environment variable LT_MULTI_MODULE
7634 # non-empty at configure time, or by adding -multi_module to the
7636 rm -rf libconftest.dylib*
7637 echo "int foo
(void
){return 1;}" > conftest.c
7638 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7639 -dynamiclib -Wl,-single_module conftest.c
" >&5
7640 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7641 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7643 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7644 lt_cv_apple_cc_single_mod=yes
7646 cat conftest.err >&5
7648 rm -rf libconftest.dylib*
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7653 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7655 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7656 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7657 $as_echo_n "(cached
) " >&6
7659 lt_cv_ld_exported_symbols_list=no
7660 save_LDFLAGS=$LDFLAGS
7661 echo "_main
" > conftest.sym
7662 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664 /* end confdefs.h. */
7674 if ac_fn_c_try_link "$LINENO"; then :
7675 lt_cv_ld_exported_symbols_list=yes
7677 lt_cv_ld_exported_symbols_list=no
7679 rm -f core conftest.err conftest.$ac_objext \
7680 conftest$ac_exeext conftest.$ac_ext
7681 LDFLAGS="$save_LDFLAGS"
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7685 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7687 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7688 if test "${lt_cv_ld_force_load+set}" = set; then :
7689 $as_echo_n "(cached
) " >&6
7691 lt_cv_ld_force_load=no
7692 cat > conftest.c << _LT_EOF
7693 int forced_loaded() { return 2;}
7695 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7696 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7697 echo "$AR cru libconftest.a conftest.o
" >&5
7698 $AR cru libconftest.a conftest.o 2>&5
7699 cat > conftest.c << _LT_EOF
7700 int main() { return 0;}
7702 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7703 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7705 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7706 lt_cv_ld_force_load=yes
7708 cat conftest.err >&5
7710 rm -f conftest.err libconftest.a conftest conftest.c
7711 rm -rf conftest.dSYM
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7715 $as_echo "$lt_cv_ld_force_load" >&6; }
7717 rhapsody* | darwin1.[012])
7718 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7720 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7721 darwin*) # darwin 5.x on
7722 # if running on 10.5 or later, the deployment target defaults
7723 # to the OS version, if on x86, and 10.4, the deployment
7724 # target defaults to 10.4. Don't you love it?
7725 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7726 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7727 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7729 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7731 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7735 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7736 _lt_dar_single_mod='$single_module'
7738 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7739 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7741 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7743 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7744 _lt_dsymutil='~$DSYMUTIL $lib || :'
7751 for ac_header in dlfcn.h
7753 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7755 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_DLFCN_H 1
7776 # Check whether --enable-shared was given.
7777 if test "${enable_shared+set}" = set; then :
7778 enableval=$enable_shared; p=${PACKAGE-default}
7780 yes) enable_shared=yes ;;
7781 no) enable_shared=no ;;
7784 # Look at the argument we got. We use all the common list separators.
7785 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7786 for pkg in $enableval; do
7788 if test "X
$pkg" = "X
$p"; then
7807 # Check whether --enable-static was given.
7808 if test "${enable_static+set}" = set; then :
7809 enableval=$enable_static; p=${PACKAGE-default}
7811 yes) enable_static=yes ;;
7812 no) enable_static=no ;;
7815 # Look at the argument we got. We use all the common list separators.
7816 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7817 for pkg in $enableval; do
7819 if test "X
$pkg" = "X
$p"; then
7839 # Check whether --with-pic was given.
7840 if test "${with_pic+set}" = set; then :
7841 withval=$with_pic; pic_mode="$withval"
7847 test -z "$pic_mode" && pic_mode=default
7855 # Check whether --enable-fast-install was given.
7856 if test "${enable_fast_install+set}" = set; then :
7857 enableval=$enable_fast_install; p=${PACKAGE-default}
7859 yes) enable_fast_install=yes ;;
7860 no) enable_fast_install=no ;;
7862 enable_fast_install=no
7863 # Look at the argument we got. We use all the common list separators.
7864 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7865 for pkg in $enableval; do
7867 if test "X
$pkg" = "X
$p"; then
7868 enable_fast_install=yes
7875 enable_fast_install=yes
7888 # This can be used to rebuild libtool when needed
7889 LIBTOOL_DEPS="$ltmain"
7891 # Always use our own libtool.
7892 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7919 test -z "$LN_S" && LN_S="ln -s"
7934 if test -n "${ZSH_VERSION+set}" ; then
7935 setopt NO_GLOB_SUBST
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7939 $as_echo_n "checking
for objdir...
" >&6; }
7940 if test "${lt_cv_objdir+set}" = set; then :
7941 $as_echo_n "(cached
) " >&6
7943 rm -f .libs 2>/dev/null
7944 mkdir .libs 2>/dev/null
7945 if test -d .libs; then
7948 # MS-DOS does not allow filenames that begin with a dot.
7951 rmdir .libs 2>/dev/null
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7954 $as_echo "$lt_cv_objdir" >&6; }
7955 objdir=$lt_cv_objdir
7961 cat >>confdefs.h <<_ACEOF
7962 #define LT_OBJDIR "$lt_cv_objdir/"
7970 # AIX sometimes has problems with the GCC collect2 program. For some
7971 # reason, if we set the COLLECT_NAMES environment variable, the problems
7972 # vanish in a puff of smoke.
7973 if test "X
${COLLECT_NAMES+set}" != Xset; then
7975 export COLLECT_NAMES
7982 can_build_shared=yes
7984 # All known linkers require a `.a' archive for static linking (except MSVC,
7985 # which needs '.lib').
7988 with_gnu_ld="$lt_cv_prog_gnu_ld"
7991 old_CFLAGS="$CFLAGS"
7993 # Set sane defaults for various variables
7994 test -z "$CC" && CC=cc
7995 test -z "$LTCC" && LTCC=$CC
7996 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7997 test -z "$LD" && LD=ld
7998 test -z "$ac_objext" && ac_objext=o
8000 for cc_temp in $compiler""; do
8002 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8003 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8008 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8011 # Only perform the check for file, if the check method requires it
8012 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8013 case $deplibs_check_method in
8015 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8017 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8018 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8019 $as_echo_n "(cached
) " >&6
8023 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8026 lt_save_MAGIC_CMD="$MAGIC_CMD"
8027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8028 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8029 for ac_dir in $ac_dummy; do
8031 test -z "$ac_dir" && ac_dir=.
8032 if test -f $ac_dir/${ac_tool_prefix}file; then
8033 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8034 if test -n "$file_magic_test_file"; then
8035 case $deplibs_check_method in
8037 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8038 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8039 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8040 $EGREP "$file_magic_regex" > /dev/null; then
8045 *** Warning: the command libtool uses to detect shared libraries,
8046 *** $file_magic_cmd, produces output that libtool cannot recognize.
8047 *** The result is that libtool may fail to recognize shared libraries
8048 *** as such. This will affect the creation of libtool libraries that
8049 *** depend on shared libraries, but programs linked with such libtool
8050 *** libraries will work regardless of this problem. Nevertheless, you
8051 *** may want to report the problem to your system manager and/or to
8052 *** bug-libtool@gnu.org
8062 MAGIC_CMD="$lt_save_MAGIC_CMD"
8067 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8068 if test -n "$MAGIC_CMD"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8070 $as_echo "$MAGIC_CMD" >&6; }
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8073 $as_echo "no
" >&6; }
8080 if test -z "$lt_cv_path_MAGIC_CMD"; then
8081 if test -n "$ac_tool_prefix"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8083 $as_echo_n "checking
for file...
" >&6; }
8084 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8085 $as_echo_n "(cached
) " >&6
8089 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8092 lt_save_MAGIC_CMD="$MAGIC_CMD"
8093 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8094 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8095 for ac_dir in $ac_dummy; do
8097 test -z "$ac_dir" && ac_dir=.
8098 if test -f $ac_dir/file; then
8099 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8100 if test -n "$file_magic_test_file"; then
8101 case $deplibs_check_method in
8103 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8105 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8106 $EGREP "$file_magic_regex" > /dev/null; then
8111 *** Warning: the command libtool uses to detect shared libraries,
8112 *** $file_magic_cmd, produces output that libtool cannot recognize.
8113 *** The result is that libtool may fail to recognize shared libraries
8114 *** as such. This will affect the creation of libtool libraries that
8115 *** depend on shared libraries, but programs linked with such libtool
8116 *** libraries will work regardless of this problem. Nevertheless, you
8117 *** may want to report the problem to your system manager and/or to
8118 *** bug-libtool@gnu.org
8128 MAGIC_CMD="$lt_save_MAGIC_CMD"
8133 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8134 if test -n "$MAGIC_CMD"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8136 $as_echo "$MAGIC_CMD" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8139 $as_echo "no
" >&6; }
8152 # Use C for the default configuration in the libtool script
8156 ac_cpp='$CPP $CPPFLAGS'
8157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8162 # Source file extension for C test sources.
8165 # Object file extension for compiled C test sources.
8169 # Code to be used in simple compile tests
8170 lt_simple_compile_test_code="int some_variable
= 0;"
8172 # Code to be used in simple link tests
8173 lt_simple_link_test_code='int main(){return(0);}'
8181 # If no C compiler was specified, use CC.
8184 # If no C compiler flags were specified, use CFLAGS.
8185 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8187 # Allow CC to be a program name with arguments.
8190 # Save the default compiler, since it gets overwritten when the other
8191 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8192 compiler_DEFAULT=$CC
8194 # save warnings/boilerplate of simple test code
8195 ac_outfile=conftest.$ac_objext
8196 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8197 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8198 _lt_compiler_boilerplate=`cat conftest.err`
8201 ac_outfile=conftest.$ac_objext
8202 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8203 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8204 _lt_linker_boilerplate=`cat conftest.err`
8209 ## There is no encapsulation within the following macros, do not change
8210 ## the running order or otherwise move them around unless you know exactly
8211 ## what you are doing...
8212 if test -n "$compiler"; then
8214 lt_prog_compiler_no_builtin_flag=
8216 if test "$GCC" = yes; then
8217 case $cc_basename in
8219 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8221 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8225 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8226 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8227 $as_echo_n "(cached
) " >&6
8229 lt_cv_prog_compiler_rtti_exceptions=no
8230 ac_outfile=conftest.$ac_objext
8231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8232 lt_compiler_flag="-fno-rtti -fno-exceptions"
8233 # Insert the option either (1) after the last *FLAGS variable, or
8234 # (2) before a word containing "conftest.
", or (3) at the end.
8235 # Note that $ac_compile itself does not contain backslashes and begins
8236 # with a dollar sign (not a hyphen), so the echo should work correctly.
8237 # The option is referenced via a variable to avoid confusing sed.
8238 lt_compile=`echo "$ac_compile" | $SED \
8239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8241 -e 's:$: $lt_compiler_flag:'`
8242 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8243 (eval "$lt_compile" 2>conftest.err)
8245 cat conftest.err >&5
8246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8247 if (exit $ac_status) && test -s "$ac_outfile"; then
8248 # The compiler can only warn and ignore the option if not recognized
8249 # So say no if there are warnings other than the usual output.
8250 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8252 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8253 lt_cv_prog_compiler_rtti_exceptions=yes
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8260 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8262 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8263 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8275 lt_prog_compiler_wl=
8276 lt_prog_compiler_pic=
8277 lt_prog_compiler_static=
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8280 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8282 if test "$GCC" = yes; then
8283 lt_prog_compiler_wl='-Wl,'
8284 lt_prog_compiler_static='-static'
8288 # All AIX code is PIC.
8289 if test "$host_cpu" = ia64; then
8290 # AIX 5 now supports IA64 processor
8291 lt_prog_compiler_static='-Bstatic'
8293 lt_prog_compiler_pic='-fPIC'
8299 # see comment about AmigaOS4 .so support
8300 lt_prog_compiler_pic='-fPIC'
8303 # FIXME: we need at least 68020 code to build shared libraries, but
8304 # adding the `-m68020' flag to GCC prevents building anything better,
8306 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8311 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8312 # PIC is the default for these OSes.
8315 mingw* | cygwin* | pw32* | os2* | cegcc*)
8316 # This hack is so that the source file can tell whether it is being
8317 # built for inclusion in a dll (and should export symbols for example).
8318 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8319 # (--disable-auto-import) libraries
8320 lt_prog_compiler_pic='-DDLL_EXPORT'
8323 darwin* | rhapsody*)
8324 # PIC is the default on this platform
8325 # Common symbols not allowed in MH_DYLIB files
8326 lt_prog_compiler_pic='-fno-common'
8330 # PIC is the default for Haiku.
8331 # The "-static" flag exists, but is broken.
8332 lt_prog_compiler_static=
8336 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8337 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8338 # sets the default TLS model and affects inlining.
8344 lt_prog_compiler_pic='-fPIC'
8350 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8351 # Instead, we relocate shared libraries at runtime.
8355 # Just because we use GCC doesn't mean we suddenly get shared libraries
8356 # on systems that don't support them.
8357 lt_prog_compiler_can_build_shared=no
8362 # QNX uses GNU C++, but need to define -shared option too, otherwise
8364 lt_prog_compiler_pic='-fPIC -shared'
8368 if test -d /usr/nec; then
8369 lt_prog_compiler_pic=-Kconform_pic
8374 lt_prog_compiler_pic='-fPIC'
8378 case $cc_basename in
8379 nvcc*) # Cuda Compiler Driver 2.2
8380 lt_prog_compiler_wl='-Xlinker '
8381 lt_prog_compiler_pic='-Xcompiler -fPIC'
8385 # PORTME Check for flag to pass linker flags through the system compiler.
8388 lt_prog_compiler_wl='-Wl,'
8389 if test "$host_cpu" = ia64; then
8390 # AIX 5 now supports IA64 processor
8391 lt_prog_compiler_static='-Bstatic'
8393 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8397 mingw* | cygwin* | pw32* | os2* | cegcc*)
8398 # This hack is so that the source file can tell whether it is being
8399 # built for inclusion in a dll (and should export symbols for example).
8400 lt_prog_compiler_pic='-DDLL_EXPORT'
8403 hpux9* | hpux10* | hpux11*)
8404 lt_prog_compiler_wl='-Wl,'
8405 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8412 lt_prog_compiler_pic='+Z'
8415 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8416 lt_prog_compiler_static='${wl}-a ${wl}archive'
8419 irix5* | irix6* | nonstopux*)
8420 lt_prog_compiler_wl='-Wl,'
8421 # PIC (with -KPIC) is the default.
8422 lt_prog_compiler_static='-non_shared'
8425 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8426 case $cc_basename in
8427 # old Intel for x86_64 which still supported -KPIC.
8429 lt_prog_compiler_wl='-Wl,'
8430 lt_prog_compiler_pic='-KPIC'
8431 lt_prog_compiler_static='-static'
8433 # icc used to be incompatible with GCC.
8434 # ICC 10 doesn't accept -KPIC any more.
8436 lt_prog_compiler_wl='-Wl,'
8437 lt_prog_compiler_pic='-fPIC'
8438 lt_prog_compiler_static='-static'
8440 # Lahey Fortran 8.1.
8442 lt_prog_compiler_wl='-Wl,'
8443 lt_prog_compiler_pic='--shared'
8444 lt_prog_compiler_static='--static'
8446 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8447 # Portland Group compilers (*not* the Pentium gcc compiler,
8448 # which looks to be a dead project)
8449 lt_prog_compiler_wl='-Wl,'
8450 lt_prog_compiler_pic='-fpic'
8451 lt_prog_compiler_static='-Bstatic'
8454 lt_prog_compiler_wl='-Wl,'
8455 # All Alpha code is PIC.
8456 lt_prog_compiler_static='-non_shared'
8458 xl* | bgxl* | bgf* | mpixl*)
8459 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8460 lt_prog_compiler_wl='-Wl,'
8461 lt_prog_compiler_pic='-qpic'
8462 lt_prog_compiler_static='-qstaticlink'
8465 case `$CC -V 2>&1 | sed 5q` in
8466 *Sun\ F* | *Sun*Fortran*)
8467 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8468 lt_prog_compiler_pic='-KPIC'
8469 lt_prog_compiler_static='-Bstatic'
8470 lt_prog_compiler_wl=''
8474 lt_prog_compiler_pic='-KPIC'
8475 lt_prog_compiler_static='-Bstatic'
8476 lt_prog_compiler_wl='-Wl,'
8484 lt_prog_compiler_pic='-KPIC'
8485 lt_prog_compiler_static='-Bstatic'
8489 # QNX uses GNU C++, but need to define -shared option too, otherwise
8491 lt_prog_compiler_pic='-fPIC -shared'
8494 osf3* | osf4* | osf5*)
8495 lt_prog_compiler_wl='-Wl,'
8496 # All OSF/1 code is PIC.
8497 lt_prog_compiler_static='-non_shared'
8501 lt_prog_compiler_static='-non_shared'
8505 lt_prog_compiler_pic='-KPIC'
8506 lt_prog_compiler_static='-Bstatic'
8507 case $cc_basename in
8509 lt_prog_compiler_wl='-Qoption ld ';;
8511 lt_prog_compiler_wl='-Wl,';;
8516 lt_prog_compiler_wl='-Qoption ld '
8517 lt_prog_compiler_pic='-PIC'
8518 lt_prog_compiler_static='-Bstatic'
8521 sysv4 | sysv4.2uw2* | sysv4.3*)
8522 lt_prog_compiler_wl='-Wl,'
8523 lt_prog_compiler_pic='-KPIC'
8524 lt_prog_compiler_static='-Bstatic'
8528 if test -d /usr/nec ;then
8529 lt_prog_compiler_pic='-Kconform_pic'
8530 lt_prog_compiler_static='-Bstatic'
8534 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8535 lt_prog_compiler_wl='-Wl,'
8536 lt_prog_compiler_pic='-KPIC'
8537 lt_prog_compiler_static='-Bstatic'
8541 lt_prog_compiler_wl='-Wl,'
8542 lt_prog_compiler_can_build_shared=no
8546 lt_prog_compiler_pic='-pic'
8547 lt_prog_compiler_static='-Bstatic'
8551 lt_prog_compiler_can_build_shared=no
8557 # For platforms which do not support PIC, -DPIC is meaningless:
8559 lt_prog_compiler_pic=
8562 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8566 $as_echo "$lt_prog_compiler_pic" >&6; }
8574 # Check to make sure the PIC flag actually works.
8576 if test -n "$lt_prog_compiler_pic"; then
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8578 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8579 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8580 $as_echo_n "(cached
) " >&6
8582 lt_cv_prog_compiler_pic_works=no
8583 ac_outfile=conftest.$ac_objext
8584 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8585 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8586 # Insert the option either (1) after the last *FLAGS variable, or
8587 # (2) before a word containing "conftest.
", or (3) at the end.
8588 # Note that $ac_compile itself does not contain backslashes and begins
8589 # with a dollar sign (not a hyphen), so the echo should work correctly.
8590 # The option is referenced via a variable to avoid confusing sed.
8591 lt_compile=`echo "$ac_compile" | $SED \
8592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8594 -e 's:$: $lt_compiler_flag:'`
8595 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8596 (eval "$lt_compile" 2>conftest.err)
8598 cat conftest.err >&5
8599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8600 if (exit $ac_status) && test -s "$ac_outfile"; then
8601 # The compiler can only warn and ignore the option if not recognized
8602 # So say no if there are warnings other than the usual output.
8603 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8604 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8605 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8606 lt_cv_prog_compiler_pic_works=yes
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8613 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8615 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8616 case $lt_prog_compiler_pic in
8618 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8621 lt_prog_compiler_pic=
8622 lt_prog_compiler_can_build_shared=no
8633 # Check to make sure the static flag actually works.
8635 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8637 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8638 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8639 $as_echo_n "(cached
) " >&6
8641 lt_cv_prog_compiler_static_works=no
8642 save_LDFLAGS="$LDFLAGS"
8643 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8644 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8645 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8646 # The linker can only warn and ignore the option if not recognized
8647 # So say no if there are warnings
8648 if test -s conftest.err; then
8649 # Append any errors to the config.log.
8650 cat conftest.err 1>&5
8651 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8652 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8653 if diff conftest.exp conftest.er2 >/dev/null; then
8654 lt_cv_prog_compiler_static_works=yes
8657 lt_cv_prog_compiler_static_works=yes
8661 LDFLAGS="$save_LDFLAGS"
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8665 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8667 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8670 lt_prog_compiler_static=
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8680 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8681 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8682 $as_echo_n "(cached
) " >&6
8684 lt_cv_prog_compiler_c_o=no
8685 $RM -r conftest 2>/dev/null
8689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8691 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8692 # Insert the option either (1) after the last *FLAGS variable, or
8693 # (2) before a word containing "conftest.
", or (3) at the end.
8694 # Note that $ac_compile itself does not contain backslashes and begins
8695 # with a dollar sign (not a hyphen), so the echo should work correctly.
8696 lt_compile=`echo "$ac_compile" | $SED \
8697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8699 -e 's:$: $lt_compiler_flag:'`
8700 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8701 (eval "$lt_compile" 2>out/conftest.err)
8703 cat out/conftest.err >&5
8704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8705 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8707 # The compiler can only warn and ignore the option if not recognized
8708 # So say no if there are warnings
8709 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8710 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8711 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8712 lt_cv_prog_compiler_c_o=yes
8717 # SGI C++ compiler will create directory out/ii_files/ for
8718 # template instantiation
8719 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8720 $RM out/* && rmdir out
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8727 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8735 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8736 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8737 $as_echo_n "(cached
) " >&6
8739 lt_cv_prog_compiler_c_o=no
8740 $RM -r conftest 2>/dev/null
8744 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8746 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8747 # Insert the option either (1) after the last *FLAGS variable, or
8748 # (2) before a word containing "conftest.
", or (3) at the end.
8749 # Note that $ac_compile itself does not contain backslashes and begins
8750 # with a dollar sign (not a hyphen), so the echo should work correctly.
8751 lt_compile=`echo "$ac_compile" | $SED \
8752 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8753 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8754 -e 's:$: $lt_compiler_flag:'`
8755 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8756 (eval "$lt_compile" 2>out/conftest.err)
8758 cat out/conftest.err >&5
8759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8760 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8762 # The compiler can only warn and ignore the option if not recognized
8763 # So say no if there are warnings
8764 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8765 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8766 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8767 lt_cv_prog_compiler_c_o=yes
8772 # SGI C++ compiler will create directory out/ii_files/ for
8773 # template instantiation
8774 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8775 $RM out/* && rmdir out
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8782 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8787 hard_links="nottested
"
8788 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8789 # do not overwrite the value of need_locks provided by the user
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8791 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8794 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8796 ln conftest.a conftest.b 2>&5 || hard_links=no
8797 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8799 $as_echo "$hard_links" >&6; }
8800 if test "$hard_links" = no; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8802 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8815 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8818 allow_undefined_flag=
8819 always_export_symbols=no
8821 archive_expsym_cmds=
8822 compiler_needs_object=no
8823 enable_shared_with_static_runtimes=no
8824 export_dynamic_flag_spec=
8825 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8826 hardcode_automatic=no
8828 hardcode_direct_absolute=no
8829 hardcode_libdir_flag_spec=
8830 hardcode_libdir_flag_spec_ld=
8831 hardcode_libdir_separator=
8833 hardcode_shlibpath_var=unsupported
8835 link_all_deplibs=unknown
8838 old_archive_from_new_cmds=
8839 old_archive_from_expsyms_cmds=
8840 thread_safe_flag_spec=
8841 whole_archive_flag_spec=
8842 # include_expsyms should be a list of space-separated symbols to be *always*
8843 # included in the symbol list
8845 # exclude_expsyms can be an extended regexp of symbols to exclude
8846 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8847 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8848 # as well as any symbol that contains `d'.
8849 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8850 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8851 # platforms (ab)use it in PIC code, but their linkers get confused if
8852 # the symbol is explicitly referenced. Since portable code cannot
8853 # rely on this symbol name, it's probably fine to never include it in
8854 # preloaded symbol tables.
8855 # Exclude shared library initialization/finalization symbols.
8856 extract_expsyms_cmds=
8859 cygwin* | mingw* | pw32* | cegcc*)
8860 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8861 # When not using gcc, we currently assume that we are using
8862 # Microsoft Visual C++.
8863 if test "$GCC" != yes; then
8868 # we just hope/assume this is gcc and not c89 (= MSVC++)
8878 # On some targets, GNU ld is compatible enough with the native linker
8879 # that we're better off using the native interface for both.
8880 lt_use_gnu_ld_interface=no
8881 if test "$with_gnu_ld" = yes; then
8884 # The AIX port of GNU ld has always aspired to compatibility
8885 # with the native linker. However, as the warning in the GNU ld
8886 # block says, versions before 2.19.5* couldn't really create working
8887 # shared libraries, regardless of the interface used.
8888 case `$LD -v 2>&1` in
8889 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8890 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8891 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8893 lt_use_gnu_ld_interface=yes
8898 lt_use_gnu_ld_interface=yes
8903 if test "$lt_use_gnu_ld_interface" = yes; then
8904 # If archive_cmds runs LD, not CC, wlarc should be empty
8907 # Set some defaults for GNU ld with shared library support. These
8908 # are reset later if shared libraries are not supported. Putting them
8909 # here allows them to be overridden if necessary.
8910 runpath_var=LD_RUN_PATH
8911 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8912 export_dynamic_flag_spec='${wl}--export-dynamic'
8913 # ancient GNU ld didn't support --whole-archive et. al.
8914 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8915 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8917 whole_archive_flag_spec=
8919 supports_anon_versioning=no
8920 case `$LD -v 2>&1` in
8921 *GNU\ gold*) supports_anon_versioning=yes ;;
8922 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8923 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8924 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8925 *\ 2.11.*) ;; # other 2.11 versions
8926 *) supports_anon_versioning=yes ;;
8929 # See if GNU ld supports shared libraries.
8932 # On AIX/PPC, the GNU linker is very broken
8933 if test "$host_cpu" != ia64; then
8937 *** Warning: the GNU linker, at least up to release 2.19, is reported
8938 *** to be unable to reliably create shared libraries on AIX.
8939 *** Therefore, libtool is disabling shared libraries support. If you
8940 *** really care for shared libraries, you may want to install binutils
8941 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8942 *** You will then need to restart the configuration process.
8951 # see comment about AmigaOS4 .so support
8952 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8953 archive_expsym_cmds=''
8956 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)'
8957 hardcode_libdir_flag_spec
='-L$libdir'
8958 hardcode_minus_L
=yes
8964 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8965 allow_undefined_flag
=unsupported
8966 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8967 # support --undefined. This deserves some investigation. FIXME
8968 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8974 cygwin
* | mingw
* | pw32
* | cegcc
*)
8975 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8976 # as there is no search path for DLLs.
8977 hardcode_libdir_flag_spec
='-L$libdir'
8978 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8979 allow_undefined_flag
=unsupported
8980 always_export_symbols
=no
8981 enable_shared_with_static_runtimes
=yes
8982 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8984 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8985 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8986 # If the export-symbols file already is a .def file (1st line
8987 # is EXPORTS), use it as is; otherwise, prepend...
8988 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8989 cp $export_symbols $output_objdir/$soname.def;
8991 echo EXPORTS > $output_objdir/$soname.def;
8992 cat $export_symbols >> $output_objdir/$soname.def;
8994 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9001 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9002 link_all_deplibs
=yes
9007 hardcode_shlibpath_var
=no
9008 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9009 export_dynamic_flag_spec
='${wl}-E'
9010 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9011 # Instead, shared libraries are loaded at an image base (0x10000000 by
9012 # default) and relocated if they conflict, which is a slow very memory
9013 # consuming and fragmenting process. To avoid this, we pick a random,
9014 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9015 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9016 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9017 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'
9020 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9022 if test "$host_os" = linux-dietlibc
; then
9023 case $cc_basename in
9024 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9027 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9028 && test "$tmp_diet" = no
9030 tmp_addflag
=' $pic_flag'
9031 tmp_sharedflag
='-shared'
9032 case $cc_basename,$host_cpu in
9033 pgcc
*) # Portland Group C compiler
9034 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'
9035 tmp_addflag
=' $pic_flag'
9037 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9038 # Portland Group f77 and f90 compilers
9039 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'
9040 tmp_addflag
=' $pic_flag -Mnomain' ;;
9041 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9042 tmp_addflag
=' -i_dynamic' ;;
9043 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9044 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9045 ifc
* | ifort
*) # Intel Fortran compiler
9046 tmp_addflag
=' -nofor_main' ;;
9047 lf95
*) # Lahey Fortran 8.1
9048 whole_archive_flag_spec
=
9049 tmp_sharedflag
='--shared' ;;
9050 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9051 tmp_sharedflag
='-qmkshrobj'
9053 nvcc
*) # Cuda Compiler Driver 2.2
9054 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'
9055 compiler_needs_object
=yes
9058 case `$CC -V 2>&1 | sed 5q` in
9059 *Sun\ C
*) # Sun C 5.9
9060 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'
9061 compiler_needs_object
=yes
9062 tmp_sharedflag
='-G' ;;
9063 *Sun\ F
*) # Sun Fortran 8.3
9064 tmp_sharedflag
='-G' ;;
9066 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9068 if test "x$supports_anon_versioning" = xyes
; then
9069 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9070 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9071 echo "local: *; };" >> $output_objdir/$libname.ver~
9072 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9075 case $cc_basename in
9076 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9077 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9078 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9079 hardcode_libdir_flag_spec
=
9080 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9081 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9082 if test "x$supports_anon_versioning" = xyes
; then
9083 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9084 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9085 echo "local: *; };" >> $output_objdir/$libname.ver~
9086 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9096 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9097 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9100 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9106 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9110 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9111 *** create shared libraries on Solaris systems. Therefore, libtool
9112 *** is disabling shared libraries support. We urge you to upgrade GNU
9113 *** binutils to release 2.9.1 or newer. Another option is to modify
9114 *** your PATH or compiler configuration so that the native linker is
9115 *** used, and then restart.
9118 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9119 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9120 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9126 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9127 case `$LD -v 2>&1` in
9128 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9132 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9133 *** reliably create shared libraries on SCO systems. Therefore, libtool
9134 *** is disabling shared libraries support. We urge you to upgrade GNU
9135 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9136 *** your PATH or compiler configuration so that the native linker is
9137 *** used, and then restart.
9142 # For security reasons, it is highly recommended that you always
9143 # use absolute paths for naming shared libraries, and exclude the
9144 # DT_RUNPATH tag from executables and libraries. But doing so
9145 # requires that you compile everything twice, which is a pain.
9146 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9147 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9148 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9158 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9161 hardcode_shlibpath_var
=no
9165 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9166 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9174 if test "$ld_shlibs" = no
; then
9176 hardcode_libdir_flag_spec
=
9177 export_dynamic_flag_spec
=
9178 whole_archive_flag_spec
=
9181 # PORTME fill in a description of your system's linker (not GNU ld)
9184 allow_undefined_flag
=unsupported
9185 always_export_symbols
=yes
9186 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'
9187 # Note: this linker hardcodes the directories in LIBPATH if there
9188 # are no directories specified by -L.
9189 hardcode_minus_L
=yes
9190 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9191 # Neither direct hardcoding nor static linking is supported with a
9193 hardcode_direct
=unsupported
9198 if test "$host_cpu" = ia64
; then
9199 # On IA64, the linker does run time linking by default, so we don't
9200 # have to do anything special.
9201 aix_use_runtimelinking
=no
9202 exp_sym_flag
='-Bexport'
9205 # If we're using GNU nm, then we don't want the "-C" option.
9206 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9207 # Also, AIX nm treats weak defined symbols like other global
9208 # defined symbols, whereas GNU nm marks them as "W".
9209 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9210 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'
9212 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9214 aix_use_runtimelinking
=no
9216 # Test if we are trying to use run time linking or normal
9217 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9218 # need to do runtime linking.
9219 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9220 for ld_flag
in $LDFLAGS; do
9221 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9222 aix_use_runtimelinking
=yes
9229 exp_sym_flag
='-bexport'
9230 no_entry_flag
='-bnoentry'
9233 # When large executables or shared objects are built, AIX ld can
9234 # have problems creating the table of contents. If linking a library
9235 # or program results in "error TOC overflow" add -mminimal-toc to
9236 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9237 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9241 hardcode_direct_absolute
=yes
9242 hardcode_libdir_separator
=':'
9243 link_all_deplibs
=yes
9244 file_list_spec
='${wl}-f,'
9246 if test "$GCC" = yes; then
9247 case $host_os in aix4.
[012]|aix4.
[012].
*)
9248 # We only want to do this on AIX 4.2 and lower, the check
9249 # below for broken collect2 doesn't work under 4.3+
9250 collect2name
=`${CC} -print-prog-name=collect2`
9251 if test -f "$collect2name" &&
9252 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9254 # We have reworked collect2
9257 # We have old collect2
9258 hardcode_direct
=unsupported
9259 # It fails to find uninstalled libraries when the uninstalled
9260 # path is not listed in the libpath. Setting hardcode_minus_L
9261 # to unsupported forces relinking
9262 hardcode_minus_L
=yes
9263 hardcode_libdir_flag_spec
='-L$libdir'
9264 hardcode_libdir_separator
=
9268 shared_flag
='-shared'
9269 if test "$aix_use_runtimelinking" = yes; then
9270 shared_flag
="$shared_flag "'${wl}-G'
9274 if test "$host_cpu" = ia64
; then
9275 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9276 # chokes on -Wl,-G. The following line is correct:
9279 if test "$aix_use_runtimelinking" = yes; then
9280 shared_flag
='${wl}-G'
9282 shared_flag
='${wl}-bM:SRE'
9287 export_dynamic_flag_spec
='${wl}-bexpall'
9288 # It seems that -bexpall does not export symbols beginning with
9289 # underscore (_), so it is better to generate a list of symbols to export.
9290 always_export_symbols
=yes
9291 if test "$aix_use_runtimelinking" = yes; then
9292 # Warning - without using the other runtime loading flags (-brtl),
9293 # -berok will link without error, but may produce a broken library.
9294 allow_undefined_flag
='-berok'
9295 # Determine the default libpath from the value encoded in an
9297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9308 if ac_fn_c_try_link
"$LINENO"; then :
9310 lt_aix_libpath_sed
='
9311 /Import File Strings/,/^$/ {
9317 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9318 # Check for a 64-bit object if we didn't find anything.
9319 if test -z "$aix_libpath"; then
9320 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9323 rm -f core conftest.err conftest.
$ac_objext \
9324 conftest
$ac_exeext conftest.
$ac_ext
9325 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9327 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9328 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"
9330 if test "$host_cpu" = ia64
; then
9331 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9332 allow_undefined_flag
="-z nodefs"
9333 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"
9335 # Determine the default libpath from the value encoded in an
9337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9348 if ac_fn_c_try_link
"$LINENO"; then :
9350 lt_aix_libpath_sed
='
9351 /Import File Strings/,/^$/ {
9357 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9358 # Check for a 64-bit object if we didn't find anything.
9359 if test -z "$aix_libpath"; then
9360 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9363 rm -f core conftest.err conftest.
$ac_objext \
9364 conftest
$ac_exeext conftest.
$ac_ext
9365 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9367 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9368 # Warning - without using the other run time loading flags,
9369 # -berok will link without error, but may produce a broken library.
9370 no_undefined_flag
=' ${wl}-bernotok'
9371 allow_undefined_flag
=' ${wl}-berok'
9372 if test "$with_gnu_ld" = yes; then
9373 # We only use this code for GNU lds that support --whole-archive.
9374 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9376 # Exported symbols can be pulled into shared objects from archives
9377 whole_archive_flag_spec
='$convenience'
9379 archive_cmds_need_lc
=yes
9380 # This is similar to how AIX traditionally builds its shared libraries.
9381 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'
9389 # see comment about AmigaOS4 .so support
9390 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds
=''
9394 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)'
9395 hardcode_libdir_flag_spec
='-L$libdir'
9396 hardcode_minus_L
=yes
9402 export_dynamic_flag_spec
=-rdynamic
9405 cygwin
* | mingw
* | pw32
* | cegcc
*)
9406 # When not using gcc, we currently assume that we are using
9407 # Microsoft Visual C++.
9408 # hardcode_libdir_flag_spec is actually meaningless, as there is
9409 # no search path for DLLs.
9410 hardcode_libdir_flag_spec
=' '
9411 allow_undefined_flag
=unsupported
9412 # Tell ltmain to make .lib files, not .a files.
9414 # Tell ltmain to make .dll files, not .so files.
9416 # FIXME: Setting linknames here is a bad hack.
9417 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9418 # The linker will automatically build a .lib file if we build a DLL.
9419 old_archive_from_new_cmds
='true'
9420 # FIXME: Should let the user specify the lib program.
9421 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9422 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9423 enable_shared_with_static_runtimes
=yes
9426 darwin
* | rhapsody
*)
9429 archive_cmds_need_lc
=no
9431 hardcode_automatic
=yes
9432 hardcode_shlibpath_var
=unsupported
9433 if test "$lt_cv_ld_force_load" = "yes"; then
9434 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\"`'
9436 whole_archive_flag_spec
=''
9438 link_all_deplibs
=yes
9439 allow_undefined_flag
="$_lt_dar_allow_undefined"
9440 case $cc_basename in
9441 ifort
*) _lt_dar_can_shared
=yes ;;
9442 *) _lt_dar_can_shared
=$GCC ;;
9444 if test "$_lt_dar_can_shared" = "yes"; then
9445 output_verbose_link_cmd
=func_echo_all
9446 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9447 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9448 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}"
9449 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}"
9458 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9459 hardcode_libdir_flag_spec
='-L$libdir'
9460 hardcode_shlibpath_var
=no
9463 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9464 # support. Future versions do this automatically, but an explicit c++rt0.o
9465 # does not break anything, and helps significantly (at the cost of a little
9468 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9469 hardcode_libdir_flag_spec
='-R$libdir'
9471 hardcode_shlibpath_var
=no
9474 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9476 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9478 hardcode_minus_L
=yes
9479 hardcode_shlibpath_var
=no
9482 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9483 freebsd
* | dragonfly
*)
9484 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9485 hardcode_libdir_flag_spec
='-R$libdir'
9487 hardcode_shlibpath_var
=no
9491 if test "$GCC" = yes; then
9492 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'
9494 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'
9496 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9497 hardcode_libdir_separator
=:
9500 # hardcode_minus_L: Not really in the search PATH,
9501 # but as the default location of the library.
9502 hardcode_minus_L
=yes
9503 export_dynamic_flag_spec
='${wl}-E'
9507 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9508 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9510 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9512 if test "$with_gnu_ld" = no
; then
9513 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9514 hardcode_libdir_flag_spec_ld
='+b $libdir'
9515 hardcode_libdir_separator
=:
9517 hardcode_direct_absolute
=yes
9518 export_dynamic_flag_spec
='${wl}-E'
9519 # hardcode_minus_L: Not really in the search PATH,
9520 # but as the default location of the library.
9521 hardcode_minus_L
=yes
9526 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9529 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9532 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9535 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9544 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9548 # Older versions of the 11.00 compiler do not understand -b yet
9549 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9551 $as_echo_n "checking if $CC understands -b... " >&6; }
9552 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9553 $as_echo_n "(cached) " >&6
9555 lt_cv_prog_compiler__b
=no
9556 save_LDFLAGS
="$LDFLAGS"
9557 LDFLAGS
="$LDFLAGS -b"
9558 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9559 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9560 # The linker can only warn and ignore the option if not recognized
9561 # So say no if there are warnings
9562 if test -s conftest.err
; then
9563 # Append any errors to the config.log.
9564 cat conftest.err
1>&5
9565 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9566 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9567 if diff conftest.exp conftest.er2
>/dev
/null
; then
9568 lt_cv_prog_compiler__b
=yes
9571 lt_cv_prog_compiler__b
=yes
9575 LDFLAGS
="$save_LDFLAGS"
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9579 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9581 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9582 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9584 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9590 if test "$with_gnu_ld" = no
; then
9591 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9592 hardcode_libdir_separator
=:
9597 hardcode_shlibpath_var
=no
9601 hardcode_direct_absolute
=yes
9602 export_dynamic_flag_spec
='${wl}-E'
9604 # hardcode_minus_L: Not really in the search PATH,
9605 # but as the default location of the library.
9606 hardcode_minus_L
=yes
9612 irix5
* | irix6
* | nonstopux
*)
9613 if test "$GCC" = yes; then
9614 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'
9615 # Try to use the -exported_symbol ld option, if it does not
9616 # work, assume that -exports_file does not work either and
9617 # implicitly export all symbols.
9618 save_LDFLAGS
="$LDFLAGS"
9619 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9624 if ac_fn_c_try_link
"$LINENO"; then :
9625 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'
9628 rm -f core conftest.err conftest.
$ac_objext \
9629 conftest
$ac_exeext conftest.
$ac_ext
9630 LDFLAGS
="$save_LDFLAGS"
9632 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'
9633 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'
9635 archive_cmds_need_lc
='no'
9636 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9637 hardcode_libdir_separator
=:
9639 link_all_deplibs
=yes
9643 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9644 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9646 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9648 hardcode_libdir_flag_spec
='-R$libdir'
9650 hardcode_shlibpath_var
=no
9654 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9656 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9657 hardcode_libdir_separator
=:
9658 hardcode_shlibpath_var
=no
9665 if test -f /usr
/libexec
/ld.so
; then
9667 hardcode_shlibpath_var
=no
9668 hardcode_direct_absolute
=yes
9669 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9670 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9671 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9672 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9673 export_dynamic_flag_spec
='${wl}-E'
9676 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9677 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9678 hardcode_libdir_flag_spec
='-R$libdir'
9681 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9682 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9692 hardcode_libdir_flag_spec
='-L$libdir'
9693 hardcode_minus_L
=yes
9694 allow_undefined_flag
=unsupported
9695 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'
9696 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9700 if test "$GCC" = yes; then
9701 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9702 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'
9704 allow_undefined_flag
=' -expect_unresolved \*'
9705 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'
9707 archive_cmds_need_lc
='no'
9708 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9709 hardcode_libdir_separator
=:
9712 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9713 if test "$GCC" = yes; then
9714 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9715 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'
9716 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9718 allow_undefined_flag
=' -expect_unresolved \*'
9719 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'
9720 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~
9721 $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'
9723 # Both c and cxx compiler support -rpath directly
9724 hardcode_libdir_flag_spec
='-rpath $libdir'
9726 archive_cmds_need_lc
='no'
9727 hardcode_libdir_separator
=:
9731 no_undefined_flag
=' -z defs'
9732 if test "$GCC" = yes; then
9734 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9736 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9738 case `$CC -V 2>&1` in
9741 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9742 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9743 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9747 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9748 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9749 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9753 hardcode_libdir_flag_spec
='-R$libdir'
9754 hardcode_shlibpath_var
=no
9756 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9758 # The compiler driver will combine and reorder linker options,
9759 # but understands `-z linker_flag'. GCC discards it without `$wl',
9760 # but is careful enough not to reorder.
9761 # Supported since Solaris 2.6 (maybe 2.5.1?)
9762 if test "$GCC" = yes; then
9763 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9765 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9769 link_all_deplibs
=yes
9773 if test "x$host_vendor" = xsequent
; then
9774 # Use $CC to link under sequent, because it throws in some extra .o
9775 # files that make .init and .fini sections work.
9776 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9778 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9780 hardcode_libdir_flag_spec
='-L$libdir'
9782 hardcode_minus_L
=yes
9783 hardcode_shlibpath_var
=no
9787 case $host_vendor in
9789 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9790 hardcode_direct
=yes # is this really true???
9793 ## LD is ld it makes a PLAMLIB
9794 ## CC just makes a GrossModule.
9795 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9796 reload_cmds
='$CC -r -o $output$reload_objs'
9800 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9801 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9804 runpath_var
='LD_RUN_PATH'
9805 hardcode_shlibpath_var
=no
9809 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9810 hardcode_shlibpath_var
=no
9811 export_dynamic_flag_spec
='-Bexport'
9815 if test -d /usr
/nec
; then
9816 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817 hardcode_shlibpath_var
=no
9818 runpath_var
=LD_RUN_PATH
9819 hardcode_runpath_var
=yes
9824 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9825 no_undefined_flag
='${wl}-z,text'
9826 archive_cmds_need_lc
=no
9827 hardcode_shlibpath_var
=no
9828 runpath_var
='LD_RUN_PATH'
9830 if test "$GCC" = yes; then
9831 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839 sysv5
* | sco3.2v5
* | sco5v6
*)
9840 # Note: We can NOT use -z defs as we might desire, because we do not
9841 # link with -lc, and that would cause any symbols used from libc to
9842 # always be unresolved, which means just about no library would
9843 # ever link correctly. If we're not using GNU ld we use -z text
9844 # though, which does catch some bad symbols but isn't as heavy-handed
9846 no_undefined_flag
='${wl}-z,text'
9847 allow_undefined_flag
='${wl}-z,nodefs'
9848 archive_cmds_need_lc
=no
9849 hardcode_shlibpath_var
=no
9850 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9851 hardcode_libdir_separator
=':'
9852 link_all_deplibs
=yes
9853 export_dynamic_flag_spec
='${wl}-Bexport'
9854 runpath_var
='LD_RUN_PATH'
9856 if test "$GCC" = yes; then
9857 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9858 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9860 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9867 hardcode_libdir_flag_spec
='-L$libdir'
9868 hardcode_shlibpath_var
=no
9876 if test x
$host_vendor = xsni
; then
9878 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9879 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9886 $as_echo "$ld_shlibs" >&6; }
9887 test "$ld_shlibs" = no
&& can_build_shared
=no
9889 with_gnu_ld
=$with_gnu_ld
9906 # Do we need to explicitly link libc?
9908 case "x$archive_cmds_need_lc" in
9910 # Assume -lc should be added
9911 archive_cmds_need_lc
=yes
9913 if test "$enable_shared" = yes && test "$GCC" = yes; then
9914 case $archive_cmds in
9916 # FIXME: we may have to deal with multi-command sequences.
9919 # Test whether the compiler implicitly links with -lc since on some
9920 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9921 # to ld, don't add -lc before -lgcc.
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9923 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9924 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9925 $as_echo_n "(cached) " >&6
9928 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9931 (eval $ac_compile) 2>&5
9933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9934 test $ac_status = 0; } 2>conftest.err
; then
9937 libobjs
=conftest.
$ac_objext
9939 wl
=$lt_prog_compiler_wl
9940 pic_flag
=$lt_prog_compiler_pic
9946 lt_save_allow_undefined_flag
=$allow_undefined_flag
9947 allow_undefined_flag
=
9948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9949 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9952 test $ac_status = 0; }
9954 lt_cv_archive_cmds_need_lc
=no
9956 lt_cv_archive_cmds_need_lc
=yes
9958 allow_undefined_flag
=$lt_save_allow_undefined_flag
9960 cat conftest.err
1>&5
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9966 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9967 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10131 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10133 if test "$GCC" = yes; then
10135 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10136 *) lt_awk_arg
="/^libraries:/" ;;
10139 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10140 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10142 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10143 case $lt_search_path_spec in
10145 # if the path contains ";" then we assume it to be the separator
10146 # otherwise default to the standard path separator (i.e. ":") - it is
10147 # assumed that no part of a normal pathname contains ";" but that should
10148 # okay in the real world where ";" in dirpaths is itself problematic.
10149 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10152 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10155 # Ok, now we have the path, separated by spaces, we can step through it
10156 # and add multilib dir if necessary.
10157 lt_tmp_lt_search_path_spec
=
10158 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10159 for lt_sys_path
in $lt_search_path_spec; do
10160 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10161 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10163 test -d "$lt_sys_path" && \
10164 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10167 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10168 BEGIN {RS=" "; FS="/|\n";} {
10171 for (lt_i = NF; lt_i > 0; lt_i--) {
10172 if ($lt_i != "" && $lt_i != ".") {
10173 if ($lt_i == "..") {
10176 if (lt_count == 0) {
10177 lt_foo="/" $lt_i lt_foo;
10184 if (lt_foo != "") { lt_freq[lt_foo]++; }
10185 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10187 # AWK program above erroneously prepends '/' to C:/dos/paths
10190 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10191 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10193 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10195 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10197 library_names_spec
=
10198 libname_spec
='lib$name'
10202 postuninstall_cmds
=
10206 shlibpath_overrides_runpath
=unknown
10208 dynamic_linker
="$host_os ld.so"
10209 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10210 need_lib_prefix
=unknown
10211 hardcode_into_libs
=no
10213 # when you set need_version to no, make sure it does not cause -set_version
10214 # flags to be left without arguments
10215 need_version
=unknown
10220 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10221 shlibpath_var
=LIBPATH
10223 # AIX 3 has no versioning support, so we append a major version to the name.
10224 soname_spec
='${libname}${release}${shared_ext}$major'
10231 hardcode_into_libs
=yes
10232 if test "$host_cpu" = ia64
; then
10233 # AIX 5 supports IA64
10234 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10235 shlibpath_var
=LD_LIBRARY_PATH
10237 # With GCC up to 2.95.x, collect2 would create an import file
10238 # for dependence libraries. The import file would start with
10239 # the line `#! .'. This would cause the generated library to
10240 # depend on `.', always an invalid library. This was fixed in
10241 # development snapshots of GCC prior to 3.0.
10243 aix4 | aix4.
[01] | aix4.
[01].
*)
10244 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10246 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10249 can_build_shared
=no
10253 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10254 # soname into executable. Probably we can add versioning support to
10255 # collect2, so additional links can be useful in future.
10256 if test "$aix_use_runtimelinking" = yes; then
10257 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10258 # instead of lib<name>.a to let people know that these are not
10259 # typical AIX shared libraries.
10260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10262 # We preserve .a as extension for shared libraries through AIX4.2
10263 # and later when we are not doing run time linking.
10264 library_names_spec
='${libname}${release}.a $libname.a'
10265 soname_spec
='${libname}${release}${shared_ext}$major'
10267 shlibpath_var
=LIBPATH
10274 # Since July 2007 AmigaOS4 officially supports .so libraries.
10275 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279 library_names_spec
='$libname.ixlibrary $libname.a'
10280 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10281 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'
10287 library_names_spec
='${libname}${shared_ext}'
10288 dynamic_linker
="$host_os ld.so"
10289 shlibpath_var
=LIBRARY_PATH
10295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10296 soname_spec
='${libname}${release}${shared_ext}$major'
10297 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10298 shlibpath_var
=LD_LIBRARY_PATH
10299 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10300 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10301 # the default ld.so.conf also contains /usr/contrib/lib and
10302 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10303 # libtool to hard-code these into programs
10306 cygwin
* | mingw
* | pw32
* | cegcc
*)
10307 version_type
=windows
10312 case $GCC,$host_os in
10313 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10314 library_names_spec
='$libname.dll.a'
10315 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10316 postinstall_cmds
='base_file=`basename \${file}`~
10317 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10318 dldir=$destdir/`dirname \$dlpath`~
10319 test -d \$dldir || mkdir -p \$dldir~
10320 $install_prog $dir/$dlname \$dldir/$dlname~
10321 chmod a+x \$dldir/$dlname~
10322 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10323 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10325 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10326 dlpath=$dir/\$dldll~
10328 shlibpath_overrides_runpath
=yes
10332 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10333 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10335 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10338 # MinGW DLLs use traditional 'lib' prefix
10339 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10342 # pw32 DLLs use 'pw' prefix rather than 'lib'
10343 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10349 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10352 dynamic_linker
='Win32 ld.exe'
10353 # FIXME: first we should search . and the directory the executable is in
10357 darwin
* | rhapsody
*)
10358 dynamic_linker
="$host_os dyld"
10359 version_type
=darwin
10362 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10363 soname_spec
='${libname}${release}${major}$shared_ext'
10364 shlibpath_overrides_runpath
=yes
10365 shlibpath_var
=DYLD_LIBRARY_PATH
10366 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10368 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10369 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10377 soname_spec
='${libname}${release}${shared_ext}$major'
10378 shlibpath_var
=LD_LIBRARY_PATH
10381 freebsd
* | dragonfly
*)
10382 # DragonFly does not have aout. When/if they implement a new
10383 # versioning mechanism, adjust this.
10384 if test -x /usr
/bin
/objformat
; then
10385 objformat
=`/usr/bin/objformat`
10388 freebsd
[23].
*) objformat
=aout
;;
10389 *) objformat
=elf
;;
10392 version_type
=freebsd-
$objformat
10393 case $version_type in
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10404 shlibpath_var
=LD_LIBRARY_PATH
10407 shlibpath_overrides_runpath
=yes
10409 freebsd3.
[01]* | freebsdelf3.
[01]*)
10410 shlibpath_overrides_runpath
=yes
10411 hardcode_into_libs
=yes
10413 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10414 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10415 shlibpath_overrides_runpath
=no
10416 hardcode_into_libs
=yes
10418 *) # from 4.6 on, and DragonFly
10419 shlibpath_overrides_runpath
=yes
10420 hardcode_into_libs
=yes
10429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10430 soname_spec
='${libname}${release}${shared_ext}$major'
10431 shlibpath_var
=LD_LIBRARY_PATH
10432 hardcode_into_libs
=yes
10439 dynamic_linker
="$host_os runtime_loader"
10440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10441 soname_spec
='${libname}${release}${shared_ext}$major'
10442 shlibpath_var
=LIBRARY_PATH
10443 shlibpath_overrides_runpath
=yes
10444 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10445 hardcode_into_libs
=yes
10448 hpux9
* | hpux10
* | hpux11
*)
10449 # Give a soname corresponding to the major version so that dld.sl refuses to
10450 # link against other versions.
10457 hardcode_into_libs
=yes
10458 dynamic_linker
="$host_os dld.so"
10459 shlibpath_var
=LD_LIBRARY_PATH
10460 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 soname_spec
='${libname}${release}${shared_ext}$major'
10463 if test "X$HPUX_IA64_MODE" = X32
; then
10464 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10466 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10468 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10472 hardcode_into_libs
=yes
10473 dynamic_linker
="$host_os dld.sl"
10474 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10475 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10477 soname_spec
='${libname}${release}${shared_ext}$major'
10478 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10479 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10483 dynamic_linker
="$host_os dld.sl"
10484 shlibpath_var
=SHLIB_PATH
10485 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487 soname_spec
='${libname}${release}${shared_ext}$major'
10490 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10491 postinstall_cmds
='chmod 555 $lib'
10492 # or fails outright, so override atomically:
10493 install_override_mode
=555
10500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10501 soname_spec
='${libname}${release}${shared_ext}$major'
10502 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10503 shlibpath_var
=LD_LIBRARY_PATH
10504 shlibpath_overrides_runpath
=no
10505 hardcode_into_libs
=yes
10508 irix5
* | irix6
* | nonstopux
*)
10510 nonstopux
*) version_type
=nonstopux
;;
10512 if test "$lt_cv_prog_gnu_ld" = yes; then
10520 soname_spec
='${libname}${release}${shared_ext}$major'
10521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10523 irix5
* | nonstopux
*)
10524 libsuff
= shlibsuff
=
10527 case $LD in # libtool.m4 will add one of these switches to LD
10528 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10529 libsuff
= shlibsuff
= libmagic
=32-bit;;
10530 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10531 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10532 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10533 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10534 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10538 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10539 shlibpath_overrides_runpath
=no
10540 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10541 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10542 hardcode_into_libs
=yes
10545 # No shared lib support for Linux oldld, aout, or coff.
10546 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10550 # This must be Linux ELF.
10551 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556 soname_spec
='${libname}${release}${shared_ext}$major'
10557 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10558 shlibpath_var
=LD_LIBRARY_PATH
10559 shlibpath_overrides_runpath
=no
10561 # Some binutils ld are patched to set DT_RUNPATH
10562 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10563 $as_echo_n "(cached) " >&6
10565 lt_cv_shlibpath_overrides_runpath
=no
10566 save_LDFLAGS
=$LDFLAGS
10567 save_libdir
=$libdir
10568 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10569 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10581 if ac_fn_c_try_link
"$LINENO"; then :
10582 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10583 lt_cv_shlibpath_overrides_runpath
=yes
10586 rm -f core conftest.err conftest.
$ac_objext \
10587 conftest
$ac_exeext conftest.
$ac_ext
10588 LDFLAGS
=$save_LDFLAGS
10589 libdir
=$save_libdir
10593 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10595 # This implies no fast_install, which is unacceptable.
10596 # Some rework will be needed to allow for fast_install
10597 # before this can be enabled.
10598 hardcode_into_libs
=yes
10600 # Append ld.so.conf contents to the search path
10601 if test -f /etc
/ld.so.conf
; then
10602 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' ' '`
10603 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10606 # We used to test for /lib/ld.so.1 and disable shared libraries on
10607 # powerpc, because MkLinux only supported shared libraries with the
10608 # GNU dynamic linker. Since this was broken with cross compilers,
10609 # most powerpc-linux boxes support dynamic linking these days and
10610 # people can always --disable-shared, the test was removed, and we
10611 # assume the GNU/Linux dynamic linker is in use.
10612 dynamic_linker
='GNU/Linux ld.so'
10619 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10622 dynamic_linker
='NetBSD (a.out) ld.so'
10624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10625 soname_spec
='${libname}${release}${shared_ext}$major'
10626 dynamic_linker
='NetBSD ld.elf_so'
10628 shlibpath_var
=LD_LIBRARY_PATH
10629 shlibpath_overrides_runpath
=yes
10630 hardcode_into_libs
=yes
10635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10636 shlibpath_var
=LD_LIBRARY_PATH
10637 shlibpath_overrides_runpath
=yes
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 soname_spec
='${libname}${release}${shared_ext}$major'
10646 shlibpath_var
=LD_LIBRARY_PATH
10647 shlibpath_overrides_runpath
=no
10648 hardcode_into_libs
=yes
10649 dynamic_linker
='ldqnx.so'
10654 sys_lib_dlsearch_path_spec
="/usr/lib"
10656 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10658 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10659 *) need_version
=no
;;
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10663 shlibpath_var
=LD_LIBRARY_PATH
10664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10666 openbsd2.
[89] | openbsd2.
[89].
*)
10667 shlibpath_overrides_runpath
=no
10670 shlibpath_overrides_runpath
=yes
10674 shlibpath_overrides_runpath
=yes
10679 libname_spec
='$name'
10682 library_names_spec
='$libname${shared_ext} $libname.a'
10683 dynamic_linker
='OS/2 ld.exe'
10684 shlibpath_var
=LIBPATH
10687 osf3
* | osf4
* | osf5
*)
10691 soname_spec
='${libname}${release}${shared_ext}$major'
10692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 shlibpath_var
=LD_LIBRARY_PATH
10694 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10695 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 soname_spec
='${libname}${release}${shared_ext}$major'
10708 shlibpath_var
=LD_LIBRARY_PATH
10709 shlibpath_overrides_runpath
=yes
10710 hardcode_into_libs
=yes
10711 # ldd complains unless libraries are executable
10712 postinstall_cmds
='chmod +x $lib'
10717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10718 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10719 shlibpath_var
=LD_LIBRARY_PATH
10720 shlibpath_overrides_runpath
=yes
10721 if test "$with_gnu_ld" = yes; then
10729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10730 soname_spec
='${libname}${release}${shared_ext}$major'
10731 shlibpath_var
=LD_LIBRARY_PATH
10732 case $host_vendor in
10734 shlibpath_overrides_runpath
=no
10736 runpath_var
=LD_RUN_PATH
10744 shlibpath_overrides_runpath
=no
10745 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10751 if test -d /usr
/nec
;then
10753 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10754 soname_spec
='$libname${shared_ext}.$major'
10755 shlibpath_var
=LD_LIBRARY_PATH
10759 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10760 version_type
=freebsd-elf
10763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10764 soname_spec
='${libname}${release}${shared_ext}$major'
10765 shlibpath_var
=LD_LIBRARY_PATH
10766 shlibpath_overrides_runpath
=yes
10767 hardcode_into_libs
=yes
10768 if test "$with_gnu_ld" = yes; then
10769 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10771 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10774 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10778 sys_lib_dlsearch_path_spec
='/usr/lib'
10782 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 shlibpath_var
=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath
=no
10789 hardcode_into_libs
=yes
10794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795 soname_spec
='${libname}${release}${shared_ext}$major'
10796 shlibpath_var
=LD_LIBRARY_PATH
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10804 $as_echo "$dynamic_linker" >&6; }
10805 test "$dynamic_linker" = no
&& can_build_shared
=no
10807 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10808 if test "$GCC" = yes; then
10809 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10812 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10813 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10815 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10816 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10911 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10913 if test -n "$hardcode_libdir_flag_spec" ||
10914 test -n "$runpath_var" ||
10915 test "X$hardcode_automatic" = "Xyes" ; then
10917 # We can hardcode non-existent directories.
10918 if test "$hardcode_direct" != no
&&
10919 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10920 # have to relink, otherwise we might link with an installed library
10921 # when we should be linking with a yet-to-be-installed one
10922 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10923 test "$hardcode_minus_L" != no
; then
10924 # Linking always hardcodes the temporary library directory.
10925 hardcode_action
=relink
10927 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10928 hardcode_action
=immediate
10931 # We cannot hardcode anything, or else we can only hardcode existing
10933 hardcode_action
=unsupported
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10936 $as_echo "$hardcode_action" >&6; }
10938 if test "$hardcode_action" = relink ||
10939 test "$inherit_rpath" = yes; then
10940 # Fast installation is not supported
10941 enable_fast_install
=no
10942 elif test "$shlibpath_overrides_runpath" = yes ||
10943 test "$enable_shared" = no
; then
10944 # Fast installation is not necessary
10945 enable_fast_install
=needless
10953 if test "x$enable_dlopen" != xyes
; then
10954 enable_dlopen
=unknown
10955 enable_dlopen_self
=unknown
10956 enable_dlopen_self_static
=unknown
10963 lt_cv_dlopen
="load_add_on"
10965 lt_cv_dlopen_self
=yes
10968 mingw
* | pw32
* | cegcc
*)
10969 lt_cv_dlopen
="LoadLibrary"
10974 lt_cv_dlopen
="dlopen"
10979 # if libdl is installed we need to link against it
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10981 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10982 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10983 $as_echo_n "(cached) " >&6
10985 ac_check_lib_save_LIBS
=$LIBS
10987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
11005 if ac_fn_c_try_link
"$LINENO"; then :
11006 ac_cv_lib_dl_dlopen
=yes
11008 ac_cv_lib_dl_dlopen
=no
11010 rm -f core conftest.err conftest.
$ac_objext \
11011 conftest
$ac_exeext conftest.
$ac_ext
11012 LIBS
=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11015 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11016 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11017 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11020 lt_cv_dlopen
="dyld"
11022 lt_cv_dlopen_self
=yes
11029 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11030 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11031 lt_cv_dlopen
="shl_load"
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11034 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11035 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11036 $as_echo_n "(cached) " >&6
11038 ac_check_lib_save_LIBS
=$LIBS
11040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11053 return shl_load ();
11058 if ac_fn_c_try_link
"$LINENO"; then :
11059 ac_cv_lib_dld_shl_load
=yes
11061 ac_cv_lib_dld_shl_load
=no
11063 rm -f core conftest.err conftest.
$ac_objext \
11064 conftest
$ac_exeext conftest.
$ac_ext
11065 LIBS
=$ac_check_lib_save_LIBS
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11068 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11069 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11070 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11072 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11073 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11074 lt_cv_dlopen
="dlopen"
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11077 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11078 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11079 $as_echo_n "(cached) " >&6
11081 ac_check_lib_save_LIBS
=$LIBS
11083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11101 if ac_fn_c_try_link
"$LINENO"; then :
11102 ac_cv_lib_dl_dlopen
=yes
11104 ac_cv_lib_dl_dlopen
=no
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LIBS
=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11111 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11112 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11113 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11116 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11117 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_check_lib_save_LIBS
=$LIBS
11121 LIBS
="-lsvld $LIBS"
11122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11140 if ac_fn_c_try_link
"$LINENO"; then :
11141 ac_cv_lib_svld_dlopen
=yes
11143 ac_cv_lib_svld_dlopen
=no
11145 rm -f core conftest.err conftest.
$ac_objext \
11146 conftest
$ac_exeext conftest.
$ac_ext
11147 LIBS
=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11150 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11151 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11152 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11155 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11156 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11157 $as_echo_n "(cached) " >&6
11159 ac_check_lib_save_LIBS
=$LIBS
11161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11174 return dld_link ();
11179 if ac_fn_c_try_link
"$LINENO"; then :
11180 ac_cv_lib_dld_dld_link
=yes
11182 ac_cv_lib_dld_dld_link
=no
11184 rm -f core conftest.err conftest.
$ac_objext \
11185 conftest
$ac_exeext conftest.
$ac_ext
11186 LIBS
=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11189 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11190 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11191 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11212 if test "x$lt_cv_dlopen" != xno
; then
11218 case $lt_cv_dlopen in
11220 save_CPPFLAGS
="$CPPFLAGS"
11221 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11223 save_LDFLAGS
="$LDFLAGS"
11224 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11227 LIBS
="$lt_cv_dlopen_libs $LIBS"
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11230 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11231 if test "${lt_cv_dlopen_self+set}" = set; then :
11232 $as_echo_n "(cached) " >&6
11234 if test "$cross_compiling" = yes; then :
11235 lt_cv_dlopen_self
=cross
11237 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11238 lt_status
=$lt_dlunknown
11239 cat > conftest.
$ac_ext <<_LT_EOF
11240 #line 11240 "configure"
11241 #include "confdefs.h"
11250 # define LT_DLGLOBAL RTLD_GLOBAL
11253 # define LT_DLGLOBAL DL_GLOBAL
11255 # define LT_DLGLOBAL 0
11259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11260 find out it does not work in some platform. */
11261 #ifndef LT_DLLAZY_OR_NOW
11263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11266 # define LT_DLLAZY_OR_NOW DL_LAZY
11269 # define LT_DLLAZY_OR_NOW RTLD_NOW
11272 # define LT_DLLAZY_OR_NOW DL_NOW
11274 # define LT_DLLAZY_OR_NOW 0
11281 /* When -fvisbility=hidden is used, assume the code has been annotated
11282 correspondingly for the symbols needed. */
11283 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11284 void fnord () __attribute__((visibility("default")));
11287 void fnord () { int i=42; }
11290 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11291 int status = $lt_dlunknown;
11295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11298 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11299 else puts (dlerror ());
11301 /* dlclose (self); */
11309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11310 (eval $ac_link) 2>&5
11312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11313 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11314 (.
/conftest
; exit; ) >&5 2>/dev
/null
11316 case x
$lt_status in
11317 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11318 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11319 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11322 # compilation failed
11323 lt_cv_dlopen_self
=no
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11331 $as_echo "$lt_cv_dlopen_self" >&6; }
11333 if test "x$lt_cv_dlopen_self" = xyes
; then
11334 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11336 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11337 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11340 if test "$cross_compiling" = yes; then :
11341 lt_cv_dlopen_self_static
=cross
11343 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11344 lt_status
=$lt_dlunknown
11345 cat > conftest.
$ac_ext <<_LT_EOF
11346 #line 11346 "configure"
11347 #include "confdefs.h"
11356 # define LT_DLGLOBAL RTLD_GLOBAL
11359 # define LT_DLGLOBAL DL_GLOBAL
11361 # define LT_DLGLOBAL 0
11365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11366 find out it does not work in some platform. */
11367 #ifndef LT_DLLAZY_OR_NOW
11369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11372 # define LT_DLLAZY_OR_NOW DL_LAZY
11375 # define LT_DLLAZY_OR_NOW RTLD_NOW
11378 # define LT_DLLAZY_OR_NOW DL_NOW
11380 # define LT_DLLAZY_OR_NOW 0
11387 /* When -fvisbility=hidden is used, assume the code has been annotated
11388 correspondingly for the symbols needed. */
11389 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11390 void fnord () __attribute__((visibility("default")));
11393 void fnord () { int i=42; }
11396 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11397 int status = $lt_dlunknown;
11401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11404 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11405 else puts (dlerror ());
11407 /* dlclose (self); */
11415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11416 (eval $ac_link) 2>&5
11418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11419 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11420 (.
/conftest
; exit; ) >&5 2>/dev
/null
11422 case x
$lt_status in
11423 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11424 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11425 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11428 # compilation failed
11429 lt_cv_dlopen_self_static
=no
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11437 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11440 CPPFLAGS
="$save_CPPFLAGS"
11441 LDFLAGS
="$save_LDFLAGS"
11446 case $lt_cv_dlopen_self in
11447 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11448 *) enable_dlopen_self
=unknown
;;
11451 case $lt_cv_dlopen_self_static in
11452 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11453 *) enable_dlopen_self_static
=unknown
;;
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11476 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11477 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11478 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11479 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11481 $as_echo "yes" >&6; }
11483 # FIXME - insert some real tests, host_os isn't really good enough
11486 if test -n "$STRIP" ; then
11487 striplib
="$STRIP -x"
11488 old_striplib
="$STRIP -S"
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11490 $as_echo "yes" >&6; }
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11493 $as_echo "no" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11498 $as_echo "no" >&6; }
11514 # Report which library types will actually be built
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11516 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11518 $as_echo "$can_build_shared" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11521 $as_echo_n "checking whether to build shared libraries... " >&6; }
11522 test "$can_build_shared" = "no" && enable_shared
=no
11524 # On AIX, shared libraries and static libraries use the same namespace, and
11525 # are all built from PIC.
11528 test "$enable_shared" = yes && enable_static
=no
11529 if test -n "$RANLIB"; then
11530 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11531 postinstall_cmds
='$RANLIB $lib'
11536 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11537 test "$enable_shared" = yes && enable_static
=no
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11542 $as_echo "$enable_shared" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11545 $as_echo_n "checking whether to build static libraries... " >&6; }
11546 # Make sure either enable_shared or enable_static is yes.
11547 test "$enable_shared" = yes || enable_static
=yes
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11549 $as_echo "$enable_static" >&6; }
11556 ac_cpp
='$CPP $CPPFLAGS'
11557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11575 ac_config_commands
="$ac_config_commands libtool"
11580 # Only expand once:
11586 XCFLAGS
="-Wall -Wextra"
11587 # Add CET specific flags if CET is enabled
11588 # Check whether --enable-cet was given.
11589 if test "${enable_cet+set}" = set; then :
11590 enableval
=$enable_cet;
11591 case "$enableval" in
11593 *) as_fn_error
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
11602 $as_echo_n "checking for CET support... " >&6; }
11605 i
[34567]86-*-linux* | x86_64-
*-linux*)
11606 case "$enable_cet" in
11608 # Check if target supports multi-byte NOPs
11609 # and if assembler supports CET insn.
11610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11617 #if !defined(__SSE2__)
11618 #error target does not support multi-byte NOPs
11627 if ac_fn_c_try_compile
"$LINENO"; then :
11632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11635 # Check if assembler supports CET.
11636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11647 if ac_fn_c_try_compile
"$LINENO"; then :
11650 as_fn_error
"assembler with CET support is required for --enable-cet" "$LINENO" 5
11652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11660 if test x
$enable_cet = xyes
; then
11661 CET_FLAGS
="-fcf-protection -mcet"
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11663 $as_echo "yes" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11669 XCFLAGS
="$XCFLAGS $CET_FLAGS"
11673 if test "${multilib}" = "yes"; then
11674 multilib_arg
="--enable-multilib"
11679 # Determine what GCC version number to use in filesystem paths.
11681 get_gcc_base_ver
="cat"
11683 # Check whether --with-gcc-major-version-only was given.
11684 if test "${with_gcc_major_version_only+set}" = set; then :
11685 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
11686 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
11694 ac_config_files
="$ac_config_files Makefile libmpx.spec"
11696 ac_config_headers
="$ac_config_headers config.h"
11698 ac_config_files
="$ac_config_files mpxrt/Makefile mpxwrap/Makefile"
11701 cat >confcache
<<\_ACEOF
11702 # This file is a shell script that caches the results of configure
11703 # tests run on this system so they can be shared between configure
11704 # scripts and configure runs, see configure's option --config-cache.
11705 # It is not useful on other systems. If it contains results you don't
11706 # want to keep, you may remove or edit it.
11708 # config.status only pays attention to the cache file if you give it
11709 # the --recheck option to rerun configure.
11711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11713 # following values.
11717 # The following way of writing the cache mishandles newlines in values,
11718 # but we know of no workaround that is simple, portable, and efficient.
11719 # So, we kill variables containing newlines.
11720 # Ultrix sh set writes to stderr and can't be redirected directly,
11721 # and sets the high bit in the cache file unless we assign to the vars.
11723 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11724 eval ac_val
=\$
$ac_var
11728 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11729 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11732 _ | IFS | as_nl
) ;; #(
11733 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11734 *) { eval $ac_var=; unset $ac_var;} ;;
11740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11741 *${as_nl}ac_space
=\
*)
11742 # `set' does not quote correctly, so add quotes: double-quote
11743 # substitution turns \\\\ into \\, and sed turns \\ into \.
11746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11749 # `set' quotes correctly as required by POSIX, so do not add quotes.
11750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11763 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11764 if test -w "$cache_file"; then
11765 test "x$cache_file" != "x/dev/null" &&
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11767 $as_echo "$as_me: updating cache $cache_file" >&6;}
11768 cat confcache
>$cache_file
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11771 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11776 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11777 # Let make expand exec_prefix.
11778 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11780 DEFS
=-DHAVE_CONFIG_H
11784 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11785 # 1. Remove the extension, and $U if already installed.
11786 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11787 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11788 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11789 # will be set to the directory where LIBOBJS objects are built.
11790 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11791 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11793 LIBOBJS
=$ac_libobjs
11795 LTLIBOBJS
=$ac_ltlibobjs
11798 if test -z "${LIBMPX_SUPPORTED_TRUE}" && test -z "${LIBMPX_SUPPORTED_FALSE}"; then
11799 as_fn_error
"conditional \"LIBMPX_SUPPORTED\" was never defined.
11800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11802 if test -n "$EXEEXT"; then
11804 am__EXEEXT_FALSE
='#'
11806 am__EXEEXT_TRUE
='#'
11810 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11811 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11814 if test -z "${MPX_AS_SUPPORTED_TRUE}" && test -z "${MPX_AS_SUPPORTED_FALSE}"; then
11815 as_fn_error
"conditional \"MPX_AS_SUPPORTED\" was never defined.
11816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11819 : ${CONFIG_STATUS=./config.status}
11821 ac_clean_files_save
=$ac_clean_files
11822 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11824 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11826 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11828 # Generated by $as_me.
11829 # Run this file to recreate the current configuration.
11830 # Compiler output produced by configure, useful for debugging
11831 # configure, is in config.log if it exists.
11834 ac_cs_recheck=false
11837 SHELL=\${CONFIG_SHELL-$SHELL}
11840 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11841 ## -------------------- ##
11842 ## M4sh Initialization. ##
11843 ## -------------------- ##
11845 # Be more Bourne compatible
11846 DUALCASE
=1; export DUALCASE
# for MKS sh
11847 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11850 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11851 # is contrary to our usage. Disable this feature.
11852 alias -g '${1+"$@"}'='"$@"'
11853 setopt NO_GLOB_SUBST
11855 case `(set -o) 2>/dev/null` in #(
11867 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11868 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11871 # Prefer a ksh shell builtin over an external printf program on Solaris,
11872 # but without wasting forks for bash or zsh.
11873 if test -z "$BASH_VERSION$ZSH_VERSION" \
11874 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11875 as_echo='print
-r --'
11876 as_echo_n='print
-rn --'
11877 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11878 as_echo='printf %s
\n'
11879 as_echo_n='printf %s
'
11881 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11882 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11883 as_echo_n='/usr
/ucb
/echo -n'
11885 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11886 as_echo_n_body='eval
11890 expr "X$arg" : "X\\(.*\\)$as_nl";
11891 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11893 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11895 export as_echo_n_body
11896 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11898 export as_echo_body
11899 as_echo='sh
-c $as_echo_body as_echo
'
11902 # The user is always right.
11903 if test "${PATH_SEPARATOR+set}" != set; then
11905 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11906 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11913 # We need space, tab and new line, in precisely that order. Quoting is
11914 # there to prevent editors from complaining about space-tab.
11915 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11916 # splitting by setting IFS to empty value.)
11919 # Find who we are. Look in the path if we contain no directory separator.
11921 *[\\/]* ) as_myself=$0 ;;
11922 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11923 for as_dir in $PATH
11926 test -z "$as_dir" && as_dir=.
11927 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11933 # We did not find ourselves, most probably we were run as `sh COMMAND'
11934 # in which case we are not to be found in the path.
11935 if test "x$as_myself" = x
; then
11938 if test ! -f "$as_myself"; then
11939 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11943 # Unset variables that we do not need and which cause bugs (e.g. in
11944 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11945 # suppresses any "Segmentation fault" message there. '((' could
11946 # trigger a bug in pdksh 5.2.14.
11947 for as_var
in BASH_ENV ENV MAIL MAILPATH
11948 do eval test x\
${$as_var+set} = xset \
11949 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11962 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11965 # as_fn_error ERROR [LINENO LOG_FD]
11966 # ---------------------------------
11967 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11968 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11969 # script with status $?, using 1 if that was 0.
11972 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11974 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11975 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11977 $as_echo "$as_me: error: $1" >&2
11978 as_fn_exit
$as_status
11982 # as_fn_set_status STATUS
11983 # -----------------------
11984 # Set $? to STATUS, without forking.
11985 as_fn_set_status
()
11988 } # as_fn_set_status
11990 # as_fn_exit STATUS
11991 # -----------------
11992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11996 as_fn_set_status
$1
12002 # Portably unset VAR.
12005 { eval $1=; unset $1;}
12007 as_unset
=as_fn_unset
12008 # as_fn_append VAR VALUE
12009 # ----------------------
12010 # Append the text in VALUE to the end of the definition contained in VAR. Take
12011 # advantage of any shell optimizations that allow amortized linear growth over
12012 # repeated appends, instead of the typical quadratic growth present in naive
12014 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12015 eval 'as_fn_append ()
12026 # as_fn_arith ARG...
12027 # ------------------
12028 # Perform arithmetic evaluation on the ARGs, and store the result in the
12029 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12030 # must be portable across $(()) and expr.
12031 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12032 eval 'as_fn_arith ()
12039 as_val
=`expr "$@" || test $? -eq 1`
12044 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12045 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12051 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12052 as_basename
=basename
12057 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12063 as_me
=`$as_basename -- "$0" ||
12064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12065 X"$0" : 'X\(//\)$' \| \
12066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12068 sed '/^.*\/\([^/][^/]*\)\/*$/{
12082 # Avoid depending upon Character Ranges.
12083 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12084 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12085 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12086 as_cr_digits
='0123456789'
12087 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12089 ECHO_C
= ECHO_N
= ECHO_T
=
12090 case `echo -n x` in #(((((
12092 case `echo 'xy\c'` in
12093 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12095 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12102 rm -f conf$$ conf$$.exe conf$$.
file
12103 if test -d conf$$.dir
; then
12104 rm -f conf$$.dir
/conf$$.
file
12107 mkdir conf$$.dir
2>/dev
/null
12109 if (echo >conf$$.
file) 2>/dev
/null
; then
12110 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12112 # ... but there are two gotchas:
12113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12115 # In both cases, we have to default to `cp -p'.
12116 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12118 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12126 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12127 rmdir conf$$.dir
2>/dev
/null
12132 # Create "$as_dir" as a directory, including parents if necessary.
12137 -*) as_dir
=.
/$as_dir;;
12139 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12143 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12144 *) as_qdir
=$as_dir;;
12146 as_dirs
="'$as_qdir' $as_dirs"
12147 as_dir
=`$as_dirname -- "$as_dir" ||
12148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12149 X"$as_dir" : 'X\(//\)[^/]' \| \
12150 X"$as_dir" : 'X\(//\)$' \| \
12151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12152 $as_echo X"$as_dir" |
12153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12157 /^X\(\/\/\)[^/].*/{
12170 test -d "$as_dir" && break
12172 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12173 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12177 if mkdir
-p .
2>/dev
/null
; then
12178 as_mkdir_p
='mkdir -p "$as_dir"'
12180 test -d .
/-p && rmdir .
/-p
12184 if test -x / >/dev
/null
2>&1; then
12185 as_test_x
='test -x'
12187 if ls -dL / >/dev
/null
2>&1; then
12194 if test -d "$1"; then
12200 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12201 ???[sx]*):;;*)false;;esac;fi
12205 as_executable_p
=$as_test_x
12207 # Sed expression to map a string onto a valid CPP name.
12208 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12210 # Sed expression to map a string onto a valid variable name.
12211 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12215 ## ----------------------------------- ##
12216 ## Main body of $CONFIG_STATUS script. ##
12217 ## ----------------------------------- ##
12219 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12222 # Save the log message, to keep $0 and so on meaningful, and to
12223 # report actual input values of CONFIG_FILES etc. instead of their
12224 # values after options handling.
12226 This file was extended by package-unused $as_me version-unused, which was
12227 generated by GNU Autoconf 2.64. Invocation command line was
12229 CONFIG_FILES = $CONFIG_FILES
12230 CONFIG_HEADERS = $CONFIG_HEADERS
12231 CONFIG_LINKS = $CONFIG_LINKS
12232 CONFIG_COMMANDS = $CONFIG_COMMANDS
12235 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12240 case $ac_config_files in *"
12241 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12244 case $ac_config_headers in *"
12245 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12250 # Files that config.status was made for.
12251 config_files="$ac_config_files"
12252 config_headers="$ac_config_headers"
12253 config_commands="$ac_config_commands"
12257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12259 \`$as_me' instantiates files and other configuration actions
12260 from templates according to the current configuration. Unless the files
12261 and actions are specified as TAGs, all are instantiated by default.
12263 Usage: $0 [OPTION]... [TAG]...
12265 -h, --help print this help, then exit
12266 -V, --version print version number and configuration settings, then exit
12267 -q, --quiet, --silent
12268 do not print progress messages
12269 -d, --debug don't remove temporary files
12270 --recheck update $as_me by reconfiguring in the same conditions
12271 --file=FILE[:TEMPLATE]
12272 instantiate the configuration file FILE
12273 --header=FILE[:TEMPLATE]
12274 instantiate the configuration header FILE
12276 Configuration files:
12279 Configuration headers:
12282 Configuration commands:
12285 Report bugs to <libmpx>."
12288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12290 package-unused config.status version-unused
12291 configured by $0, generated by GNU Autoconf 2.64,
12292 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12294 Copyright (C) 2009 Free Software Foundation, Inc.
12295 This config.status script is free software; the Free Software Foundation
12296 gives unlimited permission to copy, distribute and modify it."
12303 test -n "\$AWK" || AWK=awk
12306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12307 # The default lists apply if the user does not specify any file.
12313 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12314 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12325 # Handling of the options.
12326 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12328 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12329 $as_echo "$ac_cs_version"; exit ;;
12330 --debug |
--debu |
--deb |
--de |
--d |
-d )
12332 --file |
--fil |
--fi |
--f )
12335 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12337 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12338 ac_need_defaults
=false
;;
12339 --header |
--heade |
--head |
--hea )
12342 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12344 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12345 ac_need_defaults
=false
;;
12347 # Conflict between --help and --header
12348 as_fn_error
"ambiguous option: \`$1'
12349 Try \`$0 --help' for more information.";;
12350 --help |
--hel |
-h )
12351 $as_echo "$ac_cs_usage"; exit ;;
12352 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12353 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12356 # This is an error.
12357 -*) as_fn_error
"unrecognized option: \`$1'
12358 Try \`$0 --help' for more information." ;;
12360 *) as_fn_append ac_config_targets
" $1"
12361 ac_need_defaults
=false
;;
12367 ac_configure_extra_args
=
12369 if $ac_cs_silent; then
12371 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12376 if \$ac_cs_recheck; then
12377 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12379 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12380 CONFIG_SHELL='$SHELL'
12381 export CONFIG_SHELL
12386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12390 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12391 ## Running $as_me. ##
12397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12405 with_multisubdir="$with_multisubdir"
12406 with_multisrctop="$with_multisrctop"
12407 with_target_subdir="$with_target_subdir"
12408 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12409 multi_basedir="$multi_basedir"
12410 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12413 GFORTRAN="$GFORTRAN"
12416 # The HP-UX ksh and POSIX shell print the target directory to stdout
12417 # if CDPATH is set.
12418 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12420 sed_quote_subst='$sed_quote_subst'
12421 double_quote_subst='$double_quote_subst'
12422 delay_variable_subst='$delay_variable_subst'
12423 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12424 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12425 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12426 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12427 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12428 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12429 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12430 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12431 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12432 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12433 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12434 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12435 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12436 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12437 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12438 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12439 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12440 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12441 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12442 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12443 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12444 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12445 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12446 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12447 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12448 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12449 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12450 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12451 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12452 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12453 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12454 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12455 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12456 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12457 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12458 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12459 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12460 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12461 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12462 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12463 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12464 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12465 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12466 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12467 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12468 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12469 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12470 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12471 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"`'
12472 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12473 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12474 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12475 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12476 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12477 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12478 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12479 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12480 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12481 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12482 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12483 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12484 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12485 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12486 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12487 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12488 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12489 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12490 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12491 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12492 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12493 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12494 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12495 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12496 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12497 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12498 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12499 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12500 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12501 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12502 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12503 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12504 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12505 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12506 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12507 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12508 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12509 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12510 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12511 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12512 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12513 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12514 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12515 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12516 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12517 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12518 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12519 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12520 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12521 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12522 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12523 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12524 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12525 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12526 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12527 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12528 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12529 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12530 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12531 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12532 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12533 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12534 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12535 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12536 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12537 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12538 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12539 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12540 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12541 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12542 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12545 LTCFLAGS='$LTCFLAGS'
12546 compiler='$compiler_DEFAULT'
12548 # A function that is used when there is no print builtin or printf.
12549 func_fallback_echo ()
12551 eval 'cat <<_LTECHO_EOF
12556 # Quote evaled strings.
12570 deplibs_check_method \
12579 lt_cv_sys_global_symbol_pipe \
12580 lt_cv_sys_global_symbol_to_cdecl \
12581 lt_cv_sys_global_symbol_to_c_name_address \
12582 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12583 lt_prog_compiler_no_builtin_flag \
12584 lt_prog_compiler_wl \
12585 lt_prog_compiler_pic \
12586 lt_prog_compiler_static \
12587 lt_cv_prog_compiler_c_o \
12595 export_dynamic_flag_spec \
12596 whole_archive_flag_spec \
12597 compiler_needs_object \
12599 allow_undefined_flag \
12600 no_undefined_flag \
12601 hardcode_libdir_flag_spec \
12602 hardcode_libdir_flag_spec_ld \
12603 hardcode_libdir_separator \
12608 variables_saved_for_relink \
12610 library_names_spec \
12612 install_override_mode \
12616 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12617 *[\\\\\\\`\\"\\\$]*)
12618 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12621 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12626 # Double-quote double-evaled strings.
12627 for var in reload_cmds \
12628 old_postinstall_cmds \
12629 old_postuninstall_cmds \
12631 extract_expsyms_cmds \
12632 old_archive_from_new_cmds \
12633 old_archive_from_expsyms_cmds \
12635 archive_expsym_cmds \
12637 module_expsym_cmds \
12638 export_symbols_cmds \
12641 postuninstall_cmds \
12643 sys_lib_search_path_spec \
12644 sys_lib_dlsearch_path_spec; do
12645 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12646 *[\\\\\\\`\\"\\\$]*)
12647 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12650 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12655 ac_aux_dir='$ac_aux_dir'
12656 xsi_shell='$xsi_shell'
12657 lt_shell_append='$lt_shell_append'
12659 # See if we are running on zsh, and set the options which allow our
12660 # commands through without removal of \ escapes INIT.
12661 if test -n "\${ZSH_VERSION+set}" ; then
12662 setopt NO_GLOB_SUBST
12668 TIMESTAMP='$TIMESTAMP'
12677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12679 # Handling of arguments.
12680 for ac_config_target
in $ac_config_targets
12682 case $ac_config_target in
12683 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12684 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12685 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12686 "libmpx.spec") CONFIG_FILES
="$CONFIG_FILES libmpx.spec" ;;
12687 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12688 "mpxrt/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxrt/Makefile" ;;
12689 "mpxwrap/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxwrap/Makefile" ;;
12691 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12696 # If the user did not use the arguments to specify the items to instantiate,
12697 # then the envvar interface is used. Set only those that are not.
12698 # We use the long form for the default assignment because of an extremely
12699 # bizarre bug on SunOS 4.1.3.
12700 if $ac_need_defaults; then
12701 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12702 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12703 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12706 # Have a temporary directory for convenience. Make it in the build tree
12707 # simply because there is no reason against having it here, and in addition,
12708 # creating and moving files from /tmp can sometimes cause problems.
12709 # Hook for its removal unless debugging.
12710 # Note that there is a small window in which the directory will not be cleaned:
12711 # after its creation but before its name has been assigned to `$tmp'.
12715 trap 'exit_status=$?
12716 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12718 trap 'as_fn_exit 1' 1 2 13 15
12720 # Create a (secure) tmp directory for tmp files.
12723 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12724 test -n "$tmp" && test -d "$tmp"
12727 tmp
=.
/conf$$
-$RANDOM
12728 (umask 077 && mkdir
"$tmp")
12729 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12731 # Set up the scripts for CONFIG_FILES section.
12732 # No need to generate them if there are no CONFIG_FILES.
12733 # This happens for instance with `./config.status config.h'.
12734 if test -n "$CONFIG_FILES"; then
12737 ac_cr
=`echo X | tr X '\015'`
12738 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12739 # But we know of no other shell where ac_cr would be empty at this
12740 # point, so we can use a bashism as a fallback.
12741 if test "x$ac_cr" = x
; then
12742 eval ac_cr
=\$
\'\\r
\'
12744 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12745 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12748 ac_cs_awk_cr
=$ac_cr
12751 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12756 echo "cat >conf$$subs.awk <<_ACEOF" &&
12757 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12759 } >conf$$subs.sh ||
12760 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12761 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12763 for ac_last_try in false false false false false :; do
12764 . ./conf$$subs.sh ||
12765 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12767 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12768 if test $ac_delim_n = $ac_delim_num; then
12770 elif $ac_last_try; then
12771 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12773 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12776 rm -f conf$$subs.sh
12778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12779 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12783 s/^/S["/; s
/!.
*/"]=/
12793 s/\(.\{148\}\).*/\1/
12795 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12800 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12807 s/\(.\{148\}\).*/\1/
12809 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12813 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12818 ' <conf$$subs.awk | sed '
12823 ' >>$CONFIG_STATUS || ac_write_fail=1
12824 rm -f conf$$subs.awk
12825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12827 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12828 for (key in S) S_is_set[key] = 1
12834 nfields = split(line, field, "@
")
12836 len = length(field[1])
12837 for (i = 2; i < nfields; i++) {
12839 keylen = length(key)
12840 if (S_is_set[key]) {
12842 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12843 len += length(value) + length(field[++i])
12854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12855 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12856 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12859 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12860 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12863 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12864 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12865 # trailing colons and then remove the whole line if VPATH becomes empty
12866 # (actually we leave an empty line to preserve line numbers).
12867 if test "x
$srcdir" = x.; then
12868 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12869 s/:*\$(srcdir):*/:/
12870 s/:*\${srcdir}:*/:/
12872 s/^\([^=]*=[ ]*\):*/\1/
12878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12879 fi # test -n "$CONFIG_FILES"
12881 # Set up the scripts for CONFIG_HEADERS section.
12882 # No need to generate them if there are no CONFIG_HEADERS.
12883 # This happens for instance with `./config.status Makefile'.
12884 if test -n "$CONFIG_HEADERS"; then
12885 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12889 # Transform confdefs.h into an awk script `defines.awk', embedded as
12890 # here-document in config.status, that substitutes the proper values into
12891 # config.h.in to produce config.h.
12893 # Create a delimiter string that does not exist in confdefs.h, to ease
12894 # handling of long lines.
12896 for ac_last_try in false false :; do
12897 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12898 if test -z "$ac_t"; then
12900 elif $ac_last_try; then
12901 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12903 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12907 # For the awk script, D is an array of macro values keyed by name,
12908 # likewise P contains macro parameters if any. Preserve backslash
12909 # newline sequences.
12911 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12913 s/.\{148\}/&'"$ac_delim"'/g
12916 s/^[ ]*#[ ]*define[ ][ ]*/ /
12923 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12925 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12929 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12930 D["\
1"]=" \
3\\\\\\n
"\\/p
12932 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12937 s/.\{148\}/&'"$ac_delim"'/g
12942 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12945 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12947 ' <confdefs.h | sed '
12948 s/'"$ac_delim"'/"\\\
12949 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12952 for (key in D) D_is_set[key] = 1
12955 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12957 split(line, arg, " ")
12958 if (arg[1] == "#") {
12962 defundef
= substr
(arg
[1], 2)
12965 split(mac1
, mac2
, "(") #)
12967 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12968 if (D_is_set
[macro
]) {
12969 # Preserve the white space surrounding the "#".
12970 print prefix
"define", macro P
[macro
] D
[macro
]
12973 # Replace #undef with comments. This is necessary, for example,
12974 # in the case of _POSIX_SOURCE, which is predefined and required
12975 # on some systems where configure will not decide to define it.
12976 if (defundef
== "undef") {
12977 print
"/*", prefix defundef
, macro
, "*/"
12985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12986 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12987 fi # test -n "$CONFIG_HEADERS"
12990 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12995 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12997 case $ac_mode$ac_tag in
12999 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13000 :[FH
]-) ac_tag
=-:-;;
13001 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13018 -) ac_f
="$tmp/stdin";;
13019 *) # Look for the file first in the build tree, then in the source tree
13020 # (if the path is not absolute). The absolute path cannot be DOS-style,
13021 # because $ac_f cannot contain `:'.
13025 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13027 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13029 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13030 as_fn_append ac_file_inputs
" '$ac_f'"
13033 # Let's still pretend it is `configure' which instantiates (i.e., don't
13034 # use $as_me), people would be surprised to read:
13035 # /* config.h. Generated by config.status. */
13036 configure_input
='Generated from '`
13037 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13039 if test x
"$ac_file" != x-
; then
13040 configure_input
="$ac_file. $configure_input"
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13042 $as_echo "$as_me: creating $ac_file" >&6;}
13044 # Neutralize special characters interpreted by sed in replacement strings.
13045 case $configure_input in #(
13046 *\
&* |
*\|
* |
*\\* )
13047 ac_sed_conf_input
=`$as_echo "$configure_input" |
13048 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13049 *) ac_sed_conf_input
=$configure_input;;
13053 *:-:* |
*:-) cat >"$tmp/stdin" \
13054 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13059 ac_dir
=`$as_dirname -- "$ac_file" ||
13060 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13061 X"$ac_file" : 'X\(//\)[^/]' \| \
13062 X"$ac_file" : 'X\(//\)$' \| \
13063 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13064 $as_echo X"$ac_file" |
13065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13069 /^X\(\/\/\)[^/].*/{
13082 as_dir
="$ac_dir"; as_fn_mkdir_p
13086 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13088 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13089 # A ".." for each directory in $ac_dir_suffix.
13090 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13091 case $ac_top_builddir_sub in
13092 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13093 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13096 ac_abs_top_builddir
=$ac_pwd
13097 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13098 # for backward compatibility:
13099 ac_top_builddir
=$ac_top_build_prefix
13102 .
) # We are building in place.
13104 ac_top_srcdir
=$ac_top_builddir_sub
13105 ac_abs_top_srcdir
=$ac_pwd ;;
13106 [\\/]* | ?
:[\\/]* ) # Absolute name.
13107 ac_srcdir
=$srcdir$ac_dir_suffix;
13108 ac_top_srcdir
=$srcdir
13109 ac_abs_top_srcdir
=$srcdir ;;
13110 *) # Relative name.
13111 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13112 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13113 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13115 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13125 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13126 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13128 ac_MKDIR_P
=$MKDIR_P
13130 [\\/$
]* | ?
:[\\/]* ) ;;
13131 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13136 # If the template does not know about datarootdir, expand it.
13137 # FIXME: This hack should be removed a few years after 2.60.
13138 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13149 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13150 *datarootdir
*) ac_datarootdir_seen
=yes;;
13151 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13153 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13156 ac_datarootdir_hack='
13157 s&@datadir@&$datadir&g
13158 s&@docdir@&$docdir&g
13159 s&@infodir@&$infodir&g
13160 s&@localedir@&$localedir&g
13161 s&@mandir@&$mandir&g
13162 s&\\\${datarootdir}&$datarootdir&g' ;;
13166 # Neutralize VPATH when `$srcdir' = `.'.
13167 # Shell code in configure.ac might set extrasub.
13168 # FIXME: do we really want to maintain this feature?
13169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13170 ac_sed_extra="$ac_vpsub
13173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13175 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13176 s|@configure_input@|
$ac_sed_conf_input|
;t t
13177 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13178 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13179 s
&@srcdir@
&$ac_srcdir&;t t
13180 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13181 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13182 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13183 s
&@builddir@
&$ac_builddir&;t t
13184 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13185 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13186 s
&@INSTALL@
&$ac_INSTALL&;t t
13187 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13188 $ac_datarootdir_hack
13190 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13191 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13193 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13194 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13195 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13197 which seems to be undefined. Please make sure it is defined." >&5
13198 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13199 which seems to be undefined. Please make sure it is defined." >&2;}
13203 -) cat "$tmp/out" && rm -f "$tmp/out";;
13204 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13206 || as_fn_error "could not create $ac_file" "$LINENO" 5
13212 if test x"$ac_file" != x-; then
13214 $as_echo "/* $configure_input */" \
13215 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13216 } >"$tmp/config.h" \
13217 || as_fn_error "could not create $ac_file" "$LINENO" 5
13218 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13220 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13223 mv "$tmp/config.h" "$ac_file" \
13224 || as_fn_error "could not create $ac_file" "$LINENO" 5
13227 $as_echo "/* $configure_input */" \
13228 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13229 || as_fn_error "could not create -" "$LINENO" 5
13231 # Compute "$ac_file"'s index
in $config_headers.
13234 for _am_header
in $config_headers :; do
13235 case $_am_header in
13236 $_am_arg |
$_am_arg:* )
13239 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13242 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13243 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13244 X"$_am_arg" : 'X\(//\)[^/]' \| \
13245 X"$_am_arg" : 'X\(//\)$' \| \
13246 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13247 $as_echo X"$_am_arg" |
13248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13252 /^X\(\/\/\)[^/].*/{
13264 s/.*/./; q'`/stamp-h
$_am_stamp_count
13267 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13268 $as_echo "$as_me: executing $ac_file commands" >&6;}
13273 case $ac_file$ac_mode in
13275 # Only add multilib support code if we just rebuilt the top-level
13277 case " $CONFIG_FILES " in
13279 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13284 # See if we are running on zsh, and set the options which allow our
13285 # commands through without removal of \ escapes.
13286 if test -n "${ZSH_VERSION+set}" ; then
13287 setopt NO_GLOB_SUBST
13290 cfgfile
="${ofile}T"
13291 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13294 cat <<_LT_EOF >> "$cfgfile"
13297 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13298 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13299 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13300 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13302 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13303 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13304 # Written by Gordon Matzigkeit, 1996
13306 # This file is part of GNU Libtool.
13308 # GNU Libtool is free software; you can redistribute it and/or
13309 # modify it under the terms of the GNU General Public License as
13310 # published by the Free Software Foundation; either version 2 of
13311 # the License, or (at your option) any later version.
13313 # As a special exception to the GNU General Public License,
13314 # if you distribute this file as part of a program or library that
13315 # is built using GNU Libtool, you may include this file under the
13316 # same distribution terms that you use for the rest of that program.
13318 # GNU Libtool is distributed in the hope that it will be useful,
13319 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13320 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13321 # GNU General Public License for more details.
13323 # You should have received a copy of the GNU General Public License
13324 # along with GNU Libtool; see the file COPYING. If not, a copy
13325 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13326 # obtained by writing to the Free Software Foundation, Inc.,
13327 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13330 # The names of the tagged configurations supported by this script.
13333 # ### BEGIN LIBTOOL CONFIG
13335 # Which release of libtool.m4 was used?
13336 macro_version=$macro_version
13337 macro_revision=$macro_revision
13339 # Whether or not to build shared libraries.
13340 build_libtool_libs=$enable_shared
13342 # Whether or not to build static libraries.
13343 build_old_libs=$enable_static
13345 # What type of objects to build.
13348 # Whether or not to optimize for fast installation.
13349 fast_install=$enable_fast_install
13351 # Shell to use when invoking shell scripts.
13354 # An echo program that protects backslashes.
13358 host_alias=$host_alias
13362 # The build system.
13363 build_alias=$build_alias
13367 # A sed program that does not truncate output.
13370 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13371 Xsed="\$SED -e 1s/^X//"
13373 # A grep program that handles long lines.
13379 # A literal string matcher.
13382 # A BSD- or MS-compatible name lister.
13385 # Whether we need soft or hard links.
13388 # What is the maximum length of a command?
13389 max_cmd_len=$max_cmd_len
13391 # Object file suffix (normally "o").
13394 # Executable file suffix (normally "").
13397 # whether the shell understands "unset".
13400 # turn spaces into newlines.
13403 # turn newlines into spaces.
13406 # An object symbol dumper.
13407 OBJDUMP=$lt_OBJDUMP
13409 # Method to check whether dependent libraries are shared objects.
13410 deplibs_check_method=$lt_deplibs_check_method
13412 # Command to use when deplibs_check_method == "file_magic".
13413 file_magic_cmd=$lt_file_magic_cmd
13417 AR_FLAGS=$lt_AR_FLAGS
13419 # A symbol stripping program.
13422 # Commands used to install an old-style archive.
13424 old_postinstall_cmds=$lt_old_postinstall_cmds
13425 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13427 # Whether to use a lock for old archive extraction.
13428 lock_old_archive_extraction=$lock_old_archive_extraction
13433 # LTCC compiler flags.
13434 LTCFLAGS=$lt_CFLAGS
13436 # Take the output of nm and produce a listing of raw symbols and C names.
13437 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13439 # Transform the output of nm in a proper C declaration.
13440 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13442 # Transform the output of nm in a C name address pair.
13443 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13445 # Transform the output of nm in a C name address pair when lib prefix is needed.
13446 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13448 # The name of the directory that contains temporary libtool files.
13451 # Used to examine libraries when file_magic_cmd begins with "file".
13452 MAGIC_CMD=$MAGIC_CMD
13454 # Must we lock files when doing compilation?
13455 need_locks=$lt_need_locks
13457 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13458 DSYMUTIL=$lt_DSYMUTIL
13460 # Tool to change global to local symbols on Mac OS X.
13463 # Tool to manipulate fat objects and archives on Mac OS X.
13466 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13469 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13470 OTOOL64=$lt_OTOOL64
13472 # Old archive suffix (normally "a").
13475 # Shared library suffix (normally ".so").
13476 shrext_cmds=$lt_shrext_cmds
13478 # The commands to extract the exported symbol list from a shared archive.
13479 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13481 # Variables whose values should be saved in libtool wrapper scripts and
13482 # restored at link time.
13483 variables_saved_for_relink=$lt_variables_saved_for_relink
13485 # Do we need the "lib" prefix for modules?
13486 need_lib_prefix=$need_lib_prefix
13488 # Do we need a version for libraries?
13489 need_version=$need_version
13491 # Library versioning type.
13492 version_type=$version_type
13494 # Shared library runtime path variable.
13495 runpath_var=$runpath_var
13497 # Shared library path variable.
13498 shlibpath_var=$shlibpath_var
13500 # Is shlibpath searched before the hard-coded library search path?
13501 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13503 # Format of library name prefix.
13504 libname_spec=$lt_libname_spec
13506 # List of archive names. First name is the real one, the rest are links.
13507 # The last name is the one that the linker finds with -lNAME
13508 library_names_spec=$lt_library_names_spec
13510 # The coded name of the library, if different from the real name.
13511 soname_spec=$lt_soname_spec
13513 # Permission mode override for installation of shared libraries.
13514 install_override_mode=$lt_install_override_mode
13516 # Command to use after installation of a shared archive.
13517 postinstall_cmds=$lt_postinstall_cmds
13519 # Command to use after uninstallation of a shared archive.
13520 postuninstall_cmds=$lt_postuninstall_cmds
13522 # Commands used to finish a libtool library installation in a directory.
13523 finish_cmds=$lt_finish_cmds
13525 # As "finish_cmds", except a single script fragment to be evaled but
13527 finish_eval=$lt_finish_eval
13529 # Whether we should hardcode library paths into libraries.
13530 hardcode_into_libs=$hardcode_into_libs
13532 # Compile-time system search path for libraries.
13533 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13535 # Run-time system search path for libraries.
13536 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13538 # Whether dlopen is supported.
13539 dlopen_support=$enable_dlopen
13541 # Whether dlopen of programs is supported.
13542 dlopen_self=$enable_dlopen_self
13544 # Whether dlopen of statically linked programs is supported.
13545 dlopen_self_static=$enable_dlopen_self_static
13547 # Commands to strip libraries.
13548 old_striplib=$lt_old_striplib
13549 striplib=$lt_striplib
13552 # The linker used to build libraries.
13555 # How to create reloadable object files.
13556 reload_flag=$lt_reload_flag
13557 reload_cmds=$lt_reload_cmds
13559 # Commands used to build an old-style archive.
13560 old_archive_cmds=$lt_old_archive_cmds
13562 # A language specific compiler.
13565 # Is the compiler the GNU compiler?
13568 # Compiler flag to turn off builtin functions.
13569 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13571 # How to pass a linker flag through the compiler.
13572 wl=$lt_lt_prog_compiler_wl
13574 # Additional compiler flags for building library objects.
13575 pic_flag=$lt_lt_prog_compiler_pic
13577 # Compiler flag to prevent dynamic linking.
13578 link_static_flag=$lt_lt_prog_compiler_static
13580 # Does compiler simultaneously support -c and -o options?
13581 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13583 # Whether or not to add -lc for building shared libraries.
13584 build_libtool_need_lc=$archive_cmds_need_lc
13586 # Whether or not to disallow shared libs when runtime libs are static.
13587 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13589 # Compiler flag to allow reflexive dlopens.
13590 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13592 # Compiler flag to generate shared objects directly from archives.
13593 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13595 # Whether the compiler copes with passing no objects directly.
13596 compiler_needs_object=$lt_compiler_needs_object
13598 # Create an old-style archive from a shared archive.
13599 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13601 # Create a temporary old-style archive to link instead of a shared archive.
13602 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13604 # Commands used to build a shared archive.
13605 archive_cmds=$lt_archive_cmds
13606 archive_expsym_cmds=$lt_archive_expsym_cmds
13608 # Commands used to build a loadable module if different from building
13609 # a shared archive.
13610 module_cmds=$lt_module_cmds
13611 module_expsym_cmds=$lt_module_expsym_cmds
13613 # Whether we are building with GNU ld or not.
13614 with_gnu_ld=$lt_with_gnu_ld
13616 # Flag that allows shared libraries with undefined symbols to be built.
13617 allow_undefined_flag=$lt_allow_undefined_flag
13619 # Flag that enforces no undefined symbols.
13620 no_undefined_flag=$lt_no_undefined_flag
13622 # Flag to hardcode \$libdir into a binary during linking.
13623 # This must work even if \$libdir does not exist
13624 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13626 # If ld is used when linking, flag to hardcode \$libdir into a binary
13627 # during linking. This must work even if \$libdir does not exist.
13628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13630 # Whether we need a single "-rpath" flag with a separated argument.
13631 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13633 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13634 # DIR into the resulting binary.
13635 hardcode_direct=$hardcode_direct
13637 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13638 # DIR into the resulting binary and the resulting library dependency is
13639 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13640 # library is relocated.
13641 hardcode_direct_absolute=$hardcode_direct_absolute
13643 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13644 # into the resulting binary.
13645 hardcode_minus_L=$hardcode_minus_L
13647 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13648 # into the resulting binary.
13649 hardcode_shlibpath_var=$hardcode_shlibpath_var
13651 # Set to "yes" if building a shared library automatically hardcodes DIR
13652 # into the library and all subsequent libraries and executables linked
13654 hardcode_automatic=$hardcode_automatic
13656 # Set to yes if linker adds runtime paths of dependent libraries
13657 # to runtime path list.
13658 inherit_rpath=$inherit_rpath
13660 # Whether libtool must link a program against all its dependency libraries.
13661 link_all_deplibs=$link_all_deplibs
13663 # Fix the shell variable \$srcfile for the compiler.
13664 fix_srcfile_path=$lt_fix_srcfile_path
13666 # Set to "yes" if exported symbols are required.
13667 always_export_symbols=$always_export_symbols
13669 # The commands to list exported symbols.
13670 export_symbols_cmds=$lt_export_symbols_cmds
13672 # Symbols that should not be listed in the preloaded symbols.
13673 exclude_expsyms=$lt_exclude_expsyms
13675 # Symbols that must always be exported.
13676 include_expsyms=$lt_include_expsyms
13678 # Commands necessary for linking programs (against libraries) with templates.
13679 prelink_cmds=$lt_prelink_cmds
13681 # Specify filename containing input files.
13682 file_list_spec=$lt_file_list_spec
13684 # How to hardcode a shared library path into an executable.
13685 hardcode_action=$hardcode_action
13687 # ### END LIBTOOL CONFIG
13693 cat <<\_LT_EOF
>> "$cfgfile"
13694 # AIX sometimes has problems with the GCC collect2 program. For some
13695 # reason, if we set the COLLECT_NAMES environment variable, the problems
13696 # vanish in a puff of smoke.
13697 if test "X${COLLECT_NAMES+set}" != Xset
; then
13699 export COLLECT_NAMES
13706 ltmain
="$ac_aux_dir/ltmain.sh"
13709 # We use sed instead of cat because bash on DJGPP gets confused if
13710 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13711 # text mode, it properly converts lines to CR/LF. This bash problem
13712 # is reportedly fixed, but why not run on old versions too?
13713 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13714 ||
(rm -f "$cfgfile"; exit 1)
13718 cat << \_LT_EOF
>> "$cfgfile"
13720 # func_dirname file append nondir_replacement
13721 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13722 # otherwise set result to NONDIR_REPLACEMENT.
13726 */*) func_dirname_result
="${1%/*}${2}" ;;
13727 * ) func_dirname_result
="${3}" ;;
13731 # func_basename file
13734 func_basename_result
="${1##*/}"
13737 # func_dirname_and_basename file append nondir_replacement
13738 # perform func_basename and func_dirname in a single function
13740 # dirname: Compute the dirname of FILE. If nonempty,
13741 # add APPEND to the result, otherwise set result
13742 # to NONDIR_REPLACEMENT.
13743 # value returned in "$func_dirname_result"
13744 # basename: Compute filename of FILE.
13745 # value retuned in "$func_basename_result"
13746 # Implementation must be kept synchronized with func_dirname
13747 # and func_basename. For efficiency, we do not delegate to
13748 # those functions but instead duplicate the functionality here.
13749 func_dirname_and_basename
()
13752 */*) func_dirname_result
="${1%/*}${2}" ;;
13753 * ) func_dirname_result
="${3}" ;;
13755 func_basename_result
="${1##*/}"
13758 # func_stripname prefix suffix name
13759 # strip PREFIX and SUFFIX off of NAME.
13760 # PREFIX and SUFFIX must not contain globbing or regex special
13761 # characters, hashes, percent signs, but SUFFIX may contain a leading
13762 # dot (in which case that matches only a dot).
13765 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13766 # positional parameters, so assign one to ordinary parameter first.
13767 func_stripname_result
=${3}
13768 func_stripname_result
=${func_stripname_result#"${1}"}
13769 func_stripname_result
=${func_stripname_result%"${2}"}
13775 func_opt_split_opt
=${1%%=*}
13776 func_opt_split_arg
=${1#*=}
13783 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13784 *) func_lo2o_result
=${1} ;;
13788 # func_xform libobj-or-source
13791 func_xform_result
=${1%.*}.lo
13794 # func_arith arithmetic-term...
13797 func_arith_result
=$
(( $
* ))
13801 # STRING may not start with a hyphen.
13804 func_len_result
=${#1}
13809 *) # Bourne compatible functions.
13810 cat << \_LT_EOF
>> "$cfgfile"
13812 # func_dirname file append nondir_replacement
13813 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13814 # otherwise set result to NONDIR_REPLACEMENT.
13817 # Extract subdirectory from the argument.
13818 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13819 if test "X$func_dirname_result" = "X${1}"; then
13820 func_dirname_result
="${3}"
13822 func_dirname_result
="$func_dirname_result${2}"
13826 # func_basename file
13829 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13833 # func_stripname prefix suffix name
13834 # strip PREFIX and SUFFIX off of NAME.
13835 # PREFIX and SUFFIX must not contain globbing or regex special
13836 # characters, hashes, percent signs, but SUFFIX may contain a leading
13837 # dot (in which case that matches only a dot).
13838 # func_strip_suffix prefix name
13842 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13843 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13848 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13849 my_sed_long_arg
='1s/^-[^=]*=//'
13854 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13855 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13861 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13864 # func_xform libobj-or-source
13867 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13870 # func_arith arithmetic-term...
13873 func_arith_result
=`expr "$@"`
13877 # STRING may not start with a hyphen.
13880 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13886 case $lt_shell_append in
13888 cat << \_LT_EOF
>> "$cfgfile"
13890 # func_append var value
13891 # Append VALUE to the end of shell variable VAR.
13899 cat << \_LT_EOF
>> "$cfgfile"
13901 # func_append var value
13902 # Append VALUE to the end of shell variable VAR.
13913 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13914 ||
(rm -f "$cfgfile"; exit 1)
13916 mv -f "$cfgfile" "$ofile" ||
13917 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13921 "mpxrt/Makefile":F
) cat > vpsed$$
<< \_EOF
13922 s
!`test -f '$<' || echo '$(srcdir)/'`!!
13924 sed -f vpsed$$
$ac_file > tmp$$
13927 echo 'MULTISUBDIR =' >> $ac_file
13929 .
${multi_basedir}/config-ml.
in
13930 { ml_norecursion
=; unset ml_norecursion
;}
13932 "mpxwrap/Makefile":F
) cat > vpsed$$
<< \_EOF
13933 s
!`test -f '$<' || echo '$(srcdir)/'`!!
13935 sed -f vpsed$$
$ac_file > tmp$$
13938 echo 'MULTISUBDIR =' >> $ac_file
13940 .
${multi_basedir}/config-ml.
in
13941 { ml_norecursion
=; unset ml_norecursion
;}
13950 ac_clean_files
=$ac_clean_files_save
13952 test $ac_write_fail = 0 ||
13953 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13956 # configure is writing to config.log, and then calls config.status.
13957 # config.status does its own redirection, appending to config.log.
13958 # Unfortunately, on DOS this fails, as config.log is still kept open
13959 # by configure, so config.status won't be able to write to it; its
13960 # output is simply discarded. So we exec the FD to /dev/null,
13961 # effectively closing config.log, so it can be properly (re)opened and
13962 # appended to by config.status. When coming back to configure, we
13963 # need to make the FD available again.
13964 if test "$no_create" != yes; then
13966 ac_config_status_args
=
13967 test "$silent" = yes &&
13968 ac_config_status_args
="$ac_config_status_args --quiet"
13970 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13972 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13973 # would make configure fail if this is the last instruction.
13974 $ac_cs_success || as_fn_exit $?
13976 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13978 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}