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
623 MPX_AS_SUPPORTED_FALSE
624 MPX_AS_SUPPORTED_TRUE
643 MAINTAINER_MODE_FALSE
654 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 ac_precious_vars
='build_alias
747 # Initialize some variables set by options.
749 ac_init_version
=false
750 ac_unrecognized_opts
=
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
761 program_transform_name
=s
,x
,x
,
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir
='${exec_prefix}/bin'
776 sbindir
='${exec_prefix}/sbin'
777 libexecdir
='${exec_prefix}/libexec'
778 datarootdir
='${prefix}/share'
779 datadir
='${datarootdir}'
780 sysconfdir
='${prefix}/etc'
781 sharedstatedir
='${prefix}/com'
782 localstatedir
='${prefix}/var'
783 includedir
='${prefix}/include'
784 oldincludedir
='/usr/include'
785 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
786 infodir
='${datarootdir}/info'
791 libdir
='${exec_prefix}/lib'
792 localedir
='${datarootdir}/locale'
793 mandir
='${datarootdir}/man'
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\
$ac_option
807 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
811 # Accept the important Cygnus configure options, so we can diagnose typos.
813 case $ac_dashdash$ac_option in
817 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
819 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
822 -build |
--build |
--buil |
--bui |
--bu)
823 ac_prev
=build_alias
;;
824 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
825 build_alias
=$ac_optarg ;;
827 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
828 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
829 ac_prev
=cache_file
;;
830 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
831 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
832 cache_file
=$ac_optarg ;;
835 cache_file
=config.cache
;;
837 -datadir |
--datadir |
--datadi |
--datad)
839 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
840 datadir
=$ac_optarg ;;
842 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
843 |
--dataroo |
--dataro |
--datar)
844 ac_prev
=datarootdir
;;
845 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
846 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
847 datarootdir
=$ac_optarg ;;
849 -disable-* |
--disable-*)
850 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
853 as_fn_error
"invalid feature name: $ac_useropt"
854 ac_useropt_orig
=$ac_useropt
855 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
860 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861 ac_unrecognized_sep
=', ';;
863 eval enable_
$ac_useropt=no
;;
865 -docdir |
--docdir |
--docdi |
--doc |
--do)
867 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
870 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
872 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
875 -enable-* |
--enable-*)
876 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
879 as_fn_error
"invalid feature name: $ac_useropt"
880 ac_useropt_orig
=$ac_useropt
881 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882 case $ac_user_opts in
886 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
887 ac_unrecognized_sep
=', ';;
889 eval enable_
$ac_useropt=\
$ac_optarg ;;
891 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
892 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
893 |
--exec |
--exe |
--ex)
894 ac_prev
=exec_prefix
;;
895 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
896 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
897 |
--exec=* |
--exe=* |
--ex=*)
898 exec_prefix
=$ac_optarg ;;
900 -gas |
--gas |
--ga |
--g)
901 # Obsolete; use --with-gas.
904 -help |
--help |
--hel |
--he |
-h)
906 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
907 ac_init_help
=recursive
;;
908 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
909 ac_init_help
=short
;;
911 -host |
--host |
--hos |
--ho)
912 ac_prev
=host_alias
;;
913 -host=* |
--host=* |
--hos=* |
--ho=*)
914 host_alias
=$ac_optarg ;;
916 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
918 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
920 htmldir
=$ac_optarg ;;
922 -includedir |
--includedir |
--includedi |
--included |
--include \
923 |
--includ |
--inclu |
--incl |
--inc)
924 ac_prev
=includedir
;;
925 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
926 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
927 includedir
=$ac_optarg ;;
929 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
931 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
932 infodir
=$ac_optarg ;;
934 -libdir |
--libdir |
--libdi |
--libd)
936 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
939 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
940 |
--libexe |
--libex |
--libe)
941 ac_prev
=libexecdir
;;
942 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
943 |
--libexe=* |
--libex=* |
--libe=*)
944 libexecdir
=$ac_optarg ;;
946 -localedir |
--localedir |
--localedi |
--localed |
--locale)
948 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
949 localedir
=$ac_optarg ;;
951 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
952 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
953 ac_prev
=localstatedir
;;
954 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
955 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
956 localstatedir
=$ac_optarg ;;
958 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
960 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
964 # Obsolete; use --without-fp.
967 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
968 |
--no-cr |
--no-c |
-n)
971 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
972 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
975 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
976 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
977 |
--oldin |
--oldi |
--old |
--ol |
--o)
978 ac_prev
=oldincludedir
;;
979 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
980 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
981 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
982 oldincludedir
=$ac_optarg ;;
984 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
986 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
989 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
990 |
--program-pre |
--program-pr |
--program-p)
991 ac_prev
=program_prefix
;;
992 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
993 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
994 program_prefix
=$ac_optarg ;;
996 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
997 |
--program-suf |
--program-su |
--program-s)
998 ac_prev
=program_suffix
;;
999 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1000 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1001 program_suffix
=$ac_optarg ;;
1003 -program-transform-name |
--program-transform-name \
1004 |
--program-transform-nam |
--program-transform-na \
1005 |
--program-transform-n |
--program-transform- \
1006 |
--program-transform |
--program-transfor \
1007 |
--program-transfo |
--program-transf \
1008 |
--program-trans |
--program-tran \
1009 |
--progr-tra |
--program-tr |
--program-t)
1010 ac_prev
=program_transform_name
;;
1011 -program-transform-name=* |
--program-transform-name=* \
1012 |
--program-transform-nam=* |
--program-transform-na=* \
1013 |
--program-transform-n=* |
--program-transform-=* \
1014 |
--program-transform=* |
--program-transfor=* \
1015 |
--program-transfo=* |
--program-transf=* \
1016 |
--program-trans=* |
--program-tran=* \
1017 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1018 program_transform_name
=$ac_optarg ;;
1020 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1022 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1023 pdfdir
=$ac_optarg ;;
1025 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1027 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1030 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1031 |
-silent |
--silent |
--silen |
--sile |
--sil)
1034 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1036 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1038 sbindir
=$ac_optarg ;;
1040 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1041 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1042 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1044 ac_prev
=sharedstatedir
;;
1045 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1046 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1047 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1049 sharedstatedir
=$ac_optarg ;;
1051 -site |
--site |
--sit)
1053 -site=* |
--site=* |
--sit=*)
1056 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1058 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1059 srcdir
=$ac_optarg ;;
1061 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1062 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1063 ac_prev
=sysconfdir
;;
1064 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1065 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1066 sysconfdir
=$ac_optarg ;;
1068 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1069 ac_prev
=target_alias
;;
1070 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1071 target_alias
=$ac_optarg ;;
1073 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1076 -version |
--version |
--versio |
--versi |
--vers |
-V)
1077 ac_init_version
=: ;;
1080 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1083 as_fn_error
"invalid package name: $ac_useropt"
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval with_
$ac_useropt=\
$ac_optarg ;;
1095 -without-* |
--without-*)
1096 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=no
;;
1112 # Obsolete; use --with-x.
1115 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1116 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1117 ac_prev
=x_includes
;;
1118 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1119 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1120 x_includes
=$ac_optarg ;;
1122 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1123 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1124 ac_prev
=x_libraries
;;
1125 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1126 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1127 x_libraries
=$ac_optarg ;;
1129 -*) as_fn_error
"unrecognized option: \`$ac_option'
1130 Try \`$0 --help' for more information."
1134 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1135 # Reject names that are not valid shell variable names.
1136 case $ac_envvar in #(
1137 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1138 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1140 eval $ac_envvar=\
$ac_optarg
1141 export $ac_envvar ;;
1144 # FIXME: should be removed in autoconf 3.0.
1145 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1146 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1147 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1154 if test -n "$ac_prev"; then
1155 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1156 as_fn_error
"missing argument to $ac_option"
1159 if test -n "$ac_unrecognized_opts"; then
1160 case $enable_option_checking in
1162 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1163 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1167 # Check all directory arguments for consistency.
1168 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1169 datadir sysconfdir sharedstatedir localstatedir includedir \
1170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1171 libdir localedir mandir
1173 eval ac_val
=\$
$ac_var
1174 # Remove trailing slashes.
1177 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1178 eval $ac_var=\
$ac_val;;
1180 # Be sure to have absolute directory names.
1182 [\\/$
]* | ?
:[\\/]* ) continue;;
1183 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1185 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1188 # There might be people who depend on the old broken behavior: `$host'
1189 # used to hold the argument of --host etc.
1190 # FIXME: To remove some day.
1193 target
=$target_alias
1195 # FIXME: To remove some day.
1196 if test "x$host_alias" != x
; then
1197 if test "x$build_alias" = x
; then
1198 cross_compiling
=maybe
1199 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1200 If a cross compiler is detected then cross compile mode will be used." >&2
1201 elif test "x$build_alias" != "x$host_alias"; then
1207 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1209 test "$silent" = yes && exec 6>/dev
/null
1212 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1213 ac_ls_di
=`ls -di .` &&
1214 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1215 as_fn_error
"working directory cannot be determined"
1216 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1217 as_fn_error
"pwd does not report name of working directory"
1220 # Find the source files, if location was not specified.
1221 if test -z "$srcdir"; then
1222 ac_srcdir_defaulted
=yes
1223 # Try the directory containing this script, then the parent directory.
1224 ac_confdir
=`$as_dirname -- "$as_myself" ||
1225 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1226 X"$as_myself" : 'X\(//\)[^/]' \| \
1227 X"$as_myself" : 'X\(//\)$' \| \
1228 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1229 $as_echo X"$as_myself" |
1230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1252 ac_srcdir_defaulted
=no
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1256 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1258 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1260 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1262 # When building in place, set srcdir=.
1263 if test "$ac_abs_confdir" = "$ac_pwd"; then
1266 # Remove unnecessary trailing slashes from srcdir.
1267 # Double slashes in file names in object file debugging info
1268 # mess up M-x gdb in Emacs.
1270 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1272 for ac_var
in $ac_precious_vars; do
1273 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1274 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1275 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1276 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1280 # Report the --help message.
1282 if test "$ac_init_help" = "long"; then
1283 # Omit some internal or obsolete options to make the list less imposing.
1284 # This message is too long to be a string in the A/UX 3.1 sh.
1286 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1288 Usage: $0 [OPTION]... [VAR=VALUE]...
1290 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1291 VAR=VALUE. See below for descriptions of some of the useful variables.
1293 Defaults for the options are specified in brackets.
1296 -h, --help display this help and exit
1297 --help=short display options specific to this package
1298 --help=recursive display the short help of all the included packages
1299 -V, --version display version information and exit
1300 -q, --quiet, --silent do not print \`checking...' messages
1301 --cache-file=FILE cache test results in FILE [disabled]
1302 -C, --config-cache alias for \`--cache-file=config.cache'
1303 -n, --no-create do not create output files
1304 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1306 Installation directories:
1307 --prefix=PREFIX install architecture-independent files in PREFIX
1308 [$ac_default_prefix]
1309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1312 By default, \`make install' will install all the files in
1313 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1314 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1315 for instance \`--prefix=\$HOME'.
1317 For better control, use the options below.
1319 Fine tuning of the installation directories:
1320 --bindir=DIR user executables [EPREFIX/bin]
1321 --sbindir=DIR system admin executables [EPREFIX/sbin]
1322 --libexecdir=DIR program executables [EPREFIX/libexec]
1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1326 --libdir=DIR object code libraries [EPREFIX/lib]
1327 --includedir=DIR C header files [PREFIX/include]
1328 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1331 --infodir=DIR info documentation [DATAROOTDIR/info]
1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1333 --mandir=DIR man documentation [DATAROOTDIR/man]
1334 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1335 --htmldir=DIR html documentation [DOCDIR]
1336 --dvidir=DIR dvi documentation [DOCDIR]
1337 --pdfdir=DIR pdf documentation [DOCDIR]
1338 --psdir=DIR ps documentation [DOCDIR]
1344 --program-prefix=PREFIX prepend PREFIX to installed program names
1345 --program-suffix=SUFFIX append SUFFIX to installed program names
1346 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1349 --build=BUILD configure
for building on BUILD
[guessed
]
1350 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1351 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1355 if test -n "$ac_init_help"; then
1356 case $ac_init_help in
1357 short | recursive
) echo "Configuration of package-unused version-unused:";;
1362 --disable-option-checking ignore unrecognized
--enable/--with options
1363 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1364 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1365 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1366 --enable-multilib build many library versions
(default
)
1367 --enable-maintainer-mode enable make rules and dependencies not useful
1368 (and sometimes confusing
) to the casual installer
1369 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1370 --enable-static[=PKGS
] build static libraries
[default
=yes]
1371 --enable-fast-install[=PKGS
]
1372 optimize
for fast installation
[default
=yes]
1373 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1376 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1377 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1378 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1380 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1382 Some influential environment variables
:
1383 CC C compiler
command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1386 nonstandard directory
<lib dir
>
1387 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1388 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1389 you have headers
in a nonstandard directory
<include dir
>
1392 Use these variables to override the choices made by
`configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <libmpx>.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" ||
1404 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1425 .) # We are building in place.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 package-unused configure version-unused
1459 generated by GNU Autoconf 2.64
1461 Copyright (C) 2009 Free Software Foundation, Inc.
1462 This configure script is free software; the Free Software Foundation
1463 gives unlimited permission to copy, distribute and modify it.
1468 ## ------------------------ ##
1469 ## Autoconf initialization. ##
1470 ## ------------------------ ##
1472 # ac_fn_c_try_compile LINENO
1473 # --------------------------
1474 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1475 ac_fn_c_try_compile ()
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 rm -f conftest.$ac_objext
1479 if { { ac_try="$ac_compile"
1481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1482 *) ac_try_echo
=$ac_try;;
1484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_compile") 2>conftest.err
1488 if test -s conftest.err
; then
1489 grep -v '^ *+' conftest.err
>conftest.er1
1490 cat conftest.er1
>&5
1491 mv -f conftest.er1 conftest.err
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } && {
1495 test -z "$ac_c_werror_flag" ||
1496 test ! -s conftest.err
1497 } && test -s conftest.
$ac_objext; then :
1500 $as_echo "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.
$ac_ext >&5
1505 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1508 } # ac_fn_c_try_compile
1510 # ac_fn_c_try_cpp LINENO
1511 # ----------------------
1512 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1515 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1516 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } >/dev/null && {
1532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1542 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1547 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1548 # -------------------------------------------------------
1549 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1550 # the include files in INCLUDES and setting the cache variable VAR
1552 ac_fn_c_check_header_mongrel ()
1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1557 $as_echo_n "checking for $2... " >&6; }
1558 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1559 $as_echo_n "(cached) " >&6
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1563 $as_echo "$ac_res" >&6; }
1565 # Is the header compilable?
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1567 $as_echo_n "checking $2 usability... " >&6; }
1568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1569 /* end confdefs.h. */
1573 if ac_fn_c_try_compile "$LINENO"; then :
1574 ac_header_compiler=yes
1576 ac_header_compiler=no
1578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1580 $as_echo "$ac_header_compiler" >&6; }
1582 # Is the header present?
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1584 $as_echo_n "checking $2 presence... " >&6; }
1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1586 /* end confdefs.h. */
1589 if ac_fn_c_try_cpp "$LINENO"; then :
1590 ac_header_preproc=yes
1592 ac_header_preproc=no
1594 rm -f conftest.err conftest.$ac_ext
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1596 $as_echo "$ac_header_preproc" >&6; }
1598 # So? What about this header?
1599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1602 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1604 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1608 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1610 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1612 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1614 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1616 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618 ## --------------------- ##
1619 ## Report this to libmpx ##
1620 ## --------------------- ##
1622 ) | sed "s/^/$as_me: WARNING: /" >&2
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1628 $as_echo_n "(cached) " >&6
1630 eval "$3=\$ac_header_compiler"
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634 $as_echo "$ac_res" >&6; }
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 } # ac_fn_c_check_header_mongrel
1640 # ac_fn_c_try_run LINENO
1641 # ----------------------
1642 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1643 # that executables *can* be run.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_link"
1649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1650 *) ac_try_echo
=$ac_try;;
1652 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_link") 2>&5
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1658 { { case "(($ac_try" in
1659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_try") 2>&5
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; }; }; then :
1670 $as_echo "$as_me: program exited with status $ac_status" >&5
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1674 ac_retval=$ac_status
1676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1682 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1683 # -------------------------------------------------------
1684 # Tests whether HEADER exists and can be compiled using the include files in
1685 # INCLUDES, setting the cache variable VAR accordingly.
1686 ac_fn_c_check_header_compile ()
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690 $as_echo_n "checking for $2... " >&6; }
1691 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1692 $as_echo_n "(cached) " >&6
1694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1699 if ac_fn_c_try_compile "$LINENO"; then :
1704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708 $as_echo "$ac_res" >&6; }
1709 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711 } # ac_fn_c_check_header_compile
1713 # ac_fn_c_try_link LINENO
1714 # -----------------------
1715 # Try to link conftest.$ac_ext, and return whether this succeeded.
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext conftest$ac_exeext
1720 if { { ac_try="$ac_link"
1722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1723 *) ac_try_echo
=$ac_try;;
1725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_link") 2>conftest.err
1729 if test -s conftest.err
; then
1730 grep -v '^ *+' conftest.err
>conftest.er1
1731 cat conftest.er1
>&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest
$ac_exeext && {
1739 test "$cross_compiling" = yes ||
1740 $as_test_x conftest
$ac_exeext
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.
$ac_ext >&5
1749 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1750 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1751 # interfere with the next link command; also delete a directory that is
1752 # left behind by Apple's compiler. We do this before executing the actions.
1753 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1754 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1757 } # ac_fn_c_try_link
1759 # ac_fn_c_check_func LINENO FUNC VAR
1760 # ----------------------------------
1761 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1762 ac_fn_c_check_func
()
1764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768 $as_echo_n "(cached) " >&6
1770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1772 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1774 #define $2 innocuous_$2
1776 /* System header to define __stub macros and hopefully few prototypes,
1777 which can conflict with char $2 (); below.
1778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1779 <limits.h> exists even on freestanding compilers. */
1782 # include <limits.h>
1784 # include <assert.h>
1789 /* Override any GCC internal prototype to avoid an error.
1790 Use char because int might match the return type of a GCC
1791 builtin and then its argument prototype would still apply. */
1796 /* The GNU C library defines this for functions which it implements
1797 to always fail with ENOSYS. Some functions are actually named
1798 something starting with __ and the normal name is an alias. */
1799 #if defined __stub_$2 || defined __stub___$2
1811 if ac_fn_c_try_link
"$LINENO"; then :
1816 rm -f core conftest.err conftest.
$ac_objext \
1817 conftest
$ac_exeext conftest.
$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1824 } # ac_fn_c_check_func
1825 cat >config.log
<<_ACEOF
1826 This file contains any messages produced by compilers while
1827 running configure, to aid debugging if configure makes a mistake.
1829 It was created by package-unused $as_me version-unused, which was
1830 generated by GNU Autoconf 2.64. Invocation command line was
1842 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1843 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1844 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1845 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1846 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1848 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1849 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1851 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1852 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1853 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1854 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1855 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1856 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1857 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1865 test -z "$as_dir" && as_dir
=.
1866 $as_echo "PATH: $as_dir"
1882 # Keep a trace of the command line.
1883 # Strip out --no-create and --no-recursion so they do not pile up.
1884 # Strip out --silent because we don't want to record it for future runs.
1885 # Also quote any args containing shell meta-characters.
1886 # Make two passes to allow for proper duplicate-argument suppression.
1890 ac_must_keep_next
=false
1896 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1897 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1898 |
-silent |
--silent |
--silen |
--sile |
--sil)
1901 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1904 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1906 as_fn_append ac_configure_args1
" '$ac_arg'"
1907 if test $ac_must_keep_next = true
; then
1908 ac_must_keep_next
=false
# Got value, back to normal.
1911 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1912 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1913 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1914 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1915 case "$ac_configure_args0 " in
1916 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1919 -* ) ac_must_keep_next
=true
;;
1922 as_fn_append ac_configure_args
" '$ac_arg'"
1927 { ac_configure_args0
=; unset ac_configure_args0
;}
1928 { ac_configure_args1
=; unset ac_configure_args1
;}
1930 # When interrupted or exit'd, cleanup temporary files, and complete
1931 # config.log. We remove comments because anyway the quotes in there
1932 # would cause problems or look ugly.
1933 # WARNING: Use '\'' to represent an apostrophe within the trap.
1934 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1935 trap 'exit_status=$?
1936 # Save into config.log some information that might help in debugging.
1941 ## ---------------- ##
1942 ## Cache variables. ##
1943 ## ---------------- ##
1946 # The following way of writing the cache mishandles newlines in values,
1948 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1949 eval ac_val=\$$ac_var
1953 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1954 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1957 _ | IFS | as_nl) ;; #(
1958 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1959 *) { eval $ac_var=; unset $ac_var;} ;;
1964 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1965 *${as_nl}ac_space=\ *)
1967 "s/'\''/'\''\\\\'\'''\''/g;
1968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1979 ## ----------------- ##
1980 ## Output variables. ##
1981 ## ----------------- ##
1984 for ac_var in $ac_subst_vars
1986 eval ac_val=\$$ac_var
1988 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1990 $as_echo "$ac_var='\''$ac_val'\''"
1994 if test -n "$ac_subst_files"; then
1996 ## ------------------- ##
1997 ## File substitutions. ##
1998 ## ------------------- ##
2001 for ac_var
in $ac_subst_files
2003 eval ac_val
=\$
$ac_var
2005 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2007 $as_echo "$ac_var='\''$ac_val'\''"
2012 if test -s confdefs.h; then
2022 test "$ac_signal" != 0 &&
2023 $as_echo "$as_me: caught signal $ac_signal"
2024 $as_echo "$as_me: exit $exit_status"
2026 rm -f core *.core core.conftest.* &&
2027 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2030 for ac_signal
in 1 2 13 15; do
2031 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2035 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2036 rm -f -r conftest
* confdefs.h
2038 $as_echo "/* confdefs.h */" > confdefs.h
2040 # Predefined preprocessor variables.
2042 cat >>confdefs.h
<<_ACEOF
2043 #define PACKAGE_NAME "$PACKAGE_NAME"
2046 cat >>confdefs.h
<<_ACEOF
2047 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2050 cat >>confdefs.h
<<_ACEOF
2051 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2054 cat >>confdefs.h
<<_ACEOF
2055 #define PACKAGE_STRING "$PACKAGE_STRING"
2058 cat >>confdefs.h
<<_ACEOF
2059 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2062 cat >>confdefs.h
<<_ACEOF
2063 #define PACKAGE_URL "$PACKAGE_URL"
2067 # Let the site file select an alternate cache file if it wants to.
2068 # Prefer an explicitly selected file to automatically selected ones.
2071 if test -n "$CONFIG_SITE"; then
2072 ac_site_file1
=$CONFIG_SITE
2073 elif test "x$prefix" != xNONE
; then
2074 ac_site_file1
=$prefix/share
/config.site
2075 ac_site_file2
=$prefix/etc
/config.site
2077 ac_site_file1
=$ac_default_prefix/share
/config.site
2078 ac_site_file2
=$ac_default_prefix/etc
/config.site
2080 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2082 test "x$ac_site_file" = xNONE
&& continue
2083 if test -r "$ac_site_file"; then
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2085 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2086 sed 's/^/| /' "$ac_site_file" >&5
2091 if test -r "$cache_file"; then
2092 # Some versions of bash will fail to source /dev/null (special
2093 # files actually), so we avoid doing that.
2094 if test -f "$cache_file"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2096 $as_echo "$as_me: loading cache $cache_file" >&6;}
2098 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2099 *) .
"./$cache_file";;
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2104 $as_echo "$as_me: creating cache $cache_file" >&6;}
2108 # Check that the precious variables saved in the cache have kept the same
2110 ac_cache_corrupted
=false
2111 for ac_var
in $ac_precious_vars; do
2112 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2113 eval ac_new_set
=\
$ac_env_${ac_var}_set
2114 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2115 eval ac_new_val
=\
$ac_env_${ac_var}_value
2116 case $ac_old_set,$ac_new_set in
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2119 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2120 ac_cache_corrupted
=: ;;
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2123 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2124 ac_cache_corrupted
=: ;;
2127 if test "x$ac_old_val" != "x$ac_new_val"; then
2128 # differences in whitespace do not lead to failure.
2129 ac_old_val_w
=`echo x $ac_old_val`
2130 ac_new_val_w
=`echo x $ac_new_val`
2131 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2133 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2134 ac_cache_corrupted
=:
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2137 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2138 eval $ac_var=\
$ac_old_val
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2141 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2143 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2146 # Pass precious variables to config.status.
2147 if test "$ac_new_set" = set; then
2149 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2150 *) ac_arg
=$ac_var=$ac_new_val ;;
2152 case " $ac_configure_args " in
2153 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2154 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2158 if $ac_cache_corrupted; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2162 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2163 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2165 ## -------------------- ##
2166 ## Main body of script. ##
2167 ## -------------------- ##
2170 ac_cpp
='$CPP $CPPFLAGS'
2171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2184 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2185 # Check whether --enable-version-specific-runtime-libs was given.
2186 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2187 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2188 yes) version_specific_libs
=yes ;;
2189 no
) version_specific_libs
=no
;;
2190 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2193 version_specific_libs
=no
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2197 $as_echo "$version_specific_libs" >&6; }
2199 # Do not delete or change the following two lines. For why, see
2200 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2202 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2203 for ac_t
in install-sh
install.sh shtool
; do
2204 if test -f "$ac_dir/$ac_t"; then
2206 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2211 if test -z "$ac_aux_dir"; then
2212 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2215 # These three variables are undocumented and unsupported,
2216 # and are intended to be withdrawn in a future Autoconf release.
2217 # They can cause serious problems if a builder's source tree is in a directory
2218 # whose full name contains unusual characters.
2219 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2220 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2221 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2224 # Make sure we can run config.sub.
2225 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2226 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2229 $as_echo_n "checking build system type... " >&6; }
2230 if test "${ac_cv_build+set}" = set; then :
2231 $as_echo_n "(cached) " >&6
2233 ac_build_alias
=$build_alias
2234 test "x$ac_build_alias" = x
&&
2235 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2236 test "x$ac_build_alias" = x
&&
2237 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2238 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2239 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2243 $as_echo "$ac_cv_build" >&6; }
2244 case $ac_cv_build in
2246 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2249 ac_save_IFS
=$IFS; IFS
='-'
2255 # Remember, the first character of IFS is used to create $*,
2256 # except with old shells:
2259 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2263 $as_echo_n "checking host system type... " >&6; }
2264 if test "${ac_cv_host+set}" = set; then :
2265 $as_echo_n "(cached) " >&6
2267 if test "x$host_alias" = x
; then
2268 ac_cv_host
=$ac_cv_build
2270 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2271 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2276 $as_echo "$ac_cv_host" >&6; }
2279 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2282 ac_save_IFS
=$IFS; IFS
='-'
2288 # Remember, the first character of IFS is used to create $*,
2289 # except with old shells:
2292 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2296 $as_echo_n "checking target system type... " >&6; }
2297 if test "${ac_cv_target+set}" = set; then :
2298 $as_echo_n "(cached) " >&6
2300 if test "x$target_alias" = x
; then
2301 ac_cv_target
=$ac_cv_host
2303 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2304 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2309 $as_echo "$ac_cv_target" >&6; }
2310 case $ac_cv_target in
2312 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2314 target
=$ac_cv_target
2315 ac_save_IFS
=$IFS; IFS
='-'
2321 # Remember, the first character of IFS is used to create $*,
2322 # except with old shells:
2325 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2328 # The aliases save the names the user supplied, while $host etc.
2329 # will get canonicalized.
2330 test -n "$target_alias" &&
2331 test "$program_prefix$program_suffix$program_transform_name" = \
2333 program_prefix
=${target_alias}-
2335 target_alias
=${target_alias-$host_alias}
2339 unset LIBMPX_SUPPORTED
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target support for Intel MPX runtime library" >&5
2341 $as_echo_n "checking for target support for Intel MPX runtime library... " >&6; }
2342 echo "int i[sizeof (void *) == 4 ? 1 : -1] = { __x86_64__ };" > conftest.c
2343 if { ac_try
='${CC} ${CFLAGS} -c -o conftest.o conftest.c 1>&5'
2344 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }; }
2352 LIBMPX_SUPPORTED
=yes
2354 rm -f conftest.o conftest.c
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMPX_SUPPORTED" >&5
2356 $as_echo "$LIBMPX_SUPPORTED" >&6; }
2357 if test "x$LIBMPX_SUPPORTED" = "xyes"; then
2358 LIBMPX_SUPPORTED_TRUE
=
2359 LIBMPX_SUPPORTED_FALSE
='#'
2361 LIBMPX_SUPPORTED_TRUE
='#'
2362 LIBMPX_SUPPORTED_FALSE
=
2366 link_libmpx
="-lpthread"
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld accepts -z bndplt" >&5
2369 $as_echo_n "checking whether ld accepts -z bndplt... " >&6; }
2370 echo "int main() {};" > conftest.c
2371 if { ac_try
='${CC} ${CFLAGS} -Wl,-z,bndplt -o conftest conftest.c 1>&5'
2372 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2376 test $ac_status = 0; }; }
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2379 $as_echo "yes" >&6; }
2380 link_mpx
="$link_mpx -z bndplt"
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383 $as_echo "no" >&6; }
2388 am__api_version
='1.11'
2390 # Find a good install program. We prefer a C program (faster),
2391 # so one script is as good as another. But avoid the broken or
2392 # incompatible versions:
2393 # SysV /etc/install, /usr/sbin/install
2394 # SunOS /usr/etc/install
2395 # IRIX /sbin/install
2397 # AmigaOS /C/install, which installs bootblocks on floppy discs
2398 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2399 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2400 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2401 # OS/2's system install, which has a completely different semantic
2402 # ./install, which can be erroneously created by make from ./install.sh.
2403 # Reject install programs that cannot install multiple files.
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2405 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2406 if test -z "$INSTALL"; then
2407 if test "${ac_cv_path_install+set}" = set; then :
2408 $as_echo_n "(cached) " >&6
2410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir
=.
2415 # Account for people who put trailing slashes in PATH elements.
2416 case $as_dir/ in #((
2417 .
/ | .
// |
/[cC
]/* | \
2418 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2419 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2422 # OSF1 and SCO ODT 3.0 have their own names for install.
2423 # Don't use installbsd from OSF since it installs stuff as root
2425 for ac_prog
in ginstall scoinst
install; do
2426 for ac_exec_ext
in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2428 if test $ac_prog = install &&
2429 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2430 # AIX install. It has an incompatible calling convention.
2432 elif test $ac_prog = install &&
2433 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2434 # program-specific install script used by HP pwplus--don't use.
2437 rm -rf conftest.one conftest.two conftest.dir
2438 echo one
> conftest.one
2439 echo two
> conftest.two
2441 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2442 test -s conftest.one
&& test -s conftest.two
&&
2443 test -s conftest.dir
/conftest.one
&&
2444 test -s conftest.dir
/conftest.two
2446 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2459 rm -rf conftest.one conftest.two conftest.dir
2462 if test "${ac_cv_path_install+set}" = set; then
2463 INSTALL
=$ac_cv_path_install
2465 # As a last resort, use the slow shell script. Don't cache a
2466 # value for INSTALL within a source directory, because that will
2467 # break other packages using the cache if that directory is
2468 # removed, or if the value is a relative name.
2469 INSTALL
=$ac_install_sh
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2473 $as_echo "$INSTALL" >&6; }
2475 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2476 # It thinks the first close brace ends the variable substitution.
2477 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2479 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2481 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2484 $as_echo_n "checking whether build environment is sane... " >&6; }
2487 echo timestamp
> conftest.
file
2488 # Reject unsafe characters in $srcdir or the absolute working directory
2489 # name. Accept space and tab only in the latter.
2493 *[\\\"\
#\$\&\'\`$am_lf]*)
2494 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2497 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2498 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2501 # Do `set' in a subshell so we don't clobber the current shell's
2502 # arguments. Must try -L first in case configure is actually a
2503 # symlink; some systems play weird games with the mod time of symlinks
2504 # (eg FreeBSD returns the mod time of the symlink's containing
2507 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2508 if test "$*" = "X"; then
2510 set X
`ls -t "$srcdir/configure" conftest.file`
2513 if test "$*" != "X $srcdir/configure conftest.file" \
2514 && test "$*" != "X conftest.file $srcdir/configure"; then
2516 # If neither matched, then we have a broken ls. This can happen
2517 # if, for instance, CONFIG_SHELL is bash and it inherits a
2518 # broken ls alias from the environment. This has actually
2519 # happened. Such a system could not be considered "sane".
2520 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2521 alias in your environment" "$LINENO" 5
2524 test "$2" = conftest.
file
2530 as_fn_error
"newly created file is older than distributed files!
2531 Check your system clock" "$LINENO" 5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2534 $as_echo "yes" >&6; }
2535 test "$program_prefix" != NONE
&&
2536 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2537 # Use a double $ so make ignores it.
2538 test "$program_suffix" != NONE
&&
2539 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2540 # Double any \ or $.
2541 # By default was `s,x,x', remove it if useless.
2542 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2543 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2545 # expand $ac_aux_dir to an absolute path
2546 am_aux_dir
=`cd $ac_aux_dir && pwd`
2548 if test x
"${MISSING+set}" != xset
; then
2551 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2553 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2556 # Use eval to expand $SHELL
2557 if eval "$MISSING --run true"; then
2558 am_missing_run
="$MISSING --run "
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2562 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2565 if test x
"${install_sh}" != xset
; then
2568 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2570 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2574 # Installed binaries are usually stripped using `strip' when the user
2575 # run `make install-strip'. However `strip' might not be the right
2576 # tool to use in cross-compilation environments, therefore Automake
2577 # will honor the `STRIP' environment variable to overrule this program.
2578 if test "$cross_compiling" != no
; then
2579 if test -n "$ac_tool_prefix"; then
2580 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2581 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if test "${ac_cv_prog_STRIP+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 if test -n "$STRIP"; then
2588 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir
=.
2595 for ac_exec_ext
in '' $ac_executable_extensions; do
2596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 STRIP
=$ac_cv_prog_STRIP
2608 if test -n "$STRIP"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2610 $as_echo "$STRIP" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2618 if test -z "$ac_cv_prog_STRIP"; then
2620 # Extract the first word of "strip", so it can be a program name with args.
2621 set dummy strip
; ac_word
=$2
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$ac_ct_STRIP"; then
2628 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir
=.
2635 for ac_exec_ext
in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_ac_ct_STRIP
="strip"
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2648 if test -n "$ac_ct_STRIP"; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2650 $as_echo "$ac_ct_STRIP" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2656 if test "x$ac_ct_STRIP" = x
; then
2659 case $cross_compiling:$ac_tool_warned in
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2663 ac_tool_warned
=yes ;;
2668 STRIP
="$ac_cv_prog_STRIP"
2672 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2675 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2676 if test -z "$MKDIR_P"; then
2677 if test "${ac_cv_path_mkdir+set}" = set; then :
2678 $as_echo_n "(cached) " >&6
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_prog
in mkdir gmkdir
; do
2686 for ac_exec_ext
in '' $ac_executable_extensions; do
2687 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2688 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2689 'mkdir (GNU coreutils) '* | \
2690 'mkdir (coreutils) '* | \
2691 'mkdir (fileutils) '4.1*)
2692 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2702 if test "${ac_cv_path_mkdir+set}" = set; then
2703 MKDIR_P
="$ac_cv_path_mkdir -p"
2705 # As a last resort, use the slow shell script. Don't cache a
2706 # value for MKDIR_P within a source directory, because that will
2707 # break other packages using the cache if that directory is
2708 # removed, or if the value is a relative name.
2709 test -d .
/--version && rmdir .
/--version
2710 MKDIR_P
="$ac_install_sh -d"
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2714 $as_echo "$MKDIR_P" >&6; }
2718 [\\/$
]* | ?
:[\\/]*) ;;
2719 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2722 for ac_prog
in gawk mawk nawk
awk
2724 # Extract the first word of "$ac_prog", so it can be a program name with args.
2725 set dummy
$ac_prog; ac_word
=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if test "${ac_cv_prog_AWK+set}" = set; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$AWK"; then
2732 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_AWK
="$ac_prog"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$AWK"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2754 $as_echo "$AWK" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2761 test -n "$AWK" && break
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2765 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2767 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2768 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2769 $as_echo_n "(cached) " >&6
2771 cat >conftest.
make <<\_ACEOF
2774 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2776 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2777 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2779 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2781 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2785 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2787 $as_echo "yes" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2792 SET_MAKE
="MAKE=${MAKE-make}"
2795 rm -rf .tst
2>/dev
/null
2796 mkdir .tst
2>/dev
/null
2797 if test -d .tst
; then
2802 rmdir .tst
2>/dev
/null
2804 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2805 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2806 # is not polluted with repeated "-I."
2807 am__isrc
=' -I$(srcdir)'
2808 # test to see if srcdir already configured
2809 if test -f $srcdir/config.status
; then
2810 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2814 # test whether we have cygpath
2815 if test -z "$CYGPATH_W"; then
2816 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2817 CYGPATH_W
='cygpath -w'
2824 # Define the identity of the package.
2825 PACKAGE
='package-unused'
2826 VERSION
='version-unused'
2829 cat >>confdefs.h
<<_ACEOF
2830 #define PACKAGE "$PACKAGE"
2834 cat >>confdefs.h
<<_ACEOF
2835 #define VERSION "$VERSION"
2838 # Some tools Automake needs.
2840 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2843 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2846 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2849 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2852 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2854 # We need awk for the "check" target. The system "awk" is bad on
2856 # Always define AMTAR for backward compatibility. Yes, it's still used
2857 # in the wild :-( We should find a proper way to deprecate it ...
2860 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2866 # Default to --enable-multilib
2867 # Check whether --enable-multilib was given.
2868 if test "${enable_multilib+set}" = set; then :
2869 enableval
=$enable_multilib; case "$enableval" in
2870 yes) multilib
=yes ;;
2872 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2879 # We may get other options which we leave undocumented:
2880 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2881 # See config-ml.in if you want the gory details.
2883 if test "$srcdir" = "."; then
2884 if test "$with_target_subdir" != "."; then
2885 multi_basedir
="$srcdir/$with_multisrctop../.."
2887 multi_basedir
="$srcdir/$with_multisrctop.."
2890 multi_basedir
="$srcdir/.."
2894 # Even if the default multilib is not a cross compilation,
2895 # it may be that some of the other multilibs are.
2896 if test $cross_compiling = no
&& test $multilib = yes \
2897 && test "x${with_multisubdir}" != x
; then
2898 cross_compiling
=maybe
2901 ac_config_commands
="$ac_config_commands default-1"
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2905 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2906 # Check whether --enable-maintainer-mode was given.
2907 if test "${enable_maintainer_mode+set}" = set; then :
2908 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2910 USE_MAINTAINER_MODE
=no
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2914 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2915 if test $USE_MAINTAINER_MODE = yes; then
2916 MAINTAINER_MODE_TRUE
=
2917 MAINTAINER_MODE_FALSE
='#'
2919 MAINTAINER_MODE_TRUE
='#'
2920 MAINTAINER_MODE_FALSE
=
2923 MAINT
=$MAINTAINER_MODE_TRUE
2928 ac_cpp
='$CPP $CPPFLAGS'
2929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2932 if test -n "$ac_tool_prefix"; then
2933 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2934 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if test "${ac_cv_prog_CC+set}" = set; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$CC"; then
2941 ac_cv_prog_CC
="$CC" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 if test -n "$CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2963 $as_echo "$CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2971 if test -z "$ac_cv_prog_CC"; then
2973 # Extract the first word of "gcc", so it can be a program name with args.
2974 set dummy gcc
; ac_word
=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$ac_ct_CC"; then
2981 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_ac_ct_CC
="gcc"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3001 if test -n "$ac_ct_CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3003 $as_echo "$ac_ct_CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3009 if test "x$ac_ct_CC" = x
; then
3012 case $cross_compiling:$ac_tool_warned in
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3016 ac_tool_warned
=yes ;;
3024 if test -z "$CC"; then
3025 if test -n "$ac_tool_prefix"; then
3026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3027 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if test "${ac_cv_prog_CC+set}" = set; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC
="$CC" # Let the user override the test.
3036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir
=.
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 if test -n "$CC"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3056 $as_echo "$CC" >&6; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059 $as_echo "no" >&6; }
3065 if test -z "$CC"; then
3066 # Extract the first word of "cc", so it can be a program name with args.
3067 set dummy cc
; ac_word
=$2
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if test "${ac_cv_prog_CC+set}" = set; then :
3071 $as_echo_n "(cached) " >&6
3073 if test -n "$CC"; then
3074 ac_cv_prog_CC
="$CC" # Let the user override the test.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for ac_exec_ext
in '' $ac_executable_extensions; do
3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3084 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3085 ac_prog_rejected
=yes
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 if test $ac_prog_rejected = yes; then
3097 # We found a bogon in the path, so make sure we never use it.
3098 set dummy
$ac_cv_prog_CC
3100 if test $# != 0; then
3101 # We chose a different compiler from the bogus one.
3102 # However, it has the same basename, so the bogon will be chosen
3103 # first if we set CC to just the basename; use the full file name.
3105 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3111 if test -n "$CC"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3113 $as_echo "$CC" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3121 if test -z "$CC"; then
3122 if test -n "$ac_tool_prefix"; then
3123 for ac_prog
in cl.exe
3125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3126 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if test "${ac_cv_prog_CC+set}" = set; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$CC"; then
3133 ac_cv_prog_CC
="$CC" # Let the user override the test.
3135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir
=.
3140 for ac_exec_ext
in '' $ac_executable_extensions; do
3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 if test -n "$CC"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3155 $as_echo "$CC" >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3162 test -n "$CC" && break
3165 if test -z "$CC"; then
3167 for ac_prog
in cl.exe
3169 # Extract the first word of "$ac_prog", so it can be a program name with args.
3170 set dummy
$ac_prog; ac_word
=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$ac_ct_CC"; then
3177 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir
=.
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_ac_ct_CC
="$ac_prog"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3197 if test -n "$ac_ct_CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3199 $as_echo "$ac_ct_CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3206 test -n "$ac_ct_CC" && break
3209 if test "x$ac_ct_CC" = x
; then
3212 case $cross_compiling:$ac_tool_warned in
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned
=yes ;;
3225 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error
"no acceptable C compiler found in \$PATH
3228 See \`config.log' for more details." "$LINENO" 5; }
3230 # Provide some information about the compiler.
3231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3234 for ac_option
in --version -v -V -qversion; do
3235 { { ac_try
="$ac_compiler $ac_option >&5"
3237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 $as_echo "$ac_try_echo"; } >&5
3242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3244 if test -s conftest.err; then
3246 ... rest of stderr output deleted ...
3247 10q' conftest.err >conftest.er1
3248 cat conftest.er1 >&5
3249 rm -f conftest.er1 conftest.err
3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3252 test $ac_status = 0; }
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3266 ac_clean_files_save=$ac_clean_files
3267 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3268 # Try to create an executable without -o first, disregard a.out.
3269 # It will help us diagnose broken compilers, and finding out an intuition
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3272 $as_echo_n "checking for C compiler default output file name... " >&6; }
3273 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3275 # The possible output files:
3276 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3279 for ac_file in $ac_files
3282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3283 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3288 if { { ac_try="$ac_link_default"
3290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3291 *) ac_try_echo
=$ac_try;;
3293 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294 $as_echo "$ac_try_echo"; } >&5
3295 (eval "$ac_link_default") 2>&5
3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3298 test $ac_status = 0; }; then :
3299 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3300 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3301 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3302 # so that the user can short-circuit this test for compilers unknown to
3304 for ac_file
in $ac_files ''
3306 test -f "$ac_file" ||
continue
3308 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3311 # We found the default executable, but exeext='' is most
3315 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3317 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3319 # We set ac_cv_exeext here because the later test for it is not
3320 # safe: cross compilers may not add the suffix if given an `-o'
3321 # argument, so we may need to know it at that point already.
3322 # Even if this section looks crufty: it has the advantage of
3329 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3335 $as_echo "$ac_file" >&6; }
3336 if test -z "$ac_file"; then :
3337 $as_echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3342 { as_fn_set_status
77
3343 as_fn_error
"C compiler cannot create executables
3344 See \`config.log' for more details." "$LINENO" 5; }; }
3346 ac_exeext
=$ac_cv_exeext
3348 # Check that the compiler produces executables we can run. If not, either
3349 # the compiler is broken, or we cross compile.
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3351 $as_echo_n "checking whether the C compiler works... " >&6; }
3352 # If not cross compiling, check that we can run a simple program.
3353 if test "$cross_compiling" != yes; then
3354 if { ac_try
='./$ac_file'
3355 { { case "(($ac_try" in
3356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_try") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; }; then
3367 if test "$cross_compiling" = maybe; then
3370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error "cannot run C compiled programs.
3373 If you meant to cross compile
, use \
`--host'.
3374 See \`config.log
' for more details." "$LINENO" 5; }
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3379 $as_echo "yes" >&6; }
3381 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3382 ac_clean_files=$ac_clean_files_save
3383 # Check that the compiler produces executables we can run. If not, either
3384 # the compiler is broken, or we cross compile.
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3386 $as_echo_n "checking whether we are cross compiling... " >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3388 $as_echo "$cross_compiling" >&6; }
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3391 $as_echo_n "checking for suffix of executables... " >&6; }
3392 if { { ac_try="$ac_link"
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398 $as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_link") 2>&5
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; then :
3403 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3404 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3405 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3407 for ac_file
in conftest.exe conftest conftest.
*; do
3408 test -f "$ac_file" ||
continue
3410 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3411 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3419 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3420 See \`config.log' for more details." "$LINENO" 5; }
3422 rm -f conftest
$ac_cv_exeext
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3424 $as_echo "$ac_cv_exeext" >&6; }
3426 rm -f conftest.
$ac_ext
3427 EXEEXT
=$ac_cv_exeext
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3430 $as_echo_n "checking for suffix of object files... " >&6; }
3431 if test "${ac_cv_objext+set}" = set; then :
3432 $as_echo_n "(cached) " >&6
3434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 rm -f conftest.o conftest.obj
3446 if { { ac_try
="$ac_compile"
3448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_compile") 2>&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; then :
3457 for ac_file in conftest.o conftest.obj conftest.*; do
3458 test -f "$ac_file" || continue;
3460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3461 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3466 $as_echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471 as_fn_error "cannot compute suffix of object files
: cannot compile
3472 See \
`config.log' for more details." "$LINENO" 5; }
3474 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3477 $as_echo "$ac_cv_objext" >&6; }
3478 OBJEXT=$ac_cv_objext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3481 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3482 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3483 $as_echo_n "(cached) " >&6
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3510 if test $ac_compiler_gnu = yes; then
3515 ac_test_CFLAGS=${CFLAGS+set}
3516 ac_save_CFLAGS=$CFLAGS
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3519 if test "${ac_cv_prog_cc_g+set}" = set; then :
3520 $as_echo_n "(cached) " >&6
3522 ac_save_c_werror_flag=$ac_c_werror_flag
3523 ac_c_werror_flag=yes
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 if ac_fn_c_try_compile "$LINENO"; then :
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3552 if ac_fn_c_try_compile "$LINENO"; then :
3555 ac_c_werror_flag=$ac_save_c_werror_flag
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 if ac_fn_c_try_compile "$LINENO"; then :
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576 ac_c_werror_flag=$ac_save_c_werror_flag
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3579 $as_echo "$ac_cv_prog_cc_g" >&6; }
3580 if test "$ac_test_CFLAGS" = set; then
3581 CFLAGS=$ac_save_CFLAGS
3582 elif test $ac_cv_prog_cc_g = yes; then
3583 if test "$GCC" = yes; then
3589 if test "$GCC" = yes; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3597 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 ac_cv_prog_cc_c89=no
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3606 #include <sys/types.h>
3607 #include <sys/stat.h>
3608 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3609 struct buf { int x; };
3610 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3611 static char *e (p, i)
3617 static char *f (char * (*g) (char **, int), char **p, ...)
3622 s = g (p, va_arg (v,int));
3627 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3628 function prototypes and stuff, but not '\xHH' hex character constants.
3629 These don't provoke an error unfortunately, instead are silently treated
3630 as 'x'. The following induces an error, until -std is added to get
3631 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3632 array size at least. It's necessary to write '\x00'==0 to get something
3633 that's true only with -std. */
3634 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3636 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3637 inside strings and character constants. */
3639 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3641 int test (int i, double x);
3642 struct s1 {int (*f) (int a);};
3643 struct s2 {int (*f) (double a);};
3644 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3650 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3655 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3656 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3658 CC="$ac_save_CC $ac_arg"
3659 if ac_fn_c_try_compile "$LINENO"; then :
3660 ac_cv_prog_cc_c89=$ac_arg
3662 rm -f core conftest.err conftest.$ac_objext
3663 test "x$ac_cv_prog_cc_c89" != "xno" && break
3665 rm -f conftest.$ac_ext
3670 case "x$ac_cv_prog_cc_c89" in
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3673 $as_echo "none needed" >&6; } ;;
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3676 $as_echo "unsupported" >&6; } ;;
3678 CC="$CC $ac_cv_prog_cc_c89"
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3680 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3682 if test "x$ac_cv_prog_cc_c89" != xno; then :
3687 ac_cpp='$CPP $CPPFLAGS'
3688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3699 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3700 # On Suns, sometimes $CPP names a directory.
3701 if test -n "$CPP" && test -d "$CPP"; then
3704 if test -z "$CPP"; then
3705 if test "${ac_cv_prog_CPP+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 # Double quotes because CPP needs to be expanded
3709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3712 for ac_c_preproc_warn_flag in '' yes
3714 # Use a header file that comes with gcc, so configuring glibc
3715 # with a fresh cross-compiler works.
3716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3717 # <limits.h> exists even on freestanding compilers.
3718 # On the NeXT, cc -E runs the code through the compiler's parser,
3719 # not just through cpp. "Syntax error" is here to catch this case.
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3723 # include <limits.h>
3725 # include <assert.h>
3729 if ac_fn_c_try_cpp "$LINENO"; then :
3732 # Broken: fails on valid input.
3735 rm -f conftest.err conftest.$ac_ext
3737 # OK, works on sane cases. Now check whether nonexistent headers
3738 # can be detected and how.
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3741 #include <ac_nonexistent.h>
3743 if ac_fn_c_try_cpp "$LINENO"; then :
3744 # Broken: success on invalid input.
3747 # Passes both tests.
3751 rm -f conftest.err conftest.$ac_ext
3754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3755 rm -f conftest.err conftest.
$ac_ext
3756 if $ac_preproc_ok; then :
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3769 $as_echo "$CPP" >&6; }
3771 for ac_c_preproc_warn_flag
in '' yes
3773 # Use a header file that comes with gcc, so configuring glibc
3774 # with a fresh cross-compiler works.
3775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3776 # <limits.h> exists even on freestanding compilers.
3777 # On the NeXT, cc -E runs the code through the compiler's parser,
3778 # not just through cpp. "Syntax error" is here to catch this case.
3779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3782 # include <limits.h>
3784 # include <assert.h>
3788 if ac_fn_c_try_cpp
"$LINENO"; then :
3791 # Broken: fails on valid input.
3794 rm -f conftest.err conftest.
$ac_ext
3796 # OK, works on sane cases. Now check whether nonexistent headers
3797 # can be detected and how.
3798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3800 #include <ac_nonexistent.h>
3802 if ac_fn_c_try_cpp
"$LINENO"; then :
3803 # Broken: success on invalid input.
3806 # Passes both tests.
3810 rm -f conftest.err conftest.
$ac_ext
3813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3814 rm -f conftest.err conftest.
$ac_ext
3815 if $ac_preproc_ok; then :
3818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3820 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3821 See \`config.log' for more details." "$LINENO" 5; }
3825 ac_cpp
='$CPP $CPPFLAGS'
3826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3832 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3833 if test "${ac_cv_path_GREP+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -z "$GREP"; then
3837 ac_path_GREP_found
=false
3838 # Loop through the user's path and test for each of PROGNAME-LIST
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3840 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_prog
in grep ggrep
; do
3845 for ac_exec_ext
in '' $ac_executable_extensions; do
3846 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3847 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3848 # Check for GNU ac_path_GREP and select it if it is found.
3849 # Check for GNU $ac_path_GREP
3850 case `"$ac_path_GREP" --version 2>&1` in
3852 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3855 $as_echo_n 0123456789 >"conftest.in"
3858 cat "conftest.in" "conftest.in" >"conftest.tmp"
3859 mv "conftest.tmp" "conftest.in"
3860 cp "conftest.in" "conftest.nl"
3861 $as_echo 'GREP' >> "conftest.nl"
3862 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3863 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3864 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3865 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3866 # Best one so far, save it but keep looking for a better one
3867 ac_cv_path_GREP
="$ac_path_GREP"
3868 ac_path_GREP_max
=$ac_count
3870 # 10*(2^10) chars as input seems more than enough
3871 test $ac_count -gt 10 && break
3873 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3876 $ac_path_GREP_found && break 3
3881 if test -z "$ac_cv_path_GREP"; then
3882 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3885 ac_cv_path_GREP
=$GREP
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3890 $as_echo "$ac_cv_path_GREP" >&6; }
3891 GREP
="$ac_cv_path_GREP"
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3895 $as_echo_n "checking for egrep... " >&6; }
3896 if test "${ac_cv_path_EGREP+set}" = set; then :
3897 $as_echo_n "(cached) " >&6
3899 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3900 then ac_cv_path_EGREP
="$GREP -E"
3902 if test -z "$EGREP"; then
3903 ac_path_EGREP_found
=false
3904 # Loop through the user's path and test for each of PROGNAME-LIST
3905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3906 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3909 test -z "$as_dir" && as_dir
=.
3910 for ac_prog
in egrep; do
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3913 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3914 # Check for GNU ac_path_EGREP and select it if it is found.
3915 # Check for GNU $ac_path_EGREP
3916 case `"$ac_path_EGREP" --version 2>&1` in
3918 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3921 $as_echo_n 0123456789 >"conftest.in"
3924 cat "conftest.in" "conftest.in" >"conftest.tmp"
3925 mv "conftest.tmp" "conftest.in"
3926 cp "conftest.in" "conftest.nl"
3927 $as_echo 'EGREP' >> "conftest.nl"
3928 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3929 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3930 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3931 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3932 # Best one so far, save it but keep looking for a better one
3933 ac_cv_path_EGREP
="$ac_path_EGREP"
3934 ac_path_EGREP_max
=$ac_count
3936 # 10*(2^10) chars as input seems more than enough
3937 test $ac_count -gt 10 && break
3939 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3942 $ac_path_EGREP_found && break 3
3947 if test -z "$ac_cv_path_EGREP"; then
3948 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3951 ac_cv_path_EGREP
=$EGREP
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3957 $as_echo "$ac_cv_path_EGREP" >&6; }
3958 EGREP
="$ac_cv_path_EGREP"
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3962 $as_echo_n "checking for ANSI C header files... " >&6; }
3963 if test "${ac_cv_header_stdc+set}" = set; then :
3964 $as_echo_n "(cached) " >&6
3966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3981 if ac_fn_c_try_compile
"$LINENO"; then :
3982 ac_cv_header_stdc
=yes
3984 ac_cv_header_stdc
=no
3986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3988 if test $ac_cv_header_stdc = yes; then
3989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
3995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3996 $EGREP "memchr" >/dev
/null
2>&1; then :
3999 ac_cv_header_stdc
=no
4005 if test $ac_cv_header_stdc = yes; then
4006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4008 /* end confdefs.h. */
4012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4013 $EGREP "free" >/dev
/null
2>&1; then :
4016 ac_cv_header_stdc
=no
4022 if test $ac_cv_header_stdc = yes; then
4023 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4024 if test "$cross_compiling" = yes; then :
4027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4031 #if ((' ' & 0x0FF) == 0x020)
4032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4035 # define ISLOWER(c) \
4036 (('a' <= (c) && (c) <= 'i') \
4037 || ('j' <= (c) && (c) <= 'r') \
4038 || ('s' <= (c) && (c) <= 'z'))
4039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4047 for (i = 0; i < 256; i++)
4048 if (XOR (islower (i), ISLOWER (i))
4049 || toupper (i) != TOUPPER (i))
4054 if ac_fn_c_try_run
"$LINENO"; then :
4057 ac_cv_header_stdc
=no
4059 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4060 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4066 $as_echo "$ac_cv_header_stdc" >&6; }
4067 if test $ac_cv_header_stdc = yes; then
4069 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4073 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4074 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4075 inttypes.h stdint.h unistd.h
4077 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4078 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4080 eval as_val
=\$
$as_ac_Header
4081 if test "x$as_val" = x
""yes; then :
4082 cat >>confdefs.h
<<_ACEOF
4083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4092 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4093 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4100 if test "$MINIX" = yes; then
4102 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4105 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4108 $as_echo "#define _MINIX 1" >>confdefs.h
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4114 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4115 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4116 $as_echo_n "(cached) " >&6
4118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4121 # define __EXTENSIONS__ 1
4122 $ac_includes_default
4131 if ac_fn_c_try_compile
"$LINENO"; then :
4132 ac_cv_safe_to_define___extensions__
=yes
4134 ac_cv_safe_to_define___extensions__
=no
4136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4139 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4140 test $ac_cv_safe_to_define___extensions__ = yes &&
4141 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4143 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4145 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4147 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4149 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4153 for ac_func
in secure_getenv
4155 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4156 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4157 cat >>confdefs.h
<<_ACEOF
4158 #define HAVE_SECURE_GETENV 1
4165 # Calculate toolexeclibdir
4166 # Also toolexecdir, though it's only used in toolexeclibdir
4167 case ${version_specific_libs} in
4169 # Need the gcc compiler version to know where to install libraries
4170 # and header files if --enable-version-specific-runtime-libs option
4172 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4173 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4176 if test -n "$with_cross_host" &&
4177 test x
"$with_cross_host" != x
"no"; then
4178 # Install a library built with a cross compiler in tooldir, not libdir.
4179 toolexecdir
='$(exec_prefix)/$(target_alias)'
4180 toolexeclibdir
='$(toolexecdir)/lib'
4182 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4183 toolexeclibdir
='$(libdir)'
4185 multi_os_directory
=`$CC -print-multi-os-directory`
4186 case $multi_os_directory in
4187 .
) ;; # Avoid trailing /.
4188 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4195 # Check for programs.
4199 ac_cpp
='$CPP $CPPFLAGS'
4200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4203 if test -n "$ac_tool_prefix"; then
4204 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4205 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207 $as_echo_n "checking for $ac_word... " >&6; }
4208 if test "${ac_cv_prog_CC+set}" = set; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -n "$CC"; then
4212 ac_cv_prog_CC
="$CC" # Let the user override the test.
4214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4218 test -z "$as_dir" && as_dir
=.
4219 for ac_exec_ext
in '' $ac_executable_extensions; do
4220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4221 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 if test -n "$CC"; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4234 $as_echo "$CC" >&6; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4242 if test -z "$ac_cv_prog_CC"; then
4244 # Extract the first word of "gcc", so it can be a program name with args.
4245 set dummy gcc
; ac_word
=$2
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247 $as_echo_n "checking for $ac_word... " >&6; }
4248 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 if test -n "$ac_ct_CC"; then
4252 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir
=.
4259 for ac_exec_ext
in '' $ac_executable_extensions; do
4260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4261 ac_cv_prog_ac_ct_CC
="gcc"
4262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4272 if test -n "$ac_ct_CC"; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4274 $as_echo "$ac_ct_CC" >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4277 $as_echo "no" >&6; }
4280 if test "x$ac_ct_CC" = x
; then
4283 case $cross_compiling:$ac_tool_warned in
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4287 ac_tool_warned
=yes ;;
4295 if test -z "$CC"; then
4296 if test -n "$ac_tool_prefix"; then
4297 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4298 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300 $as_echo_n "checking for $ac_word... " >&6; }
4301 if test "${ac_cv_prog_CC+set}" = set; then :
4302 $as_echo_n "(cached) " >&6
4304 if test -n "$CC"; then
4305 ac_cv_prog_CC
="$CC" # Let the user override the test.
4307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4311 test -z "$as_dir" && as_dir
=.
4312 for ac_exec_ext
in '' $ac_executable_extensions; do
4313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4314 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 if test -n "$CC"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4327 $as_echo "$CC" >&6; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4336 if test -z "$CC"; then
4337 # Extract the first word of "cc", so it can be a program name with args.
4338 set dummy cc
; ac_word
=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if test "${ac_cv_prog_CC+set}" = set; then :
4342 $as_echo_n "(cached) " >&6
4344 if test -n "$CC"; then
4345 ac_cv_prog_CC
="$CC" # Let the user override the test.
4348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir
=.
4353 for ac_exec_ext
in '' $ac_executable_extensions; do
4354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4356 ac_prog_rejected
=yes
4360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 if test $ac_prog_rejected = yes; then
4368 # We found a bogon in the path, so make sure we never use it.
4369 set dummy
$ac_cv_prog_CC
4371 if test $# != 0; then
4372 # We chose a different compiler from the bogus one.
4373 # However, it has the same basename, so the bogon will be chosen
4374 # first if we set CC to just the basename; use the full file name.
4376 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4382 if test -n "$CC"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4384 $as_echo "$CC" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4392 if test -z "$CC"; then
4393 if test -n "$ac_tool_prefix"; then
4394 for ac_prog
in cl.exe
4396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4397 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if test "${ac_cv_prog_CC+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -n "$CC"; then
4404 ac_cv_prog_CC
="$CC" # Let the user override the test.
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 if test -n "$CC"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4426 $as_echo "$CC" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4433 test -n "$CC" && break
4436 if test -z "$CC"; then
4438 for ac_prog
in cl.exe
4440 # Extract the first word of "$ac_prog", so it can be a program name with args.
4441 set dummy
$ac_prog; ac_word
=$2
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443 $as_echo_n "checking for $ac_word... " >&6; }
4444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4445 $as_echo_n "(cached) " >&6
4447 if test -n "$ac_ct_CC"; then
4448 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 for ac_exec_ext
in '' $ac_executable_extensions; do
4456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4457 ac_cv_prog_ac_ct_CC
="$ac_prog"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4468 if test -n "$ac_ct_CC"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4470 $as_echo "$ac_ct_CC" >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4477 test -n "$ac_ct_CC" && break
4480 if test "x$ac_ct_CC" = x
; then
4483 case $cross_compiling:$ac_tool_warned in
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4487 ac_tool_warned
=yes ;;
4496 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4498 as_fn_error
"no acceptable C compiler found in \$PATH
4499 See \`config.log' for more details." "$LINENO" 5; }
4501 # Provide some information about the compiler.
4502 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4505 for ac_option
in --version -v -V -qversion; do
4506 { { ac_try
="$ac_compiler $ac_option >&5"
4508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512 $as_echo "$ac_try_echo"; } >&5
4513 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4515 if test -s conftest.err; then
4517 ... rest of stderr output deleted ...
4518 10q' conftest.err >conftest.er1
4519 cat conftest.er1 >&5
4520 rm -f conftest.er1 conftest.err
4522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523 test $ac_status = 0; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4527 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4528 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4529 $as_echo_n "(cached) " >&6
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4545 if ac_fn_c_try_compile "$LINENO"; then :
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4555 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4556 if test $ac_compiler_gnu = yes; then
4561 ac_test_CFLAGS=${CFLAGS+set}
4562 ac_save_CFLAGS=$CFLAGS
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4564 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4565 if test "${ac_cv_prog_cc_g+set}" = set; then :
4566 $as_echo_n "(cached) " >&6
4568 ac_save_c_werror_flag=$ac_c_werror_flag
4569 ac_c_werror_flag=yes
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4583 if ac_fn_c_try_compile "$LINENO"; then :
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4598 if ac_fn_c_try_compile "$LINENO"; then :
4601 ac_c_werror_flag=$ac_save_c_werror_flag
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4614 if ac_fn_c_try_compile "$LINENO"; then :
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 ac_c_werror_flag=$ac_save_c_werror_flag
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4625 $as_echo "$ac_cv_prog_cc_g" >&6; }
4626 if test "$ac_test_CFLAGS" = set; then
4627 CFLAGS=$ac_save_CFLAGS
4628 elif test $ac_cv_prog_cc_g = yes; then
4629 if test "$GCC" = yes; then
4635 if test "$GCC" = yes; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4642 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4643 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4644 $as_echo_n "(cached) " >&6
4646 ac_cv_prog_cc_c89=no
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4652 #include <sys/types.h>
4653 #include <sys/stat.h>
4654 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4655 struct buf { int x; };
4656 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4657 static char *e (p, i)
4663 static char *f (char * (*g) (char **, int), char **p, ...)
4668 s = g (p, va_arg (v,int));
4673 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4674 function prototypes and stuff, but not '\xHH' hex character constants.
4675 These don't provoke an error unfortunately, instead are silently treated
4676 as 'x'. The following induces an error, until -std is added to get
4677 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4678 array size at least. It's necessary to write '\x00'==0 to get something
4679 that's true only with -std. */
4680 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4682 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4683 inside strings and character constants. */
4685 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4687 int test (int i, double x);
4688 struct s1 {int (*f) (int a);};
4689 struct s2 {int (*f) (double a);};
4690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4696 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4701 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4702 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4704 CC="$ac_save_CC $ac_arg"
4705 if ac_fn_c_try_compile "$LINENO"; then :
4706 ac_cv_prog_cc_c89=$ac_arg
4708 rm -f core conftest.err conftest.$ac_objext
4709 test "x$ac_cv_prog_cc_c89" != "xno" && break
4711 rm -f conftest.$ac_ext
4716 case "x$ac_cv_prog_cc_c89" in
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4719 $as_echo "none needed" >&6; } ;;
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4722 $as_echo "unsupported" >&6; } ;;
4724 CC="$CC $ac_cv_prog_cc_c89"
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4726 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4728 if test "x$ac_cv_prog_cc_c89" != xno; then :
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4740 if test "x$CC" != xcc; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4742 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4745 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4747 set dummy $CC; ac_cc=`$as_echo "$2" |
4748 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4749 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4750 $as_echo_n "(cached) " >&6
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4763 # Make sure it works both with $CC and with simple cc.
4764 # We do the test twice because some compilers refuse to overwrite an
4765 # existing .o file with -o, though they will create one.
4766 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4768 if { { case "(($ac_try" in
4769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4770 *) ac_try_echo
=$ac_try;;
4772 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4773 $as_echo "$ac_try_echo"; } >&5
4774 (eval "$ac_try") 2>&5
4776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4777 test $ac_status = 0; } &&
4778 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_try") 2>&5
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; };
4789 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4790 if test "x$CC" != xcc; then
4791 # Test first that cc exists at all.
4792 if { ac_try='cc -c conftest.$ac_ext >&5'
4793 { { case "(($ac_try" in
4794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4795 *) ac_try_echo
=$ac_try;;
4797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4798 $as_echo "$ac_try_echo"; } >&5
4799 (eval "$ac_try") 2>&5
4801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4802 test $ac_status = 0; }; }; then
4803 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4805 if { { case "(($ac_try" in
4806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4810 $as_echo "$ac_try_echo"; } >&5
4811 (eval "$ac_try") 2>&5
4813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4814 test $ac_status = 0; } &&
4815 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4817 *) ac_try_echo
=$ac_try;;
4819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4820 $as_echo "$ac_try_echo"; } >&5
4821 (eval "$ac_try") 2>&5
4823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4824 test $ac_status = 0; };
4829 # cc exists but doesn't like -o.
4830 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4835 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4837 rm -f core conftest
*
4840 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4842 $as_echo "yes" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4847 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4851 # FIXME: we rely on the cache variable name because
4852 # there is no other way.
4854 am_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4855 eval am_t
=\
$ac_cv_prog_cc_${am_cc}_c_o
4856 if test "$am_t" != yes; then
4857 # Losing compiler, so override with the script.
4858 # FIXME: It is wrong to rewrite CC.
4859 # But if we don't then we get into trouble of one sort or another.
4860 # A longer-term fix would be to have automake use am__CC in this case,
4861 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4862 CC
="$am_aux_dir/compile $CC"
4869 # Newer automakes demand CCAS and CCASFLAGS.
4871 : ${CCASFLAGS='$(CFLAGS)'}
4875 if test -n "$ac_tool_prefix"; then
4876 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4877 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if test "${ac_cv_prog_AS+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$AS"; then
4884 ac_cv_prog_AS
="$AS" # Let the user override the test.
4886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir
=.
4891 for ac_exec_ext
in '' $ac_executable_extensions; do
4892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893 ac_cv_prog_AS
="${ac_tool_prefix}as"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 if test -n "$AS"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4906 $as_echo "$AS" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4914 if test -z "$ac_cv_prog_AS"; then
4916 # Extract the first word of "as", so it can be a program name with args.
4917 set dummy as
; ac_word
=$2
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4920 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4921 $as_echo_n "(cached) " >&6
4923 if test -n "$ac_ct_AS"; then
4924 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4933 ac_cv_prog_ac_ct_AS
="as"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4944 if test -n "$ac_ct_AS"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4946 $as_echo "$ac_ct_AS" >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4952 if test "x$ac_ct_AS" = x
; then
4955 case $cross_compiling:$ac_tool_warned in
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4959 ac_tool_warned
=yes ;;
4967 if test -n "$ac_tool_prefix"; then
4968 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4969 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if test "${ac_cv_prog_AR+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$AR"; then
4976 ac_cv_prog_AR
="$AR" # Let the user override the test.
4978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir
=.
4983 for ac_exec_ext
in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 if test -n "$AR"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4998 $as_echo "$AR" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5006 if test -z "$ac_cv_prog_AR"; then
5008 # Extract the first word of "ar", so it can be a program name with args.
5009 set dummy
ar; ac_word
=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$ac_ct_AR"; then
5016 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_ac_ct_AR
="ar"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5036 if test -n "$ac_ct_AR"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5038 $as_echo "$ac_ct_AR" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5044 if test "x$ac_ct_AR" = x
; then
5047 case $cross_compiling:$ac_tool_warned in
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5051 ac_tool_warned
=yes ;;
5059 if test -n "$ac_tool_prefix"; then
5060 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5061 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5065 $as_echo_n "(cached) " >&6
5067 if test -n "$RANLIB"; then
5068 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5077 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 RANLIB
=$ac_cv_prog_RANLIB
5088 if test -n "$RANLIB"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5090 $as_echo "$RANLIB" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5098 if test -z "$ac_cv_prog_RANLIB"; then
5099 ac_ct_RANLIB
=$RANLIB
5100 # Extract the first word of "ranlib", so it can be a program name with args.
5101 set dummy ranlib
; ac_word
=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5105 $as_echo_n "(cached) " >&6
5107 if test -n "$ac_ct_RANLIB"; then
5108 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5128 if test -n "$ac_ct_RANLIB"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5130 $as_echo "$ac_ct_RANLIB" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5136 if test "x$ac_ct_RANLIB" = x
; then
5139 case $cross_compiling:$ac_tool_warned in
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5143 ac_tool_warned
=yes ;;
5145 RANLIB
=$ac_ct_RANLIB
5148 RANLIB
="$ac_cv_prog_RANLIB"
5152 # Check we may build wrappers library
5153 echo "test: bndmov %bnd0, %bnd1" > conftest.s
5154 if { ac_try
='$AS -o conftest.o conftest.s 1>&5'
5155 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5159 test $ac_status = 0; }; }
5164 echo "configure: no MPX support fo as" >&5
5166 rm -f conftest.o conftest.s
5167 if test "x$mpx_as" = "xyes"; then
5168 MPX_AS_SUPPORTED_TRUE
=
5169 MPX_AS_SUPPORTED_FALSE
='#'
5171 MPX_AS_SUPPORTED_TRUE
='#'
5172 MPX_AS_SUPPORTED_FALSE
=
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5184 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5189 macro_version
='2.2.7a'
5190 macro_revision
='1.3134'
5204 ltmain
="$ac_aux_dir/ltmain.sh"
5206 # Backslashify metacharacters that are still active within
5207 # double-quoted strings.
5208 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5210 # Same as above, but do not quote variable references.
5211 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5213 # Sed substitution to delay expansion of an escaped shell variable in a
5214 # double_quote_subst'ed string.
5215 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5217 # Sed substitution to delay expansion of an escaped single quote.
5218 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5220 # Sed substitution to avoid accidental globbing in evaled expressions
5221 no_glob_subst
='s/\*/\\\*/g'
5223 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5224 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5225 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5228 $as_echo_n "checking how to print strings... " >&6; }
5229 # Test print first, because it will be a builtin if present.
5230 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5231 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5233 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5236 # Use this function as a fallback that always works.
5237 func_fallback_echo ()
5239 eval 'cat <<_LTECHO_EOF
5243 ECHO='func_fallback_echo
'
5246 # func_echo_all arg...
5247 # Invoke $ECHO with all args, space-separated.
5254 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5255 $as_echo "printf" >&6; } ;;
5256 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5257 $as_echo "print -r" >&6; } ;;
5258 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5259 $as_echo "cat" >&6; } ;;
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5276 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5277 if test "${ac_cv_path_SED+set}" = set; then :
5278 $as_echo_n "(cached) " >&6
5280 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5281 for ac_i in 1 2 3 4 5 6 7; do
5282 ac_script="$ac_script$as_nl$ac_script"
5284 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5285 { ac_script=; unset ac_script;}
5286 if test -z "$SED"; then
5287 ac_path_SED_found=false
5288 # Loop through the user's path and
test for each of PROGNAME-LIST
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_prog
in sed gsed
; do
5295 for ac_exec_ext
in '' $ac_executable_extensions; do
5296 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5297 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5298 # Check for GNU ac_path_SED and select it if it is found.
5299 # Check for GNU $ac_path_SED
5300 case `"$ac_path_SED" --version 2>&1` in
5302 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5305 $as_echo_n 0123456789 >"conftest.in"
5308 cat "conftest.in" "conftest.in" >"conftest.tmp"
5309 mv "conftest.tmp" "conftest.in"
5310 cp "conftest.in" "conftest.nl"
5311 $as_echo '' >> "conftest.nl"
5312 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5313 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5314 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5315 if test $ac_count -gt ${ac_path_SED_max-0}; then
5316 # Best one so far, save it but keep looking for a better one
5317 ac_cv_path_SED
="$ac_path_SED"
5318 ac_path_SED_max
=$ac_count
5320 # 10*(2^10) chars as input seems more than enough
5321 test $ac_count -gt 10 && break
5323 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5326 $ac_path_SED_found && break 3
5331 if test -z "$ac_cv_path_SED"; then
5332 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5340 $as_echo "$ac_cv_path_SED" >&6; }
5341 SED
="$ac_cv_path_SED"
5344 test -z "$SED" && SED
=sed
5345 Xsed
="$SED -e 1s/^X//"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5358 $as_echo_n "checking for fgrep... " >&6; }
5359 if test "${ac_cv_path_FGREP+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5363 then ac_cv_path_FGREP
="$GREP -F"
5365 if test -z "$FGREP"; then
5366 ac_path_FGREP_found
=false
5367 # Loop through the user's path and test for each of PROGNAME-LIST
5368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5369 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5372 test -z "$as_dir" && as_dir
=.
5373 for ac_prog
in fgrep
; do
5374 for ac_exec_ext
in '' $ac_executable_extensions; do
5375 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5376 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5377 # Check for GNU ac_path_FGREP and select it if it is found.
5378 # Check for GNU $ac_path_FGREP
5379 case `"$ac_path_FGREP" --version 2>&1` in
5381 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5384 $as_echo_n 0123456789 >"conftest.in"
5387 cat "conftest.in" "conftest.in" >"conftest.tmp"
5388 mv "conftest.tmp" "conftest.in"
5389 cp "conftest.in" "conftest.nl"
5390 $as_echo 'FGREP' >> "conftest.nl"
5391 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5392 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5393 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5394 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5395 # Best one so far, save it but keep looking for a better one
5396 ac_cv_path_FGREP
="$ac_path_FGREP"
5397 ac_path_FGREP_max
=$ac_count
5399 # 10*(2^10) chars as input seems more than enough
5400 test $ac_count -gt 10 && break
5402 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5405 $ac_path_FGREP_found && break 3
5410 if test -z "$ac_cv_path_FGREP"; then
5411 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5414 ac_cv_path_FGREP
=$FGREP
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5420 $as_echo "$ac_cv_path_FGREP" >&6; }
5421 FGREP
="$ac_cv_path_FGREP"
5424 test -z "$GREP" && GREP
=grep
5444 # Check whether --with-gnu-ld was given.
5445 if test "${with_gnu_ld+set}" = set; then :
5446 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5452 if test "$GCC" = yes; then
5453 # Check if gcc -print-prog-name=ld gives a path.
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5455 $as_echo_n "checking for ld used by $CC... " >&6; }
5458 # gcc leaves a trailing carriage return which upsets mingw
5459 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5461 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5464 # Accept absolute paths.
5466 re_direlt
='/[^/][^/]*/\.\./'
5467 # Canonicalize the pathname of ld
5468 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5469 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5470 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5472 test -z "$LD" && LD
="$ac_prog"
5475 # If it fails, then pretend we aren't using GCC.
5479 # If it is relative, then search for the first ld in PATH.
5483 elif test "$with_gnu_ld" = yes; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5485 $as_echo_n "checking for GNU ld... " >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5488 $as_echo_n "checking for non-GNU ld... " >&6; }
5490 if test "${lt_cv_path_LD+set}" = set; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -z "$LD"; then
5494 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5495 for ac_dir
in $PATH; do
5497 test -z "$ac_dir" && ac_dir
=.
5498 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5499 lt_cv_path_LD
="$ac_dir/$ac_prog"
5500 # Check to see if the program is GNU ld. I'd rather use --version,
5501 # but apparently some variants of GNU ld only accept -v.
5502 # Break only if it was the GNU/non-GNU ld that we prefer.
5503 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5504 *GNU
* |
*'with BFD'*)
5505 test "$with_gnu_ld" != no
&& break
5508 test "$with_gnu_ld" != yes && break
5515 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5520 if test -n "$LD"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5522 $as_echo "$LD" >&6; }
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5527 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5529 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5530 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5531 $as_echo_n "(cached) " >&6
5533 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5534 case `$LD -v 2>&1 </dev/null` in
5535 *GNU
* |
*'with BFD'*)
5536 lt_cv_prog_gnu_ld
=yes
5539 lt_cv_prog_gnu_ld
=no
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5544 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5545 with_gnu_ld
=$lt_cv_prog_gnu_ld
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5556 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5557 if test "${lt_cv_path_NM+set}" = set; then :
5558 $as_echo_n "(cached) " >&6
5560 if test -n "$NM"; then
5561 # Let the user override the test.
5564 lt_nm_to_check
="${ac_tool_prefix}nm"
5565 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5566 lt_nm_to_check
="$lt_nm_to_check nm"
5568 for lt_tmp_nm
in $lt_nm_to_check; do
5569 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5570 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5572 test -z "$ac_dir" && ac_dir
=.
5573 tmp_nm
="$ac_dir/$lt_tmp_nm"
5574 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5575 # Check to see if the nm accepts a BSD-compat flag.
5576 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5577 # nm: unknown option "B" ignored
5578 # Tru64's nm complains that /dev/null is an invalid object file
5579 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5580 */dev
/null
* |
*'Invalid file or object type'*)
5581 lt_cv_path_NM
="$tmp_nm -B"
5585 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5587 lt_cv_path_NM
="$tmp_nm -p"
5591 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5592 continue # so that we can try to find one that supports BSD flags
5601 : ${lt_cv_path_NM=no}
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5605 $as_echo "$lt_cv_path_NM" >&6; }
5606 if test "$lt_cv_path_NM" != "no"; then
5609 # Didn't find any BSD compatible name lister, look for dumpbin.
5610 if test -n "$DUMPBIN"; then :
5611 # Let the user override the test.
5613 if test -n "$ac_tool_prefix"; then
5614 for ac_prog
in dumpbin
"link -dump"
5616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5617 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5621 $as_echo_n "(cached) " >&6
5623 if test -n "$DUMPBIN"; then
5624 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5630 test -z "$as_dir" && as_dir
=.
5631 for ac_exec_ext
in '' $ac_executable_extensions; do
5632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5633 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 DUMPBIN
=$ac_cv_prog_DUMPBIN
5644 if test -n "$DUMPBIN"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5646 $as_echo "$DUMPBIN" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5653 test -n "$DUMPBIN" && break
5656 if test -z "$DUMPBIN"; then
5657 ac_ct_DUMPBIN
=$DUMPBIN
5658 for ac_prog
in dumpbin
"link -dump"
5660 # Extract the first word of "$ac_prog", so it can be a program name with args.
5661 set dummy
$ac_prog; ac_word
=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -n "$ac_ct_DUMPBIN"; then
5668 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5688 if test -n "$ac_ct_DUMPBIN"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5690 $as_echo "$ac_ct_DUMPBIN" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5697 test -n "$ac_ct_DUMPBIN" && break
5700 if test "x$ac_ct_DUMPBIN" = x
; then
5703 case $cross_compiling:$ac_tool_warned in
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5707 ac_tool_warned
=yes ;;
5709 DUMPBIN
=$ac_ct_DUMPBIN
5713 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5715 DUMPBIN
="$DUMPBIN -symbols"
5723 if test "$DUMPBIN" != ":"; then
5727 test -z "$NM" && NM
=nm
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5735 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5736 if test "${lt_cv_nm_interface+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5739 lt_cv_nm_interface
="BSD nm"
5740 echo "int some_variable = 0;" > conftest.
$ac_ext
5741 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5742 (eval "$ac_compile" 2>conftest.err
)
5743 cat conftest.err
>&5
5744 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5745 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5746 cat conftest.err
>&5
5747 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5748 cat conftest.out
>&5
5749 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5750 lt_cv_nm_interface
="MS dumpbin"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5755 $as_echo "$lt_cv_nm_interface" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5758 $as_echo_n "checking whether ln -s works... " >&6; }
5760 if test "$LN_S" = "ln -s"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5762 $as_echo "yes" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5765 $as_echo "no, using $LN_S" >&6; }
5768 # find the maximum length of command line arguments
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5770 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5771 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5772 $as_echo_n "(cached) " >&6
5779 # On DJGPP, this test can blow up pretty badly due to problems in libc
5780 # (any single argument exceeding 2000 bytes causes a buffer overrun
5781 # during glob expansion). Even if it were fixed, the result of this
5782 # check would be larger than it should be.
5783 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5787 # Under GNU Hurd, this test is not required because there is
5788 # no limit to the length of command line arguments.
5789 # Libtool will interpret -1 as no limit whatsoever
5790 lt_cv_sys_max_cmd_len
=-1;
5793 cygwin
* | mingw
* | cegcc
*)
5794 # On Win9x/ME, this test blows up -- it succeeds, but takes
5795 # about 5 minutes as the teststring grows exponentially.
5796 # Worse, since 9x/ME are not pre-emptively multitasking,
5797 # you end up with a "frozen" computer, even though with patience
5798 # the test eventually succeeds (with a max line length of 256k).
5799 # Instead, let's just punt: use the minimum linelength reported by
5800 # all of the supported platforms: 8192 (on NT/2K/XP).
5801 lt_cv_sys_max_cmd_len
=8192;
5805 # On MiNT this can take a long time and run out of memory.
5806 lt_cv_sys_max_cmd_len
=8192;
5810 # On AmigaOS with pdksh, this test takes hours, literally.
5811 # So we just punt and use a minimum line length of 8192.
5812 lt_cv_sys_max_cmd_len
=8192;
5815 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5816 # This has been around since 386BSD, at least. Likely further.
5817 if test -x /sbin
/sysctl
; then
5818 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5819 elif test -x /usr
/sbin
/sysctl
; then
5820 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5822 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5824 # And add a safety zone
5825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5826 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5830 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5831 lt_cv_sys_max_cmd_len
=196608
5835 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5836 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5837 # nice to cause kernel panics so lets avoid the loop below.
5838 # First set a reasonable default.
5839 lt_cv_sys_max_cmd_len
=16384
5841 if test -x /sbin
/sysconfig
; then
5842 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5843 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5848 lt_cv_sys_max_cmd_len
=102400
5850 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5851 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5852 if test -n "$kargmax"; then
5853 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5855 lt_cv_sys_max_cmd_len
=32768
5859 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5860 if test -n "$lt_cv_sys_max_cmd_len"; then
5861 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5862 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5864 # Make teststring a little bigger before we do anything with it.
5865 # a 1K string should be a reasonable start.
5866 for i
in 1 2 3 4 5 6 7 8 ; do
5867 teststring
=$teststring$teststring
5869 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5870 # If test is not a shell built-in, we'll probably end up computing a
5871 # maximum length that is only half of the actual maximum length, but
5873 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5874 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5875 test $i != 17 # 1/2 MB should be enough
5878 teststring
=$teststring$teststring
5880 # Only check the string length outside the loop.
5881 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5883 # Add a significant safety factor because C++ compilers can tack on
5884 # massive amounts of additional arguments before passing them to the
5885 # linker. It appears as though 1/2 is a usable value.
5886 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5893 if test -n $lt_cv_sys_max_cmd_len ; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5895 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5898 $as_echo "none" >&6; }
5900 max_cmd_len
=$lt_cv_sys_max_cmd_len
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5912 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5913 # Try some XSI features
5916 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5918 && eval 'test $(( 1 + 1 )) -eq 2 \
5919 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5922 $as_echo "$xsi_shell" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5926 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5928 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5930 && lt_shell_append=yes
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5932 $as_echo "$lt_shell_append" >&6; }
5935 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5945 # test EBCDIC or ASCII
5946 case `echo X|tr X '\101'` in
5947 A) # ASCII based system
5948 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5949 lt_SP2NL='tr \040 \012'
5950 lt_NL2SP='tr \015\012 \040\040'
5952 *) # EBCDIC based system
5953 lt_SP2NL='tr \100 \n'
5954 lt_NL2SP='tr \r\n \100\100'
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5967 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5968 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5969 $as_echo_n "(cached
) " >&6
5971 lt_cv_ld_reload_flag='-r'
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5974 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5975 reload_flag=$lt_cv_ld_reload_flag
5976 case $reload_flag in
5978 *) reload_flag=" $reload_flag" ;;
5980 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5983 if test "$GCC" = yes; then
5984 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5986 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5999 if test -n "$ac_tool_prefix"; then
6000 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6001 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6003 $as_echo_n "checking
for $ac_word...
" >&6; }
6004 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6005 $as_echo_n "(cached
) " >&6
6007 if test -n "$OBJDUMP"; then
6008 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6027 OBJDUMP=$ac_cv_prog_OBJDUMP
6028 if test -n "$OBJDUMP"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6030 $as_echo "$OBJDUMP" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6033 $as_echo "no
" >&6; }
6038 if test -z "$ac_cv_prog_OBJDUMP"; then
6039 ac_ct_OBJDUMP=$OBJDUMP
6040 # Extract the first word of "objdump
", so it can be a program name with args.
6041 set dummy objdump; ac_word=$2
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6043 $as_echo_n "checking
for $ac_word...
" >&6; }
6044 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6045 $as_echo_n "(cached
) " >&6
6047 if test -n "$ac_ct_OBJDUMP"; then
6048 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6057 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6067 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6068 if test -n "$ac_ct_OBJDUMP"; then
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6070 $as_echo "$ac_ct_OBJDUMP" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6073 $as_echo "no
" >&6; }
6076 if test "x
$ac_ct_OBJDUMP" = x; then
6079 case $cross_compiling:$ac_tool_warned in
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6082 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6083 ac_tool_warned=yes ;;
6085 OBJDUMP=$ac_ct_OBJDUMP
6088 OBJDUMP="$ac_cv_prog_OBJDUMP"
6091 test -z "$OBJDUMP" && OBJDUMP=objdump
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6102 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6103 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6104 $as_echo_n "(cached
) " >&6
6106 lt_cv_file_magic_cmd='$MAGIC_CMD'
6107 lt_cv_file_magic_test_file=
6108 lt_cv_deplibs_check_method='unknown'
6109 # Need to set the preceding variable on all platforms that support
6110 # interlibrary dependencies.
6111 # 'none' -- dependencies not supported.
6112 # `unknown' -- same as none, but documents that we really don't know.
6113 # 'pass_all' -- all dependencies passed with no checks.
6114 # 'test_compile' -- check by making test program.
6115 # 'file_magic [[regex]]' -- check by looking for files in library path
6116 # which responds to the $file_magic_cmd with a given extended regex.
6117 # If you have `file' or equivalent on your system and you're not sure
6118 # whether `pass_all' will *always* work, you probably want this one.
6122 lt_cv_deplibs_check_method=pass_all
6126 lt_cv_deplibs_check_method=pass_all
6130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6131 lt_cv_file_magic_cmd='/usr/bin/file -L'
6132 lt_cv_file_magic_test_file=/shlib/libc.so
6136 # func_win32_libid is a shell function defined in ltmain.sh
6137 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6138 lt_cv_file_magic_cmd='func_win32_libid'
6142 # Base MSYS/MinGW do not provide the 'file' command needed by
6143 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6144 # unless we find 'file', for example because we are cross-compiling.
6145 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6146 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6147 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6148 lt_cv_file_magic_cmd='func_win32_libid'
6150 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6151 lt_cv_file_magic_cmd='$OBJDUMP -f'
6156 # use the weaker test based on 'objdump'. See mingw*.
6157 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6158 lt_cv_file_magic_cmd='$OBJDUMP -f'
6161 darwin* | rhapsody*)
6162 lt_cv_deplibs_check_method=pass_all
6165 freebsd* | dragonfly*)
6166 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6169 # Not sure whether the presence of OpenBSD here was a mistake.
6170 # Let's accept both of them until this is cleared up.
6171 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6172 lt_cv_file_magic_cmd=/usr/bin/file
6173 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6177 lt_cv_deplibs_check_method=pass_all
6182 lt_cv_deplibs_check_method=pass_all
6186 lt_cv_deplibs_check_method=pass_all
6189 hpux10.20* | hpux11*)
6190 lt_cv_file_magic_cmd=/usr/bin/file
6193 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6194 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6197 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]'
6198 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6201 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6202 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6208 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6209 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6212 irix5* | irix6* | nonstopux*)
6214 *-32|*"-32 ") libmagic=32-bit;;
6215 *-n32|*"-n32 ") libmagic=N32;;
6216 *-64|*"-64 ") libmagic=64-bit;;
6217 *) libmagic=never-match;;
6219 lt_cv_deplibs_check_method=pass_all
6222 # This must be Linux ELF.
6223 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6224 lt_cv_deplibs_check_method=pass_all
6228 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6229 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6231 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6236 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6237 lt_cv_file_magic_cmd=/usr/bin/file
6238 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6242 lt_cv_deplibs_check_method=pass_all
6246 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6247 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6249 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6253 osf3* | osf4* | osf5*)
6254 lt_cv_deplibs_check_method=pass_all
6258 lt_cv_deplibs_check_method=pass_all
6262 lt_cv_deplibs_check_method=pass_all
6265 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6266 lt_cv_deplibs_check_method=pass_all
6270 case $host_vendor in
6272 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]'
6273 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6276 lt_cv_deplibs_check_method=pass_all
6279 lt_cv_file_magic_cmd='/bin/file'
6280 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6283 lt_cv_file_magic_cmd='/bin/file'
6284 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6285 lt_cv_file_magic_test_file=/lib/libc.so
6288 lt_cv_deplibs_check_method=pass_all
6291 lt_cv_deplibs_check_method=pass_all
6297 lt_cv_deplibs_check_method=pass_all
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6303 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6304 file_magic_cmd=$lt_cv_file_magic_cmd
6305 deplibs_check_method=$lt_cv_deplibs_check_method
6306 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6319 if test -n "$ac_tool_prefix"; then
6320 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6321 set dummy ${ac_tool_prefix}ar; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6323 $as_echo_n "checking
for $ac_word...
" >&6; }
6324 if test "${ac_cv_prog_AR+set}" = set; then :
6325 $as_echo_n "(cached
) " >&6
6327 if test -n "$AR"; then
6328 ac_cv_prog_AR="$AR" # Let the user override the test.
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6337 ac_cv_prog_AR="${ac_tool_prefix}ar"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6348 if test -n "$AR"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6350 $as_echo "$AR" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6353 $as_echo "no
" >&6; }
6358 if test -z "$ac_cv_prog_AR"; then
6360 # Extract the first word of "ar", so it can be a program name with args.
6361 set dummy ar; ac_word=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6363 $as_echo_n "checking
for $ac_word...
" >&6; }
6364 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6365 $as_echo_n "(cached
) " >&6
6367 if test -n "$ac_ct_AR"; then
6368 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 test -z "$as_dir" && as_dir=.
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6377 ac_cv_prog_ac_ct_AR="ar"
6378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6387 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6388 if test -n "$ac_ct_AR"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6390 $as_echo "$ac_ct_AR" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6393 $as_echo "no
" >&6; }
6396 if test "x
$ac_ct_AR" = x; then
6399 case $cross_compiling:$ac_tool_warned in
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6402 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6403 ac_tool_warned=yes ;;
6411 test -z "$AR" && AR=ar
6412 test -z "$AR_FLAGS" && AR_FLAGS=cru
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}strip; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6428 $as_echo_n "checking
for $ac_word...
" >&6; }
6429 if test "${ac_cv_prog_STRIP+set}" = set; then :
6430 $as_echo_n "(cached
) " >&6
6432 if test -n "$STRIP"; then
6433 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6452 STRIP=$ac_cv_prog_STRIP
6453 if test -n "$STRIP"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6455 $as_echo "$STRIP" >&6; }
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6458 $as_echo "no
" >&6; }
6463 if test -z "$ac_cv_prog_STRIP"; then
6465 # Extract the first word of "strip
", so it can be a program name with args.
6466 set dummy strip; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6468 $as_echo_n "checking
for $ac_word...
" >&6; }
6469 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6470 $as_echo_n "(cached
) " >&6
6472 if test -n "$ac_ct_STRIP"; then
6473 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_STRIP="strip
"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6492 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6493 if test -n "$ac_ct_STRIP"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6495 $as_echo "$ac_ct_STRIP" >&6; }
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6498 $as_echo "no
" >&6; }
6501 if test "x
$ac_ct_STRIP" = x; then
6504 case $cross_compiling:$ac_tool_warned in
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6507 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6508 ac_tool_warned=yes ;;
6513 STRIP="$ac_cv_prog_STRIP"
6516 test -z "$STRIP" && STRIP=:
6523 if test -n "$ac_tool_prefix"; then
6524 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6527 $as_echo_n "checking
for $ac_word...
" >&6; }
6528 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6529 $as_echo_n "(cached
) " >&6
6531 if test -n "$RANLIB"; then
6532 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6551 RANLIB=$ac_cv_prog_RANLIB
6552 if test -n "$RANLIB"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6554 $as_echo "$RANLIB" >&6; }
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6557 $as_echo "no
" >&6; }
6562 if test -z "$ac_cv_prog_RANLIB"; then
6563 ac_ct_RANLIB=$RANLIB
6564 # Extract the first word of "ranlib
", so it can be a program name with args.
6565 set dummy ranlib; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6567 $as_echo_n "checking
for $ac_word...
" >&6; }
6568 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6569 $as_echo_n "(cached
) " >&6
6571 if test -n "$ac_ct_RANLIB"; then
6572 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6591 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6592 if test -n "$ac_ct_RANLIB"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6594 $as_echo "$ac_ct_RANLIB" >&6; }
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6597 $as_echo "no
" >&6; }
6600 if test "x
$ac_ct_RANLIB" = x; then
6603 case $cross_compiling:$ac_tool_warned in
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6606 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6607 ac_tool_warned=yes ;;
6609 RANLIB=$ac_ct_RANLIB
6612 RANLIB="$ac_cv_prog_RANLIB"
6615 test -z "$RANLIB" && RANLIB=:
6622 # Determine commands to create old-style static archives.
6623 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6624 old_postinstall_cmds='chmod 644 $oldlib'
6625 old_postuninstall_cmds=
6627 if test -n "$RANLIB"; then
6630 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6633 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6636 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6641 lock_old_archive_extraction=yes ;;
6643 lock_old_archive_extraction=no ;;
6684 # If no C compiler was specified, use CC.
6687 # If no C compiler flags were specified, use CFLAGS.
6688 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6690 # Allow CC to be a program name with arguments.
6694 # Check for command to grab the raw symbol name followed by C symbol from nm.
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6696 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6697 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6698 $as_echo_n "(cached
) " >&6
6701 # These are sane defaults that work on at least a few old systems.
6702 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6704 # Character class describing NM global symbol codes.
6705 symcode='[BCDEGRST]'
6707 # Regexp to match symbols that can be accessed directly from C.
6708 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6710 # Define system-specific variables.
6715 cygwin* | mingw* | pw32* | cegcc*)
6716 symcode='[ABCDGISTW]'
6719 if test "$host_cpu" = ia64; then
6720 symcode='[ABCDEGRST]'
6724 symcode='[BCDEGRST]'
6727 symcode='[BCDEGQRST]'
6738 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6746 # If we're using GNU nm, then use its standard symbol codes.
6747 case `$NM -V 2>&1` in
6748 *GNU* | *'with BFD'*)
6749 symcode='[ABCDGIRSTW]' ;;
6752 # Transform an extracted symbol line into a proper C declaration.
6753 # Some systems (esp. on ia64) link data and code symbols differently,
6754 # so use this general approach.
6755 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6757 # Transform an extracted symbol line into symbol name and symbol address
6758 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6759 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'"
6761 # Handle CRLF in mingw tool chain
6765 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6769 # Try without a prefix underscore, then with it.
6770 for ac_symprfx in "" "_
"; do
6772 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6773 symxfrm="\\1 $ac_symprfx\\2 \\2"
6775 # Write the raw and C identifiers.
6776 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6777 # Fake it for dumpbin and say T for any non-static function
6778 # and D for any global variable.
6779 # Also find C++ and __fastcall symbols from MSVC++,
6780 # which start with @ or ?.
6781 lt_cv_sys_global_symbol_pipe="$AWK '"\
6782 " {last_section=section; section=\$ 3};"\
6783 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6784 " \$ 0!~/External *\|/{next};"\
6785 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6786 " {if(hide[section]) next};"\
6787 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6788 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6789 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6790 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6791 " ' prfx
=^
$ac_symprfx"
6793 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6796 # Check to see that the pipe works correctly.
6800 cat > conftest.$ac_ext <<_LT_EOF
6805 void nm_test_func(void);
6806 void nm_test_func(void){}
6810 int main(){nm_test_var='a';nm_test_func();return(0);}
6813 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6814 (eval $ac_compile) 2>&5
6816 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6817 test $ac_status = 0; }; then
6818 # Now try to grab the symbols.
6820 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6821 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6823 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6824 test $ac_status = 0; } && test -s "$nlist"; then
6825 # Try sorting and uniquifying the output.
6826 if sort "$nlist" | uniq > "$nlist"T; then
6827 mv -f "$nlist"T "$nlist"
6832 # Make sure that we snagged all the symbols we need.
6833 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6834 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6835 cat <<_LT_EOF > conftest.$ac_ext
6841 # Now generate the symbol file.
6842 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6844 cat <<_LT_EOF >> conftest.$ac_ext
6846 /* The mapping between symbol names and symbols. */
6851 lt__PROGRAM__LTX_preloaded_symbols[] =
6853 { "@PROGRAM@
", (void *) 0 },
6855 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6856 cat <<\_LT_EOF >> conftest.$ac_ext
6860 /* This works around a problem in FreeBSD linker */
6861 #ifdef FREEBSD_WORKAROUND
6862 static const void *lt_preloaded_setup() {
6863 return lt__PROGRAM__LTX_preloaded_symbols;
6871 # Now try linking the two files.
6872 mv conftest.$ac_objext conftstm.$ac_objext
6873 lt_save_LIBS="$LIBS"
6874 lt_save_CFLAGS="$CFLAGS"
6875 LIBS="conftstm.
$ac_objext"
6876 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6877 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6878 (eval $ac_link) 2>&5
6880 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6881 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6884 LIBS="$lt_save_LIBS"
6885 CFLAGS="$lt_save_CFLAGS"
6887 echo "cannot
find nm_test_func
in $nlist" >&5
6890 echo "cannot
find nm_test_var
in $nlist" >&5
6893 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6896 echo "$progname: failed program was
:" >&5
6897 cat conftest.$ac_ext >&5
6899 rm -rf conftest* conftst*
6901 # Do not use the global_symbol_pipe unless it works.
6902 if test "$pipe_works" = yes; then
6905 lt_cv_sys_global_symbol_pipe=
6911 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6912 lt_cv_sys_global_symbol_to_cdecl=
6914 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6916 $as_echo "failed
" >&6; }
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6919 $as_echo "ok
" >&6; }
6943 # Check whether --enable-libtool-lock was given.
6944 if test "${enable_libtool_lock+set}" = set; then :
6945 enableval=$enable_libtool_lock;
6948 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6950 # Some flags need to be propagated to the compiler or linker for good
6954 # Find out which ABI we are using.
6955 echo 'int i;' > conftest.$ac_ext
6956 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6957 (eval $ac_compile) 2>&5
6959 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6960 test $ac_status = 0; }; then
6961 case `/usr/bin/file conftest.$ac_objext` in
6973 # Find out which ABI we are using.
6974 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6975 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6976 (eval $ac_compile) 2>&5
6978 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6979 test $ac_status = 0; }; then
6980 if test "$lt_cv_prog_gnu_ld" = yes; then
6981 case `/usr/bin/file conftest.$ac_objext` in
6983 LD="${LD-ld} -melf32bsmip"
6986 LD="${LD-ld} -melf32bmipn32"
6989 LD="${LD-ld} -melf64bmip"
6993 case `/usr/bin/file conftest.$ac_objext` in
7009 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7010 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7011 # Find out which ABI we are using.
7012 echo 'int i;' > conftest.$ac_ext
7013 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7014 (eval $ac_compile) 2>&5
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7017 test $ac_status = 0; }; then
7018 case `/usr/bin/file conftest.o` in
7021 x86_64-*kfreebsd*-gnu)
7022 LD="${LD-ld} -m elf_i386_fbsd
"
7025 case `/usr/bin/file conftest.o` in
7027 LD="${LD-ld} -m elf32_x86_64
"
7030 LD="${LD-ld} -m elf_i386
"
7034 powerpc64le-*linux*)
7035 LD="${LD-ld} -m elf32lppclinux
"
7038 LD="${LD-ld} -m elf32ppclinux
"
7041 LD="${LD-ld} -m elf_s390
"
7044 LD="${LD-ld} -m elf32_sparc
"
7050 x86_64-*kfreebsd*-gnu)
7051 LD="${LD-ld} -m elf_x86_64_fbsd
"
7054 LD="${LD-ld} -m elf_x86_64
"
7057 LD="${LD-ld} -m elf64lppc
"
7060 LD="${LD-ld} -m elf64ppc
"
7062 s390*-*linux*|s390*-*tpf*)
7063 LD="${LD-ld} -m elf64_s390
"
7066 LD="${LD-ld} -m elf64_sparc
"
7076 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7077 SAVE_CFLAGS="$CFLAGS"
7078 CFLAGS="$CFLAGS -belf"
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7080 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7081 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7082 $as_echo_n "(cached
) " >&6
7085 ac_cpp='$CPP $CPPFLAGS'
7086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h. */
7101 if ac_fn_c_try_link "$LINENO"; then :
7102 lt_cv_cc_needs_belf=yes
7104 lt_cv_cc_needs_belf=no
7106 rm -f core conftest.err conftest.$ac_objext \
7107 conftest$ac_exeext conftest.$ac_ext
7109 ac_cpp='$CPP $CPPFLAGS'
7110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7116 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7117 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7118 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7119 CFLAGS="$SAVE_CFLAGS"
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7132 case $lt_cv_prog_gnu_ld in
7133 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7135 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7147 need_locks="$enable_libtool_lock"
7151 rhapsody* | darwin*)
7152 if test -n "$ac_tool_prefix"; then
7153 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7154 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7156 $as_echo_n "checking
for $ac_word...
" >&6; }
7157 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7158 $as_echo_n "(cached
) " >&6
7160 if test -n "$DSYMUTIL"; then
7161 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 test -z "$as_dir" && as_dir=.
7168 for ac_exec_ext in '' $ac_executable_extensions; do
7169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7170 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7180 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7181 if test -n "$DSYMUTIL"; then
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7183 $as_echo "$DSYMUTIL" >&6; }
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7186 $as_echo "no
" >&6; }
7191 if test -z "$ac_cv_prog_DSYMUTIL"; then
7192 ac_ct_DSYMUTIL=$DSYMUTIL
7193 # Extract the first word of "dsymutil
", so it can be a program name with args.
7194 set dummy dsymutil; ac_word=$2
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7196 $as_echo_n "checking
for $ac_word...
" >&6; }
7197 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7198 $as_echo_n "(cached
) " >&6
7200 if test -n "$ac_ct_DSYMUTIL"; then
7201 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 test -z "$as_dir" && as_dir=.
7208 for ac_exec_ext in '' $ac_executable_extensions; do
7209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7210 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7220 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7221 if test -n "$ac_ct_DSYMUTIL"; then
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7223 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7226 $as_echo "no
" >&6; }
7229 if test "x
$ac_ct_DSYMUTIL" = x; then
7232 case $cross_compiling:$ac_tool_warned in
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7235 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7236 ac_tool_warned=yes ;;
7238 DSYMUTIL=$ac_ct_DSYMUTIL
7241 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7244 if test -n "$ac_tool_prefix"; then
7245 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7246 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7248 $as_echo_n "checking
for $ac_word...
" >&6; }
7249 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7250 $as_echo_n "(cached
) " >&6
7252 if test -n "$NMEDIT"; then
7253 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7262 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7272 NMEDIT=$ac_cv_prog_NMEDIT
7273 if test -n "$NMEDIT"; then
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7275 $as_echo "$NMEDIT" >&6; }
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7278 $as_echo "no
" >&6; }
7283 if test -z "$ac_cv_prog_NMEDIT"; then
7284 ac_ct_NMEDIT=$NMEDIT
7285 # Extract the first word of "nmedit
", so it can be a program name with args.
7286 set dummy nmedit; ac_word=$2
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7288 $as_echo_n "checking
for $ac_word...
" >&6; }
7289 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7290 $as_echo_n "(cached
) " >&6
7292 if test -n "$ac_ct_NMEDIT"; then
7293 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7302 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7312 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7313 if test -n "$ac_ct_NMEDIT"; then
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7315 $as_echo "$ac_ct_NMEDIT" >&6; }
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7318 $as_echo "no
" >&6; }
7321 if test "x
$ac_ct_NMEDIT" = x; then
7324 case $cross_compiling:$ac_tool_warned in
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7327 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7328 ac_tool_warned=yes ;;
7330 NMEDIT=$ac_ct_NMEDIT
7333 NMEDIT="$ac_cv_prog_NMEDIT"
7336 if test -n "$ac_tool_prefix"; then
7337 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7338 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7340 $as_echo_n "checking
for $ac_word...
" >&6; }
7341 if test "${ac_cv_prog_LIPO+set}" = set; then :
7342 $as_echo_n "(cached
) " >&6
7344 if test -n "$LIPO"; then
7345 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 test -z "$as_dir" && as_dir=.
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7354 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7364 LIPO=$ac_cv_prog_LIPO
7365 if test -n "$LIPO"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7367 $as_echo "$LIPO" >&6; }
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7370 $as_echo "no
" >&6; }
7375 if test -z "$ac_cv_prog_LIPO"; then
7377 # Extract the first word of "lipo
", so it can be a program name with args.
7378 set dummy lipo; ac_word=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7380 $as_echo_n "checking
for $ac_word...
" >&6; }
7381 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7382 $as_echo_n "(cached
) " >&6
7384 if test -n "$ac_ct_LIPO"; then
7385 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7394 ac_cv_prog_ac_ct_LIPO="lipo
"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7404 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7405 if test -n "$ac_ct_LIPO"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7407 $as_echo "$ac_ct_LIPO" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7410 $as_echo "no
" >&6; }
7413 if test "x
$ac_ct_LIPO" = x; then
7416 case $cross_compiling:$ac_tool_warned in
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7419 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7420 ac_tool_warned=yes ;;
7425 LIPO="$ac_cv_prog_LIPO"
7428 if test -n "$ac_tool_prefix"; then
7429 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7430 set dummy ${ac_tool_prefix}otool; ac_word=$2
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7432 $as_echo_n "checking
for $ac_word...
" >&6; }
7433 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7434 $as_echo_n "(cached
) " >&6
7436 if test -n "$OTOOL"; then
7437 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 test -z "$as_dir" && as_dir=.
7444 for ac_exec_ext in '' $ac_executable_extensions; do
7445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7446 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7447 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7456 OTOOL=$ac_cv_prog_OTOOL
7457 if test -n "$OTOOL"; then
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7459 $as_echo "$OTOOL" >&6; }
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7462 $as_echo "no
" >&6; }
7467 if test -z "$ac_cv_prog_OTOOL"; then
7469 # Extract the first word of "otool
", so it can be a program name with args.
7470 set dummy otool; ac_word=$2
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7472 $as_echo_n "checking
for $ac_word...
" >&6; }
7473 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7474 $as_echo_n "(cached
) " >&6
7476 if test -n "$ac_ct_OTOOL"; then
7477 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483 test -z "$as_dir" && as_dir=.
7484 for ac_exec_ext in '' $ac_executable_extensions; do
7485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7486 ac_cv_prog_ac_ct_OTOOL="otool
"
7487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7496 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7497 if test -n "$ac_ct_OTOOL"; then
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7499 $as_echo "$ac_ct_OTOOL" >&6; }
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7502 $as_echo "no
" >&6; }
7505 if test "x
$ac_ct_OTOOL" = x; then
7508 case $cross_compiling:$ac_tool_warned in
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7511 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7512 ac_tool_warned=yes ;;
7517 OTOOL="$ac_cv_prog_OTOOL"
7520 if test -n "$ac_tool_prefix"; then
7521 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7522 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7524 $as_echo_n "checking
for $ac_word...
" >&6; }
7525 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7526 $as_echo_n "(cached
) " >&6
7528 if test -n "$OTOOL64"; then
7529 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535 test -z "$as_dir" && as_dir=.
7536 for ac_exec_ext in '' $ac_executable_extensions; do
7537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7548 OTOOL64=$ac_cv_prog_OTOOL64
7549 if test -n "$OTOOL64"; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7551 $as_echo "$OTOOL64" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7554 $as_echo "no
" >&6; }
7559 if test -z "$ac_cv_prog_OTOOL64"; then
7560 ac_ct_OTOOL64=$OTOOL64
7561 # Extract the first word of "otool64
", so it can be a program name with args.
7562 set dummy otool64; ac_word=$2
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7564 $as_echo_n "checking
for $ac_word...
" >&6; }
7565 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7566 $as_echo_n "(cached
) " >&6
7568 if test -n "$ac_ct_OTOOL64"; then
7569 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 test -z "$as_dir" && as_dir=.
7576 for ac_exec_ext in '' $ac_executable_extensions; do
7577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7578 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7588 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7589 if test -n "$ac_ct_OTOOL64"; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7591 $as_echo "$ac_ct_OTOOL64" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7594 $as_echo "no
" >&6; }
7597 if test "x
$ac_ct_OTOOL64" = x; then
7600 case $cross_compiling:$ac_tool_warned in
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7603 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7604 ac_tool_warned=yes ;;
7606 OTOOL64=$ac_ct_OTOOL64
7609 OTOOL64="$ac_cv_prog_OTOOL64"
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7639 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7640 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7641 $as_echo_n "(cached
) " >&6
7643 lt_cv_apple_cc_single_mod=no
7644 if test -z "${LT_MULTI_MODULE}"; then
7645 # By default we will add the -single_module flag. You can override
7646 # by either setting the environment variable LT_MULTI_MODULE
7647 # non-empty at configure time, or by adding -multi_module to the
7649 rm -rf libconftest.dylib*
7650 echo "int foo
(void
){return 1;}" > conftest.c
7651 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7652 -dynamiclib -Wl,-single_module conftest.c
" >&5
7653 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7654 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7656 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7657 lt_cv_apple_cc_single_mod=yes
7659 cat conftest.err >&5
7661 rm -rf libconftest.dylib*
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7666 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7668 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7669 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7670 $as_echo_n "(cached
) " >&6
7672 lt_cv_ld_exported_symbols_list=no
7673 save_LDFLAGS=$LDFLAGS
7674 echo "_main
" > conftest.sym
7675 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7687 if ac_fn_c_try_link "$LINENO"; then :
7688 lt_cv_ld_exported_symbols_list=yes
7690 lt_cv_ld_exported_symbols_list=no
7692 rm -f core conftest.err conftest.$ac_objext \
7693 conftest$ac_exeext conftest.$ac_ext
7694 LDFLAGS="$save_LDFLAGS"
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7698 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7700 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7701 if test "${lt_cv_ld_force_load+set}" = set; then :
7702 $as_echo_n "(cached
) " >&6
7704 lt_cv_ld_force_load=no
7705 cat > conftest.c << _LT_EOF
7706 int forced_loaded() { return 2;}
7708 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7709 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7710 echo "$AR cru libconftest.a conftest.o
" >&5
7711 $AR cru libconftest.a conftest.o 2>&5
7712 cat > conftest.c << _LT_EOF
7713 int main() { return 0;}
7715 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7716 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7718 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7719 lt_cv_ld_force_load=yes
7721 cat conftest.err >&5
7723 rm -f conftest.err libconftest.a conftest conftest.c
7724 rm -rf conftest.dSYM
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7728 $as_echo "$lt_cv_ld_force_load" >&6; }
7730 rhapsody* | darwin1.[012])
7731 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7733 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7734 darwin*) # darwin 5.x on
7735 # if running on 10.5 or later, the deployment target defaults
7736 # to the OS version, if on x86, and 10.4, the deployment
7737 # target defaults to 10.4. Don't you love it?
7738 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7739 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7740 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7742 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7744 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7748 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7749 _lt_dar_single_mod='$single_module'
7751 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7752 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7754 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7756 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7757 _lt_dsymutil='~$DSYMUTIL $lib || :'
7764 for ac_header in dlfcn.h
7766 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7768 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_DLFCN_H 1
7789 # Check whether --enable-shared was given.
7790 if test "${enable_shared+set}" = set; then :
7791 enableval=$enable_shared; p=${PACKAGE-default}
7793 yes) enable_shared=yes ;;
7794 no) enable_shared=no ;;
7797 # Look at the argument we got. We use all the common list separators.
7798 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7799 for pkg in $enableval; do
7801 if test "X
$pkg" = "X
$p"; then
7820 # Check whether --enable-static was given.
7821 if test "${enable_static+set}" = set; then :
7822 enableval=$enable_static; p=${PACKAGE-default}
7824 yes) enable_static=yes ;;
7825 no) enable_static=no ;;
7828 # Look at the argument we got. We use all the common list separators.
7829 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7830 for pkg in $enableval; do
7832 if test "X
$pkg" = "X
$p"; then
7852 # Check whether --with-pic was given.
7853 if test "${with_pic+set}" = set; then :
7854 withval=$with_pic; pic_mode="$withval"
7860 test -z "$pic_mode" && pic_mode=default
7868 # Check whether --enable-fast-install was given.
7869 if test "${enable_fast_install+set}" = set; then :
7870 enableval=$enable_fast_install; p=${PACKAGE-default}
7872 yes) enable_fast_install=yes ;;
7873 no) enable_fast_install=no ;;
7875 enable_fast_install=no
7876 # Look at the argument we got. We use all the common list separators.
7877 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7878 for pkg in $enableval; do
7880 if test "X
$pkg" = "X
$p"; then
7881 enable_fast_install=yes
7888 enable_fast_install=yes
7901 # This can be used to rebuild libtool when needed
7902 LIBTOOL_DEPS="$ltmain"
7904 # Always use our own libtool.
7905 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7932 test -z "$LN_S" && LN_S="ln -s"
7947 if test -n "${ZSH_VERSION+set}" ; then
7948 setopt NO_GLOB_SUBST
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7952 $as_echo_n "checking
for objdir...
" >&6; }
7953 if test "${lt_cv_objdir+set}" = set; then :
7954 $as_echo_n "(cached
) " >&6
7956 rm -f .libs 2>/dev/null
7957 mkdir .libs 2>/dev/null
7958 if test -d .libs; then
7961 # MS-DOS does not allow filenames that begin with a dot.
7964 rmdir .libs 2>/dev/null
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7967 $as_echo "$lt_cv_objdir" >&6; }
7968 objdir=$lt_cv_objdir
7974 cat >>confdefs.h <<_ACEOF
7975 #define LT_OBJDIR "$lt_cv_objdir/"
7983 # AIX sometimes has problems with the GCC collect2 program. For some
7984 # reason, if we set the COLLECT_NAMES environment variable, the problems
7985 # vanish in a puff of smoke.
7986 if test "X
${COLLECT_NAMES+set}" != Xset; then
7988 export COLLECT_NAMES
7995 can_build_shared=yes
7997 # All known linkers require a `.a' archive for static linking (except MSVC,
7998 # which needs '.lib').
8001 with_gnu_ld="$lt_cv_prog_gnu_ld"
8004 old_CFLAGS="$CFLAGS"
8006 # Set sane defaults for various variables
8007 test -z "$CC" && CC=cc
8008 test -z "$LTCC" && LTCC=$CC
8009 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8010 test -z "$LD" && LD=ld
8011 test -z "$ac_objext" && ac_objext=o
8013 for cc_temp in $compiler""; do
8015 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8016 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8021 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8024 # Only perform the check for file, if the check method requires it
8025 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8026 case $deplibs_check_method in
8028 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8030 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8031 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8032 $as_echo_n "(cached
) " >&6
8036 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8039 lt_save_MAGIC_CMD="$MAGIC_CMD"
8040 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8041 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8042 for ac_dir in $ac_dummy; do
8044 test -z "$ac_dir" && ac_dir=.
8045 if test -f $ac_dir/${ac_tool_prefix}file; then
8046 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8047 if test -n "$file_magic_test_file"; then
8048 case $deplibs_check_method in
8050 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8053 $EGREP "$file_magic_regex" > /dev/null; then
8058 *** Warning: the command libtool uses to detect shared libraries,
8059 *** $file_magic_cmd, produces output that libtool cannot recognize.
8060 *** The result is that libtool may fail to recognize shared libraries
8061 *** as such. This will affect the creation of libtool libraries that
8062 *** depend on shared libraries, but programs linked with such libtool
8063 *** libraries will work regardless of this problem. Nevertheless, you
8064 *** may want to report the problem to your system manager and/or to
8065 *** bug-libtool@gnu.org
8075 MAGIC_CMD="$lt_save_MAGIC_CMD"
8080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8081 if test -n "$MAGIC_CMD"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8083 $as_echo "$MAGIC_CMD" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8086 $as_echo "no
" >&6; }
8093 if test -z "$lt_cv_path_MAGIC_CMD"; then
8094 if test -n "$ac_tool_prefix"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8096 $as_echo_n "checking
for file...
" >&6; }
8097 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8098 $as_echo_n "(cached
) " >&6
8102 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8105 lt_save_MAGIC_CMD="$MAGIC_CMD"
8106 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8107 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8108 for ac_dir in $ac_dummy; do
8110 test -z "$ac_dir" && ac_dir=.
8111 if test -f $ac_dir/file; then
8112 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8113 if test -n "$file_magic_test_file"; then
8114 case $deplibs_check_method in
8116 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8118 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8119 $EGREP "$file_magic_regex" > /dev/null; then
8124 *** Warning: the command libtool uses to detect shared libraries,
8125 *** $file_magic_cmd, produces output that libtool cannot recognize.
8126 *** The result is that libtool may fail to recognize shared libraries
8127 *** as such. This will affect the creation of libtool libraries that
8128 *** depend on shared libraries, but programs linked with such libtool
8129 *** libraries will work regardless of this problem. Nevertheless, you
8130 *** may want to report the problem to your system manager and/or to
8131 *** bug-libtool@gnu.org
8141 MAGIC_CMD="$lt_save_MAGIC_CMD"
8146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8147 if test -n "$MAGIC_CMD"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8149 $as_echo "$MAGIC_CMD" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8152 $as_echo "no
" >&6; }
8165 # Use C for the default configuration in the libtool script
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8175 # Source file extension for C test sources.
8178 # Object file extension for compiled C test sources.
8182 # Code to be used in simple compile tests
8183 lt_simple_compile_test_code="int some_variable
= 0;"
8185 # Code to be used in simple link tests
8186 lt_simple_link_test_code='int main(){return(0);}'
8194 # If no C compiler was specified, use CC.
8197 # If no C compiler flags were specified, use CFLAGS.
8198 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8200 # Allow CC to be a program name with arguments.
8203 # Save the default compiler, since it gets overwritten when the other
8204 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8205 compiler_DEFAULT=$CC
8207 # save warnings/boilerplate of simple test code
8208 ac_outfile=conftest.$ac_objext
8209 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8210 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8211 _lt_compiler_boilerplate=`cat conftest.err`
8214 ac_outfile=conftest.$ac_objext
8215 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8216 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8217 _lt_linker_boilerplate=`cat conftest.err`
8222 ## There is no encapsulation within the following macros, do not change
8223 ## the running order or otherwise move them around unless you know exactly
8224 ## what you are doing...
8225 if test -n "$compiler"; then
8227 lt_prog_compiler_no_builtin_flag=
8229 if test "$GCC" = yes; then
8230 case $cc_basename in
8232 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8234 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8238 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8239 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8240 $as_echo_n "(cached
) " >&6
8242 lt_cv_prog_compiler_rtti_exceptions=no
8243 ac_outfile=conftest.$ac_objext
8244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8245 lt_compiler_flag="-fno-rtti -fno-exceptions"
8246 # Insert the option either (1) after the last *FLAGS variable, or
8247 # (2) before a word containing "conftest.
", or (3) at the end.
8248 # Note that $ac_compile itself does not contain backslashes and begins
8249 # with a dollar sign (not a hyphen), so the echo should work correctly.
8250 # The option is referenced via a variable to avoid confusing sed.
8251 lt_compile=`echo "$ac_compile" | $SED \
8252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8254 -e 's:$: $lt_compiler_flag:'`
8255 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8256 (eval "$lt_compile" 2>conftest.err)
8258 cat conftest.err >&5
8259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8260 if (exit $ac_status) && test -s "$ac_outfile"; then
8261 # The compiler can only warn and ignore the option if not recognized
8262 # So say no if there are warnings other than the usual output.
8263 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8264 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8265 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8266 lt_cv_prog_compiler_rtti_exceptions=yes
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8273 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8275 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8276 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8288 lt_prog_compiler_wl=
8289 lt_prog_compiler_pic=
8290 lt_prog_compiler_static=
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8293 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8295 if test "$GCC" = yes; then
8296 lt_prog_compiler_wl='-Wl,'
8297 lt_prog_compiler_static='-static'
8301 # All AIX code is PIC.
8302 if test "$host_cpu" = ia64; then
8303 # AIX 5 now supports IA64 processor
8304 lt_prog_compiler_static='-Bstatic'
8306 lt_prog_compiler_pic='-fPIC'
8312 # see comment about AmigaOS4 .so support
8313 lt_prog_compiler_pic='-fPIC'
8316 # FIXME: we need at least 68020 code to build shared libraries, but
8317 # adding the `-m68020' flag to GCC prevents building anything better,
8319 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8324 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8325 # PIC is the default for these OSes.
8328 mingw* | cygwin* | pw32* | os2* | cegcc*)
8329 # This hack is so that the source file can tell whether it is being
8330 # built for inclusion in a dll (and should export symbols for example).
8331 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8332 # (--disable-auto-import) libraries
8333 lt_prog_compiler_pic='-DDLL_EXPORT'
8336 darwin* | rhapsody*)
8337 # PIC is the default on this platform
8338 # Common symbols not allowed in MH_DYLIB files
8339 lt_prog_compiler_pic='-fno-common'
8343 # PIC is the default for Haiku.
8344 # The "-static" flag exists, but is broken.
8345 lt_prog_compiler_static=
8349 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8350 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8351 # sets the default TLS model and affects inlining.
8357 lt_prog_compiler_pic='-fPIC'
8363 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8364 # Instead, we relocate shared libraries at runtime.
8368 # Just because we use GCC doesn't mean we suddenly get shared libraries
8369 # on systems that don't support them.
8370 lt_prog_compiler_can_build_shared=no
8375 # QNX uses GNU C++, but need to define -shared option too, otherwise
8377 lt_prog_compiler_pic='-fPIC -shared'
8381 if test -d /usr/nec; then
8382 lt_prog_compiler_pic=-Kconform_pic
8387 lt_prog_compiler_pic='-fPIC'
8391 case $cc_basename in
8392 nvcc*) # Cuda Compiler Driver 2.2
8393 lt_prog_compiler_wl='-Xlinker '
8394 lt_prog_compiler_pic='-Xcompiler -fPIC'
8398 # PORTME Check for flag to pass linker flags through the system compiler.
8401 lt_prog_compiler_wl='-Wl,'
8402 if test "$host_cpu" = ia64; then
8403 # AIX 5 now supports IA64 processor
8404 lt_prog_compiler_static='-Bstatic'
8406 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8410 mingw* | cygwin* | pw32* | os2* | cegcc*)
8411 # This hack is so that the source file can tell whether it is being
8412 # built for inclusion in a dll (and should export symbols for example).
8413 lt_prog_compiler_pic='-DDLL_EXPORT'
8416 hpux9* | hpux10* | hpux11*)
8417 lt_prog_compiler_wl='-Wl,'
8418 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8425 lt_prog_compiler_pic='+Z'
8428 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8429 lt_prog_compiler_static='${wl}-a ${wl}archive'
8432 irix5* | irix6* | nonstopux*)
8433 lt_prog_compiler_wl='-Wl,'
8434 # PIC (with -KPIC) is the default.
8435 lt_prog_compiler_static='-non_shared'
8438 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8439 case $cc_basename in
8440 # old Intel for x86_64 which still supported -KPIC.
8442 lt_prog_compiler_wl='-Wl,'
8443 lt_prog_compiler_pic='-KPIC'
8444 lt_prog_compiler_static='-static'
8446 # icc used to be incompatible with GCC.
8447 # ICC 10 doesn't accept -KPIC any more.
8449 lt_prog_compiler_wl='-Wl,'
8450 lt_prog_compiler_pic='-fPIC'
8451 lt_prog_compiler_static='-static'
8453 # Lahey Fortran 8.1.
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_pic='--shared'
8457 lt_prog_compiler_static='--static'
8459 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8460 # Portland Group compilers (*not* the Pentium gcc compiler,
8461 # which looks to be a dead project)
8462 lt_prog_compiler_wl='-Wl,'
8463 lt_prog_compiler_pic='-fpic'
8464 lt_prog_compiler_static='-Bstatic'
8467 lt_prog_compiler_wl='-Wl,'
8468 # All Alpha code is PIC.
8469 lt_prog_compiler_static='-non_shared'
8471 xl* | bgxl* | bgf* | mpixl*)
8472 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8473 lt_prog_compiler_wl='-Wl,'
8474 lt_prog_compiler_pic='-qpic'
8475 lt_prog_compiler_static='-qstaticlink'
8478 case `$CC -V 2>&1 | sed 5q` in
8479 *Sun\ F* | *Sun*Fortran*)
8480 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8481 lt_prog_compiler_pic='-KPIC'
8482 lt_prog_compiler_static='-Bstatic'
8483 lt_prog_compiler_wl=''
8487 lt_prog_compiler_pic='-KPIC'
8488 lt_prog_compiler_static='-Bstatic'
8489 lt_prog_compiler_wl='-Wl,'
8497 lt_prog_compiler_pic='-KPIC'
8498 lt_prog_compiler_static='-Bstatic'
8502 # QNX uses GNU C++, but need to define -shared option too, otherwise
8504 lt_prog_compiler_pic='-fPIC -shared'
8507 osf3* | osf4* | osf5*)
8508 lt_prog_compiler_wl='-Wl,'
8509 # All OSF/1 code is PIC.
8510 lt_prog_compiler_static='-non_shared'
8514 lt_prog_compiler_static='-non_shared'
8518 lt_prog_compiler_pic='-KPIC'
8519 lt_prog_compiler_static='-Bstatic'
8520 case $cc_basename in
8522 lt_prog_compiler_wl='-Qoption ld ';;
8524 lt_prog_compiler_wl='-Wl,';;
8529 lt_prog_compiler_wl='-Qoption ld '
8530 lt_prog_compiler_pic='-PIC'
8531 lt_prog_compiler_static='-Bstatic'
8534 sysv4 | sysv4.2uw2* | sysv4.3*)
8535 lt_prog_compiler_wl='-Wl,'
8536 lt_prog_compiler_pic='-KPIC'
8537 lt_prog_compiler_static='-Bstatic'
8541 if test -d /usr/nec ;then
8542 lt_prog_compiler_pic='-Kconform_pic'
8543 lt_prog_compiler_static='-Bstatic'
8547 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8548 lt_prog_compiler_wl='-Wl,'
8549 lt_prog_compiler_pic='-KPIC'
8550 lt_prog_compiler_static='-Bstatic'
8554 lt_prog_compiler_wl='-Wl,'
8555 lt_prog_compiler_can_build_shared=no
8559 lt_prog_compiler_pic='-pic'
8560 lt_prog_compiler_static='-Bstatic'
8564 lt_prog_compiler_can_build_shared=no
8570 # For platforms which do not support PIC, -DPIC is meaningless:
8572 lt_prog_compiler_pic=
8575 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8579 $as_echo "$lt_prog_compiler_pic" >&6; }
8587 # Check to make sure the PIC flag actually works.
8589 if test -n "$lt_prog_compiler_pic"; then
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8591 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8592 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8593 $as_echo_n "(cached
) " >&6
8595 lt_cv_prog_compiler_pic_works=no
8596 ac_outfile=conftest.$ac_objext
8597 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8598 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8599 # Insert the option either (1) after the last *FLAGS variable, or
8600 # (2) before a word containing "conftest.
", or (3) at the end.
8601 # Note that $ac_compile itself does not contain backslashes and begins
8602 # with a dollar sign (not a hyphen), so the echo should work correctly.
8603 # The option is referenced via a variable to avoid confusing sed.
8604 lt_compile=`echo "$ac_compile" | $SED \
8605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8607 -e 's:$: $lt_compiler_flag:'`
8608 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8609 (eval "$lt_compile" 2>conftest.err)
8611 cat conftest.err >&5
8612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8613 if (exit $ac_status) && test -s "$ac_outfile"; then
8614 # The compiler can only warn and ignore the option if not recognized
8615 # So say no if there are warnings other than the usual output.
8616 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8617 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8618 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8619 lt_cv_prog_compiler_pic_works=yes
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8626 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8628 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8629 case $lt_prog_compiler_pic in
8631 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8634 lt_prog_compiler_pic=
8635 lt_prog_compiler_can_build_shared=no
8646 # Check to make sure the static flag actually works.
8648 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8650 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8651 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8652 $as_echo_n "(cached
) " >&6
8654 lt_cv_prog_compiler_static_works=no
8655 save_LDFLAGS="$LDFLAGS"
8656 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8657 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8658 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8659 # The linker can only warn and ignore the option if not recognized
8660 # So say no if there are warnings
8661 if test -s conftest.err; then
8662 # Append any errors to the config.log.
8663 cat conftest.err 1>&5
8664 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8665 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666 if diff conftest.exp conftest.er2 >/dev/null; then
8667 lt_cv_prog_compiler_static_works=yes
8670 lt_cv_prog_compiler_static_works=yes
8674 LDFLAGS="$save_LDFLAGS"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8678 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8680 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8683 lt_prog_compiler_static=
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8693 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8694 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8695 $as_echo_n "(cached
) " >&6
8697 lt_cv_prog_compiler_c_o=no
8698 $RM -r conftest 2>/dev/null
8702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8704 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8705 # Insert the option either (1) after the last *FLAGS variable, or
8706 # (2) before a word containing "conftest.
", or (3) at the end.
8707 # Note that $ac_compile itself does not contain backslashes and begins
8708 # with a dollar sign (not a hyphen), so the echo should work correctly.
8709 lt_compile=`echo "$ac_compile" | $SED \
8710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8712 -e 's:$: $lt_compiler_flag:'`
8713 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8714 (eval "$lt_compile" 2>out/conftest.err)
8716 cat out/conftest.err >&5
8717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8718 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8720 # The compiler can only warn and ignore the option if not recognized
8721 # So say no if there are warnings
8722 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8723 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8724 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8725 lt_cv_prog_compiler_c_o=yes
8730 # SGI C++ compiler will create directory out/ii_files/ for
8731 # template instantiation
8732 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8733 $RM out/* && rmdir out
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8740 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8748 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8749 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8750 $as_echo_n "(cached
) " >&6
8752 lt_cv_prog_compiler_c_o=no
8753 $RM -r conftest 2>/dev/null
8757 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8759 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8760 # Insert the option either (1) after the last *FLAGS variable, or
8761 # (2) before a word containing "conftest.
", or (3) at the end.
8762 # Note that $ac_compile itself does not contain backslashes and begins
8763 # with a dollar sign (not a hyphen), so the echo should work correctly.
8764 lt_compile=`echo "$ac_compile" | $SED \
8765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8767 -e 's:$: $lt_compiler_flag:'`
8768 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8769 (eval "$lt_compile" 2>out/conftest.err)
8771 cat out/conftest.err >&5
8772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8773 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8775 # The compiler can only warn and ignore the option if not recognized
8776 # So say no if there are warnings
8777 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8778 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8779 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8780 lt_cv_prog_compiler_c_o=yes
8785 # SGI C++ compiler will create directory out/ii_files/ for
8786 # template instantiation
8787 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8788 $RM out/* && rmdir out
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8795 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8800 hard_links="nottested
"
8801 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8802 # do not overwrite the value of need_locks provided by the user
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8804 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8807 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8809 ln conftest.a conftest.b 2>&5 || hard_links=no
8810 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8812 $as_echo "$hard_links" >&6; }
8813 if test "$hard_links" = no; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8815 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8828 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8831 allow_undefined_flag=
8832 always_export_symbols=no
8834 archive_expsym_cmds=
8835 compiler_needs_object=no
8836 enable_shared_with_static_runtimes=no
8837 export_dynamic_flag_spec=
8838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8839 hardcode_automatic=no
8841 hardcode_direct_absolute=no
8842 hardcode_libdir_flag_spec=
8843 hardcode_libdir_flag_spec_ld=
8844 hardcode_libdir_separator=
8846 hardcode_shlibpath_var=unsupported
8848 link_all_deplibs=unknown
8851 old_archive_from_new_cmds=
8852 old_archive_from_expsyms_cmds=
8853 thread_safe_flag_spec=
8854 whole_archive_flag_spec=
8855 # include_expsyms should be a list of space-separated symbols to be *always*
8856 # included in the symbol list
8858 # exclude_expsyms can be an extended regexp of symbols to exclude
8859 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8860 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8861 # as well as any symbol that contains `d'.
8862 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8863 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8864 # platforms (ab)use it in PIC code, but their linkers get confused if
8865 # the symbol is explicitly referenced. Since portable code cannot
8866 # rely on this symbol name, it's probably fine to never include it in
8867 # preloaded symbol tables.
8868 # Exclude shared library initialization/finalization symbols.
8869 extract_expsyms_cmds=
8872 cygwin* | mingw* | pw32* | cegcc*)
8873 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8874 # When not using gcc, we currently assume that we are using
8875 # Microsoft Visual C++.
8876 if test "$GCC" != yes; then
8881 # we just hope/assume this is gcc and not c89 (= MSVC++)
8891 # On some targets, GNU ld is compatible enough with the native linker
8892 # that we're better off using the native interface for both.
8893 lt_use_gnu_ld_interface=no
8894 if test "$with_gnu_ld" = yes; then
8897 # The AIX port of GNU ld has always aspired to compatibility
8898 # with the native linker. However, as the warning in the GNU ld
8899 # block says, versions before 2.19.5* couldn't really create working
8900 # shared libraries, regardless of the interface used.
8901 case `$LD -v 2>&1` in
8902 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8903 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8904 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8906 lt_use_gnu_ld_interface=yes
8911 lt_use_gnu_ld_interface=yes
8916 if test "$lt_use_gnu_ld_interface" = yes; then
8917 # If archive_cmds runs LD, not CC, wlarc should be empty
8920 # Set some defaults for GNU ld with shared library support. These
8921 # are reset later if shared libraries are not supported. Putting them
8922 # here allows them to be overridden if necessary.
8923 runpath_var=LD_RUN_PATH
8924 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8925 export_dynamic_flag_spec='${wl}--export-dynamic'
8926 # ancient GNU ld didn't support --whole-archive et. al.
8927 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8928 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8930 whole_archive_flag_spec=
8932 supports_anon_versioning=no
8933 case `$LD -v 2>&1` in
8934 *GNU\ gold*) supports_anon_versioning=yes ;;
8935 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8936 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8937 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8938 *\ 2.11.*) ;; # other 2.11 versions
8939 *) supports_anon_versioning=yes ;;
8942 # See if GNU ld supports shared libraries.
8945 # On AIX/PPC, the GNU linker is very broken
8946 if test "$host_cpu" != ia64; then
8950 *** Warning: the GNU linker, at least up to release 2.19, is reported
8951 *** to be unable to reliably create shared libraries on AIX.
8952 *** Therefore, libtool is disabling shared libraries support. If you
8953 *** really care for shared libraries, you may want to install binutils
8954 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8955 *** You will then need to restart the configuration process.
8964 # see comment about AmigaOS4 .so support
8965 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966 archive_expsym_cmds=''
8969 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)'
8970 hardcode_libdir_flag_spec
='-L$libdir'
8971 hardcode_minus_L
=yes
8977 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8978 allow_undefined_flag
=unsupported
8979 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8980 # support --undefined. This deserves some investigation. FIXME
8981 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 cygwin
* | mingw
* | pw32
* | cegcc
*)
8988 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8989 # as there is no search path for DLLs.
8990 hardcode_libdir_flag_spec
='-L$libdir'
8991 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8992 allow_undefined_flag
=unsupported
8993 always_export_symbols
=no
8994 enable_shared_with_static_runtimes
=yes
8995 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8997 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8998 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8999 # If the export-symbols file already is a .def file (1st line
9000 # is EXPORTS), use it as is; otherwise, prepend...
9001 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9002 cp $export_symbols $output_objdir/$soname.def;
9004 echo EXPORTS > $output_objdir/$soname.def;
9005 cat $export_symbols >> $output_objdir/$soname.def;
9007 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9014 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9015 link_all_deplibs
=yes
9020 hardcode_shlibpath_var
=no
9021 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9022 export_dynamic_flag_spec
='${wl}-E'
9023 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9024 # Instead, shared libraries are loaded at an image base (0x10000000 by
9025 # default) and relocated if they conflict, which is a slow very memory
9026 # consuming and fragmenting process. To avoid this, we pick a random,
9027 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9028 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9029 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9030 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'
9033 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9035 if test "$host_os" = linux-dietlibc
; then
9036 case $cc_basename in
9037 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9040 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9041 && test "$tmp_diet" = no
9043 tmp_addflag
=' $pic_flag'
9044 tmp_sharedflag
='-shared'
9045 case $cc_basename,$host_cpu in
9046 pgcc
*) # Portland Group C compiler
9047 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'
9048 tmp_addflag
=' $pic_flag'
9050 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9051 # Portland Group f77 and f90 compilers
9052 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'
9053 tmp_addflag
=' $pic_flag -Mnomain' ;;
9054 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9055 tmp_addflag
=' -i_dynamic' ;;
9056 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9057 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9058 ifc
* | ifort
*) # Intel Fortran compiler
9059 tmp_addflag
=' -nofor_main' ;;
9060 lf95
*) # Lahey Fortran 8.1
9061 whole_archive_flag_spec
=
9062 tmp_sharedflag
='--shared' ;;
9063 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9064 tmp_sharedflag
='-qmkshrobj'
9066 nvcc
*) # Cuda Compiler Driver 2.2
9067 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'
9068 compiler_needs_object
=yes
9071 case `$CC -V 2>&1 | sed 5q` in
9072 *Sun\ C
*) # Sun C 5.9
9073 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'
9074 compiler_needs_object
=yes
9075 tmp_sharedflag
='-G' ;;
9076 *Sun\ F
*) # Sun Fortran 8.3
9077 tmp_sharedflag
='-G' ;;
9079 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9081 if test "x$supports_anon_versioning" = xyes
; then
9082 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9083 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9084 echo "local: *; };" >> $output_objdir/$libname.ver~
9085 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9088 case $cc_basename in
9089 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9090 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9091 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9092 hardcode_libdir_flag_spec
=
9093 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9094 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9095 if test "x$supports_anon_versioning" = xyes
; then
9096 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9097 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9098 echo "local: *; };" >> $output_objdir/$libname.ver~
9099 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9109 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9110 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9113 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9119 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9123 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9124 *** create shared libraries on Solaris systems. Therefore, libtool
9125 *** is disabling shared libraries support. We urge you to upgrade GNU
9126 *** binutils to release 2.9.1 or newer. Another option is to modify
9127 *** your PATH or compiler configuration so that the native linker is
9128 *** used, and then restart.
9131 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9132 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9133 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9139 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9140 case `$LD -v 2>&1` in
9141 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9145 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9146 *** reliably create shared libraries on SCO systems. Therefore, libtool
9147 *** is disabling shared libraries support. We urge you to upgrade GNU
9148 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9149 *** your PATH or compiler configuration so that the native linker is
9150 *** used, and then restart.
9155 # For security reasons, it is highly recommended that you always
9156 # use absolute paths for naming shared libraries, and exclude the
9157 # DT_RUNPATH tag from executables and libraries. But doing so
9158 # requires that you compile everything twice, which is a pain.
9159 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9160 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9161 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9171 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9174 hardcode_shlibpath_var
=no
9178 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9179 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9180 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9187 if test "$ld_shlibs" = no
; then
9189 hardcode_libdir_flag_spec
=
9190 export_dynamic_flag_spec
=
9191 whole_archive_flag_spec
=
9194 # PORTME fill in a description of your system's linker (not GNU ld)
9197 allow_undefined_flag
=unsupported
9198 always_export_symbols
=yes
9199 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'
9200 # Note: this linker hardcodes the directories in LIBPATH if there
9201 # are no directories specified by -L.
9202 hardcode_minus_L
=yes
9203 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9204 # Neither direct hardcoding nor static linking is supported with a
9206 hardcode_direct
=unsupported
9211 if test "$host_cpu" = ia64
; then
9212 # On IA64, the linker does run time linking by default, so we don't
9213 # have to do anything special.
9214 aix_use_runtimelinking
=no
9215 exp_sym_flag
='-Bexport'
9218 # If we're using GNU nm, then we don't want the "-C" option.
9219 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9220 # Also, AIX nm treats weak defined symbols like other global
9221 # defined symbols, whereas GNU nm marks them as "W".
9222 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9223 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'
9225 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9227 aix_use_runtimelinking
=no
9229 # Test if we are trying to use run time linking or normal
9230 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9231 # need to do runtime linking.
9232 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9233 for ld_flag
in $LDFLAGS; do
9234 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9235 aix_use_runtimelinking
=yes
9242 exp_sym_flag
='-bexport'
9243 no_entry_flag
='-bnoentry'
9246 # When large executables or shared objects are built, AIX ld can
9247 # have problems creating the table of contents. If linking a library
9248 # or program results in "error TOC overflow" add -mminimal-toc to
9249 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9250 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9254 hardcode_direct_absolute
=yes
9255 hardcode_libdir_separator
=':'
9256 link_all_deplibs
=yes
9257 file_list_spec
='${wl}-f,'
9259 if test "$GCC" = yes; then
9260 case $host_os in aix4.
[012]|aix4.
[012].
*)
9261 # We only want to do this on AIX 4.2 and lower, the check
9262 # below for broken collect2 doesn't work under 4.3+
9263 collect2name
=`${CC} -print-prog-name=collect2`
9264 if test -f "$collect2name" &&
9265 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9267 # We have reworked collect2
9270 # We have old collect2
9271 hardcode_direct
=unsupported
9272 # It fails to find uninstalled libraries when the uninstalled
9273 # path is not listed in the libpath. Setting hardcode_minus_L
9274 # to unsupported forces relinking
9275 hardcode_minus_L
=yes
9276 hardcode_libdir_flag_spec
='-L$libdir'
9277 hardcode_libdir_separator
=
9281 shared_flag
='-shared'
9282 if test "$aix_use_runtimelinking" = yes; then
9283 shared_flag
="$shared_flag "'${wl}-G'
9287 if test "$host_cpu" = ia64
; then
9288 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9289 # chokes on -Wl,-G. The following line is correct:
9292 if test "$aix_use_runtimelinking" = yes; then
9293 shared_flag
='${wl}-G'
9295 shared_flag
='${wl}-bM:SRE'
9300 export_dynamic_flag_spec
='${wl}-bexpall'
9301 # It seems that -bexpall does not export symbols beginning with
9302 # underscore (_), so it is better to generate a list of symbols to export.
9303 always_export_symbols
=yes
9304 if test "$aix_use_runtimelinking" = yes; then
9305 # Warning - without using the other runtime loading flags (-brtl),
9306 # -berok will link without error, but may produce a broken library.
9307 allow_undefined_flag
='-berok'
9308 # Determine the default libpath from the value encoded in an
9310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9321 if ac_fn_c_try_link
"$LINENO"; then :
9323 lt_aix_libpath_sed
='
9324 /Import File Strings/,/^$/ {
9330 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9331 # Check for a 64-bit object if we didn't find anything.
9332 if test -z "$aix_libpath"; then
9333 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9336 rm -f core conftest.err conftest.
$ac_objext \
9337 conftest
$ac_exeext conftest.
$ac_ext
9338 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9340 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9341 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"
9343 if test "$host_cpu" = ia64
; then
9344 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9345 allow_undefined_flag
="-z nodefs"
9346 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"
9348 # Determine the default libpath from the value encoded in an
9350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9361 if ac_fn_c_try_link
"$LINENO"; then :
9363 lt_aix_libpath_sed
='
9364 /Import File Strings/,/^$/ {
9370 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9371 # Check for a 64-bit object if we didn't find anything.
9372 if test -z "$aix_libpath"; then
9373 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9376 rm -f core conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9378 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9380 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9381 # Warning - without using the other run time loading flags,
9382 # -berok will link without error, but may produce a broken library.
9383 no_undefined_flag
=' ${wl}-bernotok'
9384 allow_undefined_flag
=' ${wl}-berok'
9385 if test "$with_gnu_ld" = yes; then
9386 # We only use this code for GNU lds that support --whole-archive.
9387 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9389 # Exported symbols can be pulled into shared objects from archives
9390 whole_archive_flag_spec
='$convenience'
9392 archive_cmds_need_lc
=yes
9393 # This is similar to how AIX traditionally builds its shared libraries.
9394 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'
9402 # see comment about AmigaOS4 .so support
9403 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404 archive_expsym_cmds
=''
9407 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)'
9408 hardcode_libdir_flag_spec
='-L$libdir'
9409 hardcode_minus_L
=yes
9415 export_dynamic_flag_spec
=-rdynamic
9418 cygwin
* | mingw
* | pw32
* | cegcc
*)
9419 # When not using gcc, we currently assume that we are using
9420 # Microsoft Visual C++.
9421 # hardcode_libdir_flag_spec is actually meaningless, as there is
9422 # no search path for DLLs.
9423 hardcode_libdir_flag_spec
=' '
9424 allow_undefined_flag
=unsupported
9425 # Tell ltmain to make .lib files, not .a files.
9427 # Tell ltmain to make .dll files, not .so files.
9429 # FIXME: Setting linknames here is a bad hack.
9430 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9431 # The linker will automatically build a .lib file if we build a DLL.
9432 old_archive_from_new_cmds
='true'
9433 # FIXME: Should let the user specify the lib program.
9434 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9435 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9436 enable_shared_with_static_runtimes
=yes
9439 darwin
* | rhapsody
*)
9442 archive_cmds_need_lc
=no
9444 hardcode_automatic
=yes
9445 hardcode_shlibpath_var
=unsupported
9446 if test "$lt_cv_ld_force_load" = "yes"; then
9447 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\"`'
9449 whole_archive_flag_spec
=''
9451 link_all_deplibs
=yes
9452 allow_undefined_flag
="$_lt_dar_allow_undefined"
9453 case $cc_basename in
9454 ifort
*) _lt_dar_can_shared
=yes ;;
9455 *) _lt_dar_can_shared
=$GCC ;;
9457 if test "$_lt_dar_can_shared" = "yes"; then
9458 output_verbose_link_cmd
=func_echo_all
9459 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9460 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9461 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}"
9462 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}"
9471 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9472 hardcode_libdir_flag_spec
='-L$libdir'
9473 hardcode_shlibpath_var
=no
9476 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9477 # support. Future versions do this automatically, but an explicit c++rt0.o
9478 # does not break anything, and helps significantly (at the cost of a little
9481 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9482 hardcode_libdir_flag_spec
='-R$libdir'
9484 hardcode_shlibpath_var
=no
9487 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9489 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 hardcode_minus_L
=yes
9492 hardcode_shlibpath_var
=no
9495 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9496 freebsd
* | dragonfly
*)
9497 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9498 hardcode_libdir_flag_spec
='-R$libdir'
9500 hardcode_shlibpath_var
=no
9504 if test "$GCC" = yes; then
9505 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'
9507 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'
9509 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9510 hardcode_libdir_separator
=:
9513 # hardcode_minus_L: Not really in the search PATH,
9514 # but as the default location of the library.
9515 hardcode_minus_L
=yes
9516 export_dynamic_flag_spec
='${wl}-E'
9520 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9521 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9525 if test "$with_gnu_ld" = no
; then
9526 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9527 hardcode_libdir_flag_spec_ld
='+b $libdir'
9528 hardcode_libdir_separator
=:
9530 hardcode_direct_absolute
=yes
9531 export_dynamic_flag_spec
='${wl}-E'
9532 # hardcode_minus_L: Not really in the search PATH,
9533 # but as the default location of the library.
9534 hardcode_minus_L
=yes
9539 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9542 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9561 # Older versions of the 11.00 compiler do not understand -b yet
9562 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9564 $as_echo_n "checking if $CC understands -b... " >&6; }
9565 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9566 $as_echo_n "(cached) " >&6
9568 lt_cv_prog_compiler__b
=no
9569 save_LDFLAGS
="$LDFLAGS"
9570 LDFLAGS
="$LDFLAGS -b"
9571 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9572 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9573 # The linker can only warn and ignore the option if not recognized
9574 # So say no if there are warnings
9575 if test -s conftest.err
; then
9576 # Append any errors to the config.log.
9577 cat conftest.err
1>&5
9578 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9579 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9580 if diff conftest.exp conftest.er2
>/dev
/null
; then
9581 lt_cv_prog_compiler__b
=yes
9584 lt_cv_prog_compiler__b
=yes
9588 LDFLAGS
="$save_LDFLAGS"
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9592 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9594 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9595 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9603 if test "$with_gnu_ld" = no
; then
9604 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9605 hardcode_libdir_separator
=:
9610 hardcode_shlibpath_var
=no
9614 hardcode_direct_absolute
=yes
9615 export_dynamic_flag_spec
='${wl}-E'
9617 # hardcode_minus_L: Not really in the search PATH,
9618 # but as the default location of the library.
9619 hardcode_minus_L
=yes
9625 irix5
* | irix6
* | nonstopux
*)
9626 if test "$GCC" = yes; then
9627 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'
9628 # Try to use the -exported_symbol ld option, if it does not
9629 # work, assume that -exports_file does not work either and
9630 # implicitly export all symbols.
9631 save_LDFLAGS
="$LDFLAGS"
9632 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9637 if ac_fn_c_try_link
"$LINENO"; then :
9638 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'
9641 rm -f core conftest.err conftest.
$ac_objext \
9642 conftest
$ac_exeext conftest.
$ac_ext
9643 LDFLAGS
="$save_LDFLAGS"
9645 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'
9646 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'
9648 archive_cmds_need_lc
='no'
9649 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9650 hardcode_libdir_separator
=:
9652 link_all_deplibs
=yes
9656 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9657 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9659 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9661 hardcode_libdir_flag_spec
='-R$libdir'
9663 hardcode_shlibpath_var
=no
9667 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9669 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9670 hardcode_libdir_separator
=:
9671 hardcode_shlibpath_var
=no
9678 if test -f /usr
/libexec
/ld.so
; then
9680 hardcode_shlibpath_var
=no
9681 hardcode_direct_absolute
=yes
9682 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9683 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9685 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9686 export_dynamic_flag_spec
='${wl}-E'
9689 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9690 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9691 hardcode_libdir_flag_spec
='-R$libdir'
9694 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9695 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9705 hardcode_libdir_flag_spec
='-L$libdir'
9706 hardcode_minus_L
=yes
9707 allow_undefined_flag
=unsupported
9708 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'
9709 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9717 allow_undefined_flag
=' -expect_unresolved \*'
9718 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'
9720 archive_cmds_need_lc
='no'
9721 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9722 hardcode_libdir_separator
=:
9725 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9726 if test "$GCC" = yes; then
9727 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9728 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'
9729 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9731 allow_undefined_flag
=' -expect_unresolved \*'
9732 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'
9733 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~
9734 $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'
9736 # Both c and cxx compiler support -rpath directly
9737 hardcode_libdir_flag_spec
='-rpath $libdir'
9739 archive_cmds_need_lc
='no'
9740 hardcode_libdir_separator
=:
9744 no_undefined_flag
=' -z defs'
9745 if test "$GCC" = yes; then
9747 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$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 -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9751 case `$CC -V 2>&1` in
9754 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9755 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9756 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9760 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9761 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9762 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9766 hardcode_libdir_flag_spec
='-R$libdir'
9767 hardcode_shlibpath_var
=no
9769 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9771 # The compiler driver will combine and reorder linker options,
9772 # but understands `-z linker_flag'. GCC discards it without `$wl',
9773 # but is careful enough not to reorder.
9774 # Supported since Solaris 2.6 (maybe 2.5.1?)
9775 if test "$GCC" = yes; then
9776 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9778 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9782 link_all_deplibs
=yes
9786 if test "x$host_vendor" = xsequent
; then
9787 # Use $CC to link under sequent, because it throws in some extra .o
9788 # files that make .init and .fini sections work.
9789 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9793 hardcode_libdir_flag_spec
='-L$libdir'
9795 hardcode_minus_L
=yes
9796 hardcode_shlibpath_var
=no
9800 case $host_vendor in
9802 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9803 hardcode_direct
=yes # is this really true???
9806 ## LD is ld it makes a PLAMLIB
9807 ## CC just makes a GrossModule.
9808 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9809 reload_cmds
='$CC -r -o $output$reload_objs'
9813 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9817 runpath_var
='LD_RUN_PATH'
9818 hardcode_shlibpath_var
=no
9822 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9823 hardcode_shlibpath_var
=no
9824 export_dynamic_flag_spec
='-Bexport'
9828 if test -d /usr
/nec
; then
9829 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9830 hardcode_shlibpath_var
=no
9831 runpath_var
=LD_RUN_PATH
9832 hardcode_runpath_var
=yes
9837 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9838 no_undefined_flag
='${wl}-z,text'
9839 archive_cmds_need_lc
=no
9840 hardcode_shlibpath_var
=no
9841 runpath_var
='LD_RUN_PATH'
9843 if test "$GCC" = yes; then
9844 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9847 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9852 sysv5
* | sco3.2v5
* | sco5v6
*)
9853 # Note: We can NOT use -z defs as we might desire, because we do not
9854 # link with -lc, and that would cause any symbols used from libc to
9855 # always be unresolved, which means just about no library would
9856 # ever link correctly. If we're not using GNU ld we use -z text
9857 # though, which does catch some bad symbols but isn't as heavy-handed
9859 no_undefined_flag
='${wl}-z,text'
9860 allow_undefined_flag
='${wl}-z,nodefs'
9861 archive_cmds_need_lc
=no
9862 hardcode_shlibpath_var
=no
9863 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9864 hardcode_libdir_separator
=':'
9865 link_all_deplibs
=yes
9866 export_dynamic_flag_spec
='${wl}-Bexport'
9867 runpath_var
='LD_RUN_PATH'
9869 if test "$GCC" = yes; then
9870 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9880 hardcode_libdir_flag_spec
='-L$libdir'
9881 hardcode_shlibpath_var
=no
9889 if test x
$host_vendor = xsni
; then
9891 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9892 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9899 $as_echo "$ld_shlibs" >&6; }
9900 test "$ld_shlibs" = no
&& can_build_shared
=no
9902 with_gnu_ld
=$with_gnu_ld
9919 # Do we need to explicitly link libc?
9921 case "x$archive_cmds_need_lc" in
9923 # Assume -lc should be added
9924 archive_cmds_need_lc
=yes
9926 if test "$enable_shared" = yes && test "$GCC" = yes; then
9927 case $archive_cmds in
9929 # FIXME: we may have to deal with multi-command sequences.
9932 # Test whether the compiler implicitly links with -lc since on some
9933 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9934 # to ld, don't add -lc before -lgcc.
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9936 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9937 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9938 $as_echo_n "(cached) " >&6
9941 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9944 (eval $ac_compile) 2>&5
9946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9947 test $ac_status = 0; } 2>conftest.err
; then
9950 libobjs
=conftest.
$ac_objext
9952 wl
=$lt_prog_compiler_wl
9953 pic_flag
=$lt_prog_compiler_pic
9959 lt_save_allow_undefined_flag
=$allow_undefined_flag
9960 allow_undefined_flag
=
9961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9962 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9965 test $ac_status = 0; }
9967 lt_cv_archive_cmds_need_lc
=no
9969 lt_cv_archive_cmds_need_lc
=yes
9971 allow_undefined_flag
=$lt_save_allow_undefined_flag
9973 cat conftest.err
1>&5
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9979 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9980 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10144 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10146 if test "$GCC" = yes; then
10148 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10149 *) lt_awk_arg
="/^libraries:/" ;;
10152 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10153 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10155 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10156 case $lt_search_path_spec in
10158 # if the path contains ";" then we assume it to be the separator
10159 # otherwise default to the standard path separator (i.e. ":") - it is
10160 # assumed that no part of a normal pathname contains ";" but that should
10161 # okay in the real world where ";" in dirpaths is itself problematic.
10162 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10165 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10168 # Ok, now we have the path, separated by spaces, we can step through it
10169 # and add multilib dir if necessary.
10170 lt_tmp_lt_search_path_spec
=
10171 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10172 for lt_sys_path
in $lt_search_path_spec; do
10173 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10174 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10176 test -d "$lt_sys_path" && \
10177 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10180 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10181 BEGIN {RS=" "; FS="/|\n";} {
10184 for (lt_i = NF; lt_i > 0; lt_i--) {
10185 if ($lt_i != "" && $lt_i != ".") {
10186 if ($lt_i == "..") {
10189 if (lt_count == 0) {
10190 lt_foo="/" $lt_i lt_foo;
10197 if (lt_foo != "") { lt_freq[lt_foo]++; }
10198 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10200 # AWK program above erroneously prepends '/' to C:/dos/paths
10203 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10204 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10206 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10208 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10210 library_names_spec
=
10211 libname_spec
='lib$name'
10215 postuninstall_cmds
=
10219 shlibpath_overrides_runpath
=unknown
10221 dynamic_linker
="$host_os ld.so"
10222 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10223 need_lib_prefix
=unknown
10224 hardcode_into_libs
=no
10226 # when you set need_version to no, make sure it does not cause -set_version
10227 # flags to be left without arguments
10228 need_version
=unknown
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10234 shlibpath_var
=LIBPATH
10236 # AIX 3 has no versioning support, so we append a major version to the name.
10237 soname_spec
='${libname}${release}${shared_ext}$major'
10244 hardcode_into_libs
=yes
10245 if test "$host_cpu" = ia64
; then
10246 # AIX 5 supports IA64
10247 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10248 shlibpath_var
=LD_LIBRARY_PATH
10250 # With GCC up to 2.95.x, collect2 would create an import file
10251 # for dependence libraries. The import file would start with
10252 # the line `#! .'. This would cause the generated library to
10253 # depend on `.', always an invalid library. This was fixed in
10254 # development snapshots of GCC prior to 3.0.
10256 aix4 | aix4.
[01] | aix4.
[01].
*)
10257 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10259 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10262 can_build_shared
=no
10266 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10267 # soname into executable. Probably we can add versioning support to
10268 # collect2, so additional links can be useful in future.
10269 if test "$aix_use_runtimelinking" = yes; then
10270 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10271 # instead of lib<name>.a to let people know that these are not
10272 # typical AIX shared libraries.
10273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10275 # We preserve .a as extension for shared libraries through AIX4.2
10276 # and later when we are not doing run time linking.
10277 library_names_spec
='${libname}${release}.a $libname.a'
10278 soname_spec
='${libname}${release}${shared_ext}$major'
10280 shlibpath_var
=LIBPATH
10287 # Since July 2007 AmigaOS4 officially supports .so libraries.
10288 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10292 library_names_spec
='$libname.ixlibrary $libname.a'
10293 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10294 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'
10300 library_names_spec
='${libname}${shared_ext}'
10301 dynamic_linker
="$host_os ld.so"
10302 shlibpath_var
=LIBRARY_PATH
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 soname_spec
='${libname}${release}${shared_ext}$major'
10310 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10311 shlibpath_var
=LD_LIBRARY_PATH
10312 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10313 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10314 # the default ld.so.conf also contains /usr/contrib/lib and
10315 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10316 # libtool to hard-code these into programs
10319 cygwin
* | mingw
* | pw32
* | cegcc
*)
10320 version_type
=windows
10325 case $GCC,$host_os in
10326 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10327 library_names_spec
='$libname.dll.a'
10328 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10329 postinstall_cmds
='base_file=`basename \${file}`~
10330 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10331 dldir=$destdir/`dirname \$dlpath`~
10332 test -d \$dldir || mkdir -p \$dldir~
10333 $install_prog $dir/$dlname \$dldir/$dlname~
10334 chmod a+x \$dldir/$dlname~
10335 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10336 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10338 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10339 dlpath=$dir/\$dldll~
10341 shlibpath_overrides_runpath
=yes
10345 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10346 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10348 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10351 # MinGW DLLs use traditional 'lib' prefix
10352 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10355 # pw32 DLLs use 'pw' prefix rather than 'lib'
10356 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10362 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10365 dynamic_linker
='Win32 ld.exe'
10366 # FIXME: first we should search . and the directory the executable is in
10370 darwin
* | rhapsody
*)
10371 dynamic_linker
="$host_os dyld"
10372 version_type
=darwin
10375 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10376 soname_spec
='${libname}${release}${major}$shared_ext'
10377 shlibpath_overrides_runpath
=yes
10378 shlibpath_var
=DYLD_LIBRARY_PATH
10379 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10381 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10382 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 shlibpath_var
=LD_LIBRARY_PATH
10394 freebsd
* | dragonfly
*)
10395 # DragonFly does not have aout. When/if they implement a new
10396 # versioning mechanism, adjust this.
10397 if test -x /usr
/bin
/objformat
; then
10398 objformat
=`/usr/bin/objformat`
10401 freebsd
[23].
*) objformat
=aout
;;
10402 *) objformat
=elf
;;
10405 version_type
=freebsd-
$objformat
10406 case $version_type in
10408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10413 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10417 shlibpath_var
=LD_LIBRARY_PATH
10420 shlibpath_overrides_runpath
=yes
10422 freebsd3.
[01]* | freebsdelf3.
[01]*)
10423 shlibpath_overrides_runpath
=yes
10424 hardcode_into_libs
=yes
10426 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10427 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10428 shlibpath_overrides_runpath
=no
10429 hardcode_into_libs
=yes
10431 *) # from 4.6 on, and DragonFly
10432 shlibpath_overrides_runpath
=yes
10433 hardcode_into_libs
=yes
10442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10443 soname_spec
='${libname}${release}${shared_ext}$major'
10444 shlibpath_var
=LD_LIBRARY_PATH
10445 hardcode_into_libs
=yes
10452 dynamic_linker
="$host_os runtime_loader"
10453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10454 soname_spec
='${libname}${release}${shared_ext}$major'
10455 shlibpath_var
=LIBRARY_PATH
10456 shlibpath_overrides_runpath
=yes
10457 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10458 hardcode_into_libs
=yes
10461 hpux9
* | hpux10
* | hpux11
*)
10462 # Give a soname corresponding to the major version so that dld.sl refuses to
10463 # link against other versions.
10470 hardcode_into_libs
=yes
10471 dynamic_linker
="$host_os dld.so"
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10475 soname_spec
='${libname}${release}${shared_ext}$major'
10476 if test "X$HPUX_IA64_MODE" = X32
; then
10477 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10479 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10481 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10485 hardcode_into_libs
=yes
10486 dynamic_linker
="$host_os dld.sl"
10487 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10488 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490 soname_spec
='${libname}${release}${shared_ext}$major'
10491 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10492 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10496 dynamic_linker
="$host_os dld.sl"
10497 shlibpath_var
=SHLIB_PATH
10498 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10500 soname_spec
='${libname}${release}${shared_ext}$major'
10503 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10504 postinstall_cmds
='chmod 555 $lib'
10505 # or fails outright, so override atomically:
10506 install_override_mode
=555
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10514 soname_spec
='${libname}${release}${shared_ext}$major'
10515 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10516 shlibpath_var
=LD_LIBRARY_PATH
10517 shlibpath_overrides_runpath
=no
10518 hardcode_into_libs
=yes
10521 irix5
* | irix6
* | nonstopux
*)
10523 nonstopux
*) version_type
=nonstopux
;;
10525 if test "$lt_cv_prog_gnu_ld" = yes; then
10533 soname_spec
='${libname}${release}${shared_ext}$major'
10534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10536 irix5
* | nonstopux
*)
10537 libsuff
= shlibsuff
=
10540 case $LD in # libtool.m4 will add one of these switches to LD
10541 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10542 libsuff
= shlibsuff
= libmagic
=32-bit;;
10543 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10544 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10545 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10546 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10547 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10551 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10552 shlibpath_overrides_runpath
=no
10553 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10554 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10555 hardcode_into_libs
=yes
10558 # No shared lib support for Linux oldld, aout, or coff.
10559 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10563 # This must be Linux ELF.
10564 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec
='${libname}${release}${shared_ext}$major'
10570 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10571 shlibpath_var
=LD_LIBRARY_PATH
10572 shlibpath_overrides_runpath
=no
10574 # Some binutils ld are patched to set DT_RUNPATH
10575 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10576 $as_echo_n "(cached) " >&6
10578 lt_cv_shlibpath_overrides_runpath
=no
10579 save_LDFLAGS
=$LDFLAGS
10580 save_libdir
=$libdir
10581 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10582 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10594 if ac_fn_c_try_link
"$LINENO"; then :
10595 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10596 lt_cv_shlibpath_overrides_runpath
=yes
10599 rm -f core conftest.err conftest.
$ac_objext \
10600 conftest
$ac_exeext conftest.
$ac_ext
10601 LDFLAGS
=$save_LDFLAGS
10602 libdir
=$save_libdir
10606 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10608 # This implies no fast_install, which is unacceptable.
10609 # Some rework will be needed to allow for fast_install
10610 # before this can be enabled.
10611 hardcode_into_libs
=yes
10613 # Append ld.so.conf contents to the search path
10614 if test -f /etc
/ld.so.conf
; then
10615 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' ' '`
10616 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10619 # We used to test for /lib/ld.so.1 and disable shared libraries on
10620 # powerpc, because MkLinux only supported shared libraries with the
10621 # GNU dynamic linker. Since this was broken with cross compilers,
10622 # most powerpc-linux boxes support dynamic linking these days and
10623 # people can always --disable-shared, the test was removed, and we
10624 # assume the GNU/Linux dynamic linker is in use.
10625 dynamic_linker
='GNU/Linux ld.so'
10632 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10634 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10635 dynamic_linker
='NetBSD (a.out) ld.so'
10637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 dynamic_linker
='NetBSD ld.elf_so'
10641 shlibpath_var
=LD_LIBRARY_PATH
10642 shlibpath_overrides_runpath
=yes
10643 hardcode_into_libs
=yes
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 shlibpath_var
=LD_LIBRARY_PATH
10650 shlibpath_overrides_runpath
=yes
10657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658 soname_spec
='${libname}${release}${shared_ext}$major'
10659 shlibpath_var
=LD_LIBRARY_PATH
10660 shlibpath_overrides_runpath
=no
10661 hardcode_into_libs
=yes
10662 dynamic_linker
='ldqnx.so'
10667 sys_lib_dlsearch_path_spec
="/usr/lib"
10669 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10671 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10672 *) need_version
=no
;;
10674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10675 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10676 shlibpath_var
=LD_LIBRARY_PATH
10677 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10679 openbsd2.
[89] | openbsd2.
[89].
*)
10680 shlibpath_overrides_runpath
=no
10683 shlibpath_overrides_runpath
=yes
10687 shlibpath_overrides_runpath
=yes
10692 libname_spec
='$name'
10695 library_names_spec
='$libname${shared_ext} $libname.a'
10696 dynamic_linker
='OS/2 ld.exe'
10697 shlibpath_var
=LIBPATH
10700 osf3
* | osf4
* | osf5
*)
10704 soname_spec
='${libname}${release}${shared_ext}$major'
10705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706 shlibpath_var
=LD_LIBRARY_PATH
10707 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10708 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec
='${libname}${release}${shared_ext}$major'
10721 shlibpath_var
=LD_LIBRARY_PATH
10722 shlibpath_overrides_runpath
=yes
10723 hardcode_into_libs
=yes
10724 # ldd complains unless libraries are executable
10725 postinstall_cmds
='chmod +x $lib'
10730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10731 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10732 shlibpath_var
=LD_LIBRARY_PATH
10733 shlibpath_overrides_runpath
=yes
10734 if test "$with_gnu_ld" = yes; then
10742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743 soname_spec
='${libname}${release}${shared_ext}$major'
10744 shlibpath_var
=LD_LIBRARY_PATH
10745 case $host_vendor in
10747 shlibpath_overrides_runpath
=no
10749 runpath_var
=LD_RUN_PATH
10757 shlibpath_overrides_runpath
=no
10758 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10764 if test -d /usr
/nec
;then
10766 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10767 soname_spec
='$libname${shared_ext}.$major'
10768 shlibpath_var
=LD_LIBRARY_PATH
10772 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10773 version_type
=freebsd-elf
10776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10777 soname_spec
='${libname}${release}${shared_ext}$major'
10778 shlibpath_var
=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath
=yes
10780 hardcode_into_libs
=yes
10781 if test "$with_gnu_ld" = yes; then
10782 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10784 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10787 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10791 sys_lib_dlsearch_path_spec
='/usr/lib'
10795 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800 shlibpath_var
=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath
=no
10802 hardcode_into_libs
=yes
10807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808 soname_spec
='${libname}${release}${shared_ext}$major'
10809 shlibpath_var
=LD_LIBRARY_PATH
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10817 $as_echo "$dynamic_linker" >&6; }
10818 test "$dynamic_linker" = no
&& can_build_shared
=no
10820 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10821 if test "$GCC" = yes; then
10822 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10825 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10826 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10828 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10829 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10924 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10926 if test -n "$hardcode_libdir_flag_spec" ||
10927 test -n "$runpath_var" ||
10928 test "X$hardcode_automatic" = "Xyes" ; then
10930 # We can hardcode non-existent directories.
10931 if test "$hardcode_direct" != no
&&
10932 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10933 # have to relink, otherwise we might link with an installed library
10934 # when we should be linking with a yet-to-be-installed one
10935 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10936 test "$hardcode_minus_L" != no
; then
10937 # Linking always hardcodes the temporary library directory.
10938 hardcode_action
=relink
10940 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10941 hardcode_action
=immediate
10944 # We cannot hardcode anything, or else we can only hardcode existing
10946 hardcode_action
=unsupported
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10949 $as_echo "$hardcode_action" >&6; }
10951 if test "$hardcode_action" = relink ||
10952 test "$inherit_rpath" = yes; then
10953 # Fast installation is not supported
10954 enable_fast_install
=no
10955 elif test "$shlibpath_overrides_runpath" = yes ||
10956 test "$enable_shared" = no
; then
10957 # Fast installation is not necessary
10958 enable_fast_install
=needless
10966 if test "x$enable_dlopen" != xyes
; then
10967 enable_dlopen
=unknown
10968 enable_dlopen_self
=unknown
10969 enable_dlopen_self_static
=unknown
10976 lt_cv_dlopen
="load_add_on"
10978 lt_cv_dlopen_self
=yes
10981 mingw
* | pw32
* | cegcc
*)
10982 lt_cv_dlopen
="LoadLibrary"
10987 lt_cv_dlopen
="dlopen"
10992 # if libdl is installed we need to link against it
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10994 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10995 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10996 $as_echo_n "(cached) " >&6
10998 ac_check_lib_save_LIBS
=$LIBS
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11018 if ac_fn_c_try_link
"$LINENO"; then :
11019 ac_cv_lib_dl_dlopen
=yes
11021 ac_cv_lib_dl_dlopen
=no
11023 rm -f core conftest.err conftest.
$ac_objext \
11024 conftest
$ac_exeext conftest.
$ac_ext
11025 LIBS
=$ac_check_lib_save_LIBS
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11028 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11029 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11030 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11033 lt_cv_dlopen
="dyld"
11035 lt_cv_dlopen_self
=yes
11042 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11043 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11044 lt_cv_dlopen
="shl_load"
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11047 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11048 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11049 $as_echo_n "(cached) " >&6
11051 ac_check_lib_save_LIBS
=$LIBS
11053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11066 return shl_load ();
11071 if ac_fn_c_try_link
"$LINENO"; then :
11072 ac_cv_lib_dld_shl_load
=yes
11074 ac_cv_lib_dld_shl_load
=no
11076 rm -f core conftest.err conftest.
$ac_objext \
11077 conftest
$ac_exeext conftest.
$ac_ext
11078 LIBS
=$ac_check_lib_save_LIBS
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11081 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11082 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11083 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11085 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11086 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11087 lt_cv_dlopen
="dlopen"
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11090 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11091 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11092 $as_echo_n "(cached) " >&6
11094 ac_check_lib_save_LIBS
=$LIBS
11096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11114 if ac_fn_c_try_link
"$LINENO"; then :
11115 ac_cv_lib_dl_dlopen
=yes
11117 ac_cv_lib_dl_dlopen
=no
11119 rm -f core conftest.err conftest.
$ac_objext \
11120 conftest
$ac_exeext conftest.
$ac_ext
11121 LIBS
=$ac_check_lib_save_LIBS
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11124 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11125 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11126 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11129 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11130 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11131 $as_echo_n "(cached) " >&6
11133 ac_check_lib_save_LIBS
=$LIBS
11134 LIBS
="-lsvld $LIBS"
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11153 if ac_fn_c_try_link
"$LINENO"; then :
11154 ac_cv_lib_svld_dlopen
=yes
11156 ac_cv_lib_svld_dlopen
=no
11158 rm -f core conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LIBS
=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11163 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11164 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11165 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11168 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11169 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11170 $as_echo_n "(cached) " >&6
11172 ac_check_lib_save_LIBS
=$LIBS
11174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11187 return dld_link ();
11192 if ac_fn_c_try_link
"$LINENO"; then :
11193 ac_cv_lib_dld_dld_link
=yes
11195 ac_cv_lib_dld_dld_link
=no
11197 rm -f core conftest.err conftest.
$ac_objext \
11198 conftest
$ac_exeext conftest.
$ac_ext
11199 LIBS
=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11202 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11203 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11204 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11225 if test "x$lt_cv_dlopen" != xno
; then
11231 case $lt_cv_dlopen in
11233 save_CPPFLAGS
="$CPPFLAGS"
11234 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11236 save_LDFLAGS
="$LDFLAGS"
11237 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11240 LIBS
="$lt_cv_dlopen_libs $LIBS"
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11243 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11244 if test "${lt_cv_dlopen_self+set}" = set; then :
11245 $as_echo_n "(cached) " >&6
11247 if test "$cross_compiling" = yes; then :
11248 lt_cv_dlopen_self
=cross
11250 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11251 lt_status
=$lt_dlunknown
11252 cat > conftest.
$ac_ext <<_LT_EOF
11253 #line 11253 "configure"
11254 #include "confdefs.h"
11263 # define LT_DLGLOBAL RTLD_GLOBAL
11266 # define LT_DLGLOBAL DL_GLOBAL
11268 # define LT_DLGLOBAL 0
11272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11273 find out it does not work in some platform. */
11274 #ifndef LT_DLLAZY_OR_NOW
11276 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11279 # define LT_DLLAZY_OR_NOW DL_LAZY
11282 # define LT_DLLAZY_OR_NOW RTLD_NOW
11285 # define LT_DLLAZY_OR_NOW DL_NOW
11287 # define LT_DLLAZY_OR_NOW 0
11294 /* When -fvisbility=hidden is used, assume the code has been annotated
11295 correspondingly for the symbols needed. */
11296 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11297 void fnord () __attribute__((visibility("default")));
11300 void fnord () { int i=42; }
11303 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11304 int status = $lt_dlunknown;
11308 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11311 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11312 else puts (dlerror ());
11314 /* dlclose (self); */
11322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11323 (eval $ac_link) 2>&5
11325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11326 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11327 (.
/conftest
; exit; ) >&5 2>/dev
/null
11329 case x
$lt_status in
11330 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11331 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11332 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11335 # compilation failed
11336 lt_cv_dlopen_self
=no
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11344 $as_echo "$lt_cv_dlopen_self" >&6; }
11346 if test "x$lt_cv_dlopen_self" = xyes
; then
11347 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11349 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11350 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11351 $as_echo_n "(cached) " >&6
11353 if test "$cross_compiling" = yes; then :
11354 lt_cv_dlopen_self_static
=cross
11356 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11357 lt_status
=$lt_dlunknown
11358 cat > conftest.
$ac_ext <<_LT_EOF
11359 #line 11359 "configure"
11360 #include "confdefs.h"
11369 # define LT_DLGLOBAL RTLD_GLOBAL
11372 # define LT_DLGLOBAL DL_GLOBAL
11374 # define LT_DLGLOBAL 0
11378 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11379 find out it does not work in some platform. */
11380 #ifndef LT_DLLAZY_OR_NOW
11382 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11385 # define LT_DLLAZY_OR_NOW DL_LAZY
11388 # define LT_DLLAZY_OR_NOW RTLD_NOW
11391 # define LT_DLLAZY_OR_NOW DL_NOW
11393 # define LT_DLLAZY_OR_NOW 0
11400 /* When -fvisbility=hidden is used, assume the code has been annotated
11401 correspondingly for the symbols needed. */
11402 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11403 void fnord () __attribute__((visibility("default")));
11406 void fnord () { int i=42; }
11409 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11410 int status = $lt_dlunknown;
11414 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11417 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11418 else puts (dlerror ());
11420 /* dlclose (self); */
11428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11429 (eval $ac_link) 2>&5
11431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11432 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11433 (.
/conftest
; exit; ) >&5 2>/dev
/null
11435 case x
$lt_status in
11436 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11437 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11438 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11441 # compilation failed
11442 lt_cv_dlopen_self_static
=no
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11450 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11453 CPPFLAGS
="$save_CPPFLAGS"
11454 LDFLAGS
="$save_LDFLAGS"
11459 case $lt_cv_dlopen_self in
11460 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11461 *) enable_dlopen_self
=unknown
;;
11464 case $lt_cv_dlopen_self_static in
11465 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11466 *) enable_dlopen_self_static
=unknown
;;
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11489 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11490 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11491 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11492 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11494 $as_echo "yes" >&6; }
11496 # FIXME - insert some real tests, host_os isn't really good enough
11499 if test -n "$STRIP" ; then
11500 striplib
="$STRIP -x"
11501 old_striplib
="$STRIP -S"
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11503 $as_echo "yes" >&6; }
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11506 $as_echo "no" >&6; }
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11511 $as_echo "no" >&6; }
11527 # Report which library types will actually be built
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11529 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11531 $as_echo "$can_build_shared" >&6; }
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11534 $as_echo_n "checking whether to build shared libraries... " >&6; }
11535 test "$can_build_shared" = "no" && enable_shared
=no
11537 # On AIX, shared libraries and static libraries use the same namespace, and
11538 # are all built from PIC.
11541 test "$enable_shared" = yes && enable_static
=no
11542 if test -n "$RANLIB"; then
11543 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11544 postinstall_cmds
='$RANLIB $lib'
11549 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11550 test "$enable_shared" = yes && enable_static
=no
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11555 $as_echo "$enable_shared" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11558 $as_echo_n "checking whether to build static libraries... " >&6; }
11559 # Make sure either enable_shared or enable_static is yes.
11560 test "$enable_shared" = yes || enable_static
=yes
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11562 $as_echo "$enable_static" >&6; }
11569 ac_cpp
='$CPP $CPPFLAGS'
11570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11588 ac_config_commands
="$ac_config_commands libtool"
11593 # Only expand once:
11599 XCFLAGS
="-Wall -Wextra"
11602 if test "${multilib}" = "yes"; then
11603 multilib_arg
="--enable-multilib"
11608 ac_config_files
="$ac_config_files Makefile libmpx.spec"
11610 ac_config_headers
="$ac_config_headers config.h"
11612 ac_config_files
="$ac_config_files mpxrt/Makefile mpxwrap/Makefile"
11615 cat >confcache
<<\_ACEOF
11616 # This file is a shell script that caches the results of configure
11617 # tests run on this system so they can be shared between configure
11618 # scripts and configure runs, see configure's option --config-cache.
11619 # It is not useful on other systems. If it contains results you don't
11620 # want to keep, you may remove or edit it.
11622 # config.status only pays attention to the cache file if you give it
11623 # the --recheck option to rerun configure.
11625 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11626 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11627 # following values.
11631 # The following way of writing the cache mishandles newlines in values,
11632 # but we know of no workaround that is simple, portable, and efficient.
11633 # So, we kill variables containing newlines.
11634 # Ultrix sh set writes to stderr and can't be redirected directly,
11635 # and sets the high bit in the cache file unless we assign to the vars.
11637 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11638 eval ac_val
=\$
$ac_var
11642 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11646 _ | IFS | as_nl
) ;; #(
11647 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11648 *) { eval $ac_var=; unset $ac_var;} ;;
11654 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11655 *${as_nl}ac_space
=\
*)
11656 # `set' does not quote correctly, so add quotes: double-quote
11657 # substitution turns \\\\ into \\, and sed turns \\ into \.
11660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11663 # `set' quotes correctly as required by POSIX, so do not add quotes.
11664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11677 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11678 if test -w "$cache_file"; then
11679 test "x$cache_file" != "x/dev/null" &&
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11681 $as_echo "$as_me: updating cache $cache_file" >&6;}
11682 cat confcache
>$cache_file
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11685 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11690 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11691 # Let make expand exec_prefix.
11692 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11694 DEFS
=-DHAVE_CONFIG_H
11698 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11699 # 1. Remove the extension, and $U if already installed.
11700 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11701 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11702 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11703 # will be set to the directory where LIBOBJS objects are built.
11704 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11705 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11707 LIBOBJS
=$ac_libobjs
11709 LTLIBOBJS
=$ac_ltlibobjs
11712 if test -z "${LIBMPX_SUPPORTED_TRUE}" && test -z "${LIBMPX_SUPPORTED_FALSE}"; then
11713 as_fn_error
"conditional \"LIBMPX_SUPPORTED\" was never defined.
11714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11716 if test -n "$EXEEXT"; then
11718 am__EXEEXT_FALSE
='#'
11720 am__EXEEXT_TRUE
='#'
11724 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11725 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11728 if test -z "${MPX_AS_SUPPORTED_TRUE}" && test -z "${MPX_AS_SUPPORTED_FALSE}"; then
11729 as_fn_error
"conditional \"MPX_AS_SUPPORTED\" was never defined.
11730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11733 : ${CONFIG_STATUS=./config.status}
11735 ac_clean_files_save
=$ac_clean_files
11736 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11738 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11740 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11742 # Generated by $as_me.
11743 # Run this file to recreate the current configuration.
11744 # Compiler output produced by configure, useful for debugging
11745 # configure, is in config.log if it exists.
11748 ac_cs_recheck=false
11751 SHELL=\${CONFIG_SHELL-$SHELL}
11754 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11755 ## -------------------- ##
11756 ## M4sh Initialization. ##
11757 ## -------------------- ##
11759 # Be more Bourne compatible
11760 DUALCASE
=1; export DUALCASE
# for MKS sh
11761 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11764 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11765 # is contrary to our usage. Disable this feature.
11766 alias -g '${1+"$@"}'='"$@"'
11767 setopt NO_GLOB_SUBST
11769 case `(set -o) 2>/dev/null` in #(
11781 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11782 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11783 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11784 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11785 # Prefer a ksh shell builtin over an external printf program on Solaris,
11786 # but without wasting forks for bash or zsh.
11787 if test -z "$BASH_VERSION$ZSH_VERSION" \
11788 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11789 as_echo='print
-r --'
11790 as_echo_n='print
-rn --'
11791 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11792 as_echo='printf %s
\n'
11793 as_echo_n='printf %s
'
11795 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11796 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11797 as_echo_n='/usr
/ucb
/echo -n'
11799 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11800 as_echo_n_body='eval
11804 expr "X$arg" : "X\\(.*\\)$as_nl";
11805 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11807 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11809 export as_echo_n_body
11810 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11812 export as_echo_body
11813 as_echo='sh
-c $as_echo_body as_echo
'
11816 # The user is always right.
11817 if test "${PATH_SEPARATOR+set}" != set; then
11819 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11820 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11827 # We need space, tab and new line, in precisely that order. Quoting is
11828 # there to prevent editors from complaining about space-tab.
11829 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11830 # splitting by setting IFS to empty value.)
11833 # Find who we are. Look in the path if we contain no directory separator.
11835 *[\\/]* ) as_myself=$0 ;;
11836 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837 for as_dir in $PATH
11840 test -z "$as_dir" && as_dir=.
11841 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11847 # We did not find ourselves, most probably we were run as `sh COMMAND'
11848 # in which case we are not to be found in the path.
11849 if test "x$as_myself" = x
; then
11852 if test ! -f "$as_myself"; then
11853 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11857 # Unset variables that we do not need and which cause bugs (e.g. in
11858 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11859 # suppresses any "Segmentation fault" message there. '((' could
11860 # trigger a bug in pdksh 5.2.14.
11861 for as_var
in BASH_ENV ENV MAIL MAILPATH
11862 do eval test x\
${$as_var+set} = xset \
11863 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11876 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11879 # as_fn_error ERROR [LINENO LOG_FD]
11880 # ---------------------------------
11881 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11882 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11883 # script with status $?, using 1 if that was 0.
11886 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11888 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11889 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11891 $as_echo "$as_me: error: $1" >&2
11892 as_fn_exit
$as_status
11896 # as_fn_set_status STATUS
11897 # -----------------------
11898 # Set $? to STATUS, without forking.
11899 as_fn_set_status
()
11902 } # as_fn_set_status
11904 # as_fn_exit STATUS
11905 # -----------------
11906 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11910 as_fn_set_status
$1
11916 # Portably unset VAR.
11919 { eval $1=; unset $1;}
11921 as_unset
=as_fn_unset
11922 # as_fn_append VAR VALUE
11923 # ----------------------
11924 # Append the text in VALUE to the end of the definition contained in VAR. Take
11925 # advantage of any shell optimizations that allow amortized linear growth over
11926 # repeated appends, instead of the typical quadratic growth present in naive
11928 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11929 eval 'as_fn_append ()
11940 # as_fn_arith ARG...
11941 # ------------------
11942 # Perform arithmetic evaluation on the ARGs, and store the result in the
11943 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11944 # must be portable across $(()) and expr.
11945 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11946 eval 'as_fn_arith ()
11953 as_val
=`expr "$@" || test $? -eq 1`
11958 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11959 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11965 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11966 as_basename
=basename
11971 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11977 as_me
=`$as_basename -- "$0" ||
11978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11979 X"$0" : 'X\(//\)$' \| \
11980 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11982 sed '/^.*\/\([^/][^/]*\)\/*$/{
11996 # Avoid depending upon Character Ranges.
11997 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11998 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11999 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12000 as_cr_digits
='0123456789'
12001 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12003 ECHO_C
= ECHO_N
= ECHO_T
=
12004 case `echo -n x` in #(((((
12006 case `echo 'xy\c'` in
12007 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12009 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12016 rm -f conf$$ conf$$.exe conf$$.
file
12017 if test -d conf$$.dir
; then
12018 rm -f conf$$.dir
/conf$$.
file
12021 mkdir conf$$.dir
2>/dev
/null
12023 if (echo >conf$$.
file) 2>/dev
/null
; then
12024 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12026 # ... but there are two gotchas:
12027 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12028 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12029 # In both cases, we have to default to `cp -p'.
12030 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12032 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12040 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12041 rmdir conf$$.dir
2>/dev
/null
12046 # Create "$as_dir" as a directory, including parents if necessary.
12051 -*) as_dir
=.
/$as_dir;;
12053 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12057 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12058 *) as_qdir
=$as_dir;;
12060 as_dirs
="'$as_qdir' $as_dirs"
12061 as_dir
=`$as_dirname -- "$as_dir" ||
12062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12063 X"$as_dir" : 'X\(//\)[^/]' \| \
12064 X"$as_dir" : 'X\(//\)$' \| \
12065 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12066 $as_echo X"$as_dir" |
12067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12071 /^X\(\/\/\)[^/].*/{
12084 test -d "$as_dir" && break
12086 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12087 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12091 if mkdir
-p .
2>/dev
/null
; then
12092 as_mkdir_p
='mkdir -p "$as_dir"'
12094 test -d .
/-p && rmdir .
/-p
12098 if test -x / >/dev
/null
2>&1; then
12099 as_test_x
='test -x'
12101 if ls -dL / >/dev
/null
2>&1; then
12108 if test -d "$1"; then
12114 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12115 ???[sx]*):;;*)false;;esac;fi
12119 as_executable_p
=$as_test_x
12121 # Sed expression to map a string onto a valid CPP name.
12122 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12124 # Sed expression to map a string onto a valid variable name.
12125 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12129 ## ----------------------------------- ##
12130 ## Main body of $CONFIG_STATUS script. ##
12131 ## ----------------------------------- ##
12133 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12136 # Save the log message, to keep $0 and so on meaningful, and to
12137 # report actual input values of CONFIG_FILES etc. instead of their
12138 # values after options handling.
12140 This file was extended by package-unused $as_me version-unused, which was
12141 generated by GNU Autoconf 2.64. Invocation command line was
12143 CONFIG_FILES = $CONFIG_FILES
12144 CONFIG_HEADERS = $CONFIG_HEADERS
12145 CONFIG_LINKS = $CONFIG_LINKS
12146 CONFIG_COMMANDS = $CONFIG_COMMANDS
12149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12154 case $ac_config_files in *"
12155 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12158 case $ac_config_headers in *"
12159 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12164 # Files that config.status was made for.
12165 config_files="$ac_config_files"
12166 config_headers="$ac_config_headers"
12167 config_commands="$ac_config_commands"
12171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12173 \`$as_me' instantiates files and other configuration actions
12174 from templates according to the current configuration. Unless the files
12175 and actions are specified as TAGs, all are instantiated by default.
12177 Usage: $0 [OPTION]... [TAG]...
12179 -h, --help print this help, then exit
12180 -V, --version print version number and configuration settings, then exit
12181 -q, --quiet, --silent
12182 do not print progress messages
12183 -d, --debug don't remove temporary files
12184 --recheck update $as_me by reconfiguring in the same conditions
12185 --file=FILE[:TEMPLATE]
12186 instantiate the configuration file FILE
12187 --header=FILE[:TEMPLATE]
12188 instantiate the configuration header FILE
12190 Configuration files:
12193 Configuration headers:
12196 Configuration commands:
12199 Report bugs to <libmpx>."
12202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12204 package-unused config.status version-unused
12205 configured by $0, generated by GNU Autoconf 2.64,
12206 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12208 Copyright (C) 2009 Free Software Foundation, Inc.
12209 This config.status script is free software; the Free Software Foundation
12210 gives unlimited permission to copy, distribute and modify it."
12217 test -n "\$AWK" || AWK=awk
12220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12221 # The default lists apply if the user does not specify any file.
12227 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12228 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12239 # Handling of the options.
12240 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12242 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12243 $as_echo "$ac_cs_version"; exit ;;
12244 --debug |
--debu |
--deb |
--de |
--d |
-d )
12246 --file |
--fil |
--fi |
--f )
12249 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12251 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12252 ac_need_defaults
=false
;;
12253 --header |
--heade |
--head |
--hea )
12256 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12258 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12259 ac_need_defaults
=false
;;
12261 # Conflict between --help and --header
12262 as_fn_error
"ambiguous option: \`$1'
12263 Try \`$0 --help' for more information.";;
12264 --help |
--hel |
-h )
12265 $as_echo "$ac_cs_usage"; exit ;;
12266 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12267 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12270 # This is an error.
12271 -*) as_fn_error
"unrecognized option: \`$1'
12272 Try \`$0 --help' for more information." ;;
12274 *) as_fn_append ac_config_targets
" $1"
12275 ac_need_defaults
=false
;;
12281 ac_configure_extra_args
=
12283 if $ac_cs_silent; then
12285 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12290 if \$ac_cs_recheck; then
12291 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12293 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12294 CONFIG_SHELL='$SHELL'
12295 export CONFIG_SHELL
12300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12304 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12305 ## Running $as_me. ##
12311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12319 with_multisubdir="$with_multisubdir"
12320 with_multisrctop="$with_multisrctop"
12321 with_target_subdir="$with_target_subdir"
12322 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12323 multi_basedir="$multi_basedir"
12324 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12327 GFORTRAN="$GFORTRAN"
12331 # The HP-UX ksh and POSIX shell print the target directory to stdout
12332 # if CDPATH is set.
12333 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12335 sed_quote_subst='$sed_quote_subst'
12336 double_quote_subst='$double_quote_subst'
12337 delay_variable_subst='$delay_variable_subst'
12338 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12339 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12340 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12341 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12342 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12343 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12344 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12345 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12346 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12347 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12348 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12349 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12350 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12351 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12352 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12353 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12354 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12355 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12356 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12357 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12358 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12359 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12360 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12361 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12362 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12363 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12364 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12365 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12366 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12367 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12368 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12369 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12370 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12371 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12372 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12373 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12374 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12375 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12376 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12377 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12378 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12379 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12380 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12381 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12382 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12383 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12384 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12385 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12386 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"`'
12387 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12388 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12389 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12390 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12391 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12392 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12393 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12394 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12395 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12396 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12397 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12398 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12399 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12400 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12401 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12402 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12403 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12404 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12405 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12406 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12407 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12408 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12409 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12410 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12411 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12412 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12413 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12414 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12415 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12416 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12417 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12418 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12419 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12420 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12421 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12422 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12423 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12424 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12425 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12426 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12427 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12428 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12429 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12430 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12431 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12432 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12433 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12434 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12435 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12436 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12437 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12438 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12439 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12440 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12441 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12442 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12443 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12444 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12445 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12446 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12447 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12448 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12449 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12450 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12451 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12452 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12453 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12454 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12455 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12456 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12457 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12460 LTCFLAGS='$LTCFLAGS'
12461 compiler='$compiler_DEFAULT'
12463 # A function that is used when there is no print builtin or printf.
12464 func_fallback_echo ()
12466 eval 'cat <<_LTECHO_EOF
12471 # Quote evaled strings.
12485 deplibs_check_method \
12494 lt_cv_sys_global_symbol_pipe \
12495 lt_cv_sys_global_symbol_to_cdecl \
12496 lt_cv_sys_global_symbol_to_c_name_address \
12497 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12498 lt_prog_compiler_no_builtin_flag \
12499 lt_prog_compiler_wl \
12500 lt_prog_compiler_pic \
12501 lt_prog_compiler_static \
12502 lt_cv_prog_compiler_c_o \
12510 export_dynamic_flag_spec \
12511 whole_archive_flag_spec \
12512 compiler_needs_object \
12514 allow_undefined_flag \
12515 no_undefined_flag \
12516 hardcode_libdir_flag_spec \
12517 hardcode_libdir_flag_spec_ld \
12518 hardcode_libdir_separator \
12523 variables_saved_for_relink \
12525 library_names_spec \
12527 install_override_mode \
12531 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12532 *[\\\\\\\`\\"\\\$]*)
12533 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12536 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12541 # Double-quote double-evaled strings.
12542 for var in reload_cmds \
12543 old_postinstall_cmds \
12544 old_postuninstall_cmds \
12546 extract_expsyms_cmds \
12547 old_archive_from_new_cmds \
12548 old_archive_from_expsyms_cmds \
12550 archive_expsym_cmds \
12552 module_expsym_cmds \
12553 export_symbols_cmds \
12556 postuninstall_cmds \
12558 sys_lib_search_path_spec \
12559 sys_lib_dlsearch_path_spec; do
12560 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12561 *[\\\\\\\`\\"\\\$]*)
12562 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12565 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12570 ac_aux_dir='$ac_aux_dir'
12571 xsi_shell='$xsi_shell'
12572 lt_shell_append='$lt_shell_append'
12574 # See if we are running on zsh, and set the options which allow our
12575 # commands through without removal of \ escapes INIT.
12576 if test -n "\${ZSH_VERSION+set}" ; then
12577 setopt NO_GLOB_SUBST
12583 TIMESTAMP='$TIMESTAMP'
12592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12594 # Handling of arguments.
12595 for ac_config_target
in $ac_config_targets
12597 case $ac_config_target in
12598 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12599 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12600 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12601 "libmpx.spec") CONFIG_FILES
="$CONFIG_FILES libmpx.spec" ;;
12602 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12603 "mpxrt/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxrt/Makefile" ;;
12604 "mpxwrap/Makefile") CONFIG_FILES
="$CONFIG_FILES mpxwrap/Makefile" ;;
12606 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12611 # If the user did not use the arguments to specify the items to instantiate,
12612 # then the envvar interface is used. Set only those that are not.
12613 # We use the long form for the default assignment because of an extremely
12614 # bizarre bug on SunOS 4.1.3.
12615 if $ac_need_defaults; then
12616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12617 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12618 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12621 # Have a temporary directory for convenience. Make it in the build tree
12622 # simply because there is no reason against having it here, and in addition,
12623 # creating and moving files from /tmp can sometimes cause problems.
12624 # Hook for its removal unless debugging.
12625 # Note that there is a small window in which the directory will not be cleaned:
12626 # after its creation but before its name has been assigned to `$tmp'.
12630 trap 'exit_status=$?
12631 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12633 trap 'as_fn_exit 1' 1 2 13 15
12635 # Create a (secure) tmp directory for tmp files.
12638 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12639 test -n "$tmp" && test -d "$tmp"
12642 tmp
=.
/conf$$
-$RANDOM
12643 (umask 077 && mkdir
"$tmp")
12644 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12646 # Set up the scripts for CONFIG_FILES section.
12647 # No need to generate them if there are no CONFIG_FILES.
12648 # This happens for instance with `./config.status config.h'.
12649 if test -n "$CONFIG_FILES"; then
12652 ac_cr
=`echo X | tr X '\015'`
12653 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12654 # But we know of no other shell where ac_cr would be empty at this
12655 # point, so we can use a bashism as a fallback.
12656 if test "x$ac_cr" = x
; then
12657 eval ac_cr
=\$
\'\\r
\'
12659 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12660 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12663 ac_cs_awk_cr
=$ac_cr
12666 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12671 echo "cat >conf$$subs.awk <<_ACEOF" &&
12672 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12674 } >conf$$subs.sh ||
12675 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12676 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12678 for ac_last_try in false false false false false :; do
12679 . ./conf$$subs.sh ||
12680 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12682 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12683 if test $ac_delim_n = $ac_delim_num; then
12685 elif $ac_last_try; then
12686 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12688 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12691 rm -f conf$$subs.sh
12693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12694 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12698 s/^/S["/; s
/!.
*/"]=/
12708 s/\(.\{148\}\).*/\1/
12710 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12715 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12722 s/\(.\{148\}\).*/\1/
12724 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12728 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12733 ' <conf$$subs.awk | sed '
12738 ' >>$CONFIG_STATUS || ac_write_fail=1
12739 rm -f conf$$subs.awk
12740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12742 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12743 for (key in S) S_is_set[key] = 1
12749 nfields = split(line, field, "@
")
12751 len = length(field[1])
12752 for (i = 2; i < nfields; i++) {
12754 keylen = length(key)
12755 if (S_is_set[key]) {
12757 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12758 len += length(value) + length(field[++i])
12769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12770 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12771 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12774 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12775 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12778 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12779 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12780 # trailing colons and then remove the whole line if VPATH becomes empty
12781 # (actually we leave an empty line to preserve line numbers).
12782 if test "x
$srcdir" = x.; then
12783 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12784 s/:*\$(srcdir):*/:/
12785 s/:*\${srcdir}:*/:/
12787 s/^\([^=]*=[ ]*\):*/\1/
12793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12794 fi # test -n "$CONFIG_FILES"
12796 # Set up the scripts for CONFIG_HEADERS section.
12797 # No need to generate them if there are no CONFIG_HEADERS.
12798 # This happens for instance with `./config.status Makefile'.
12799 if test -n "$CONFIG_HEADERS"; then
12800 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12804 # Transform confdefs.h into an awk script `defines.awk', embedded as
12805 # here-document in config.status, that substitutes the proper values into
12806 # config.h.in to produce config.h.
12808 # Create a delimiter string that does not exist in confdefs.h, to ease
12809 # handling of long lines.
12811 for ac_last_try in false false :; do
12812 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12813 if test -z "$ac_t"; then
12815 elif $ac_last_try; then
12816 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12818 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12822 # For the awk script, D is an array of macro values keyed by name,
12823 # likewise P contains macro parameters if any. Preserve backslash
12824 # newline sequences.
12826 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12828 s/.\{148\}/&'"$ac_delim"'/g
12831 s/^[ ]*#[ ]*define[ ][ ]*/ /
12838 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12840 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12845 D["\
1"]=" \
3\\\\\\n
"\\/p
12847 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12852 s/.\{148\}/&'"$ac_delim"'/g
12857 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12860 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12862 ' <confdefs.h | sed '
12863 s/'"$ac_delim"'/"\\\
12864 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12867 for (key in D) D_is_set[key] = 1
12870 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12872 split(line, arg, " ")
12873 if (arg[1] == "#") {
12877 defundef
= substr
(arg
[1], 2)
12880 split(mac1
, mac2
, "(") #)
12882 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12883 if (D_is_set
[macro
]) {
12884 # Preserve the white space surrounding the "#".
12885 print prefix
"define", macro P
[macro
] D
[macro
]
12888 # Replace #undef with comments. This is necessary, for example,
12889 # in the case of _POSIX_SOURCE, which is predefined and required
12890 # on some systems where configure will not decide to define it.
12891 if (defundef
== "undef") {
12892 print
"/*", prefix defundef
, macro
, "*/"
12900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12901 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12902 fi # test -n "$CONFIG_HEADERS"
12905 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12910 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12912 case $ac_mode$ac_tag in
12914 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12915 :[FH
]-) ac_tag
=-:-;;
12916 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12933 -) ac_f
="$tmp/stdin";;
12934 *) # Look for the file first in the build tree, then in the source tree
12935 # (if the path is not absolute). The absolute path cannot be DOS-style,
12936 # because $ac_f cannot contain `:'.
12940 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12942 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12944 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12945 as_fn_append ac_file_inputs
" '$ac_f'"
12948 # Let's still pretend it is `configure' which instantiates (i.e., don't
12949 # use $as_me), people would be surprised to read:
12950 # /* config.h. Generated by config.status. */
12951 configure_input
='Generated from '`
12952 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12954 if test x
"$ac_file" != x-
; then
12955 configure_input
="$ac_file. $configure_input"
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12957 $as_echo "$as_me: creating $ac_file" >&6;}
12959 # Neutralize special characters interpreted by sed in replacement strings.
12960 case $configure_input in #(
12961 *\
&* |
*\|
* |
*\\* )
12962 ac_sed_conf_input
=`$as_echo "$configure_input" |
12963 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12964 *) ac_sed_conf_input
=$configure_input;;
12968 *:-:* |
*:-) cat >"$tmp/stdin" \
12969 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12974 ac_dir
=`$as_dirname -- "$ac_file" ||
12975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12976 X"$ac_file" : 'X\(//\)[^/]' \| \
12977 X"$ac_file" : 'X\(//\)$' \| \
12978 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12979 $as_echo X"$ac_file" |
12980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12984 /^X\(\/\/\)[^/].*/{
12997 as_dir
="$ac_dir"; as_fn_mkdir_p
13001 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13003 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13004 # A ".." for each directory in $ac_dir_suffix.
13005 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13006 case $ac_top_builddir_sub in
13007 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13008 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13011 ac_abs_top_builddir
=$ac_pwd
13012 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13013 # for backward compatibility:
13014 ac_top_builddir
=$ac_top_build_prefix
13017 .
) # We are building in place.
13019 ac_top_srcdir
=$ac_top_builddir_sub
13020 ac_abs_top_srcdir
=$ac_pwd ;;
13021 [\\/]* | ?
:[\\/]* ) # Absolute name.
13022 ac_srcdir
=$srcdir$ac_dir_suffix;
13023 ac_top_srcdir
=$srcdir
13024 ac_abs_top_srcdir
=$srcdir ;;
13025 *) # Relative name.
13026 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13027 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13028 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13030 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13040 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13041 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13043 ac_MKDIR_P
=$MKDIR_P
13045 [\\/$
]* | ?
:[\\/]* ) ;;
13046 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13051 # If the template does not know about datarootdir, expand it.
13052 # FIXME: This hack should be removed a few years after 2.60.
13053 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13064 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13065 *datarootdir
*) ac_datarootdir_seen
=yes;;
13066 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13068 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13071 ac_datarootdir_hack='
13072 s&@datadir@&$datadir&g
13073 s&@docdir@&$docdir&g
13074 s&@infodir@&$infodir&g
13075 s&@localedir@&$localedir&g
13076 s&@mandir@&$mandir&g
13077 s&\\\${datarootdir}&$datarootdir&g' ;;
13081 # Neutralize VPATH when `$srcdir' = `.'.
13082 # Shell code in configure.ac might set extrasub.
13083 # FIXME: do we really want to maintain this feature?
13084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13085 ac_sed_extra="$ac_vpsub
13088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13090 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13091 s|@configure_input@|
$ac_sed_conf_input|
;t t
13092 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13093 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13094 s
&@srcdir@
&$ac_srcdir&;t t
13095 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13096 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13097 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13098 s
&@builddir@
&$ac_builddir&;t t
13099 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13100 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13101 s
&@INSTALL@
&$ac_INSTALL&;t t
13102 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13103 $ac_datarootdir_hack
13105 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13106 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13108 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13109 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13110 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13112 which seems to be undefined. Please make sure it is defined." >&5
13113 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13114 which seems to be undefined. Please make sure it is defined." >&2;}
13118 -) cat "$tmp/out" && rm -f "$tmp/out";;
13119 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13121 || as_fn_error "could not create $ac_file" "$LINENO" 5
13127 if test x"$ac_file" != x-; then
13129 $as_echo "/* $configure_input */" \
13130 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13131 } >"$tmp/config.h" \
13132 || as_fn_error "could not create $ac_file" "$LINENO" 5
13133 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13135 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13138 mv "$tmp/config.h" "$ac_file" \
13139 || as_fn_error "could not create $ac_file" "$LINENO" 5
13142 $as_echo "/* $configure_input */" \
13143 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13144 || as_fn_error "could not create -" "$LINENO" 5
13146 # Compute "$ac_file"'s index
in $config_headers.
13149 for _am_header
in $config_headers :; do
13150 case $_am_header in
13151 $_am_arg |
$_am_arg:* )
13154 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13157 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13158 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13159 X"$_am_arg" : 'X\(//\)[^/]' \| \
13160 X"$_am_arg" : 'X\(//\)$' \| \
13161 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13162 $as_echo X"$_am_arg" |
13163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13167 /^X\(\/\/\)[^/].*/{
13179 s/.*/./; q'`/stamp-h
$_am_stamp_count
13182 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13183 $as_echo "$as_me: executing $ac_file commands" >&6;}
13188 case $ac_file$ac_mode in
13190 # Only add multilib support code if we just rebuilt the top-level
13192 case " $CONFIG_FILES " in
13194 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13199 # See if we are running on zsh, and set the options which allow our
13200 # commands through without removal of \ escapes.
13201 if test -n "${ZSH_VERSION+set}" ; then
13202 setopt NO_GLOB_SUBST
13205 cfgfile
="${ofile}T"
13206 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13209 cat <<_LT_EOF >> "$cfgfile"
13212 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13213 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13215 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13217 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13218 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13219 # Written by Gordon Matzigkeit, 1996
13221 # This file is part of GNU Libtool.
13223 # GNU Libtool is free software; you can redistribute it and/or
13224 # modify it under the terms of the GNU General Public License as
13225 # published by the Free Software Foundation; either version 2 of
13226 # the License, or (at your option) any later version.
13228 # As a special exception to the GNU General Public License,
13229 # if you distribute this file as part of a program or library that
13230 # is built using GNU Libtool, you may include this file under the
13231 # same distribution terms that you use for the rest of that program.
13233 # GNU Libtool is distributed in the hope that it will be useful,
13234 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13235 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13236 # GNU General Public License for more details.
13238 # You should have received a copy of the GNU General Public License
13239 # along with GNU Libtool; see the file COPYING. If not, a copy
13240 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13241 # obtained by writing to the Free Software Foundation, Inc.,
13242 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13245 # The names of the tagged configurations supported by this script.
13248 # ### BEGIN LIBTOOL CONFIG
13250 # Which release of libtool.m4 was used?
13251 macro_version=$macro_version
13252 macro_revision=$macro_revision
13254 # Whether or not to build shared libraries.
13255 build_libtool_libs=$enable_shared
13257 # Whether or not to build static libraries.
13258 build_old_libs=$enable_static
13260 # What type of objects to build.
13263 # Whether or not to optimize for fast installation.
13264 fast_install=$enable_fast_install
13266 # Shell to use when invoking shell scripts.
13269 # An echo program that protects backslashes.
13273 host_alias=$host_alias
13277 # The build system.
13278 build_alias=$build_alias
13282 # A sed program that does not truncate output.
13285 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13286 Xsed="\$SED -e 1s/^X//"
13288 # A grep program that handles long lines.
13294 # A literal string matcher.
13297 # A BSD- or MS-compatible name lister.
13300 # Whether we need soft or hard links.
13303 # What is the maximum length of a command?
13304 max_cmd_len=$max_cmd_len
13306 # Object file suffix (normally "o").
13309 # Executable file suffix (normally "").
13312 # whether the shell understands "unset".
13315 # turn spaces into newlines.
13318 # turn newlines into spaces.
13321 # An object symbol dumper.
13322 OBJDUMP=$lt_OBJDUMP
13324 # Method to check whether dependent libraries are shared objects.
13325 deplibs_check_method=$lt_deplibs_check_method
13327 # Command to use when deplibs_check_method == "file_magic".
13328 file_magic_cmd=$lt_file_magic_cmd
13332 AR_FLAGS=$lt_AR_FLAGS
13334 # A symbol stripping program.
13337 # Commands used to install an old-style archive.
13339 old_postinstall_cmds=$lt_old_postinstall_cmds
13340 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13342 # Whether to use a lock for old archive extraction.
13343 lock_old_archive_extraction=$lock_old_archive_extraction
13348 # LTCC compiler flags.
13349 LTCFLAGS=$lt_CFLAGS
13351 # Take the output of nm and produce a listing of raw symbols and C names.
13352 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13354 # Transform the output of nm in a proper C declaration.
13355 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13357 # Transform the output of nm in a C name address pair.
13358 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13360 # Transform the output of nm in a C name address pair when lib prefix is needed.
13361 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13363 # The name of the directory that contains temporary libtool files.
13366 # Used to examine libraries when file_magic_cmd begins with "file".
13367 MAGIC_CMD=$MAGIC_CMD
13369 # Must we lock files when doing compilation?
13370 need_locks=$lt_need_locks
13372 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13373 DSYMUTIL=$lt_DSYMUTIL
13375 # Tool to change global to local symbols on Mac OS X.
13378 # Tool to manipulate fat objects and archives on Mac OS X.
13381 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13384 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13385 OTOOL64=$lt_OTOOL64
13387 # Old archive suffix (normally "a").
13390 # Shared library suffix (normally ".so").
13391 shrext_cmds=$lt_shrext_cmds
13393 # The commands to extract the exported symbol list from a shared archive.
13394 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13396 # Variables whose values should be saved in libtool wrapper scripts and
13397 # restored at link time.
13398 variables_saved_for_relink=$lt_variables_saved_for_relink
13400 # Do we need the "lib" prefix for modules?
13401 need_lib_prefix=$need_lib_prefix
13403 # Do we need a version for libraries?
13404 need_version=$need_version
13406 # Library versioning type.
13407 version_type=$version_type
13409 # Shared library runtime path variable.
13410 runpath_var=$runpath_var
13412 # Shared library path variable.
13413 shlibpath_var=$shlibpath_var
13415 # Is shlibpath searched before the hard-coded library search path?
13416 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13418 # Format of library name prefix.
13419 libname_spec=$lt_libname_spec
13421 # List of archive names. First name is the real one, the rest are links.
13422 # The last name is the one that the linker finds with -lNAME
13423 library_names_spec=$lt_library_names_spec
13425 # The coded name of the library, if different from the real name.
13426 soname_spec=$lt_soname_spec
13428 # Permission mode override for installation of shared libraries.
13429 install_override_mode=$lt_install_override_mode
13431 # Command to use after installation of a shared archive.
13432 postinstall_cmds=$lt_postinstall_cmds
13434 # Command to use after uninstallation of a shared archive.
13435 postuninstall_cmds=$lt_postuninstall_cmds
13437 # Commands used to finish a libtool library installation in a directory.
13438 finish_cmds=$lt_finish_cmds
13440 # As "finish_cmds", except a single script fragment to be evaled but
13442 finish_eval=$lt_finish_eval
13444 # Whether we should hardcode library paths into libraries.
13445 hardcode_into_libs=$hardcode_into_libs
13447 # Compile-time system search path for libraries.
13448 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13450 # Run-time system search path for libraries.
13451 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13453 # Whether dlopen is supported.
13454 dlopen_support=$enable_dlopen
13456 # Whether dlopen of programs is supported.
13457 dlopen_self=$enable_dlopen_self
13459 # Whether dlopen of statically linked programs is supported.
13460 dlopen_self_static=$enable_dlopen_self_static
13462 # Commands to strip libraries.
13463 old_striplib=$lt_old_striplib
13464 striplib=$lt_striplib
13467 # The linker used to build libraries.
13470 # How to create reloadable object files.
13471 reload_flag=$lt_reload_flag
13472 reload_cmds=$lt_reload_cmds
13474 # Commands used to build an old-style archive.
13475 old_archive_cmds=$lt_old_archive_cmds
13477 # A language specific compiler.
13480 # Is the compiler the GNU compiler?
13483 # Compiler flag to turn off builtin functions.
13484 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13486 # How to pass a linker flag through the compiler.
13487 wl=$lt_lt_prog_compiler_wl
13489 # Additional compiler flags for building library objects.
13490 pic_flag=$lt_lt_prog_compiler_pic
13492 # Compiler flag to prevent dynamic linking.
13493 link_static_flag=$lt_lt_prog_compiler_static
13495 # Does compiler simultaneously support -c and -o options?
13496 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13498 # Whether or not to add -lc for building shared libraries.
13499 build_libtool_need_lc=$archive_cmds_need_lc
13501 # Whether or not to disallow shared libs when runtime libs are static.
13502 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13504 # Compiler flag to allow reflexive dlopens.
13505 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13507 # Compiler flag to generate shared objects directly from archives.
13508 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13510 # Whether the compiler copes with passing no objects directly.
13511 compiler_needs_object=$lt_compiler_needs_object
13513 # Create an old-style archive from a shared archive.
13514 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13516 # Create a temporary old-style archive to link instead of a shared archive.
13517 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13519 # Commands used to build a shared archive.
13520 archive_cmds=$lt_archive_cmds
13521 archive_expsym_cmds=$lt_archive_expsym_cmds
13523 # Commands used to build a loadable module if different from building
13524 # a shared archive.
13525 module_cmds=$lt_module_cmds
13526 module_expsym_cmds=$lt_module_expsym_cmds
13528 # Whether we are building with GNU ld or not.
13529 with_gnu_ld=$lt_with_gnu_ld
13531 # Flag that allows shared libraries with undefined symbols to be built.
13532 allow_undefined_flag=$lt_allow_undefined_flag
13534 # Flag that enforces no undefined symbols.
13535 no_undefined_flag=$lt_no_undefined_flag
13537 # Flag to hardcode \$libdir into a binary during linking.
13538 # This must work even if \$libdir does not exist
13539 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13541 # If ld is used when linking, flag to hardcode \$libdir into a binary
13542 # during linking. This must work even if \$libdir does not exist.
13543 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13545 # Whether we need a single "-rpath" flag with a separated argument.
13546 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13548 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13549 # DIR into the resulting binary.
13550 hardcode_direct=$hardcode_direct
13552 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13553 # DIR into the resulting binary and the resulting library dependency is
13554 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13555 # library is relocated.
13556 hardcode_direct_absolute=$hardcode_direct_absolute
13558 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13559 # into the resulting binary.
13560 hardcode_minus_L=$hardcode_minus_L
13562 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13563 # into the resulting binary.
13564 hardcode_shlibpath_var=$hardcode_shlibpath_var
13566 # Set to "yes" if building a shared library automatically hardcodes DIR
13567 # into the library and all subsequent libraries and executables linked
13569 hardcode_automatic=$hardcode_automatic
13571 # Set to yes if linker adds runtime paths of dependent libraries
13572 # to runtime path list.
13573 inherit_rpath=$inherit_rpath
13575 # Whether libtool must link a program against all its dependency libraries.
13576 link_all_deplibs=$link_all_deplibs
13578 # Fix the shell variable \$srcfile for the compiler.
13579 fix_srcfile_path=$lt_fix_srcfile_path
13581 # Set to "yes" if exported symbols are required.
13582 always_export_symbols=$always_export_symbols
13584 # The commands to list exported symbols.
13585 export_symbols_cmds=$lt_export_symbols_cmds
13587 # Symbols that should not be listed in the preloaded symbols.
13588 exclude_expsyms=$lt_exclude_expsyms
13590 # Symbols that must always be exported.
13591 include_expsyms=$lt_include_expsyms
13593 # Commands necessary for linking programs (against libraries) with templates.
13594 prelink_cmds=$lt_prelink_cmds
13596 # Specify filename containing input files.
13597 file_list_spec=$lt_file_list_spec
13599 # How to hardcode a shared library path into an executable.
13600 hardcode_action=$hardcode_action
13602 # ### END LIBTOOL CONFIG
13608 cat <<\_LT_EOF
>> "$cfgfile"
13609 # AIX sometimes has problems with the GCC collect2 program. For some
13610 # reason, if we set the COLLECT_NAMES environment variable, the problems
13611 # vanish in a puff of smoke.
13612 if test "X${COLLECT_NAMES+set}" != Xset
; then
13614 export COLLECT_NAMES
13621 ltmain
="$ac_aux_dir/ltmain.sh"
13624 # We use sed instead of cat because bash on DJGPP gets confused if
13625 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13626 # text mode, it properly converts lines to CR/LF. This bash problem
13627 # is reportedly fixed, but why not run on old versions too?
13628 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13629 ||
(rm -f "$cfgfile"; exit 1)
13633 cat << \_LT_EOF
>> "$cfgfile"
13635 # func_dirname file append nondir_replacement
13636 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13637 # otherwise set result to NONDIR_REPLACEMENT.
13641 */*) func_dirname_result
="${1%/*}${2}" ;;
13642 * ) func_dirname_result
="${3}" ;;
13646 # func_basename file
13649 func_basename_result
="${1##*/}"
13652 # func_dirname_and_basename file append nondir_replacement
13653 # perform func_basename and func_dirname in a single function
13655 # dirname: Compute the dirname of FILE. If nonempty,
13656 # add APPEND to the result, otherwise set result
13657 # to NONDIR_REPLACEMENT.
13658 # value returned in "$func_dirname_result"
13659 # basename: Compute filename of FILE.
13660 # value retuned in "$func_basename_result"
13661 # Implementation must be kept synchronized with func_dirname
13662 # and func_basename. For efficiency, we do not delegate to
13663 # those functions but instead duplicate the functionality here.
13664 func_dirname_and_basename
()
13667 */*) func_dirname_result
="${1%/*}${2}" ;;
13668 * ) func_dirname_result
="${3}" ;;
13670 func_basename_result
="${1##*/}"
13673 # func_stripname prefix suffix name
13674 # strip PREFIX and SUFFIX off of NAME.
13675 # PREFIX and SUFFIX must not contain globbing or regex special
13676 # characters, hashes, percent signs, but SUFFIX may contain a leading
13677 # dot (in which case that matches only a dot).
13680 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13681 # positional parameters, so assign one to ordinary parameter first.
13682 func_stripname_result
=${3}
13683 func_stripname_result
=${func_stripname_result#"${1}"}
13684 func_stripname_result
=${func_stripname_result%"${2}"}
13690 func_opt_split_opt
=${1%%=*}
13691 func_opt_split_arg
=${1#*=}
13698 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13699 *) func_lo2o_result
=${1} ;;
13703 # func_xform libobj-or-source
13706 func_xform_result
=${1%.*}.lo
13709 # func_arith arithmetic-term...
13712 func_arith_result
=$
(( $
* ))
13716 # STRING may not start with a hyphen.
13719 func_len_result
=${#1}
13724 *) # Bourne compatible functions.
13725 cat << \_LT_EOF
>> "$cfgfile"
13727 # func_dirname file append nondir_replacement
13728 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13729 # otherwise set result to NONDIR_REPLACEMENT.
13732 # Extract subdirectory from the argument.
13733 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13734 if test "X$func_dirname_result" = "X${1}"; then
13735 func_dirname_result
="${3}"
13737 func_dirname_result
="$func_dirname_result${2}"
13741 # func_basename file
13744 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13748 # func_stripname prefix suffix name
13749 # strip PREFIX and SUFFIX off of NAME.
13750 # PREFIX and SUFFIX must not contain globbing or regex special
13751 # characters, hashes, percent signs, but SUFFIX may contain a leading
13752 # dot (in which case that matches only a dot).
13753 # func_strip_suffix prefix name
13757 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13758 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13763 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13764 my_sed_long_arg
='1s/^-[^=]*=//'
13769 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13770 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13776 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13779 # func_xform libobj-or-source
13782 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13785 # func_arith arithmetic-term...
13788 func_arith_result
=`expr "$@"`
13792 # STRING may not start with a hyphen.
13795 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13801 case $lt_shell_append in
13803 cat << \_LT_EOF
>> "$cfgfile"
13805 # func_append var value
13806 # Append VALUE to the end of shell variable VAR.
13814 cat << \_LT_EOF
>> "$cfgfile"
13816 # func_append var value
13817 # Append VALUE to the end of shell variable VAR.
13828 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13829 ||
(rm -f "$cfgfile"; exit 1)
13831 mv -f "$cfgfile" "$ofile" ||
13832 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13836 "mpxrt/Makefile":F
) cat > vpsed$$
<< \_EOF
13837 s
!`test -f '$<' || echo '$(srcdir)/'`!!
13839 sed -f vpsed$$
$ac_file > tmp$$
13842 echo 'MULTISUBDIR =' >> $ac_file
13844 .
${multi_basedir}/config-ml.
in
13845 { ml_norecursion
=; unset ml_norecursion
;}
13847 "mpxwrap/Makefile":F
) cat > vpsed$$
<< \_EOF
13848 s
!`test -f '$<' || echo '$(srcdir)/'`!!
13850 sed -f vpsed$$
$ac_file > tmp$$
13853 echo 'MULTISUBDIR =' >> $ac_file
13855 .
${multi_basedir}/config-ml.
in
13856 { ml_norecursion
=; unset ml_norecursion
;}
13865 ac_clean_files
=$ac_clean_files_save
13867 test $ac_write_fail = 0 ||
13868 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13871 # configure is writing to config.log, and then calls config.status.
13872 # config.status does its own redirection, appending to config.log.
13873 # Unfortunately, on DOS this fails, as config.log is still kept open
13874 # by configure, so config.status won't be able to write to it; its
13875 # output is simply discarded. So we exec the FD to /dev/null,
13876 # effectively closing config.log, so it can be properly (re)opened and
13877 # appended to by config.status. When coming back to configure, we
13878 # need to make the FD available again.
13879 if test "$no_create" != yes; then
13881 ac_config_status_args
=
13882 test "$silent" = yes &&
13883 ac_config_status_args
="$ac_config_status_args --quiet"
13885 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13887 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13888 # would make configure fail if this is the last instruction.
13889 $ac_cs_success || as_fn_exit $?
13891 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13893 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}