2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libgm2'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="Makefile.am"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_unique_file
="Makefile.am"
633 ac_subst_vars
='am__EXEEXT_FALSE
652 ENABLE_DARWIN_AT_RPATH_FALSE
653 ENABLE_DARWIN_AT_RPATH_TRUE
667 am__fastdepCCAS_FALSE
706 INSTALL_STRIP_PROGRAM
727 MAINTAINER_MODE_FALSE
788 program_transform_name
801 enable_option_checking
806 enable_maintainer_mode
807 enable_libstdcxx_time
808 enable_dependency_tracking
811 enable_version_specific_runtime_libs
819 enable_darwin_at_rpath
820 with_gcc_major_version_only
822 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
910 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
913 -build |
--build |
--buil |
--bui |
--bu)
914 ac_prev
=build_alias
;;
915 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
916 build_alias
=$ac_optarg ;;
918 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
919 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
920 ac_prev
=cache_file
;;
921 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
922 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
923 cache_file
=$ac_optarg ;;
926 cache_file
=config.cache
;;
928 -datadir |
--datadir |
--datadi |
--datad)
930 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
931 datadir
=$ac_optarg ;;
933 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
934 |
--dataroo |
--dataro |
--datar)
935 ac_prev
=datarootdir
;;
936 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
937 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
938 datarootdir
=$ac_optarg ;;
940 -disable-* |
--disable-*)
941 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
944 as_fn_error $?
"invalid feature name: $ac_useropt"
945 ac_useropt_orig
=$ac_useropt
946 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep
=', ';;
954 eval enable_
$ac_useropt=no
;;
956 -docdir |
--docdir |
--docdi |
--doc |
--do)
958 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
961 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
963 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
966 -enable-* |
--enable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=\
$ac_optarg ;;
982 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
983 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
984 |
--exec |
--exe |
--ex)
985 ac_prev
=exec_prefix
;;
986 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
987 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
988 |
--exec=* |
--exe=* |
--ex=*)
989 exec_prefix
=$ac_optarg ;;
991 -gas |
--gas |
--ga |
--g)
992 # Obsolete; use --with-gas.
995 -help |
--help |
--hel |
--he |
-h)
997 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
998 ac_init_help
=recursive
;;
999 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1000 ac_init_help
=short
;;
1002 -host |
--host |
--hos |
--ho)
1003 ac_prev
=host_alias
;;
1004 -host=* |
--host=* |
--hos=* |
--ho=*)
1005 host_alias
=$ac_optarg ;;
1007 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1009 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1011 htmldir
=$ac_optarg ;;
1013 -includedir |
--includedir |
--includedi |
--included |
--include \
1014 |
--includ |
--inclu |
--incl |
--inc)
1015 ac_prev
=includedir
;;
1016 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1017 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1018 includedir
=$ac_optarg ;;
1020 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1022 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1023 infodir
=$ac_optarg ;;
1025 -libdir |
--libdir |
--libdi |
--libd)
1027 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1028 libdir
=$ac_optarg ;;
1030 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1031 |
--libexe |
--libex |
--libe)
1032 ac_prev
=libexecdir
;;
1033 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1034 |
--libexe=* |
--libex=* |
--libe=*)
1035 libexecdir
=$ac_optarg ;;
1037 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1038 ac_prev
=localedir
;;
1039 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1040 localedir
=$ac_optarg ;;
1042 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1043 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1044 ac_prev
=localstatedir
;;
1045 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1046 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1047 localstatedir
=$ac_optarg ;;
1049 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1051 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1052 mandir
=$ac_optarg ;;
1054 -nfp |
--nfp |
--nf)
1055 # Obsolete; use --without-fp.
1058 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1059 |
--no-cr |
--no-c |
-n)
1062 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1063 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1066 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1067 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1068 |
--oldin |
--oldi |
--old |
--ol |
--o)
1069 ac_prev
=oldincludedir
;;
1070 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1071 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1072 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1073 oldincludedir
=$ac_optarg ;;
1075 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1077 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1078 prefix
=$ac_optarg ;;
1080 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1081 |
--program-pre |
--program-pr |
--program-p)
1082 ac_prev
=program_prefix
;;
1083 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1084 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1085 program_prefix
=$ac_optarg ;;
1087 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1088 |
--program-suf |
--program-su |
--program-s)
1089 ac_prev
=program_suffix
;;
1090 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1091 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1092 program_suffix
=$ac_optarg ;;
1094 -program-transform-name |
--program-transform-name \
1095 |
--program-transform-nam |
--program-transform-na \
1096 |
--program-transform-n |
--program-transform- \
1097 |
--program-transform |
--program-transfor \
1098 |
--program-transfo |
--program-transf \
1099 |
--program-trans |
--program-tran \
1100 |
--progr-tra |
--program-tr |
--program-t)
1101 ac_prev
=program_transform_name
;;
1102 -program-transform-name=* |
--program-transform-name=* \
1103 |
--program-transform-nam=* |
--program-transform-na=* \
1104 |
--program-transform-n=* |
--program-transform-=* \
1105 |
--program-transform=* |
--program-transfor=* \
1106 |
--program-transfo=* |
--program-transf=* \
1107 |
--program-trans=* |
--program-tran=* \
1108 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1109 program_transform_name
=$ac_optarg ;;
1111 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1113 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1114 pdfdir
=$ac_optarg ;;
1116 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1118 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1122 |
-silent |
--silent |
--silen |
--sile |
--sil)
1125 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1127 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1129 sbindir
=$ac_optarg ;;
1131 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1132 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1133 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1135 ac_prev
=sharedstatedir
;;
1136 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1137 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1138 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1140 sharedstatedir
=$ac_optarg ;;
1142 -site |
--site |
--sit)
1144 -site=* |
--site=* |
--sit=*)
1147 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1149 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1150 srcdir
=$ac_optarg ;;
1152 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1153 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1154 ac_prev
=sysconfdir
;;
1155 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1156 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1157 sysconfdir
=$ac_optarg ;;
1159 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1160 ac_prev
=target_alias
;;
1161 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1162 target_alias
=$ac_optarg ;;
1164 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1167 -version |
--version |
--versio |
--versi |
--vers |
-V)
1168 ac_init_version
=: ;;
1171 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error $?
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=\
$ac_optarg ;;
1186 -without-* |
--without-*)
1187 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=no
;;
1203 # Obsolete; use --with-x.
1206 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1207 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1208 ac_prev
=x_includes
;;
1209 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1210 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1211 x_includes
=$ac_optarg ;;
1213 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1214 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1215 ac_prev
=x_libraries
;;
1216 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1217 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1218 x_libraries
=$ac_optarg ;;
1220 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1229 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\
$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $?
"missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val
=\$
$ac_var
1265 # Remove trailing slashes.
1268 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\
$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$
]* | ?
:[\\/]* ) continue;;
1274 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1276 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target
=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x
; then
1288 if test "x$build_alias" = x
; then
1289 cross_compiling
=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1298 test "$silent" = yes && exec 6>/dev
/null
1301 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di
=`ls -di .` &&
1303 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $?
"working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $?
"pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted
=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir
=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted
=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1345 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var
in $ac_precious_vars; do
1362 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1364 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/libgm2]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1438 --build=BUILD configure
for building on BUILD
[guessed
]
1439 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1440 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1444 if test -n "$ac_init_help"; then
1445 case $ac_init_help in
1446 short | recursive
) echo "Configuration of package-unused version-unused:";;
1451 --disable-option-checking ignore unrecognized
--enable/--with options
1452 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1453 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1454 --enable-multilib build many library versions
(default
)
1455 --enable-maintainer-mode
1456 enable make rules and dependencies not useful
(and
1457 sometimes confusing
) to the casual installer
1458 --enable-libstdcxx-time[=KIND
]
1459 use KIND
for check
type [default
=auto
]
1460 --enable-dependency-tracking
1461 do not reject slow dependency extractors
1462 --disable-dependency-tracking
1463 speeds up one-time build
1464 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1465 --disable-silent-rules verbose build output
(undo
: "make V=0")
1466 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1467 --enable-maintainer-mode
1468 enable make rules and dependencies not useful
(and
1469 sometimes confusing
) to the casual installer
1470 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1471 --enable-static[=PKGS
] build static libraries
[default
=yes]
1472 --enable-fast-install[=PKGS
]
1473 optimize
for fast installation
[default
=yes]
1474 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1475 --enable-darwin-at-rpath
1476 install libraries with @rpath
/library-name
, requires
1477 rpaths to be added to executables
1480 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1481 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1482 --with-target-subdir=SUBDIR
1483 configuring
in a subdirectory
1484 --with-cross-host=HOST configuring with a cross compiler
1485 --with-newlib assume newlib as a system C library
1486 --with-cross-host=HOST Configuring with a cross compiler
1487 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1488 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1489 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-gcc-major-version-only
1493 use only GCC major number
in filesystem paths
1495 Some influential environment variables
:
1496 CC C compiler
command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1499 nonstandard directory
<lib dir
>
1500 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1501 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1502 you have headers
in a nonstandard directory
<include dir
>
1504 CXX C
++ compiler
command
1505 CXXFLAGS C
++ compiler flags
1506 CXXCPP C
++ preprocessor
1507 CCAS assembler compiler
command (defaults to CC
)
1508 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1510 Use these variables to override the choices made by
`configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to the package provider.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 package-unused configure version-unused
1577 generated by GNU Autoconf 2.69
1579 Copyright (C) 2012 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1586 ## ------------------------ ##
1587 ## Autoconf initialization. ##
1588 ## ------------------------ ##
1590 # ac_fn_c_try_compile LINENO
1591 # --------------------------
1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1593 ac_fn_c_try_compile ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext
1597 if { { ac_try="$ac_compile"
1599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1600 *) ac_try_echo
=$ac_try;;
1602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_compile") 2>conftest.err
1606 if test -s conftest.err
; then
1607 grep -v '^ *+' conftest.err
>conftest.er1
1608 cat conftest.er1
>&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest.
$ac_objext; then :
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.
$ac_ext >&5
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status
$ac_retval
1626 } # ac_fn_c_try_compile
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1634 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } > conftest.i && {
1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1665 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1666 # -------------------------------------------------------
1667 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1668 # the include files in INCLUDES and setting the cache variable VAR
1670 ac_fn_c_check_header_mongrel ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if eval \${$3+:} false; then :
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1683 # Is the header compilable?
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1685 $as_echo_n "checking $2 usability... " >&6; }
1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1691 if ac_fn_c_try_compile "$LINENO"; then :
1692 ac_header_compiler=yes
1694 ac_header_compiler=no
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1698 $as_echo "$ac_header_compiler" >&6; }
1700 # Is the header present?
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1702 $as_echo_n "checking $2 presence... " >&6; }
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1707 if ac_fn_c_try_cpp "$LINENO"; then :
1708 ac_header_preproc=yes
1710 ac_header_preproc=no
1712 rm -f conftest.err conftest.i conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1714 $as_echo "$ac_header_preproc" >&6; }
1716 # So? What about this header?
1717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1720 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1726 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1728 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1730 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1732 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \${$3+:} false; then :
1740 $as_echo_n "(cached) " >&6
1742 eval "$3=\$ac_header_compiler"
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 } # ac_fn_c_check_header_mongrel
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_link"
1761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1762 *) ac_try_echo
=$ac_try;;
1764 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>&5
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1770 { { case "(($ac_try" in
1771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_try") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; }; }; then :
1782 $as_echo "$as_me: program exited with status $ac_status" >&5
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786 ac_retval=$ac_status
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists and can be compiled using the include files in
1797 # INCLUDES, setting the cache variable VAR accordingly.
1798 ac_fn_c_check_header_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_header_compile
1825 # ac_fn_cxx_try_compile LINENO
1826 # ----------------------------
1827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_cxx_try_compile ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext
1832 if { { ac_try="$ac_compile"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_compile") 2>conftest.err
1841 if test -s conftest.err
; then
1842 grep -v '^ *+' conftest.err
>conftest.er1
1843 cat conftest.er1
>&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_cxx_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest.
$ac_objext; then :
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status
$ac_retval
1861 } # ac_fn_cxx_try_compile
1863 # ac_fn_cxx_try_cpp LINENO
1864 # ------------------------
1865 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1866 ac_fn_cxx_try_cpp
()
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1878 if test -s conftest.err; then
1879 grep -v '^ *+' conftest.err >conftest.er1
1880 cat conftest.er1 >&5
1881 mv -f conftest.er1 conftest.err
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; } > conftest.i && {
1885 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1886 test ! -s conftest.err
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 as_fn_set_status $ac_retval
1898 } # ac_fn_cxx_try_cpp
1900 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1901 # ---------------------------------------------------------
1902 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1903 # the include files in INCLUDES and setting the cache variable VAR
1905 ac_fn_cxx_check_header_mongrel ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if eval \${$3+:} false; then :
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if eval \${$3+:} false; then :
1912 $as_echo_n "(cached) " >&6
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1918 # Is the header compilable?
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1920 $as_echo_n "checking $2 usability... " >&6; }
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1926 if ac_fn_cxx_try_compile "$LINENO"; then :
1927 ac_header_compiler=yes
1929 ac_header_compiler=no
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1933 $as_echo "$ac_header_compiler" >&6; }
1935 # Is the header present?
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1937 $as_echo_n "checking $2 presence... " >&6; }
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1942 if ac_fn_cxx_try_cpp "$LINENO"; then :
1943 ac_header_preproc=yes
1945 ac_header_preproc=no
1947 rm -f conftest.err conftest.i conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1949 $as_echo "$ac_header_preproc" >&6; }
1951 # So? What about this header?
1952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1955 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1957 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1961 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1963 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1965 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1967 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1969 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1973 $as_echo_n "checking for $2... " >&6; }
1974 if eval \${$3+:} false; then :
1975 $as_echo_n "(cached) " >&6
1977 eval "$3=\$ac_header_compiler"
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 } # ac_fn_cxx_check_header_mongrel
1987 # ac_fn_cxx_try_link LINENO
1988 # -------------------------
1989 # Try to link conftest.$ac_ext, and return whether this succeeded.
1990 ac_fn_cxx_try_link ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 rm -f conftest.$ac_objext conftest$ac_exeext
1994 if { { ac_try="$ac_link"
1996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1997 *) ac_try_echo
=$ac_try;;
1999 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_link") 2>conftest.err
2003 if test -s conftest.err
; then
2004 grep -v '^ *+' conftest.err
>conftest.er1
2005 cat conftest.er1
>&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } && {
2010 test -z "$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2012 } && test -s conftest
$ac_exeext && {
2013 test "$cross_compiling" = yes ||
2014 test -x conftest
$ac_exeext
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.
$ac_ext >&5
2023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2025 # interfere with the next link command; also delete a directory that is
2026 # left behind by Apple's compiler. We do this before executing the actions.
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status
$ac_retval
2031 } # ac_fn_cxx_try_link
2033 # ac_fn_cxx_check_func LINENO FUNC VAR
2034 # ------------------------------------
2035 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2036 ac_fn_cxx_check_func
()
2038 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \
${$3+:} false
; then :
2042 $as_echo_n "(cached) " >&6
2044 if test x
$gcc_no_link = xyes
; then
2045 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2049 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2051 #define $2 innocuous_$2
2053 /* System header to define __stub macros and hopefully few prototypes,
2054 which can conflict with char $2 (); below.
2055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2056 <limits.h> exists even on freestanding compilers. */
2059 # include <limits.h>
2061 # include <assert.h>
2066 /* Override any GCC internal prototype to avoid an error.
2067 Use char because int might match the return type of a GCC
2068 builtin and then its argument prototype would still apply. */
2073 /* The GNU C library defines this for functions which it implements
2074 to always fail with ENOSYS. Some functions are actually named
2075 something starting with __ and the normal name is an alias. */
2076 #if defined __stub_$2 || defined __stub___$2
2088 if ac_fn_cxx_try_link
"$LINENO"; then :
2093 rm -f core conftest.err conftest.
$ac_objext \
2094 conftest
$ac_exeext conftest.
$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2098 $as_echo "$ac_res" >&6; }
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 } # ac_fn_cxx_check_func
2103 # ac_fn_c_try_link LINENO
2104 # -----------------------
2105 # Try to link conftest.$ac_ext, and return whether this succeeded.
2108 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2109 rm -f conftest.
$ac_objext conftest
$ac_exeext
2110 if { { ac_try
="$ac_link"
2112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2116 $as_echo "$ac_try_echo"; } >&5
2117 (eval "$ac_link") 2>conftest.err
2119 if test -s conftest.err; then
2120 grep -v '^ *+' conftest.err >conftest.er1
2121 cat conftest.er1 >&5
2122 mv -f conftest.er1 conftest.err
2124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2125 test $ac_status = 0; } && {
2126 test -z "$ac_c_werror_flag" ||
2127 test ! -s conftest.err
2128 } && test -s conftest$ac_exeext && {
2129 test "$cross_compiling" = yes ||
2130 test -x conftest$ac_exeext
2134 $as_echo "$as_me: failed program was:" >&5
2135 sed 's/^/| /' conftest.$ac_ext >&5
2139 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2140 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2141 # interfere with the next link command; also delete a directory that is
2142 # left behind by Apple's compiler. We do this before executing the actions.
2143 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145 as_fn_set_status $ac_retval
2147 } # ac_fn_c_try_link
2149 # ac_fn_c_check_func LINENO FUNC VAR
2150 # ----------------------------------
2151 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2152 ac_fn_c_check_func ()
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if eval \${$3+:} false; then :
2158 $as_echo_n "(cached) " >&6
2160 if test x$gcc_no_link = xyes; then
2161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2165 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2167 #define $2 innocuous_$2
2169 /* System header to define __stub macros and hopefully few prototypes,
2170 which can conflict with char $2 (); below.
2171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2172 <limits.h> exists even on freestanding compilers. */
2175 # include <limits.h>
2177 # include <assert.h>
2182 /* Override any GCC internal prototype to avoid an error.
2183 Use char because int might match the return type of a GCC
2184 builtin and then its argument prototype would still apply. */
2189 /* The GNU C library defines this for functions which it implements
2190 to always fail with ENOSYS. Some functions are actually named
2191 something starting with __ and the normal name is an alias. */
2192 #if defined __stub_$2 || defined __stub___$2
2204 if ac_fn_c_try_link "$LINENO"; then :
2209 rm -f core conftest.err conftest.$ac_objext \
2210 conftest$ac_exeext conftest.$ac_ext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2214 $as_echo "$ac_res" >&6; }
2215 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2217 } # ac_fn_c_check_func
2219 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2220 # -------------------------------------------
2221 # Tests whether TYPE exists after having included INCLUDES, setting cache
2222 # variable VAR accordingly.
2223 ac_fn_c_check_type ()
2225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if eval \${$3+:} false; then :
2229 $as_echo_n "(cached) " >&6
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2244 if ac_fn_c_try_compile "$LINENO"; then :
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2257 if ac_fn_c_try_compile "$LINENO"; then :
2262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2271 } # ac_fn_c_check_type
2273 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2274 # ---------------------------------------------
2275 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2277 ac_fn_c_check_decl ()
2279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2280 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2281 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2283 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2284 if eval \${$3+:} false; then :
2285 $as_echo_n "(cached) " >&6
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2293 #ifndef $as_decl_name
2295 (void) $as_decl_use;
2297 (void) $as_decl_name;
2305 if ac_fn_c_try_compile "$LINENO"; then :
2310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2314 $as_echo "$ac_res" >&6; }
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317 } # ac_fn_c_check_decl
2318 cat >config.log <<_ACEOF
2319 This file contains any messages produced by compilers while
2320 running configure, to aid debugging if configure makes a mistake.
2322 It was created by package-unused $as_me version-unused, which was
2323 generated by GNU Autoconf 2.69. Invocation command line was
2335 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2336 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2337 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2338 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2339 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2341 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2342 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2344 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2345 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2346 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2347 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2348 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2349 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2350 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir=.
2359 $as_echo "PATH: $as_dir"
2375 # Keep a trace of the command line.
2376 # Strip out --no-create and --no-recursion so they do not pile up.
2377 # Strip out --silent because we don't want to record it for future runs.
2378 # Also quote any args containing shell meta-characters.
2379 # Make two passes to allow for proper duplicate-argument suppression.
2383 ac_must_keep_next=false
2389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2391 | -silent | --silent | --silen | --sile | --sil)
2394 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2397 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2399 as_fn_append ac_configure_args1 " '$ac_arg'"
2400 if test $ac_must_keep_next = true; then
2401 ac_must_keep_next=false # Got value, back to normal.
2404 *=* | --config-cache | -C | -disable-* | --disable-* \
2405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2407 | -with-* | --with-* | -without-* | --without-* | --x)
2408 case "$ac_configure_args0 " in
2409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2412 -* ) ac_must_keep_next=true ;;
2415 as_fn_append ac_configure_args " '$ac_arg'"
2420 { ac_configure_args0=; unset ac_configure_args0;}
2421 { ac_configure_args1=; unset ac_configure_args1;}
2423 # When interrupted or exit'd, cleanup temporary files, and complete
2424 # config.log. We remove comments because anyway the quotes in there
2425 # would cause problems or look ugly.
2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2428 trap 'exit_status=$?
2429 # Save into config.log some information that might help in debugging.
2433 $as_echo "## ---------------- ##
2434 ## Cache variables. ##
2435 ## ---------------- ##"
2437 # The following way of writing the cache mishandles newlines in values,
2439 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2440 eval ac_val=\$$ac_var
2444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2448 _ | IFS | as_nl) ;; #(
2449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2450 *) { eval $ac_var=; unset $ac_var;} ;;
2455 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2456 *${as_nl}ac_space=\ *)
2458 "s/'\''/'\''\\\\'\'''\''/g;
2459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2469 $as_echo "## ----------------- ##
2470 ## Output variables. ##
2471 ## ----------------- ##"
2473 for ac_var in $ac_subst_vars
2475 eval ac_val=\$$ac_var
2477 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2479 $as_echo "$ac_var='\''$ac_val'\''"
2483 if test -n "$ac_subst_files"; then
2484 $as_echo "## ------------------- ##
2485 ## File substitutions. ##
2486 ## ------------------- ##"
2488 for ac_var in $ac_subst_files
2490 eval ac_val=\$$ac_var
2492 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2494 $as_echo "$ac_var='\''$ac_val'\''"
2499 if test -s confdefs.h; then
2500 $as_echo "## ----------- ##
2507 test "$ac_signal" != 0 &&
2508 $as_echo "$as_me: caught signal $ac_signal"
2509 $as_echo "$as_me: exit $exit_status"
2511 rm -f core *.core core.conftest.* &&
2512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2515 for ac_signal in 1 2 13 15; do
2516 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2521 rm -f -r conftest* confdefs.h
2523 $as_echo "/* confdefs.h */" > confdefs.h
2525 # Predefined preprocessor variables.
2527 cat >>confdefs.h <<_ACEOF
2528 #define PACKAGE_NAME "$PACKAGE_NAME"
2531 cat >>confdefs.h <<_ACEOF
2532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2535 cat >>confdefs.h <<_ACEOF
2536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2539 cat >>confdefs.h <<_ACEOF
2540 #define PACKAGE_STRING "$PACKAGE_STRING"
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2547 cat >>confdefs.h <<_ACEOF
2548 #define PACKAGE_URL "$PACKAGE_URL"
2552 # Let the site file select an alternate cache file if it wants to.
2553 # Prefer an explicitly selected file to automatically selected ones.
2556 if test -n "$CONFIG_SITE"; then
2557 # We do not want a PATH search for config.site.
2558 case $CONFIG_SITE in #((
2559 -*) ac_site_file1=./$CONFIG_SITE;;
2560 */*) ac_site_file1=$CONFIG_SITE;;
2561 *) ac_site_file1=./$CONFIG_SITE;;
2563 elif test "x$prefix" != xNONE; then
2564 ac_site_file1=$prefix/share/config.site
2565 ac_site_file2=$prefix/etc/config.site
2567 ac_site_file1=$ac_default_prefix/share/config.site
2568 ac_site_file2=$ac_default_prefix/etc/config.site
2570 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2572 test "x$ac_site_file" = xNONE && continue
2573 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2576 sed 's/^/| /' "$ac_site_file" >&5
2578 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error $? "failed to load site
script $ac_site_file
2581 See \
`config.log' for more details" "$LINENO" 5; }
2585 if test -r "$cache_file"; then
2586 # Some versions of bash will fail to source /dev/null (special files
2587 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2588 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2590 $as_echo "$as_me: loading cache $cache_file" >&6;}
2592 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2593 *) . "./$cache_file";;
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2598 $as_echo "$as_me: creating cache $cache_file" >&6;}
2602 # Check that the precious variables saved in the cache have kept the same
2604 ac_cache_corrupted=false
2605 for ac_var in $ac_precious_vars; do
2606 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2607 eval ac_new_set=\$ac_env_${ac_var}_set
2608 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2609 eval ac_new_val=\$ac_env_${ac_var}_value
2610 case $ac_old_set,$ac_new_set in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2613 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2617 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2618 ac_cache_corrupted=: ;;
2621 if test "x$ac_old_val" != "x$ac_new_val"; then
2622 # differences in whitespace do not lead to failure.
2623 ac_old_val_w=`echo x
$ac_old_val`
2624 ac_new_val_w=`echo x
$ac_new_val`
2625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2628 ac_cache_corrupted=:
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2632 eval $ac_var=\$ac_old_val
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2635 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2640 # Pass precious variables to config.status.
2641 if test "$ac_new_set" = set; then
2643 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2644 *) ac_arg=$ac_var=$ac_new_val ;;
2646 case " $ac_configure_args " in
2647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2648 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2652 if $ac_cache_corrupted; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2657 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2659 ## -------------------- ##
2660 ## Main body of script. ##
2661 ## -------------------- ##
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2674 # AC_CONFIG_MACRO_DIR([config])
2675 ac_config_headers="$ac_config_headers config.h"
2678 libtool_VERSION=19:0:0
2681 # Default to --enable-multilib
2682 # Check whether --enable-multilib was given.
2683 if test "${enable_multilib+set}" = set; then :
2684 enableval=$enable_multilib; case "$enableval" in
2685 yes) multilib=yes ;;
2687 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2694 # We may get other options which we leave undocumented:
2695 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2696 # See config-ml.in if you want the gory details.
2698 if test "$srcdir" = "."; then
2699 if test "$with_target_subdir" != "."; then
2700 multi_basedir="$srcdir/$with_multisrctop../.."
2702 multi_basedir="$srcdir/$with_multisrctop.."
2705 multi_basedir="$srcdir/.."
2709 # Even if the default multilib is not a cross compilation,
2710 # it may be that some of the other multilibs are.
2711 if test $cross_compiling = no && test $multilib = yes \
2712 && test "x${with_multisubdir}" != x ; then
2713 cross_compiling=maybe
2716 ac_config_commands="$ac_config_commands default-1"
2722 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2723 if test -f "$ac_dir/install-sh"; then
2725 ac_install_sh="$ac_aux_dir/install-sh -c"
2727 elif test -f "$ac_dir/install.sh"; then
2729 ac_install_sh="$ac_aux_dir/install.sh -c"
2731 elif test -f "$ac_dir/shtool"; then
2733 ac_install_sh="$ac_aux_dir/shtool install -c"
2737 if test -z "$ac_aux_dir"; then
2738 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2741 # These three variables are undocumented and unsupported,
2742 # and are intended to be withdrawn in a future Autoconf release.
2743 # They can cause serious problems if a builder's source tree is in a directory
2744 # whose full name contains unusual characters.
2745 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2746 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2747 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2750 # Expand $ac_aux_dir to an absolute path.
2751 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2754 ac_cpp='$CPP $CPPFLAGS'
2755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2758 if test -n "$ac_tool_prefix"; then
2759 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2760 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_CC+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$CC"; then
2767 ac_cv_prog_CC="$CC" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2776 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 if test -n "$CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2789 $as_echo "$CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2797 if test -z "$ac_cv_prog_CC"; then
2799 # Extract the first word of "gcc", so it can be a program name with args.
2800 set dummy gcc; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$ac_ct_CC"; then
2807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_ac_ct_CC="gcc"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827 if test -n "$ac_ct_CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2829 $as_echo "$ac_ct_CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2835 if test "x$ac_ct_CC" = x; then
2838 case $cross_compiling:$ac_tool_warned in
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2842 ac_tool_warned=yes ;;
2850 if test -z "$CC"; then
2851 if test -n "$ac_tool_prefix"; then
2852 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2853 set dummy ${ac_tool_prefix}cc; ac_word=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if ${ac_cv_prog_CC+:} false; then :
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$CC"; then
2860 ac_cv_prog_CC="$CC" # Let the user override the test.
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869 ac_cv_prog_CC="${ac_tool_prefix}cc"
2870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test -n "$CC"; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2882 $as_echo "$CC" >&6; }
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2891 if test -z "$CC"; then
2892 # Extract the first word of "cc", so it can be a program name with args.
2893 set dummy cc; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2911 ac_prog_rejected=yes
2915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test $ac_prog_rejected = yes; then
2923 # We found a bogon in the path, so make sure we never use it.
2924 set dummy $ac_cv_prog_CC
2926 if test $# != 0; then
2927 # We chose a different compiler from the bogus one.
2928 # However, it has the same basename, so the bogon will be chosen
2929 # first if we set CC to just the basename; use the full file name.
2931 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2947 if test -z "$CC"; then
2948 if test -n "$ac_tool_prefix"; then
2949 for ac_prog in cl.exe
2951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2952 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954 $as_echo_n "checking for $ac_word... " >&6; }
2955 if ${ac_cv_prog_CC+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 if test -n "$CC"; then
2959 ac_cv_prog_CC="$CC" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test -n "$CC"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981 $as_echo "$CC" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2988 test -n "$CC" && break
2991 if test -z "$CC"; then
2993 for ac_prog in cl.exe
2995 # Extract the first word of "$ac_prog", so it can be a program name with args.
2996 set dummy $ac_prog; ac_word=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$ac_ct_CC"; then
3003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir=.
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_ac_ct_CC="$ac_prog"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3023 if test -n "$ac_ct_CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3025 $as_echo "$ac_ct_CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3032 test -n "$ac_ct_CC" && break
3035 if test "x$ac_ct_CC" = x; then
3038 case $cross_compiling:$ac_tool_warned in
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3042 ac_tool_warned=yes ;;
3051 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3054 See \
`config.log' for more details" "$LINENO" 5; }
3056 # Provide some information about the compiler.
3057 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3060 for ac_option in --version -v -V -qversion; do
3061 { { ac_try="$ac_compiler $ac_option >&5"
3063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3064 *) ac_try_echo
=$ac_try;;
3066 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3070 if test -s conftest.err
; then
3072 ... rest of stderr output deleted ...
3073 10q' conftest.err
>conftest.er1
3074 cat conftest.er1
>&5
3076 rm -f conftest.er1 conftest.err
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; }
3081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3087 printf ("hello world\n");
3093 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3094 (eval $ac_link) 2>&5
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; }; then :
3102 if test x
$gcc_no_link = xyes
; then
3103 # Setting cross_compile will disable run tests; it will
3104 # also disable AC_CHECK_FILE but that's generally
3105 # correct if we can't link.
3109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3120 ac_clean_files_save
=$ac_clean_files
3121 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3122 # Try to create an executable without -o first, disregard a.out.
3123 # It will help us diagnose broken compilers, and finding out an intuition
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3126 $as_echo_n "checking whether the C compiler works... " >&6; }
3127 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3129 # The possible output files:
3130 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3133 for ac_file
in $ac_files
3136 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3137 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3142 if { { ac_try
="$ac_link_default"
3144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link_default") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3154 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3156 # so that the user can short-circuit this test for compilers unknown to
3158 for ac_file in $ac_files ''
3160 test -f "$ac_file" || continue
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3165 # We found the default executable, but exeext='' is most
3169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 # We set ac_cv_exeext here because the later test for it is not
3174 # safe: cross compilers may not add the suffix if given an `-o'
3175 # argument, so we may need to know it at that point already.
3176 # Even if this section looks crufty: it has the advantage of
3183 test "$ac_cv_exeext" = no && ac_cv_exeext=
3188 if test -z "$ac_file"; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's
/^
/|
/' conftest.$ac_ext >&5
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3196 as_fn_error 77 "C compiler cannot create executables
3197 See \`config.log
' for more details" "$LINENO" 5; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3203 $as_echo_n "checking for C compiler default output file name... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3205 $as_echo "$ac_file" >&6; }
3206 ac_exeext=$ac_cv_exeext
3208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3209 ac_clean_files=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3211 $as_echo_n "checking for suffix of executables... " >&6; }
3212 if { { ac_try="$ac_link"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3224 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3225 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3227 for ac_file
in conftest.exe conftest conftest.
*; do
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 rm -f conftest conftest
$ac_cv_exeext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3244 $as_echo "$ac_cv_exeext" >&6; }
3246 rm -f conftest.
$ac_ext
3247 EXEEXT
=$ac_cv_exeext
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3255 FILE *f = fopen ("conftest.out", "w");
3256 return ferror (f) || fclose (f) != 0;
3262 ac_clean_files
="$ac_clean_files conftest.out"
3263 # Check that the compiler produces executables we can run. If not, either
3264 # the compiler is broken, or we cross compile.
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3266 $as_echo_n "checking whether we are cross compiling... " >&6; }
3267 if test "$cross_compiling" != yes; then
3268 { { ac_try
="$ac_link"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }
3279 if { ac_try='./conftest$ac_cv_exeext'
3280 { { case "(($ac_try" in
3281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3282 *) ac_try_echo
=$ac_try;;
3284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_try") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; }; then
3292 if test "$cross_compiling" = maybe
; then
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $?
"cannot run C compiled programs.
3298 If you meant to cross compile, use \`--host'.
3299 See \`config.log' for more details" "$LINENO" 5; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3304 $as_echo "$cross_compiling" >&6; }
3306 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3307 ac_clean_files
=$ac_clean_files_save
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3310 $as_echo_n "checking for suffix of object files... " >&6; }
3311 if ${ac_cv_objext+:} false
; then :
3312 $as_echo_n "(cached) " >&6
3314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 rm -f conftest.o conftest.obj
3326 if { { ac_try
="$ac_compile"
3328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_compile") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 for ac_file in conftest.o conftest.obj conftest.*; do
3338 test -f "$ac_file" || continue;
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3341 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3346 $as_echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3352 See \
`config.log' for more details" "$LINENO" 5; }
3354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3357 $as_echo "$ac_cv_objext" >&6; }
3358 OBJEXT=$ac_cv_objext
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3361 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3362 if ${ac_cv_c_compiler_gnu+:} false; then :
3363 $as_echo_n "(cached) " >&6
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3389 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3390 if test $ac_compiler_gnu = yes; then
3395 ac_test_CFLAGS=${CFLAGS+set}
3396 ac_save_CFLAGS=$CFLAGS
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3398 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3399 if ${ac_cv_prog_cc_g+:} false; then :
3400 $as_echo_n "(cached) " >&6
3402 ac_save_c_werror_flag=$ac_c_werror_flag
3403 ac_c_werror_flag=yes
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3417 if ac_fn_c_try_compile "$LINENO"; then :
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 if ac_fn_c_try_compile "$LINENO"; then :
3435 ac_c_werror_flag=$ac_save_c_werror_flag
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 if ac_fn_c_try_compile "$LINENO"; then :
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3459 $as_echo "$ac_cv_prog_cc_g" >&6; }
3460 if test "$ac_test_CFLAGS" = set; then
3461 CFLAGS=$ac_save_CFLAGS
3462 elif test $ac_cv_prog_cc_g = yes; then
3463 if test "$GCC" = yes; then
3469 if test "$GCC" = yes; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3476 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3477 if ${ac_cv_prog_cc_c89+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 ac_cv_prog_cc_c89=no
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3488 struct buf { int x; };
3489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3490 static char *e (p, i)
3496 static char *f (char * (*g) (char **, int), char **p, ...)
3501 s = g (p, va_arg (v,int));
3506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3507 function prototypes and stuff, but not '\xHH' hex character constants.
3508 These don't provoke an error unfortunately, instead are silently treated
3509 as 'x'. The following induces an error, until -std is added to get
3510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3511 array size at least. It's necessary to write '\x00'==0 to get something
3512 that's true only with -std. */
3513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3515 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3516 inside strings and character constants. */
3518 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3520 int test (int i, double x);
3521 struct s1 {int (*f) (int a);};
3522 struct s2 {int (*f) (double a);};
3523 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3529 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3534 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3535 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3537 CC="$ac_save_CC $ac_arg"
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 ac_cv_prog_cc_c89=$ac_arg
3541 rm -f core conftest.err conftest.$ac_objext
3542 test "x$ac_cv_prog_cc_c89" != "xno" && break
3544 rm -f conftest.$ac_ext
3549 case "x$ac_cv_prog_cc_c89" in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3552 $as_echo "none needed" >&6; } ;;
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3555 $as_echo "unsupported" >&6; } ;;
3557 CC="$CC $ac_cv_prog_cc_c89"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3561 if test "x$ac_cv_prog_cc_c89" != xno; then :
3566 ac_cpp='$CPP $CPPFLAGS'
3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3577 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3578 if ${am_cv_prog_cc_c_o+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 # Make sure it works both with $CC and with simple cc.
3593 # Following AC_PROG_CC_C_O, we do the test twice because some
3594 # compilers refuse to overwrite an existing .o file with -o,
3595 # though they will create one.
3596 am_cv_prog_cc_c_o=yes
3598 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3599 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } \
3603 && test -f conftest2.$ac_objext; then
3606 am_cv_prog_cc_c_o=no
3610 rm -f core conftest*
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3614 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3615 if test "$am_cv_prog_cc_c_o" != yes; then
3616 # Losing compiler, so override with the script.
3617 # FIXME: It is wrong to rewrite CC.
3618 # But if we don't then we get into trouble of one sort or another.
3619 # A longer-term fix would be to have automake use am__CC in this case,
3620 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3621 CC="$am_aux_dir/compile $CC"
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3637 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3638 # On Suns, sometimes $CPP names a directory.
3639 if test -n "$CPP" && test -d "$CPP"; then
3642 if test -z "$CPP"; then
3643 if ${ac_cv_prog_CPP+:} false; then :
3644 $as_echo_n "(cached) " >&6
3646 # Double quotes because CPP needs to be expanded
3647 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3650 for ac_c_preproc_warn_flag in '' yes
3652 # Use a header file that comes with gcc, so configuring glibc
3653 # with a fresh cross-compiler works.
3654 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3655 # <limits.h> exists even on freestanding compilers.
3656 # On the NeXT, cc -E runs the code through the compiler's parser,
3657 # not just through cpp. "Syntax error" is here to catch this case.
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3661 # include <limits.h>
3663 # include <assert.h>
3667 if ac_fn_c_try_cpp "$LINENO"; then :
3670 # Broken: fails on valid input.
3673 rm -f conftest.err conftest.i conftest.$ac_ext
3675 # OK, works on sane cases. Now check whether nonexistent headers
3676 # can be detected and how.
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3679 #include <ac_nonexistent.h>
3681 if ac_fn_c_try_cpp "$LINENO"; then :
3682 # Broken: success on invalid input.
3685 # Passes both tests.
3689 rm -f conftest.err conftest.i conftest.$ac_ext
3692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3693 rm -f conftest.i conftest.err conftest.
$ac_ext
3694 if $ac_preproc_ok; then :
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3707 $as_echo "$CPP" >&6; }
3709 for ac_c_preproc_warn_flag
in '' yes
3711 # Use a header file that comes with gcc, so configuring glibc
3712 # with a fresh cross-compiler works.
3713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3714 # <limits.h> exists even on freestanding compilers.
3715 # On the NeXT, cc -E runs the code through the compiler's parser,
3716 # not just through cpp. "Syntax error" is here to catch this case.
3717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3720 # include <limits.h>
3722 # include <assert.h>
3726 if ac_fn_c_try_cpp
"$LINENO"; then :
3729 # Broken: fails on valid input.
3732 rm -f conftest.err conftest.i conftest.
$ac_ext
3734 # OK, works on sane cases. Now check whether nonexistent headers
3735 # can be detected and how.
3736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3738 #include <ac_nonexistent.h>
3740 if ac_fn_c_try_cpp
"$LINENO"; then :
3741 # Broken: success on invalid input.
3744 # Passes both tests.
3748 rm -f conftest.err conftest.i conftest.
$ac_ext
3751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3752 rm -f conftest.i conftest.err conftest.
$ac_ext
3753 if $ac_preproc_ok; then :
3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3759 See \`config.log' for more details" "$LINENO" 5; }
3763 ac_cpp
='$CPP $CPPFLAGS'
3764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3770 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3771 if ${ac_cv_path_GREP+:} false
; then :
3772 $as_echo_n "(cached) " >&6
3774 if test -z "$GREP"; then
3775 ac_path_GREP_found
=false
3776 # Loop through the user's path and test for each of PROGNAME-LIST
3777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3778 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3781 test -z "$as_dir" && as_dir
=.
3782 for ac_prog
in grep ggrep
; do
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3785 as_fn_executable_p
"$ac_path_GREP" ||
continue
3786 # Check for GNU ac_path_GREP and select it if it is found.
3787 # Check for GNU $ac_path_GREP
3788 case `"$ac_path_GREP" --version 2>&1` in
3790 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3793 $as_echo_n 0123456789 >"conftest.in"
3796 cat "conftest.in" "conftest.in" >"conftest.tmp"
3797 mv "conftest.tmp" "conftest.in"
3798 cp "conftest.in" "conftest.nl"
3799 $as_echo 'GREP' >> "conftest.nl"
3800 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3801 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3802 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3803 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3804 # Best one so far, save it but keep looking for a better one
3805 ac_cv_path_GREP
="$ac_path_GREP"
3806 ac_path_GREP_max
=$ac_count
3808 # 10*(2^10) chars as input seems more than enough
3809 test $ac_count -gt 10 && break
3811 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3814 $ac_path_GREP_found && break 3
3819 if test -z "$ac_cv_path_GREP"; then
3820 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3823 ac_cv_path_GREP
=$GREP
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3828 $as_echo "$ac_cv_path_GREP" >&6; }
3829 GREP
="$ac_cv_path_GREP"
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3833 $as_echo_n "checking for egrep... " >&6; }
3834 if ${ac_cv_path_EGREP+:} false
; then :
3835 $as_echo_n "(cached) " >&6
3837 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3838 then ac_cv_path_EGREP
="$GREP -E"
3840 if test -z "$EGREP"; then
3841 ac_path_EGREP_found
=false
3842 # Loop through the user's path and test for each of PROGNAME-LIST
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_prog
in egrep; do
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3851 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3852 # Check for GNU ac_path_EGREP and select it if it is found.
3853 # Check for GNU $ac_path_EGREP
3854 case `"$ac_path_EGREP" --version 2>&1` in
3856 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3859 $as_echo_n 0123456789 >"conftest.in"
3862 cat "conftest.in" "conftest.in" >"conftest.tmp"
3863 mv "conftest.tmp" "conftest.in"
3864 cp "conftest.in" "conftest.nl"
3865 $as_echo 'EGREP' >> "conftest.nl"
3866 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3867 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3868 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3869 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3870 # Best one so far, save it but keep looking for a better one
3871 ac_cv_path_EGREP
="$ac_path_EGREP"
3872 ac_path_EGREP_max
=$ac_count
3874 # 10*(2^10) chars as input seems more than enough
3875 test $ac_count -gt 10 && break
3877 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3880 $ac_path_EGREP_found && break 3
3885 if test -z "$ac_cv_path_EGREP"; then
3886 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3889 ac_cv_path_EGREP
=$EGREP
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3895 $as_echo "$ac_cv_path_EGREP" >&6; }
3896 EGREP
="$ac_cv_path_EGREP"
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3900 $as_echo_n "checking for ANSI C header files... " >&6; }
3901 if ${ac_cv_header_stdc+:} false
; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3919 if ac_fn_c_try_compile
"$LINENO"; then :
3920 ac_cv_header_stdc
=yes
3922 ac_cv_header_stdc
=no
3924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3926 if test $ac_cv_header_stdc = yes; then
3927 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3934 $EGREP "memchr" >/dev
/null
2>&1; then :
3937 ac_cv_header_stdc
=no
3943 if test $ac_cv_header_stdc = yes; then
3944 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3951 $EGREP "free" >/dev
/null
2>&1; then :
3954 ac_cv_header_stdc
=no
3960 if test $ac_cv_header_stdc = yes; then
3961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3962 if test "$cross_compiling" = yes; then :
3965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3969 #if ((' ' & 0x0FF) == 0x020)
3970 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3971 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3973 # define ISLOWER(c) \
3974 (('a' <= (c) && (c) <= 'i') \
3975 || ('j' <= (c) && (c) <= 'r') \
3976 || ('s' <= (c) && (c) <= 'z'))
3977 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3980 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3985 for (i = 0; i < 256; i++)
3986 if (XOR (islower (i), ISLOWER (i))
3987 || toupper (i) != TOUPPER (i))
3992 if ac_fn_c_try_run
"$LINENO"; then :
3995 ac_cv_header_stdc
=no
3997 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3998 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4004 $as_echo "$ac_cv_header_stdc" >&6; }
4005 if test $ac_cv_header_stdc = yes; then
4007 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4011 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4012 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4013 inttypes.h stdint.h unistd.h
4015 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4016 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4019 cat >>confdefs.h
<<_ACEOF
4020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4029 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4030 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4037 if test "$MINIX" = yes; then
4039 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4042 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4045 $as_echo "#define _MINIX 1" >>confdefs.h
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4051 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4052 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4058 # define __EXTENSIONS__ 1
4059 $ac_includes_default
4068 if ac_fn_c_try_compile
"$LINENO"; then :
4069 ac_cv_safe_to_define___extensions__
=yes
4071 ac_cv_safe_to_define___extensions__
=no
4073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4076 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4077 test $ac_cv_safe_to_define___extensions__ = yes &&
4078 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4080 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4082 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4084 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4086 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4090 # Do not delete or change the following two lines. For why, see
4091 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
4092 # Make sure we can run config.sub.
4093 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4094 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4097 $as_echo_n "checking build system type... " >&6; }
4098 if ${ac_cv_build+:} false
; then :
4099 $as_echo_n "(cached) " >&6
4101 ac_build_alias
=$build_alias
4102 test "x$ac_build_alias" = x
&&
4103 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4104 test "x$ac_build_alias" = x
&&
4105 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4106 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4107 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4111 $as_echo "$ac_cv_build" >&6; }
4112 case $ac_cv_build in
4114 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4117 ac_save_IFS
=$IFS; IFS
='-'
4123 # Remember, the first character of IFS is used to create $*,
4124 # except with old shells:
4127 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4131 $as_echo_n "checking host system type... " >&6; }
4132 if ${ac_cv_host+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test "x$host_alias" = x
; then
4136 ac_cv_host
=$ac_cv_build
4138 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4139 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4144 $as_echo "$ac_cv_host" >&6; }
4147 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4150 ac_save_IFS
=$IFS; IFS
='-'
4156 # Remember, the first character of IFS is used to create $*,
4157 # except with old shells:
4160 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4164 $as_echo_n "checking target system type... " >&6; }
4165 if ${ac_cv_target+:} false
; then :
4166 $as_echo_n "(cached) " >&6
4168 if test "x$target_alias" = x
; then
4169 ac_cv_target
=$ac_cv_host
4171 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4172 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4177 $as_echo "$ac_cv_target" >&6; }
4178 case $ac_cv_target in
4180 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4182 target
=$ac_cv_target
4183 ac_save_IFS
=$IFS; IFS
='-'
4189 # Remember, the first character of IFS is used to create $*,
4190 # except with old shells:
4193 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4196 # The aliases save the names the user supplied, while $host etc.
4197 # will get canonicalized.
4198 test -n "$target_alias" &&
4199 test "$program_prefix$program_suffix$program_transform_name" = \
4201 program_prefix
=${target_alias}-
4203 target_alias
=${target_alias-$host_alias}
4206 if test "$build" != "$host"; then
4207 # We are being configured with some form of cross compiler.
4208 GLIBCXX_IS_NATIVE
=false
4209 case "$host","$target" in
4210 # Darwin crosses can use the host system's libraries and headers,
4211 # because of the fat library support. Of course, it must be the
4212 # same version of Darwin on both sides. Allow the user to
4213 # just say --target=foo-darwin without a version number to mean
4214 # "the version on this system".
4215 *-*-darwin*,*-*-darwin*)
4216 hostos
=`echo $host | sed 's/.*-darwin/darwin/'`
4217 targetos
=`echo $target | sed 's/.*-darwin/darwin/'`
4218 if test $hostos = $targetos ||
test $targetos = darwin
; then
4219 GLIBCXX_IS_NATIVE
=true
4228 GLIBCXX_IS_NATIVE
=true
4231 # Runs configure.host, and assorted other critical bits. Sets
4232 # up critical shell variables.
4234 # Keep these sync'd with the list in Makefile.am. The first provides an
4235 # expandable list at autoconf time; the second provides an expandable list
4236 # (i.e., shell variable) at configure time.
4240 # These need to be absolute paths, yet at the same time need to
4241 # canonicalize only relative paths, because then amd will not unmount
4242 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4243 glibcxx_builddir
=`${PWDCMD-pwd}`
4245 \\/$
* | ?
:\\/*) glibcxx_srcdir
=${srcdir} ;;
4246 *) glibcxx_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4248 toplevel_builddir
=${glibcxx_builddir}/..
4249 toplevel_srcdir
=${glibcxx_srcdir}/..
4255 # We use these options to decide which functions to include. They are
4256 # set from the top level.
4258 # Check whether --with-target-subdir was given.
4259 if test "${with_target_subdir+set}" = set; then :
4260 withval
=$with_target_subdir;
4265 # Check whether --with-cross-host was given.
4266 if test "${with_cross_host+set}" = set; then :
4267 withval
=$with_cross_host;
4272 # Check whether --with-newlib was given.
4273 if test "${with_newlib+set}" = set; then :
4274 withval
=$with_newlib;
4278 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4279 # available). Uncomment the next line to force a particular method.
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4281 $as_echo_n "checking whether ln -s works... " >&6; }
4283 if test "$LN_S" = "ln -s"; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4285 $as_echo "yes" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4288 $as_echo "no, using $LN_S" >&6; }
4293 if test -n "$ac_tool_prefix"; then
4294 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4295 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297 $as_echo_n "checking for $ac_word... " >&6; }
4298 if ${ac_cv_prog_AS+:} false
; then :
4299 $as_echo_n "(cached) " >&6
4301 if test -n "$AS"; then
4302 ac_cv_prog_AS
="$AS" # Let the user override the test.
4304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir
=.
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_AS
="${ac_tool_prefix}as"
4312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 if test -n "$AS"; then
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4324 $as_echo "$AS" >&6; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4332 if test -z "$ac_cv_prog_AS"; then
4334 # Extract the first word of "as", so it can be a program name with args.
4335 set dummy as
; ac_word
=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -n "$ac_ct_AS"; then
4342 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir
=.
4349 for ac_exec_ext
in '' $ac_executable_extensions; do
4350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_ac_ct_AS
="as"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4362 if test -n "$ac_ct_AS"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4364 $as_echo "$ac_ct_AS" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4370 if test "x$ac_ct_AS" = x
; then
4373 case $cross_compiling:$ac_tool_warned in
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4377 ac_tool_warned
=yes ;;
4385 if test -n "$ac_tool_prefix"; then
4386 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4387 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_prog_AR+:} false
; then :
4391 $as_echo_n "(cached) " >&6
4393 if test -n "$AR"; then
4394 ac_cv_prog_AR
="$AR" # Let the user override the test.
4396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4400 test -z "$as_dir" && as_dir
=.
4401 for ac_exec_ext
in '' $ac_executable_extensions; do
4402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 if test -n "$AR"; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4416 $as_echo "$AR" >&6; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4424 if test -z "$ac_cv_prog_AR"; then
4426 # Extract the first word of "ar", so it can be a program name with args.
4427 set dummy
ar; ac_word
=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -n "$ac_ct_AR"; then
4434 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir
=.
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_ac_ct_AR
="ar"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4454 if test -n "$ac_ct_AR"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4456 $as_echo "$ac_ct_AR" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4462 if test "x$ac_ct_AR" = x
; then
4465 case $cross_compiling:$ac_tool_warned in
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4469 ac_tool_warned
=yes ;;
4477 if test -n "$ac_tool_prefix"; then
4478 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4479 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_RANLIB+:} false
; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$RANLIB"; then
4486 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir
=.
4493 for ac_exec_ext
in '' $ac_executable_extensions; do
4494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 RANLIB
=$ac_cv_prog_RANLIB
4506 if test -n "$RANLIB"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4508 $as_echo "$RANLIB" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4516 if test -z "$ac_cv_prog_RANLIB"; then
4517 ac_ct_RANLIB
=$RANLIB
4518 # Extract the first word of "ranlib", so it can be a program name with args.
4519 set dummy ranlib
; ac_word
=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$ac_ct_RANLIB"; then
4526 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir
=.
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4546 if test -n "$ac_ct_RANLIB"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4548 $as_echo "$ac_ct_RANLIB" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4554 if test "x$ac_ct_RANLIB" = x
; then
4555 RANLIB
="ranlib-not-found-in-path-error"
4557 case $cross_compiling:$ac_tool_warned in
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561 ac_tool_warned
=yes ;;
4563 RANLIB
=$ac_ct_RANLIB
4566 RANLIB
="$ac_cv_prog_RANLIB"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4572 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4573 # Check whether --enable-maintainer-mode was given.
4574 if test "${enable_maintainer_mode+set}" = set; then :
4575 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4577 USE_MAINTAINER_MODE
=no
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4581 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4582 if test $USE_MAINTAINER_MODE = yes; then
4583 MAINTAINER_MODE_TRUE
=
4584 MAINTAINER_MODE_FALSE
='#'
4586 MAINTAINER_MODE_TRUE
='#'
4587 MAINTAINER_MODE_FALSE
=
4590 MAINT
=$MAINTAINER_MODE_TRUE
4594 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4595 # which are themselves conditionally expanded.
4596 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4597 ## other macros from doing the same. This should be automated.) -pme
4599 # Check for C library flavor since GNU/Linux platforms use different
4600 # configuration directories depending on the C library in use.
4601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4611 $EGREP "_using_uclibc" >/dev
/null
2>&1; then :
4619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4629 $EGREP "_using_bionic" >/dev
/null
2>&1; then :
4637 # Find platform-specific directories containing configuration info.
4638 # Also possibly modify flags used elsewhere, as needed by the platform.
4640 .
$glibcxx_srcdir/configure.
host
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
4642 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
4644 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
4648 # For gettimeofday support.
4650 ac_cpp
='$CXXCPP $CPPFLAGS'
4651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4654 if test -z "$CXX"; then
4655 if test -n "$CCC"; then
4658 if test -n "$ac_tool_prefix"; then
4659 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_prog_CXX+:} false
; then :
4666 $as_echo_n "(cached) " >&6
4668 if test -n "$CXX"; then
4669 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 if test -n "$CXX"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4691 $as_echo "$CXX" >&6; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4698 test -n "$CXX" && break
4701 if test -z "$CXX"; then
4703 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4705 # Extract the first word of "$ac_prog", so it can be a program name with args.
4706 set dummy
$ac_prog; ac_word
=$2
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 $as_echo_n "checking for $ac_word... " >&6; }
4709 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
4710 $as_echo_n "(cached) " >&6
4712 if test -n "$ac_ct_CXX"; then
4713 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir
=.
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4733 if test -n "$ac_ct_CXX"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4735 $as_echo "$ac_ct_CXX" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4742 test -n "$ac_ct_CXX" && break
4745 if test "x$ac_ct_CXX" = x
; then
4748 case $cross_compiling:$ac_tool_warned in
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned
=yes ;;
4760 # Provide some information about the compiler.
4761 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4764 for ac_option
in --version -v -V -qversion; do
4765 { { ac_try
="$ac_compiler $ac_option >&5"
4767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4768 *) ac_try_echo=$ac_try;;
4770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4771 $as_echo "$ac_try_echo"; } >&5
4772 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4774 if test -s conftest.err; then
4776 ... rest of stderr output deleted ...
4777 10q' conftest.err >conftest.er1
4778 cat conftest.er1 >&5
4780 rm -f conftest.er1 conftest.err
4781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4782 test $ac_status = 0; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4786 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4787 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4788 $as_echo_n "(cached) " >&6
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4804 if ac_fn_cxx_try_compile "$LINENO"; then :
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4814 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4815 if test $ac_compiler_gnu = yes; then
4820 ac_test_CXXFLAGS=${CXXFLAGS+set}
4821 ac_save_CXXFLAGS=$CXXFLAGS
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4823 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4824 if ${ac_cv_prog_cxx_g+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4828 ac_cxx_werror_flag=yes
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4842 if ac_fn_cxx_try_compile "$LINENO"; then :
4843 ac_cv_prog_cxx_g=yes
4846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847 /* end confdefs.h. */
4857 if ac_fn_cxx_try_compile "$LINENO"; then :
4860 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4873 if ac_fn_cxx_try_compile "$LINENO"; then :
4874 ac_cv_prog_cxx_g=yes
4876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4884 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4885 if test "$ac_test_CXXFLAGS" = set; then
4886 CXXFLAGS=$ac_save_CXXFLAGS
4887 elif test $ac_cv_prog_cxx_g = yes; then
4888 if test "$GXX" = yes; then
4894 if test "$GXX" = yes; then
4901 ac_cpp='$CXXCPP $CPPFLAGS'
4902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4908 ac_cpp='$CXXCPP $CPPFLAGS'
4909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4913 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4914 if test -z "$CXXCPP"; then
4915 if ${ac_cv_prog_CXXCPP+:} false; then :
4916 $as_echo_n "(cached) " >&6
4918 # Double quotes because CXXCPP needs to be expanded
4919 for CXXCPP in "$CXX -E" "/lib/cpp"
4922 for ac_cxx_preproc_warn_flag in '' yes
4924 # Use a header file that comes with gcc, so configuring glibc
4925 # with a fresh cross-compiler works.
4926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4927 # <limits.h> exists even on freestanding compilers.
4928 # On the NeXT, cc -E runs the code through the compiler's parser,
4929 # not just through cpp. "Syntax error" is here to catch this case.
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4933 # include <limits.h>
4935 # include <assert.h>
4939 if ac_fn_cxx_try_cpp "$LINENO"; then :
4942 # Broken: fails on valid input.
4945 rm -f conftest.err conftest.i conftest.$ac_ext
4947 # OK, works on sane cases. Now check whether nonexistent headers
4948 # can be detected and how.
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4951 #include <ac_nonexistent.h>
4953 if ac_fn_cxx_try_cpp "$LINENO"; then :
4954 # Broken: success on invalid input.
4957 # Passes both tests.
4961 rm -f conftest.err conftest.i conftest.$ac_ext
4964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4965 rm -f conftest.i conftest.err conftest.
$ac_ext
4966 if $ac_preproc_ok; then :
4971 ac_cv_prog_CXXCPP
=$CXXCPP
4974 CXXCPP
=$ac_cv_prog_CXXCPP
4976 ac_cv_prog_CXXCPP
=$CXXCPP
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4979 $as_echo "$CXXCPP" >&6; }
4981 for ac_cxx_preproc_warn_flag
in '' yes
4983 # Use a header file that comes with gcc, so configuring glibc
4984 # with a fresh cross-compiler works.
4985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4986 # <limits.h> exists even on freestanding compilers.
4987 # On the NeXT, cc -E runs the code through the compiler's parser,
4988 # not just through cpp. "Syntax error" is here to catch this case.
4989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4992 # include <limits.h>
4994 # include <assert.h>
4998 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5001 # Broken: fails on valid input.
5004 rm -f conftest.err conftest.i conftest.
$ac_ext
5006 # OK, works on sane cases. Now check whether nonexistent headers
5007 # can be detected and how.
5008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5010 #include <ac_nonexistent.h>
5012 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5013 # Broken: success on invalid input.
5016 # Passes both tests.
5020 rm -f conftest.err conftest.i conftest.
$ac_ext
5023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5024 rm -f conftest.i conftest.err conftest.
$ac_ext
5025 if $ac_preproc_ok; then :
5028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5030 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
5031 See \`config.log' for more details" "$LINENO" 5; }
5035 ac_cpp
='$CXXCPP $CPPFLAGS'
5036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
5044 $as_echo_n "checking for gettimeofday... " >&6; }
5048 ac_cpp
='$CXXCPP $CPPFLAGS'
5049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5053 ac_save_CXXFLAGS
="$CXXFLAGS"
5054 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5056 ac_has_gettimeofday
=no
;
5057 for ac_header
in sys
/time.h
5059 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
5060 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
5061 cat >>confdefs.h
<<_ACEOF
5062 #define HAVE_SYS_TIME_H 1
5064 ac_has_sys_time_h
=yes
5066 ac_has_sys_time_h
=no
5071 if test x
"$ac_has_sys_time_h" = x
"yes"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
5073 $as_echo_n "checking for gettimeofday... " >&6; }
5074 if test x
$gcc_no_link = xyes
; then
5075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5077 #include <sys/time.h>
5081 timeval tv; gettimeofday(&tv, 0);
5086 if ac_fn_cxx_try_compile
"$LINENO"; then :
5087 ac_has_gettimeofday
=yes
5089 ac_has_gettimeofday
=no
5091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5093 if test x
$gcc_no_link = xyes
; then
5094 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <sys/time.h>
5102 timeval tv; gettimeofday(&tv, 0);
5107 if ac_fn_cxx_try_link
"$LINENO"; then :
5108 ac_has_gettimeofday
=yes
5110 ac_has_gettimeofday
=no
5112 rm -f core conftest.err conftest.
$ac_objext \
5113 conftest
$ac_exeext conftest.
$ac_ext
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
5117 $as_echo "$ac_has_gettimeofday" >&6; }
5120 if test x
"$ac_has_gettimeofday" = x
"yes"; then
5122 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
5126 CXXFLAGS
="$ac_save_CXXFLAGS"
5128 ac_cpp
='$CPP $CPPFLAGS'
5129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5135 # For clock_gettime, nanosleep and sched_yield support.
5138 # Check whether --enable-libstdcxx-time was given.
5139 if test "${enable_libstdcxx_time+set}" = set; then :
5140 enableval
=$enable_libstdcxx_time;
5141 case "$enableval" in
5143 *) as_fn_error $?
"Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
5147 enable_libstdcxx_time
=auto
5154 ac_cpp
='$CXXCPP $CPPFLAGS'
5155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5159 ac_save_CXXFLAGS
="$CXXFLAGS"
5160 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5161 ac_save_LIBS
="$LIBS"
5163 ac_has_clock_monotonic
=no
5164 ac_has_clock_realtime
=no
5166 ac_has_sched_yield
=no
5168 if test x
"$enable_libstdcxx_time" = x
"auto"; then
5170 case "${target_os}" in
5172 ac_has_nanosleep
=yes
5175 ac_has_win32_sleep
=yes
5176 ac_has_sched_yield
=yes
5179 ac_has_nanosleep
=yes
5180 ac_has_sched_yield
=yes
5182 # VxWorks has nanosleep as soon as the kernel is configured with
5183 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
5185 ac_has_nanosleep
=yes
5187 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
5188 # Don't use link test for freestanding library, in case gcc_no_link=yes
5189 if test x
"$is_hosted" = xyes
; then
5190 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5192 $as_echo_n "checking for library containing clock_gettime... " >&6; }
5193 if ${ac_cv_search_clock_gettime+:} false
; then :
5194 $as_echo_n "(cached) " >&6
5196 ac_func_search_save_LIBS
=$LIBS
5197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5198 /* end confdefs.h. */
5200 /* Override any GCC internal prototype to avoid an error.
5201 Use char because int might match the return type of a GCC
5202 builtin and then its argument prototype would still apply. */
5206 char clock_gettime ();
5210 return clock_gettime ();
5215 for ac_lib
in '' rt
; do
5216 if test -z "$ac_lib"; then
5217 ac_res
="none required"
5220 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5222 if test x
$gcc_no_link = xyes
; then
5223 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5225 if ac_fn_cxx_try_link
"$LINENO"; then :
5226 ac_cv_search_clock_gettime
=$ac_res
5228 rm -f core conftest.err conftest.
$ac_objext \
5230 if ${ac_cv_search_clock_gettime+:} false
; then :
5234 if ${ac_cv_search_clock_gettime+:} false
; then :
5237 ac_cv_search_clock_gettime
=no
5240 LIBS
=$ac_func_search_save_LIBS
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5243 $as_echo "$ac_cv_search_clock_gettime" >&6; }
5244 ac_res
=$ac_cv_search_clock_gettime
5245 if test "$ac_res" != no
; then :
5246 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5250 if test x
"$ac_cv_search_clock_gettime" = x
"none required"; then
5251 ac_has_clock_monotonic
=yes
5252 ac_has_clock_realtime
=yes
5255 ac_has_nanosleep
=yes
5256 ac_has_sched_yield
=yes
5258 freebsd
*|netbsd
*|dragonfly
*|rtems
*)
5259 ac_has_clock_monotonic
=yes
5260 ac_has_clock_realtime
=yes
5261 ac_has_nanosleep
=yes
5262 ac_has_sched_yield
=yes
5265 ac_has_clock_monotonic
=yes
5266 ac_has_clock_realtime
=yes
5267 ac_has_nanosleep
=yes
5270 ac_has_clock_monotonic
=yes
5271 ac_has_clock_realtime
=yes
5272 ac_has_nanosleep
=yes
5273 ac_has_sched_yield
=yes
5276 ac_has_nanosleep
=yes
5277 ac_has_sched_yield
=yes
5280 elif test x
"$enable_libstdcxx_time" != x
"no"; then
5282 if test x
"$enable_libstdcxx_time" = x
"rt"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5284 $as_echo_n "checking for library containing clock_gettime... " >&6; }
5285 if ${ac_cv_search_clock_gettime+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 ac_func_search_save_LIBS
=$LIBS
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5292 /* Override any GCC internal prototype to avoid an error.
5293 Use char because int might match the return type of a GCC
5294 builtin and then its argument prototype would still apply. */
5298 char clock_gettime ();
5302 return clock_gettime ();
5307 for ac_lib
in '' rt
; do
5308 if test -z "$ac_lib"; then
5309 ac_res
="none required"
5312 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5314 if test x
$gcc_no_link = xyes
; then
5315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5317 if ac_fn_cxx_try_link
"$LINENO"; then :
5318 ac_cv_search_clock_gettime
=$ac_res
5320 rm -f core conftest.err conftest.
$ac_objext \
5322 if ${ac_cv_search_clock_gettime+:} false
; then :
5326 if ${ac_cv_search_clock_gettime+:} false
; then :
5329 ac_cv_search_clock_gettime
=no
5332 LIBS
=$ac_func_search_save_LIBS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5335 $as_echo "$ac_cv_search_clock_gettime" >&6; }
5336 ac_res
=$ac_cv_search_clock_gettime
5337 if test "$ac_res" != no
; then :
5338 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
5343 $as_echo_n "checking for library containing nanosleep... " >&6; }
5344 if ${ac_cv_search_nanosleep+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5347 ac_func_search_save_LIBS
=$LIBS
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5351 /* Override any GCC internal prototype to avoid an error.
5352 Use char because int might match the return type of a GCC
5353 builtin and then its argument prototype would still apply. */
5361 return nanosleep ();
5366 for ac_lib
in '' rt
; do
5367 if test -z "$ac_lib"; then
5368 ac_res
="none required"
5371 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5373 if test x
$gcc_no_link = xyes
; then
5374 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5376 if ac_fn_cxx_try_link
"$LINENO"; then :
5377 ac_cv_search_nanosleep
=$ac_res
5379 rm -f core conftest.err conftest.
$ac_objext \
5381 if ${ac_cv_search_nanosleep+:} false
; then :
5385 if ${ac_cv_search_nanosleep+:} false
; then :
5388 ac_cv_search_nanosleep
=no
5391 LIBS
=$ac_func_search_save_LIBS
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
5394 $as_echo "$ac_cv_search_nanosleep" >&6; }
5395 ac_res
=$ac_cv_search_nanosleep
5396 if test "$ac_res" != no
; then :
5397 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5402 ac_fn_cxx_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5403 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
5407 ac_fn_cxx_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5408 if test "x$ac_cv_func_nanosleep" = xyes
; then :
5414 case "$ac_cv_search_clock_gettime" in
5415 -l*) GLIBCXX_LIBS
=$ac_cv_search_clock_gettime
5418 case "$ac_cv_search_nanosleep" in
5419 -l*) GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
5424 $as_echo_n "checking for library containing sched_yield... " >&6; }
5425 if ${ac_cv_search_sched_yield+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5428 ac_func_search_save_LIBS
=$LIBS
5429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5432 /* Override any GCC internal prototype to avoid an error.
5433 Use char because int might match the return type of a GCC
5434 builtin and then its argument prototype would still apply. */
5438 char sched_yield ();
5442 return sched_yield ();
5447 for ac_lib
in '' rt
; do
5448 if test -z "$ac_lib"; then
5449 ac_res
="none required"
5452 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5454 if test x
$gcc_no_link = xyes
; then
5455 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5457 if ac_fn_cxx_try_link
"$LINENO"; then :
5458 ac_cv_search_sched_yield
=$ac_res
5460 rm -f core conftest.err conftest.
$ac_objext \
5462 if ${ac_cv_search_sched_yield+:} false
; then :
5466 if ${ac_cv_search_sched_yield+:} false
; then :
5469 ac_cv_search_sched_yield
=no
5472 LIBS
=$ac_func_search_save_LIBS
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
5475 $as_echo "$ac_cv_search_sched_yield" >&6; }
5476 ac_res
=$ac_cv_search_sched_yield
5477 if test "$ac_res" != no
; then :
5478 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5483 case "$ac_cv_search_sched_yield" in
5485 if test x
"$enable_libstdcxx_time" = x
"rt"; then
5486 GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
5487 ac_has_sched_yield
=yes
5491 ac_has_sched_yield
=yes
5495 for ac_header
in unistd.h
5497 ac_fn_cxx_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5498 if test "x$ac_cv_header_unistd_h" = xyes
; then :
5499 cat >>confdefs.h
<<_ACEOF
5500 #define HAVE_UNISTD_H 1
5510 if test x
"$ac_has_unistd_h" = x
"yes"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
5512 $as_echo_n "checking for monotonic clock... " >&6; }
5513 if test x
$gcc_no_link = xyes
; then
5514 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5524 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
5527 clock_gettime(CLOCK_MONOTONIC, &tp);
5533 if ac_fn_cxx_try_link
"$LINENO"; then :
5534 ac_has_clock_monotonic
=yes
5536 ac_has_clock_monotonic
=no
5538 rm -f core conftest.err conftest.
$ac_objext \
5539 conftest
$ac_exeext conftest.
$ac_ext
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
5542 $as_echo "$ac_has_clock_monotonic" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
5545 $as_echo_n "checking for realtime clock... " >&6; }
5546 if test x
$gcc_no_link = xyes
; then
5547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5557 #if _POSIX_TIMERS > 0
5560 clock_gettime(CLOCK_REALTIME, &tp);
5566 if ac_fn_cxx_try_link
"$LINENO"; then :
5567 ac_has_clock_realtime
=yes
5569 ac_has_clock_realtime
=no
5571 rm -f core conftest.err conftest.
$ac_objext \
5572 conftest
$ac_exeext conftest.
$ac_ext
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
5575 $as_echo "$ac_has_clock_realtime" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
5578 $as_echo_n "checking for nanosleep... " >&6; }
5579 if test x
$gcc_no_link = xyes
; then
5580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5590 #if _POSIX_TIMERS > 0
5599 if ac_fn_cxx_try_link
"$LINENO"; then :
5600 ac_has_nanosleep
=yes
5604 rm -f core conftest.err conftest.
$ac_objext \
5605 conftest
$ac_exeext conftest.
$ac_ext
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
5608 $as_echo "$ac_has_nanosleep" >&6; }
5612 if test x
"$ac_has_clock_monotonic" != x
"yes"; then
5613 case ${target_os} in
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
5616 $as_echo_n "checking for clock_gettime syscall... " >&6; }
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5621 #include <sys/syscall.h>
5626 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
5629 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
5630 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
5636 if ac_fn_cxx_try_compile
"$LINENO"; then :
5637 ac_has_clock_gettime_syscall
=yes
5639 ac_has_clock_gettime_syscall
=no
5641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
5643 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
5644 if test x
"$ac_has_clock_gettime_syscall" = x
"yes"; then
5646 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
5648 ac_has_clock_monotonic
=yes
5649 ac_has_clock_realtime
=yes
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
5651 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
5652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5655 #include <sys/syscall.h>
5660 #ifdef SYS_clock_gettime64
5661 #if SYS_clock_gettime64 != SYS_clock_gettime
5662 // We need to use SYS_clock_gettime and libc appears to
5663 // also know about the SYS_clock_gettime64 syscall.
5664 // Check that userspace doesn't use time64 version of timespec.
5665 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
5666 "struct timespec must be compatible with SYS_clock_gettime");
5674 if ac_fn_cxx_try_compile
"$LINENO"; then :
5675 ac_timespec_matches_syscall
=yes
5677 ac_timespec_matches_syscall
=no
5679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
5681 $as_echo "$ac_timespec_matches_syscall" >&6; }
5682 if test x
"$ac_timespec_matches_syscall" = no
; then
5683 as_fn_error $?
"struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
5689 if test x
"$ac_has_clock_monotonic" = x
"yes"; then
5691 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
5695 if test x
"$ac_has_clock_realtime" = x
"yes"; then
5697 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
5701 if test x
"$ac_has_sched_yield" = x
"yes"; then
5703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
5707 if test x
"$ac_has_nanosleep" = x
"yes"; then
5709 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
5711 elif test x
"$ac_has_win32_sleep" = x
"yes"; then
5713 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
5717 $as_echo_n "checking for sleep... " >&6; }
5718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5719 /* end confdefs.h. */
5729 if ac_fn_cxx_try_compile
"$LINENO"; then :
5734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5735 if test x
"$ac_has_sleep" = x
"yes"; then
5737 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
5741 $as_echo "$ac_has_sleep" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
5743 $as_echo_n "checking for usleep... " >&6; }
5744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5756 if ac_fn_cxx_try_compile
"$LINENO"; then :
5761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5762 if test x
"$ac_has_usleep" = x
"yes"; then
5764 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
5768 $as_echo "$ac_has_usleep" >&6; }
5771 if test x
"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x
"nonono"; then
5773 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
5779 CXXFLAGS
="$ac_save_CXXFLAGS"
5780 LIBS
="$ac_save_LIBS"
5782 ac_cpp
='$CPP $CPPFLAGS'
5783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5789 am__api_version
='1.15'
5791 # Find a good install program. We prefer a C program (faster),
5792 # so one script is as good as another. But avoid the broken or
5793 # incompatible versions:
5794 # SysV /etc/install, /usr/sbin/install
5795 # SunOS /usr/etc/install
5796 # IRIX /sbin/install
5798 # AmigaOS /C/install, which installs bootblocks on floppy discs
5799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5802 # OS/2's system install, which has a completely different semantic
5803 # ./install, which can be erroneously created by make from ./install.sh.
5804 # Reject install programs that cannot install multiple files.
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5806 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5807 if test -z "$INSTALL"; then
5808 if ${ac_cv_path_install+:} false
; then :
5809 $as_echo_n "(cached) " >&6
5811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir
=.
5816 # Account for people who put trailing slashes in PATH elements.
5817 case $as_dir/ in #((
5818 .
/ | .
// |
/[cC
]/* | \
5819 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5820 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5823 # OSF1 and SCO ODT 3.0 have their own names for install.
5824 # Don't use installbsd from OSF since it installs stuff as root
5826 for ac_prog
in ginstall scoinst
install; do
5827 for ac_exec_ext
in '' $ac_executable_extensions; do
5828 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5829 if test $ac_prog = install &&
5830 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5831 # AIX install. It has an incompatible calling convention.
5833 elif test $ac_prog = install &&
5834 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5835 # program-specific install script used by HP pwplus--don't use.
5838 rm -rf conftest.one conftest.two conftest.dir
5839 echo one
> conftest.one
5840 echo two
> conftest.two
5842 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5843 test -s conftest.one
&& test -s conftest.two
&&
5844 test -s conftest.dir
/conftest.one
&&
5845 test -s conftest.dir
/conftest.two
5847 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5860 rm -rf conftest.one conftest.two conftest.dir
5863 if test "${ac_cv_path_install+set}" = set; then
5864 INSTALL
=$ac_cv_path_install
5866 # As a last resort, use the slow shell script. Don't cache a
5867 # value for INSTALL within a source directory, because that will
5868 # break other packages using the cache if that directory is
5869 # removed, or if the value is a relative name.
5870 INSTALL
=$ac_install_sh
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5874 $as_echo "$INSTALL" >&6; }
5876 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5877 # It thinks the first close brace ends the variable substitution.
5878 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5880 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5882 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5885 $as_echo_n "checking whether build environment is sane... " >&6; }
5886 # Reject unsafe characters in $srcdir or the absolute working directory
5887 # name. Accept space and tab only in the latter.
5891 *[\\\"\
#\$\&\'\`$am_lf]*)
5892 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
5895 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
5896 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5899 # Do 'set' in a subshell so we don't clobber the current shell's
5900 # arguments. Must try -L first in case configure is actually a
5901 # symlink; some systems play weird games with the mod time of symlinks
5902 # (eg FreeBSD returns the mod time of the symlink's containing
5906 for am_try
in 1 2; do
5907 echo "timestamp, slept: $am_has_slept" > conftest.
file
5908 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5909 if test "$*" = "X"; then
5911 set X
`ls -t "$srcdir/configure" conftest.file`
5913 if test "$*" != "X $srcdir/configure conftest.file" \
5914 && test "$*" != "X conftest.file $srcdir/configure"; then
5916 # If neither matched, then we have a broken ls. This can happen
5917 # if, for instance, CONFIG_SHELL is bash and it inherits a
5918 # broken ls alias from the environment. This has actually
5919 # happened. Such a system could not be considered "sane".
5920 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
5921 alias in your environment" "$LINENO" 5
5923 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
5930 test "$2" = conftest.
file
5936 as_fn_error $?
"newly created file is older than distributed files!
5937 Check your system clock" "$LINENO" 5
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5940 $as_echo "yes" >&6; }
5941 # If we didn't sleep, we still need to ensure time stamps of config.status and
5942 # generated files are strictly newer.
5944 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
5951 test "$program_prefix" != NONE
&&
5952 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
5953 # Use a double $ so make ignores it.
5954 test "$program_suffix" != NONE
&&
5955 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
5956 # Double any \ or $.
5957 # By default was `s,x,x', remove it if useless.
5958 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
5959 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
5961 if test x
"${MISSING+set}" != xset
; then
5964 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5966 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5969 # Use eval to expand $SHELL
5970 if eval "$MISSING --is-lightweight"; then
5971 am_missing_run
="$MISSING "
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5975 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5978 if test x
"${install_sh+set}" != xset
; then
5981 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5983 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5987 # Installed binaries are usually stripped using 'strip' when the user
5988 # run "make install-strip". However 'strip' might not be the right
5989 # tool to use in cross-compilation environments, therefore Automake
5990 # will honor the 'STRIP' environment variable to overrule this program.
5991 if test "$cross_compiling" != no
; then
5992 if test -n "$ac_tool_prefix"; then
5993 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5994 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_STRIP+:} false
; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$STRIP"; then
6001 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir
=.
6008 for ac_exec_ext
in '' $ac_executable_extensions; do
6009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 STRIP
=$ac_cv_prog_STRIP
6021 if test -n "$STRIP"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6023 $as_echo "$STRIP" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6031 if test -z "$ac_cv_prog_STRIP"; then
6033 # Extract the first word of "strip", so it can be a program name with args.
6034 set dummy strip
; ac_word
=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$ac_ct_STRIP"; then
6041 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir
=.
6048 for ac_exec_ext
in '' $ac_executable_extensions; do
6049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_ac_ct_STRIP
="strip"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6061 if test -n "$ac_ct_STRIP"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6063 $as_echo "$ac_ct_STRIP" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6069 if test "x$ac_ct_STRIP" = x
; then
6072 case $cross_compiling:$ac_tool_warned in
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076 ac_tool_warned
=yes ;;
6081 STRIP
="$ac_cv_prog_STRIP"
6085 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6088 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6089 if test -z "$MKDIR_P"; then
6090 if ${ac_cv_path_mkdir+:} false
; then :
6091 $as_echo_n "(cached) " >&6
6093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6094 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
6097 test -z "$as_dir" && as_dir
=.
6098 for ac_prog
in mkdir gmkdir
; do
6099 for ac_exec_ext
in '' $ac_executable_extensions; do
6100 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
6101 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6102 'mkdir (GNU coreutils) '* | \
6103 'mkdir (coreutils) '* | \
6104 'mkdir (fileutils) '4.1*)
6105 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
6115 test -d .
/--version && rmdir .
/--version
6116 if test "${ac_cv_path_mkdir+set}" = set; then
6117 MKDIR_P
="$ac_cv_path_mkdir -p"
6119 # As a last resort, use the slow shell script. Don't cache a
6120 # value for MKDIR_P within a source directory, because that will
6121 # break other packages using the cache if that directory is
6122 # removed, or if the value is a relative name.
6123 MKDIR_P
="$ac_install_sh -d"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6127 $as_echo "$MKDIR_P" >&6; }
6129 for ac_prog
in gawk mawk nawk
awk
6131 # Extract the first word of "$ac_prog", so it can be a program name with args.
6132 set dummy
$ac_prog; ac_word
=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_AWK+:} false
; then :
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$AWK"; then
6139 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir
=.
6146 for ac_exec_ext
in '' $ac_executable_extensions; do
6147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_AWK
="$ac_prog"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 if test -n "$AWK"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6161 $as_echo "$AWK" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6168 test -n "$AWK" && break
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6172 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6174 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6175 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6176 $as_echo_n "(cached) " >&6
6178 cat >conftest.
make <<\_ACEOF
6181 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6183 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6184 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6186 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6188 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6192 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6194 $as_echo "yes" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6199 SET_MAKE
="MAKE=${MAKE-make}"
6202 rm -rf .tst
2>/dev
/null
6203 mkdir .tst
2>/dev
/null
6204 if test -d .tst
; then
6209 rmdir .tst
2>/dev
/null
6211 DEPDIR
="${am__leading_dot}deps"
6213 ac_config_commands
="$ac_config_commands depfiles"
6216 am_make
=${MAKE-make}
6217 cat > confinc
<< 'END'
6219 @
echo this is the am__doit target
6222 # If we don't find an include directive, just comment out the code.
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
6224 $as_echo_n "checking for style of include used by $am_make... " >&6; }
6228 # First try GNU make style include.
6229 echo "include confinc" > confmf
6230 # Ignore all kinds of additional output from 'make'.
6231 case `$am_make -s -f confmf 2> /dev/null` in #(
6232 *the\ am__doit\ target
*)
6238 # Now try BSD make style include.
6239 if test "$am__include" = "#"; then
6240 echo '.include "confinc"' > confmf
6241 case `$am_make -s -f confmf 2> /dev/null` in #(
6242 *the\ am__doit\ target
*)
6243 am__include
=.include
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
6252 $as_echo "$_am_result" >&6; }
6253 rm -f confinc confmf
6255 # Check whether --enable-dependency-tracking was given.
6256 if test "${enable_dependency_tracking+set}" = set; then :
6257 enableval
=$enable_dependency_tracking;
6260 if test "x$enable_dependency_tracking" != xno
; then
6261 am_depcomp
="$ac_aux_dir/depcomp"
6265 if test "x$enable_dependency_tracking" != xno; then
6274 # Check whether --enable-silent-rules was given.
6275 if test "${enable_silent_rules+set}" = set; then :
6276 enableval
=$enable_silent_rules;
6279 case $enable_silent_rules in # (((
6280 yes) AM_DEFAULT_VERBOSITY
=0;;
6281 no
) AM_DEFAULT_VERBOSITY
=1;;
6282 *) AM_DEFAULT_VERBOSITY
=1;;
6284 am_make
=${MAKE-make}
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
6286 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
6287 if ${am_cv_make_support_nested_variables+:} false
; then :
6288 $as_echo_n "(cached) " >&6
6290 if $as_echo 'TRUE=$(BAR$(V))
6296 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
6297 am_cv_make_support_nested_variables
=yes
6299 am_cv_make_support_nested_variables
=no
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
6303 $as_echo "$am_cv_make_support_nested_variables" >&6; }
6304 if test $am_cv_make_support_nested_variables = yes; then
6306 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
6308 AM_V
=$AM_DEFAULT_VERBOSITY
6309 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
6313 if test "`cd $srcdir && pwd`" != "`pwd`"; then
6314 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6315 # is not polluted with repeated "-I."
6316 am__isrc
=' -I$(srcdir)'
6317 # test to see if srcdir already configured
6318 if test -f $srcdir/config.status
; then
6319 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
6323 # test whether we have cygpath
6324 if test -z "$CYGPATH_W"; then
6325 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6326 CYGPATH_W
='cygpath -w'
6333 # Define the identity of the package.
6335 VERSION
='version-unused'
6338 # Some tools Automake needs.
6340 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6343 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6346 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6349 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6352 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6354 # For better backward compatibility. To be removed once Automake 1.9.x
6355 # dies out for good. For more background, see:
6356 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6357 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6358 mkdir_p
='$(MKDIR_P)'
6360 # We need awk for the "check" target (and possibly the TAP driver). The
6361 # system "awk" is bad on some platforms.
6362 # Always define AMTAR for backward compatibility. Yes, it's still used
6363 # in the wild :-( We should find a proper way to deprecate it ...
6367 # We'll loop over all known methods to create a tar archive until one works.
6368 _am_tools
='gnutar pax cpio none'
6370 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
6376 depcc
="$CC" am_compiler_list
=
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6379 $as_echo_n "checking dependency style of $depcc... " >&6; }
6380 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6384 # We make a subdir and do the tests there. Otherwise we can end up
6385 # making bogus files that we don't know about and never remove. For
6386 # instance it was reported that on HP-UX the gcc test will end up
6387 # making a dummy file named 'D' -- because '-MD' means "put the output
6391 # Copy depcomp to subdir because otherwise we won't find it if we're
6392 # using a relative directory.
6393 cp "$am_depcomp" conftest.dir
6395 # We will build objects and dependencies in a subdirectory because
6396 # it helps to detect inapplicable dependency modes. For instance
6397 # both Tru64's cc and ICC support -MD to output dependencies as a
6398 # side effect of compilation, but ICC will put the dependencies in
6399 # the current directory while Tru64 will put them in the object
6403 am_cv_CC_dependencies_compiler_type
=none
6404 if test "$am_compiler_list" = ""; then
6405 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6408 case " $depcc " in #(
6409 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6412 for depmode
in $am_compiler_list; do
6413 # Setup a source with many dependencies, because some compilers
6414 # like to wrap large dependency lists on column 80 (with \), and
6415 # we should not choose a depcomp mode which is confused by this.
6417 # We need to recreate these files for each test, as the compiler may
6418 # overwrite some of them when testing with obscure command lines.
6419 # This happens at least with the AIX C compiler.
6421 for i
in 1 2 3 4 5 6; do
6422 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6423 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6424 # Solaris 10 /bin/sh.
6425 echo '/* dummy */' > sub
/conftst
$i.h
6427 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6429 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6430 # mode. It turns out that the SunPro C++ compiler does not properly
6431 # handle '-M -o', and we need to detect this. Also, some Intel
6432 # versions had trouble with output in subdirs.
6433 am__obj
=sub
/conftest.
${OBJEXT-o}
6434 am__minus_obj
="-o $am__obj"
6437 # This depmode causes a compiler race in universal mode.
6438 test "$am__universal" = false ||
continue
6441 # After this tag, mechanisms are not by side-effect, so they'll
6442 # only be used when explicitly requested.
6443 if test "x$enable_dependency_tracking" = xyes
; then
6449 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6450 # This compiler won't grok '-c -o', but also, the minuso test has
6451 # not run yet. These depmodes are late enough in the game, and
6452 # so weak that their functioning should not be impacted.
6453 am__obj
=conftest.
${OBJEXT-o}
6458 if depmode
=$depmode \
6459 source=sub
/conftest.c object
=$am__obj \
6460 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6461 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6462 >/dev
/null
2>conftest.err
&&
6463 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6464 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6465 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6466 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6467 # icc doesn't choke on unknown options, it will just issue warnings
6468 # or remarks (even with -Werror). So we grep stderr for any message
6469 # that says an option was ignored or not supported.
6470 # When given -MP, icc 7.0 and 7.1 complain thusly:
6471 # icc: Command line warning: ignoring option '-M'; no argument required
6472 # The diagnosis changed in icc 8.0:
6473 # icc: Command line remark: option '-MP' not supported
6474 if (grep 'ignoring option' conftest.err ||
6475 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6476 am_cv_CC_dependencies_compiler_type
=$depmode
6485 am_cv_CC_dependencies_compiler_type
=none
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6490 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6491 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6494 test "x$enable_dependency_tracking" != xno \
6495 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6497 am__fastdepCC_FALSE
='#'
6499 am__fastdepCC_TRUE
='#'
6500 am__fastdepCC_FALSE
=
6504 depcc
="$CXX" am_compiler_list
=
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6507 $as_echo_n "checking dependency style of $depcc... " >&6; }
6508 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6509 $as_echo_n "(cached) " >&6
6511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6512 # We make a subdir and do the tests there. Otherwise we can end up
6513 # making bogus files that we don't know about and never remove. For
6514 # instance it was reported that on HP-UX the gcc test will end up
6515 # making a dummy file named 'D' -- because '-MD' means "put the output
6519 # Copy depcomp to subdir because otherwise we won't find it if we're
6520 # using a relative directory.
6521 cp "$am_depcomp" conftest.dir
6523 # We will build objects and dependencies in a subdirectory because
6524 # it helps to detect inapplicable dependency modes. For instance
6525 # both Tru64's cc and ICC support -MD to output dependencies as a
6526 # side effect of compilation, but ICC will put the dependencies in
6527 # the current directory while Tru64 will put them in the object
6531 am_cv_CXX_dependencies_compiler_type
=none
6532 if test "$am_compiler_list" = ""; then
6533 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6536 case " $depcc " in #(
6537 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6540 for depmode
in $am_compiler_list; do
6541 # Setup a source with many dependencies, because some compilers
6542 # like to wrap large dependency lists on column 80 (with \), and
6543 # we should not choose a depcomp mode which is confused by this.
6545 # We need to recreate these files for each test, as the compiler may
6546 # overwrite some of them when testing with obscure command lines.
6547 # This happens at least with the AIX C compiler.
6549 for i
in 1 2 3 4 5 6; do
6550 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6551 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6552 # Solaris 10 /bin/sh.
6553 echo '/* dummy */' > sub
/conftst
$i.h
6555 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6557 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6558 # mode. It turns out that the SunPro C++ compiler does not properly
6559 # handle '-M -o', and we need to detect this. Also, some Intel
6560 # versions had trouble with output in subdirs.
6561 am__obj
=sub
/conftest.
${OBJEXT-o}
6562 am__minus_obj
="-o $am__obj"
6565 # This depmode causes a compiler race in universal mode.
6566 test "$am__universal" = false ||
continue
6569 # After this tag, mechanisms are not by side-effect, so they'll
6570 # only be used when explicitly requested.
6571 if test "x$enable_dependency_tracking" = xyes
; then
6577 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6578 # This compiler won't grok '-c -o', but also, the minuso test has
6579 # not run yet. These depmodes are late enough in the game, and
6580 # so weak that their functioning should not be impacted.
6581 am__obj
=conftest.
${OBJEXT-o}
6586 if depmode
=$depmode \
6587 source=sub
/conftest.c object
=$am__obj \
6588 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6589 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6590 >/dev
/null
2>conftest.err
&&
6591 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6592 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6593 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6594 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6595 # icc doesn't choke on unknown options, it will just issue warnings
6596 # or remarks (even with -Werror). So we grep stderr for any message
6597 # that says an option was ignored or not supported.
6598 # When given -MP, icc 7.0 and 7.1 complain thusly:
6599 # icc: Command line warning: ignoring option '-M'; no argument required
6600 # The diagnosis changed in icc 8.0:
6601 # icc: Command line remark: option '-MP' not supported
6602 if (grep 'ignoring option' conftest.err ||
6603 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6604 am_cv_CXX_dependencies_compiler_type
=$depmode
6613 am_cv_CXX_dependencies_compiler_type
=none
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6618 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6619 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6622 test "x$enable_dependency_tracking" != xno \
6623 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6624 am__fastdepCXX_TRUE
=
6625 am__fastdepCXX_FALSE
='#'
6627 am__fastdepCXX_TRUE
='#'
6628 am__fastdepCXX_FALSE
=
6633 # POSIX will say in a future version that running "rm -f" with no argument
6634 # is OK; and we want to be able to make that assumption in our Makefile
6635 # recipes. So use an aggressive probe to check that the usage we want is
6636 # actually supported "in the wild" to an acceptable degree.
6637 # See automake bug#10828.
6638 # To make any issue more visible, cause the running configure to be aborted
6639 # by default if the 'rm' program in use doesn't match our expectations; the
6640 # user can still override this though.
6641 if rm -f && rm -fr && rm -rf; then : OK
; else
6645 Your 'rm' program seems unable to run without file operands specified
6646 on the command line, even when the '-f' option is present. This is contrary
6647 to the behaviour of most rm programs out there, and not conforming with
6648 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
6650 Please tell bug-automake@gnu.org about your system, including the value
6651 of your $PATH and any error possibly output before this message. This
6652 can help us improve future automake versions.
6655 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
6656 echo 'Configuration will proceed anyway, since you have set the' >&2
6657 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
6661 Aborting the configuration process, to ensure you take notice of the issue.
6663 You can download and install GNU coreutils to get an 'rm' implementation
6664 that behaves properly: <http://www.gnu.org/software/coreutils/>.
6666 If you want to complete the configuration process using your problematic
6667 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
6668 to "yes", and re-run configure.
6671 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
6680 # Check whether --with-cross-host was given.
6681 if test "${with_cross_host+set}" = set; then :
6682 withval
=$with_cross_host;
6686 # Checks for header files.
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6688 $as_echo_n "checking for ANSI C header files... " >&6; }
6689 if ${ac_cv_header_stdc+:} false
; then :
6690 $as_echo_n "(cached) " >&6
6692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6707 if ac_fn_c_try_compile
"$LINENO"; then :
6708 ac_cv_header_stdc
=yes
6710 ac_cv_header_stdc
=no
6712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6714 if test $ac_cv_header_stdc = yes; then
6715 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6722 $EGREP "memchr" >/dev
/null
2>&1; then :
6725 ac_cv_header_stdc
=no
6731 if test $ac_cv_header_stdc = yes; then
6732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6739 $EGREP "free" >/dev
/null
2>&1; then :
6742 ac_cv_header_stdc
=no
6748 if test $ac_cv_header_stdc = yes; then
6749 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6750 if test "$cross_compiling" = yes; then :
6753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6757 #if ((' ' & 0x0FF) == 0x020)
6758 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6759 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6761 # define ISLOWER(c) \
6762 (('a' <= (c) && (c) <= 'i') \
6763 || ('j' <= (c) && (c) <= 'r') \
6764 || ('s' <= (c) && (c) <= 'z'))
6765 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6768 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6773 for (i = 0; i < 256; i++)
6774 if (XOR (islower (i), ISLOWER (i))
6775 || toupper (i) != TOUPPER (i))
6780 if ac_fn_c_try_run
"$LINENO"; then :
6783 ac_cv_header_stdc
=no
6785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6786 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6792 $as_echo "$ac_cv_header_stdc" >&6; }
6793 if test $ac_cv_header_stdc = yes; then
6795 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6800 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6801 if ${ac_cv_header_sys_wait_h+:} false
; then :
6802 $as_echo_n "(cached) " >&6
6804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6806 #include <sys/types.h>
6807 #include <sys/wait.h>
6809 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6812 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6820 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6825 if ac_fn_c_try_compile
"$LINENO"; then :
6826 ac_cv_header_sys_wait_h
=yes
6828 ac_cv_header_sys_wait_h
=no
6830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6833 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6834 if test $ac_cv_header_sys_wait_h = yes; then
6836 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6840 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
6841 if test "x$ac_cv_header_math_h" = xyes
; then :
6843 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
6849 for ac_header
in getopt.h limits.h stddef.h string.h
strings.h \
6851 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
6852 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
6854 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
6855 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
6856 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
6857 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
6859 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6860 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6861 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6862 cat >>confdefs.h
<<_ACEOF
6863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6872 case ${build_alias} in
6873 "") build_noncanonical
=${build} ;;
6874 *) build_noncanonical
=${build_alias} ;;
6877 case ${host_alias} in
6878 "") host_noncanonical
=${build_noncanonical} ;;
6879 *) host_noncanonical
=${host_alias} ;;
6884 case ${target_alias} in
6885 "") target_noncanonical
=${host_noncanonical} ;;
6886 *) target_noncanonical
=${target_alias} ;;
6892 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
6893 # have matching libraries, they should use host libraries: Makefile.tpl
6894 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
6895 # However, they still use the build modules, because the corresponding
6896 # host modules (e.g. bison) are only built for the host when bootstrap
6898 # - build_subdir is where we find build modules, and never changes.
6899 # - build_libsubdir is where we find build libraries, and can be overridden.
6901 # Prefix 'build-' so this never conflicts with target_subdir.
6902 build_subdir
="build-${build_noncanonical}"
6904 # Check whether --with-build-libsubdir was given.
6905 if test "${with_build_libsubdir+set}" = set; then :
6906 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
6908 build_libsubdir
="$build_subdir"
6911 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
6912 if ( test $srcdir = .
&& test -d gcc
) \
6913 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
6914 host_subdir
="host-${host_noncanonical}"
6919 target_subdir
=${target_noncanonical}
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
6923 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
6924 # Check whether --enable-version-specific-runtime-libs was given.
6925 if test "${enable_version_specific_runtime_libs+set}" = set; then :
6926 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
6927 yes) version_specific_libs
=yes ;;
6928 no
) version_specific_libs
=no
;;
6929 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
6932 version_specific_libs
=no
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
6936 $as_echo "$version_specific_libs" >&6; }
6939 # Check whether --with-slibdir was given.
6940 if test "${with_slibdir+set}" = set; then :
6941 withval
=$with_slibdir; slibdir
="$with_slibdir"
6943 if test "${version_specific_libs}" = yes; then
6944 slibdir
='$(libsubdir)'
6945 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
6946 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
6954 # Command-line options.
6955 # Very limited version of AC_MAINTAINER_MODE.
6956 # Check whether --enable-maintainer-mode was given.
6957 if test "${enable_maintainer_mode+set}" = set; then :
6958 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
6961 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
6963 maintainer_mode
=${enableval}
6972 # Calculate toolexeclibdir
6973 # Also toolexecdir, though it's only used in toolexeclibdir
6974 case ${version_specific_libs} in
6976 # Need the gcc compiler version to know where to install libraries
6977 # and header files if --enable-version-specific-runtime-libs option
6979 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
6980 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
6983 if test -n "$with_cross_host" &&
6984 test x
"$with_cross_host" != x
"no"; then
6985 # Install a library built with a cross compiler in tooldir, not libdir.
6986 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
6987 toolexeclibdir
='$(toolexecdir)/lib'
6989 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
6990 toolexeclibdir
='$(libdir)'
6992 multi_os_directory
=`$CC -print-multi-os-directory`
6993 case $multi_os_directory in
6994 .
) ;; # Avoid trailing /.
6995 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7008 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7009 # Check whether --enable-maintainer-mode was given.
7010 if test "${enable_maintainer_mode+set}" = set; then :
7011 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7013 USE_MAINTAINER_MODE
=no
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7017 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7018 if test $USE_MAINTAINER_MODE = yes; then
7019 MAINTAINER_MODE_TRUE
=
7020 MAINTAINER_MODE_FALSE
='#'
7022 MAINTAINER_MODE_TRUE
='#'
7023 MAINTAINER_MODE_FALSE
=
7026 MAINT
=$MAINTAINER_MODE_TRUE
7030 # Check the compiler.
7031 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
7032 # We must force CC to /not/ be precious variables; otherwise
7033 # the wrong, non-multilib-adjusted value will be used in multilibs.
7034 # As a side effect, we have to subst CFLAGS ourselves.
7039 ac_cpp
='$CPP $CPPFLAGS'
7040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7043 if test -n "$ac_tool_prefix"; then
7044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7045 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if ${ac_cv_prog_CC+:} false
; then :
7049 $as_echo_n "(cached) " >&6
7051 if test -n "$CC"; then
7052 ac_cv_prog_CC
="$CC" # Let the user override the test.
7054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir
=.
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7061 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 if test -n "$CC"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7074 $as_echo "$CC" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077 $as_echo "no" >&6; }
7082 if test -z "$ac_cv_prog_CC"; then
7084 # Extract the first word of "gcc", so it can be a program name with args.
7085 set dummy gcc
; ac_word
=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
7089 $as_echo_n "(cached) " >&6
7091 if test -n "$ac_ct_CC"; then
7092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
7094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7098 test -z "$as_dir" && as_dir
=.
7099 for ac_exec_ext
in '' $ac_executable_extensions; do
7100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7101 ac_cv_prog_ac_ct_CC
="gcc"
7102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
7112 if test -n "$ac_ct_CC"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7114 $as_echo "$ac_ct_CC" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7120 if test "x$ac_ct_CC" = x
; then
7123 case $cross_compiling:$ac_tool_warned in
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7127 ac_tool_warned
=yes ;;
7135 if test -z "$CC"; then
7136 if test -n "$ac_tool_prefix"; then
7137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7138 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_CC+:} false
; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$CC"; then
7145 ac_cv_prog_CC
="$CC" # Let the user override the test.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir
=.
7152 for ac_exec_ext
in '' $ac_executable_extensions; do
7153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_CC
="${ac_tool_prefix}cc"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 if test -n "$CC"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7167 $as_echo "$CC" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7176 if test -z "$CC"; then
7177 # Extract the first word of "cc", so it can be a program name with args.
7178 set dummy cc
; ac_word
=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_CC+:} false
; then :
7182 $as_echo_n "(cached) " >&6
7184 if test -n "$CC"; then
7185 ac_cv_prog_CC
="$CC" # Let the user override the test.
7188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir
=.
7193 for ac_exec_ext
in '' $ac_executable_extensions; do
7194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7196 ac_prog_rejected
=yes
7200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 if test $ac_prog_rejected = yes; then
7208 # We found a bogon in the path, so make sure we never use it.
7209 set dummy
$ac_cv_prog_CC
7211 if test $# != 0; then
7212 # We chose a different compiler from the bogus one.
7213 # However, it has the same basename, so the bogon will be chosen
7214 # first if we set CC to just the basename; use the full file name.
7216 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
7222 if test -n "$CC"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7224 $as_echo "$CC" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7232 if test -z "$CC"; then
7233 if test -n "$ac_tool_prefix"; then
7234 for ac_prog
in cl.exe
7236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7237 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if ${ac_cv_prog_CC+:} false
; then :
7241 $as_echo_n "(cached) " >&6
7243 if test -n "$CC"; then
7244 ac_cv_prog_CC
="$CC" # Let the user override the test.
7246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7250 test -z "$as_dir" && as_dir
=.
7251 for ac_exec_ext
in '' $ac_executable_extensions; do
7252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 if test -n "$CC"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7266 $as_echo "$CC" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7273 test -n "$CC" && break
7276 if test -z "$CC"; then
7278 for ac_prog
in cl.exe
7280 # Extract the first word of "$ac_prog", so it can be a program name with args.
7281 set dummy
$ac_prog; ac_word
=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$ac_ct_CC"; then
7288 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
7290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir
=.
7295 for ac_exec_ext
in '' $ac_executable_extensions; do
7296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7297 ac_cv_prog_ac_ct_CC
="$ac_prog"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
7308 if test -n "$ac_ct_CC"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7310 $as_echo "$ac_ct_CC" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7317 test -n "$ac_ct_CC" && break
7320 if test "x$ac_ct_CC" = x
; then
7323 case $cross_compiling:$ac_tool_warned in
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned
=yes ;;
7336 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7338 as_fn_error $?
"no acceptable C compiler found in \$PATH
7339 See \`config.log' for more details" "$LINENO" 5; }
7341 # Provide some information about the compiler.
7342 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
7345 for ac_option
in --version -v -V -qversion; do
7346 { { ac_try
="$ac_compiler $ac_option >&5"
7348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7349 *) ac_try_echo=$ac_try;;
7351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7352 $as_echo "$ac_try_echo"; } >&5
7353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7355 if test -s conftest.err; then
7357 ... rest of stderr output deleted ...
7358 10q' conftest.err >conftest.er1
7359 cat conftest.er1 >&5
7361 rm -f conftest.er1 conftest.err
7362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7363 test $ac_status = 0; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
7367 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
7368 if ${ac_cv_c_compiler_gnu+:} false; then :
7369 $as_echo_n "(cached) " >&6
7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7385 if ac_fn_c_try_compile "$LINENO"; then :
7390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7391 ac_cv_c_compiler_gnu=$ac_compiler_gnu
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
7395 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
7396 if test $ac_compiler_gnu = yes; then
7401 ac_test_CFLAGS=${CFLAGS+set}
7402 ac_save_CFLAGS=$CFLAGS
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
7404 $as_echo_n "checking whether $CC accepts -g... " >&6; }
7405 if ${ac_cv_prog_cc_g+:} false; then :
7406 $as_echo_n "(cached) " >&6
7408 ac_save_c_werror_flag=$ac_c_werror_flag
7409 ac_c_werror_flag=yes
7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7423 if ac_fn_c_try_compile "$LINENO"; then :
7427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7428 /* end confdefs.h. */
7438 if ac_fn_c_try_compile "$LINENO"; then :
7441 ac_c_werror_flag=$ac_save_c_werror_flag
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7454 if ac_fn_c_try_compile "$LINENO"; then :
7457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7462 ac_c_werror_flag=$ac_save_c_werror_flag
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
7465 $as_echo "$ac_cv_prog_cc_g" >&6; }
7466 if test "$ac_test_CFLAGS" = set; then
7467 CFLAGS=$ac_save_CFLAGS
7468 elif test $ac_cv_prog_cc_g = yes; then
7469 if test "$GCC" = yes; then
7475 if test "$GCC" = yes; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
7482 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7483 if ${ac_cv_prog_cc_c89+:} false; then :
7484 $as_echo_n "(cached) " >&6
7486 ac_cv_prog_cc_c89=no
7488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7489 /* end confdefs.h. */
7493 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7494 struct buf { int x; };
7495 FILE * (*rcsopen) (struct buf *, struct stat *, int);
7496 static char *e (p, i)
7502 static char *f (char * (*g) (char **, int), char **p, ...)
7507 s = g (p, va_arg (v,int));
7512 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
7513 function prototypes and stuff, but not '\xHH' hex character constants.
7514 These don't provoke an error unfortunately, instead are silently treated
7515 as 'x'. The following induces an error, until -std is added to get
7516 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
7517 array size at least. It's necessary to write '\x00'==0 to get something
7518 that's true only with -std. */
7519 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7521 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7522 inside strings and character constants. */
7524 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7526 int test (int i, double x);
7527 struct s1 {int (*f) (int a);};
7528 struct s2 {int (*f) (double a);};
7529 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7535 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
7540 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7541 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7543 CC="$ac_save_CC $ac_arg"
7544 if ac_fn_c_try_compile "$LINENO"; then :
7545 ac_cv_prog_cc_c89=$ac_arg
7547 rm -f core conftest.err conftest.$ac_objext
7548 test "x$ac_cv_prog_cc_c89" != "xno" && break
7550 rm -f conftest.$ac_ext
7555 case "x$ac_cv_prog_cc_c89" in
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7558 $as_echo "none needed" >&6; } ;;
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7561 $as_echo "unsupported" >&6; } ;;
7563 CC="$CC $ac_cv_prog_cc_c89"
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
7565 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
7567 if test "x$ac_cv_prog_cc_c89" != xno; then :
7572 ac_cpp='$CPP $CPPFLAGS'
7573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7578 ac_cpp='$CPP $CPPFLAGS'
7579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
7583 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
7584 if ${am_cv_prog_cc_c_o+:} false; then :
7585 $as_echo_n "(cached) " >&6
7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588 /* end confdefs.h. */
7598 # Make sure it works both with $CC and with simple cc.
7599 # Following AC_PROG_CC_C_O, we do the test twice because some
7600 # compilers refuse to overwrite an existing .o file with -o,
7601 # though they will create one.
7602 am_cv_prog_cc_c_o=yes
7604 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
7605 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } \
7609 && test -f conftest2.$ac_objext; then
7612 am_cv_prog_cc_c_o=no
7616 rm -f core conftest*
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7620 $as_echo "$am_cv_prog_cc_c_o" >&6; }
7621 if test "$am_cv_prog_cc_c_o" != yes; then
7622 # Losing compiler, so override with the script.
7623 # FIXME: It is wrong to rewrite CC.
7624 # But if we don't then we get into trouble of one sort or another.
7625 # A longer-term fix would be to have automake use am__CC in this case,
7626 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7627 CC="$am_aux_dir/compile $CC"
7630 ac_cpp='$CPP $CPPFLAGS'
7631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7637 ac_cpp='$CXXCPP $CPPFLAGS'
7638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7641 if test -z "$CXX"; then
7642 if test -n "$CCC"; then
7645 if test -n "$ac_tool_prefix"; then
7646 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_CXX+:} false; then :
7653 $as_echo_n "(cached) " >&6
7655 if test -n "$CXX"; then
7656 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7665 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676 if test -n "$CXX"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7678 $as_echo "$CXX" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7685 test -n "$CXX" && break
7688 if test -z "$CXX"; then
7690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7692 # Extract the first word of "$ac_prog", so it can be a program name with args.
7693 set dummy $ac_prog; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7697 $as_echo_n "(cached) " >&6
7699 if test -n "$ac_ct_CXX"; then
7700 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7709 ac_cv_prog_ac_ct_CXX="$ac_prog"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7719 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7720 if test -n "$ac_ct_CXX"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7722 $as_echo "$ac_ct_CXX" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7729 test -n "$ac_ct_CXX" && break
7732 if test "x$ac_ct_CXX" = x; then
7735 case $cross_compiling:$ac_tool_warned in
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7739 ac_tool_warned=yes ;;
7747 # Provide some information about the compiler.
7748 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7751 for ac_option in --version -v -V -qversion; do
7752 { { ac_try="$ac_compiler $ac_option >&5"
7754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7755 *) ac_try_echo
=$ac_try;;
7757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7758 $as_echo "$ac_try_echo"; } >&5
7759 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7761 if test -s conftest.err
; then
7763 ... rest of stderr output deleted ...
7764 10q' conftest.err
>conftest.er1
7765 cat conftest.er1
>&5
7767 rm -f conftest.er1 conftest.err
7768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7769 test $ac_status = 0; }
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7773 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7774 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
7775 $as_echo_n "(cached) " >&6
7777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7778 /* end confdefs.h. */
7791 if ac_fn_cxx_try_compile
"$LINENO"; then :
7796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7797 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7801 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7802 if test $ac_compiler_gnu = yes; then
7807 ac_test_CXXFLAGS
=${CXXFLAGS+set}
7808 ac_save_CXXFLAGS
=$CXXFLAGS
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7810 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7811 if ${ac_cv_prog_cxx_g+:} false
; then :
7812 $as_echo_n "(cached) " >&6
7814 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
7815 ac_cxx_werror_flag
=yes
7818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7819 /* end confdefs.h. */
7829 if ac_fn_cxx_try_compile
"$LINENO"; then :
7830 ac_cv_prog_cxx_g
=yes
7833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7844 if ac_fn_cxx_try_compile
"$LINENO"; then :
7847 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7860 if ac_fn_cxx_try_compile
"$LINENO"; then :
7861 ac_cv_prog_cxx_g
=yes
7863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7868 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7871 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7872 if test "$ac_test_CXXFLAGS" = set; then
7873 CXXFLAGS
=$ac_save_CXXFLAGS
7874 elif test $ac_cv_prog_cxx_g = yes; then
7875 if test "$GXX" = yes; then
7881 if test "$GXX" = yes; then
7888 ac_cpp
='$CPP $CPPFLAGS'
7889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7893 # By default we simply use the C compiler to build assembly code.
7895 test "${CCAS+set}" = set || CCAS
=$CC
7896 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
7900 depcc
="$CCAS" am_compiler_list
=
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7903 $as_echo_n "checking dependency style of $depcc... " >&6; }
7904 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
7905 $as_echo_n "(cached) " >&6
7907 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7908 # We make a subdir and do the tests there. Otherwise we can end up
7909 # making bogus files that we don't know about and never remove. For
7910 # instance it was reported that on HP-UX the gcc test will end up
7911 # making a dummy file named 'D' -- because '-MD' means "put the output
7915 # Copy depcomp to subdir because otherwise we won't find it if we're
7916 # using a relative directory.
7917 cp "$am_depcomp" conftest.dir
7919 # We will build objects and dependencies in a subdirectory because
7920 # it helps to detect inapplicable dependency modes. For instance
7921 # both Tru64's cc and ICC support -MD to output dependencies as a
7922 # side effect of compilation, but ICC will put the dependencies in
7923 # the current directory while Tru64 will put them in the object
7927 am_cv_CCAS_dependencies_compiler_type
=none
7928 if test "$am_compiler_list" = ""; then
7929 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7934 for depmode
in $am_compiler_list; do
7935 # Setup a source with many dependencies, because some compilers
7936 # like to wrap large dependency lists on column 80 (with \), and
7937 # we should not choose a depcomp mode which is confused by this.
7939 # We need to recreate these files for each test, as the compiler may
7940 # overwrite some of them when testing with obscure command lines.
7941 # This happens at least with the AIX C compiler.
7943 for i
in 1 2 3 4 5 6; do
7944 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7945 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7946 # Solaris 10 /bin/sh.
7947 echo '/* dummy */' > sub
/conftst
$i.h
7949 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7951 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7952 # mode. It turns out that the SunPro C++ compiler does not properly
7953 # handle '-M -o', and we need to detect this. Also, some Intel
7954 # versions had trouble with output in subdirs.
7955 am__obj
=sub
/conftest.
${OBJEXT-o}
7956 am__minus_obj
="-o $am__obj"
7959 # This depmode causes a compiler race in universal mode.
7960 test "$am__universal" = false ||
continue
7963 # After this tag, mechanisms are not by side-effect, so they'll
7964 # only be used when explicitly requested.
7965 if test "x$enable_dependency_tracking" = xyes
; then
7971 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
7972 # This compiler won't grok '-c -o', but also, the minuso test has
7973 # not run yet. These depmodes are late enough in the game, and
7974 # so weak that their functioning should not be impacted.
7975 am__obj
=conftest.
${OBJEXT-o}
7980 if depmode
=$depmode \
7981 source=sub
/conftest.c object
=$am__obj \
7982 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7983 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
7984 >/dev
/null
2>conftest.err
&&
7985 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7986 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7987 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
7988 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7989 # icc doesn't choke on unknown options, it will just issue warnings
7990 # or remarks (even with -Werror). So we grep stderr for any message
7991 # that says an option was ignored or not supported.
7992 # When given -MP, icc 7.0 and 7.1 complain thusly:
7993 # icc: Command line warning: ignoring option '-M'; no argument required
7994 # The diagnosis changed in icc 8.0:
7995 # icc: Command line remark: option '-MP' not supported
7996 if (grep 'ignoring option' conftest.err ||
7997 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7998 am_cv_CCAS_dependencies_compiler_type
=$depmode
8007 am_cv_CCAS_dependencies_compiler_type
=none
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
8012 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
8013 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
8016 test "x$enable_dependency_tracking" != xno \
8017 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
8018 am__fastdepCCAS_TRUE
=
8019 am__fastdepCCAS_FALSE
='#'
8021 am__fastdepCCAS_TRUE
='#'
8022 am__fastdepCCAS_FALSE
=
8030 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
8031 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
8032 # in both places for now and restore CFLAGS at the end of config.
8033 save_CFLAGS
="$CFLAGS"
8035 # Find other programs we need.
8036 if test -n "$ac_tool_prefix"; then
8037 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8038 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_AR+:} false
; then :
8042 $as_echo_n "(cached) " >&6
8044 if test -n "$AR"; then
8045 ac_cv_prog_AR
="$AR" # Let the user override the test.
8047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8051 test -z "$as_dir" && as_dir
=.
8052 for ac_exec_ext
in '' $ac_executable_extensions; do
8053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 if test -n "$AR"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8067 $as_echo "$AR" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8075 if test -z "$ac_cv_prog_AR"; then
8077 # Extract the first word of "ar", so it can be a program name with args.
8078 set dummy
ar; ac_word
=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8082 $as_echo_n "(cached) " >&6
8084 if test -n "$ac_ct_AR"; then
8085 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir
=.
8092 for ac_exec_ext
in '' $ac_executable_extensions; do
8093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_ac_ct_AR
="ar"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8105 if test -n "$ac_ct_AR"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8107 $as_echo "$ac_ct_AR" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8113 if test "x$ac_ct_AR" = x
; then
8116 case $cross_compiling:$ac_tool_warned in
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8120 ac_tool_warned
=yes ;;
8128 if test -n "$ac_tool_prefix"; then
8129 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
8130 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8132 $as_echo_n "checking for $ac_word... " >&6; }
8133 if ${ac_cv_prog_NM+:} false
; then :
8134 $as_echo_n "(cached) " >&6
8136 if test -n "$NM"; then
8137 ac_cv_prog_NM
="$NM" # Let the user override the test.
8139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8143 test -z "$as_dir" && as_dir
=.
8144 for ac_exec_ext
in '' $ac_executable_extensions; do
8145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8146 ac_cv_prog_NM
="${ac_tool_prefix}nm"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 if test -n "$NM"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8159 $as_echo "$NM" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162 $as_echo "no" >&6; }
8167 if test -z "$ac_cv_prog_NM"; then
8169 # Extract the first word of "nm", so it can be a program name with args.
8170 set dummy nm
; ac_word
=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8172 $as_echo_n "checking for $ac_word... " >&6; }
8173 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
8174 $as_echo_n "(cached) " >&6
8176 if test -n "$ac_ct_NM"; then
8177 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
8179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir
=.
8184 for ac_exec_ext
in '' $ac_executable_extensions; do
8185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8186 ac_cv_prog_ac_ct_NM
="nm"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
8197 if test -n "$ac_ct_NM"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
8199 $as_echo "$ac_ct_NM" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8202 $as_echo "no" >&6; }
8205 if test "x$ac_ct_NM" = x
; then
8208 case $cross_compiling:$ac_tool_warned in
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8212 ac_tool_warned
=yes ;;
8220 if test -n "$ac_tool_prefix"; then
8221 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8222 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224 $as_echo_n "checking for $ac_word... " >&6; }
8225 if ${ac_cv_prog_RANLIB+:} false
; then :
8226 $as_echo_n "(cached) " >&6
8228 if test -n "$RANLIB"; then
8229 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8235 test -z "$as_dir" && as_dir
=.
8236 for ac_exec_ext
in '' $ac_executable_extensions; do
8237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8238 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 RANLIB
=$ac_cv_prog_RANLIB
8249 if test -n "$RANLIB"; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8251 $as_echo "$RANLIB" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }
8259 if test -z "$ac_cv_prog_RANLIB"; then
8260 ac_ct_RANLIB
=$RANLIB
8261 # Extract the first word of "ranlib", so it can be a program name with args.
8262 set dummy ranlib
; ac_word
=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8264 $as_echo_n "checking for $ac_word... " >&6; }
8265 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8266 $as_echo_n "(cached) " >&6
8268 if test -n "$ac_ct_RANLIB"; then
8269 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8275 test -z "$as_dir" && as_dir
=.
8276 for ac_exec_ext
in '' $ac_executable_extensions; do
8277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8278 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8289 if test -n "$ac_ct_RANLIB"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8291 $as_echo "$ac_ct_RANLIB" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8297 if test "x$ac_ct_RANLIB" = x
; then
8298 RANLIB
="ranlib-not-found-in-path-error"
8300 case $cross_compiling:$ac_tool_warned in
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8304 ac_tool_warned
=yes ;;
8306 RANLIB
=$ac_ct_RANLIB
8309 RANLIB
="$ac_cv_prog_RANLIB"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8315 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8316 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
8317 $as_echo_n "(cached) " >&6
8319 cat >conftest.
make <<\_ACEOF
8322 @
echo '@@@%%%=$(MAKE)=@@@%%%'
8324 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8325 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8327 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
8329 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
8333 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8335 $as_echo "yes" >&6; }
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8339 $as_echo "no" >&6; }
8340 SET_MAKE
="MAKE=${MAKE-make}"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8348 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8353 macro_version
='2.2.7a'
8354 macro_revision
='1.3134'
8368 ltmain
="$ac_aux_dir/ltmain.sh"
8370 # Backslashify metacharacters that are still active within
8371 # double-quoted strings.
8372 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8374 # Same as above, but do not quote variable references.
8375 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8377 # Sed substitution to delay expansion of an escaped shell variable in a
8378 # double_quote_subst'ed string.
8379 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8381 # Sed substitution to delay expansion of an escaped single quote.
8382 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8384 # Sed substitution to avoid accidental globbing in evaled expressions
8385 no_glob_subst
='s/\*/\\\*/g'
8387 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8388 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8389 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8392 $as_echo_n "checking how to print strings... " >&6; }
8393 # Test print first, because it will be a builtin if present.
8394 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
8395 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8397 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8400 # Use this function as a fallback that always works.
8401 func_fallback_echo ()
8403 eval 'cat <<_LTECHO_EOF
8407 ECHO='func_fallback_echo
'
8410 # func_echo_all arg...
8411 # Invoke $ECHO with all args, space-separated.
8418 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8419 $as_echo "printf" >&6; } ;;
8420 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8421 $as_echo "print -r" >&6; } ;;
8422 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8423 $as_echo "cat" >&6; } ;;
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8440 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
8441 if ${ac_cv_path_SED+:} false; then :
8442 $as_echo_n "(cached) " >&6
8444 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8445 for ac_i in 1 2 3 4 5 6 7; do
8446 ac_script="$ac_script$as_nl$ac_script"
8448 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8449 { ac_script=; unset ac_script;}
8450 if test -z "$SED"; then
8451 ac_path_SED_found=false
8452 # Loop through the user's path and
test for each of PROGNAME-LIST
8453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8457 test -z "$as_dir" && as_dir
=.
8458 for ac_prog
in sed gsed
; do
8459 for ac_exec_ext
in '' $ac_executable_extensions; do
8460 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
8461 as_fn_executable_p
"$ac_path_SED" ||
continue
8462 # Check for GNU ac_path_SED and select it if it is found.
8463 # Check for GNU $ac_path_SED
8464 case `"$ac_path_SED" --version 2>&1` in
8466 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
8469 $as_echo_n 0123456789 >"conftest.in"
8472 cat "conftest.in" "conftest.in" >"conftest.tmp"
8473 mv "conftest.tmp" "conftest.in"
8474 cp "conftest.in" "conftest.nl"
8475 $as_echo '' >> "conftest.nl"
8476 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8477 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8478 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8479 if test $ac_count -gt ${ac_path_SED_max-0}; then
8480 # Best one so far, save it but keep looking for a better one
8481 ac_cv_path_SED
="$ac_path_SED"
8482 ac_path_SED_max
=$ac_count
8484 # 10*(2^10) chars as input seems more than enough
8485 test $ac_count -gt 10 && break
8487 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8490 $ac_path_SED_found && break 3
8495 if test -z "$ac_cv_path_SED"; then
8496 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8504 $as_echo "$ac_cv_path_SED" >&6; }
8505 SED
="$ac_cv_path_SED"
8508 test -z "$SED" && SED
=sed
8509 Xsed
="$SED -e 1s/^X//"
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8522 $as_echo_n "checking for fgrep... " >&6; }
8523 if ${ac_cv_path_FGREP+:} false
; then :
8524 $as_echo_n "(cached) " >&6
8526 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
8527 then ac_cv_path_FGREP
="$GREP -F"
8529 if test -z "$FGREP"; then
8530 ac_path_FGREP_found
=false
8531 # Loop through the user's path and test for each of PROGNAME-LIST
8532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8533 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8536 test -z "$as_dir" && as_dir
=.
8537 for ac_prog
in fgrep
; do
8538 for ac_exec_ext
in '' $ac_executable_extensions; do
8539 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
8540 as_fn_executable_p
"$ac_path_FGREP" ||
continue
8541 # Check for GNU ac_path_FGREP and select it if it is found.
8542 # Check for GNU $ac_path_FGREP
8543 case `"$ac_path_FGREP" --version 2>&1` in
8545 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
8548 $as_echo_n 0123456789 >"conftest.in"
8551 cat "conftest.in" "conftest.in" >"conftest.tmp"
8552 mv "conftest.tmp" "conftest.in"
8553 cp "conftest.in" "conftest.nl"
8554 $as_echo 'FGREP' >> "conftest.nl"
8555 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8556 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8557 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8558 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8559 # Best one so far, save it but keep looking for a better one
8560 ac_cv_path_FGREP
="$ac_path_FGREP"
8561 ac_path_FGREP_max
=$ac_count
8563 # 10*(2^10) chars as input seems more than enough
8564 test $ac_count -gt 10 && break
8566 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8569 $ac_path_FGREP_found && break 3
8574 if test -z "$ac_cv_path_FGREP"; then
8575 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8578 ac_cv_path_FGREP
=$FGREP
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8584 $as_echo "$ac_cv_path_FGREP" >&6; }
8585 FGREP
="$ac_cv_path_FGREP"
8588 test -z "$GREP" && GREP
=grep
8608 # Check whether --with-gnu-ld was given.
8609 if test "${with_gnu_ld+set}" = set; then :
8610 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
8616 if test "$GCC" = yes; then
8617 # Check if gcc -print-prog-name=ld gives a path.
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8619 $as_echo_n "checking for ld used by $CC... " >&6; }
8622 # gcc leaves a trailing carriage return which upsets mingw
8623 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8625 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8628 # Accept absolute paths.
8630 re_direlt
='/[^/][^/]*/\.\./'
8631 # Canonicalize the pathname of ld
8632 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8633 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
8634 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8636 test -z "$LD" && LD
="$ac_prog"
8639 # If it fails, then pretend we aren't using GCC.
8643 # If it is relative, then search for the first ld in PATH.
8647 elif test "$with_gnu_ld" = yes; then
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8649 $as_echo_n "checking for GNU ld... " >&6; }
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8652 $as_echo_n "checking for non-GNU ld... " >&6; }
8654 if ${lt_cv_path_LD+:} false
; then :
8655 $as_echo_n "(cached) " >&6
8657 if test -z "$LD"; then
8658 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8659 for ac_dir
in $PATH; do
8661 test -z "$ac_dir" && ac_dir
=.
8662 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8663 lt_cv_path_LD
="$ac_dir/$ac_prog"
8664 # Check to see if the program is GNU ld. I'd rather use --version,
8665 # but apparently some variants of GNU ld only accept -v.
8666 # Break only if it was the GNU/non-GNU ld that we prefer.
8667 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8668 *GNU
* |
*'with BFD'*)
8669 test "$with_gnu_ld" != no
&& break
8672 test "$with_gnu_ld" != yes && break
8679 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
8684 if test -n "$LD"; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8686 $as_echo "$LD" >&6; }
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8689 $as_echo "no" >&6; }
8691 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8693 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8694 if ${lt_cv_prog_gnu_ld+:} false
; then :
8695 $as_echo_n "(cached) " >&6
8697 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8698 case `$LD -v 2>&1 </dev/null` in
8699 *GNU
* |
*'with BFD'*)
8700 lt_cv_prog_gnu_ld
=yes
8703 lt_cv_prog_gnu_ld
=no
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8708 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8709 with_gnu_ld
=$lt_cv_prog_gnu_ld
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8720 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8721 if ${lt_cv_path_NM+:} false
; then :
8722 $as_echo_n "(cached) " >&6
8724 if test -n "$NM"; then
8725 # Let the user override the nm to test.
8726 lt_nm_to_check
="$NM"
8728 lt_nm_to_check
="${ac_tool_prefix}nm"
8729 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8730 lt_nm_to_check
="$lt_nm_to_check nm"
8733 for lt_tmp_nm
in "$lt_nm_to_check"; do
8734 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8735 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
8737 test -z "$ac_dir" && ac_dir
=.
8738 # Strip out any user-provided options from the nm to test twice,
8739 # the first time to test to see if nm (rather than its options) has
8740 # an explicit path, the second time to yield a file which can be
8742 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
8743 case "$tmp_nm_path" in
8744 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
8745 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
8747 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
8748 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
8749 # Check to see if the nm accepts a BSD-compat flag.
8750 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8751 # nm: unknown option "B" ignored
8752 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
8753 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
8757 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
8759 lt_cv_path_NM
="$tmp_nm -p"
8763 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8764 continue # so that we can try to find one that supports BSD flags
8773 : ${lt_cv_path_NM=no}
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8776 $as_echo "$lt_cv_path_NM" >&6; }
8777 if test "$lt_cv_path_NM" != "no"; then
8780 # Didn't find any BSD compatible name lister, look for dumpbin.
8781 if test -n "$DUMPBIN"; then :
8782 # Let the user override the test.
8784 if test -n "$ac_tool_prefix"; then
8785 for ac_prog
in dumpbin
"link -dump"
8787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8788 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8790 $as_echo_n "checking for $ac_word... " >&6; }
8791 if ${ac_cv_prog_DUMPBIN+:} false
; then :
8792 $as_echo_n "(cached) " >&6
8794 if test -n "$DUMPBIN"; then
8795 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
8797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8801 test -z "$as_dir" && as_dir
=.
8802 for ac_exec_ext
in '' $ac_executable_extensions; do
8803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8804 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
8805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8814 DUMPBIN
=$ac_cv_prog_DUMPBIN
8815 if test -n "$DUMPBIN"; then
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8817 $as_echo "$DUMPBIN" >&6; }
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8820 $as_echo "no" >&6; }
8824 test -n "$DUMPBIN" && break
8827 if test -z "$DUMPBIN"; then
8828 ac_ct_DUMPBIN
=$DUMPBIN
8829 for ac_prog
in dumpbin
"link -dump"
8831 # Extract the first word of "$ac_prog", so it can be a program name with args.
8832 set dummy
$ac_prog; ac_word
=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8834 $as_echo_n "checking for $ac_word... " >&6; }
8835 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
8836 $as_echo_n "(cached) " >&6
8838 if test -n "$ac_ct_DUMPBIN"; then
8839 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
8841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir
=.
8846 for ac_exec_ext
in '' $ac_executable_extensions; do
8847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8848 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8858 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
8859 if test -n "$ac_ct_DUMPBIN"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8861 $as_echo "$ac_ct_DUMPBIN" >&6; }
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8864 $as_echo "no" >&6; }
8868 test -n "$ac_ct_DUMPBIN" && break
8871 if test "x$ac_ct_DUMPBIN" = x
; then
8874 case $cross_compiling:$ac_tool_warned in
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8878 ac_tool_warned
=yes ;;
8880 DUMPBIN
=$ac_ct_DUMPBIN
8884 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8886 DUMPBIN
="$DUMPBIN -symbols"
8894 if test "$DUMPBIN" != ":"; then
8898 test -z "$NM" && NM
=nm
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8906 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8907 if ${lt_cv_nm_interface+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 lt_cv_nm_interface
="BSD nm"
8911 echo "int some_variable = 0;" > conftest.
$ac_ext
8912 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8913 (eval "$ac_compile" 2>conftest.err
)
8914 cat conftest.err
>&5
8915 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8916 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
8917 cat conftest.err
>&5
8918 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8919 cat conftest.out
>&5
8920 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
8921 lt_cv_nm_interface
="MS dumpbin"
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8926 $as_echo "$lt_cv_nm_interface" >&6; }
8928 # find the maximum length of command line arguments
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8930 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8931 if ${lt_cv_sys_max_cmd_len+:} false
; then :
8932 $as_echo_n "(cached) " >&6
8939 # On DJGPP, this test can blow up pretty badly due to problems in libc
8940 # (any single argument exceeding 2000 bytes causes a buffer overrun
8941 # during glob expansion). Even if it were fixed, the result of this
8942 # check would be larger than it should be.
8943 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8947 # Under GNU Hurd, this test is not required because there is
8948 # no limit to the length of command line arguments.
8949 # Libtool will interpret -1 as no limit whatsoever
8950 lt_cv_sys_max_cmd_len
=-1;
8953 cygwin
* | mingw
* | cegcc
*)
8954 # On Win9x/ME, this test blows up -- it succeeds, but takes
8955 # about 5 minutes as the teststring grows exponentially.
8956 # Worse, since 9x/ME are not pre-emptively multitasking,
8957 # you end up with a "frozen" computer, even though with patience
8958 # the test eventually succeeds (with a max line length of 256k).
8959 # Instead, let's just punt: use the minimum linelength reported by
8960 # all of the supported platforms: 8192 (on NT/2K/XP).
8961 lt_cv_sys_max_cmd_len
=8192;
8965 # On MiNT this can take a long time and run out of memory.
8966 lt_cv_sys_max_cmd_len
=8192;
8970 # On AmigaOS with pdksh, this test takes hours, literally.
8971 # So we just punt and use a minimum line length of 8192.
8972 lt_cv_sys_max_cmd_len
=8192;
8975 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8976 # This has been around since 386BSD, at least. Likely further.
8977 if test -x /sbin
/sysctl
; then
8978 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8979 elif test -x /usr
/sbin
/sysctl
; then
8980 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8982 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8984 # And add a safety zone
8985 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8986 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8990 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8991 lt_cv_sys_max_cmd_len
=196608
8995 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8996 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8997 # nice to cause kernel panics so lets avoid the loop below.
8998 # First set a reasonable default.
8999 lt_cv_sys_max_cmd_len
=16384
9001 if test -x /sbin
/sysconfig
; then
9002 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9003 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
9008 lt_cv_sys_max_cmd_len
=102400
9010 sysv5
* | sco5v6
* | sysv4.2uw2
*)
9011 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9012 if test -n "$kargmax"; then
9013 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
9015 lt_cv_sys_max_cmd_len
=32768
9019 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
9020 if test -n "$lt_cv_sys_max_cmd_len"; then
9021 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
9022 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
9024 # Make teststring a little bigger before we do anything with it.
9025 # a 1K string should be a reasonable start.
9026 for i
in 1 2 3 4 5 6 7 8 ; do
9027 teststring
=$teststring$teststring
9029 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
9030 # If test is not a shell built-in, we'll probably end up computing a
9031 # maximum length that is only half of the actual maximum length, but
9033 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
9034 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
9035 test $i != 17 # 1/2 MB should be enough
9038 teststring
=$teststring$teststring
9040 # Only check the string length outside the loop.
9041 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
9043 # Add a significant safety factor because C++ compilers can tack on
9044 # massive amounts of additional arguments before passing them to the
9045 # linker. It appears as though 1/2 is a usable value.
9046 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
9053 if test -n $lt_cv_sys_max_cmd_len ; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9055 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
9058 $as_echo "none" >&6; }
9060 max_cmd_len
=$lt_cv_sys_max_cmd_len
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
9072 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
9073 # Try some XSI features
9076 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
9078 && eval 'test $(( 1 + 1 )) -eq 2 \
9079 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
9082 $as_echo "$xsi_shell" >&6; }
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
9086 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
9088 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
9090 && lt_shell_append=yes
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
9092 $as_echo "$lt_shell_append" >&6; }
9095 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9105 # test EBCDIC or ASCII
9106 case `echo X|tr X '\101'` in
9107 A) # ASCII based system
9108 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9109 lt_SP2NL='tr \040 \012'
9110 lt_NL2SP='tr \015\012 \040\040'
9112 *) # EBCDIC based system
9113 lt_SP2NL='tr \100 \n'
9114 lt_NL2SP='tr \r\n \100\100'
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
9127 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
9128 if ${lt_cv_ld_reload_flag+:} false; then :
9129 $as_echo_n "(cached
) " >&6
9131 lt_cv_ld_reload_flag='-r'
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
9134 $as_echo "$lt_cv_ld_reload_flag" >&6; }
9135 reload_flag=$lt_cv_ld_reload_flag
9136 case $reload_flag in
9138 *) reload_flag=" $reload_flag" ;;
9140 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9143 if test "$GCC" = yes; then
9144 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9146 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9159 if test -n "$ac_tool_prefix"; then
9160 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
9161 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9163 $as_echo_n "checking
for $ac_word...
" >&6; }
9164 if ${ac_cv_prog_OBJDUMP+:} false; then :
9165 $as_echo_n "(cached
) " >&6
9167 if test -n "$OBJDUMP"; then
9168 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9174 test -z "$as_dir" && as_dir=.
9175 for ac_exec_ext in '' $ac_executable_extensions; do
9176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9177 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
9178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9187 OBJDUMP=$ac_cv_prog_OBJDUMP
9188 if test -n "$OBJDUMP"; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9190 $as_echo "$OBJDUMP" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9193 $as_echo "no
" >&6; }
9198 if test -z "$ac_cv_prog_OBJDUMP"; then
9199 ac_ct_OBJDUMP=$OBJDUMP
9200 # Extract the first word of "objdump
", so it can be a program name with args.
9201 set dummy objdump; ac_word=$2
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9203 $as_echo_n "checking
for $ac_word...
" >&6; }
9204 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9205 $as_echo_n "(cached
) " >&6
9207 if test -n "$ac_ct_OBJDUMP"; then
9208 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9214 test -z "$as_dir" && as_dir=.
9215 for ac_exec_ext in '' $ac_executable_extensions; do
9216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9217 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
9218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9227 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9228 if test -n "$ac_ct_OBJDUMP"; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
9230 $as_echo "$ac_ct_OBJDUMP" >&6; }
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9233 $as_echo "no
" >&6; }
9236 if test "x
$ac_ct_OBJDUMP" = x; then
9239 case $cross_compiling:$ac_tool_warned in
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9242 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9243 ac_tool_warned=yes ;;
9245 OBJDUMP=$ac_ct_OBJDUMP
9248 OBJDUMP="$ac_cv_prog_OBJDUMP"
9251 test -z "$OBJDUMP" && OBJDUMP=objdump
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
9262 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
9263 if ${lt_cv_deplibs_check_method+:} false; then :
9264 $as_echo_n "(cached
) " >&6
9266 lt_cv_file_magic_cmd='$MAGIC_CMD'
9267 lt_cv_file_magic_test_file=
9268 lt_cv_deplibs_check_method='unknown'
9269 # Need to set the preceding variable on all platforms that support
9270 # interlibrary dependencies.
9271 # 'none' -- dependencies not supported.
9272 # `unknown' -- same as none, but documents that we really don't know.
9273 # 'pass_all' -- all dependencies passed with no checks.
9274 # 'test_compile' -- check by making test program.
9275 # 'file_magic [[regex]]' -- check by looking for files in library path
9276 # which responds to the $file_magic_cmd with a given extended regex.
9277 # If you have `file' or equivalent on your system and you're not sure
9278 # whether `pass_all' will *always* work, you probably want this one.
9282 lt_cv_deplibs_check_method=pass_all
9286 lt_cv_deplibs_check_method=pass_all
9290 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9291 lt_cv_file_magic_cmd='/usr/bin/file -L'
9292 lt_cv_file_magic_test_file=/shlib/libc.so
9296 # func_win32_libid is a shell function defined in ltmain.sh
9297 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9298 lt_cv_file_magic_cmd='func_win32_libid'
9302 # Base MSYS/MinGW do not provide the 'file' command needed by
9303 # func_win32_libid shell function, so use a weaker test based on 'objdump',
9304 # unless we find 'file', for example because we are cross-compiling.
9305 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
9306 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
9307 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9308 lt_cv_file_magic_cmd='func_win32_libid'
9310 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
9311 lt_cv_file_magic_cmd='$OBJDUMP -f'
9316 # use the weaker test based on 'objdump'. See mingw*.
9317 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9318 lt_cv_file_magic_cmd='$OBJDUMP -f'
9321 darwin* | rhapsody*)
9322 lt_cv_deplibs_check_method=pass_all
9325 freebsd* | dragonfly*)
9326 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9329 # Not sure whether the presence of OpenBSD here was a mistake.
9330 # Let's accept both of them until this is cleared up.
9331 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9332 lt_cv_file_magic_cmd=/usr/bin/file
9333 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9337 lt_cv_deplibs_check_method=pass_all
9342 lt_cv_deplibs_check_method=pass_all
9346 lt_cv_deplibs_check_method=pass_all
9349 hpux10.20* | hpux11*)
9350 lt_cv_file_magic_cmd=/usr/bin/file
9353 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9354 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9357 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]'
9358 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9361 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9362 lt_cv_file_magic_test_file=/usr/lib/libc.sl
9368 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9369 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9372 irix5* | irix6* | nonstopux*)
9374 *-32|*"-32 ") libmagic=32-bit;;
9375 *-n32|*"-n32 ") libmagic=N32;;
9376 *-64|*"-64 ") libmagic=64-bit;;
9377 *) libmagic=never-match;;
9379 lt_cv_deplibs_check_method=pass_all
9382 # This must be Linux ELF.
9383 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9384 lt_cv_deplibs_check_method=pass_all
9388 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9396 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9397 lt_cv_file_magic_cmd=/usr/bin/file
9398 lt_cv_file_magic_test_file=/usr/lib/libnls.so
9402 lt_cv_deplibs_check_method=pass_all
9406 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9407 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9413 osf3* | osf4* | osf5*)
9414 lt_cv_deplibs_check_method=pass_all
9418 lt_cv_deplibs_check_method=pass_all
9422 lt_cv_deplibs_check_method=pass_all
9425 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9426 lt_cv_deplibs_check_method=pass_all
9430 case $host_vendor in
9432 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]'
9433 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9436 lt_cv_deplibs_check_method=pass_all
9439 lt_cv_file_magic_cmd='/bin/file'
9440 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9443 lt_cv_file_magic_cmd='/bin/file'
9444 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
9445 lt_cv_file_magic_test_file=/lib/libc.so
9448 lt_cv_deplibs_check_method=pass_all
9451 lt_cv_deplibs_check_method=pass_all
9457 lt_cv_deplibs_check_method=pass_all
9460 # Assume VxWorks cross toolchains are built on Linux, possibly
9461 # as canadian for Windows hosts.
9462 lt_cv_deplibs_check_method=pass_all
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
9468 $as_echo "$lt_cv_deplibs_check_method" >&6; }
9469 file_magic_cmd=$lt_cv_file_magic_cmd
9470 deplibs_check_method=$lt_cv_deplibs_check_method
9471 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9485 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
9486 for plugin in $plugin_names; do
9487 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
9488 if test x$plugin_so = x$plugin; then
9489 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
9491 if test x$plugin_so != x$plugin; then
9492 plugin_option="--plugin $plugin_so"
9497 if test -n "$ac_tool_prefix"; then
9498 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9499 set dummy ${ac_tool_prefix}ar; ac_word=$2
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9501 $as_echo_n "checking
for $ac_word...
" >&6; }
9502 if ${ac_cv_prog_AR+:} false; then :
9503 $as_echo_n "(cached
) " >&6
9505 if test -n "$AR"; then
9506 ac_cv_prog_AR="$AR" # Let the user override the test.
9508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9512 test -z "$as_dir" && as_dir=.
9513 for ac_exec_ext in '' $ac_executable_extensions; do
9514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9515 ac_cv_prog_AR="${ac_tool_prefix}ar"
9516 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9526 if test -n "$AR"; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
9528 $as_echo "$AR" >&6; }
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9531 $as_echo "no
" >&6; }
9536 if test -z "$ac_cv_prog_AR"; then
9538 # Extract the first word of "ar", so it can be a program name with args.
9539 set dummy ar; ac_word=$2
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9541 $as_echo_n "checking
for $ac_word...
" >&6; }
9542 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9543 $as_echo_n "(cached
) " >&6
9545 if test -n "$ac_ct_AR"; then
9546 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9552 test -z "$as_dir" && as_dir=.
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9555 ac_cv_prog_ac_ct_AR="ar"
9556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9565 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9566 if test -n "$ac_ct_AR"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
9568 $as_echo "$ac_ct_AR" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9571 $as_echo "no
" >&6; }
9574 if test "x
$ac_ct_AR" = x; then
9577 case $cross_compiling:$ac_tool_warned in
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9580 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9581 ac_tool_warned=yes ;;
9589 test -z "$AR" && AR=ar
9590 if test -n "$plugin_option"; then
9591 if $AR --help 2>&1 | grep -q "\
--plugin"; then
9593 $AR $plugin_option rc conftest.a conftest.c
9594 if test "$?
" != 0; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
9596 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
9598 AR="$AR $plugin_option"
9603 test -z "$AR_FLAGS" && AR_FLAGS=cru
9615 if test -n "$ac_tool_prefix"; then
9616 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
9617 set dummy ${ac_tool_prefix}strip; ac_word=$2
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9619 $as_echo_n "checking
for $ac_word...
" >&6; }
9620 if ${ac_cv_prog_STRIP+:} false; then :
9621 $as_echo_n "(cached
) " >&6
9623 if test -n "$STRIP"; then
9624 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9630 test -z "$as_dir" && as_dir=.
9631 for ac_exec_ext in '' $ac_executable_extensions; do
9632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9633 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
9634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9643 STRIP=$ac_cv_prog_STRIP
9644 if test -n "$STRIP"; then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9646 $as_echo "$STRIP" >&6; }
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9649 $as_echo "no
" >&6; }
9654 if test -z "$ac_cv_prog_STRIP"; then
9656 # Extract the first word of "strip
", so it can be a program name with args.
9657 set dummy strip; ac_word=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9659 $as_echo_n "checking
for $ac_word...
" >&6; }
9660 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9661 $as_echo_n "(cached
) " >&6
9663 if test -n "$ac_ct_STRIP"; then
9664 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9670 test -z "$as_dir" && as_dir=.
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9673 ac_cv_prog_ac_ct_STRIP="strip
"
9674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9684 if test -n "$ac_ct_STRIP"; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
9686 $as_echo "$ac_ct_STRIP" >&6; }
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9689 $as_echo "no
" >&6; }
9692 if test "x
$ac_ct_STRIP" = x; then
9695 case $cross_compiling:$ac_tool_warned in
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9698 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9699 ac_tool_warned=yes ;;
9704 STRIP="$ac_cv_prog_STRIP"
9707 test -z "$STRIP" && STRIP=:
9714 if test -n "$ac_tool_prefix"; then
9715 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
9716 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9718 $as_echo_n "checking
for $ac_word...
" >&6; }
9719 if ${ac_cv_prog_RANLIB+:} false; then :
9720 $as_echo_n "(cached
) " >&6
9722 if test -n "$RANLIB"; then
9723 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9729 test -z "$as_dir" && as_dir=.
9730 for ac_exec_ext in '' $ac_executable_extensions; do
9731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9732 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
9733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9742 RANLIB=$ac_cv_prog_RANLIB
9743 if test -n "$RANLIB"; then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9745 $as_echo "$RANLIB" >&6; }
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9748 $as_echo "no
" >&6; }
9753 if test -z "$ac_cv_prog_RANLIB"; then
9754 ac_ct_RANLIB=$RANLIB
9755 # Extract the first word of "ranlib
", so it can be a program name with args.
9756 set dummy ranlib; ac_word=$2
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9758 $as_echo_n "checking
for $ac_word...
" >&6; }
9759 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9760 $as_echo_n "(cached
) " >&6
9762 if test -n "$ac_ct_RANLIB"; then
9763 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9772 ac_cv_prog_ac_ct_RANLIB="ranlib
"
9773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9782 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9783 if test -n "$ac_ct_RANLIB"; then
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
9785 $as_echo "$ac_ct_RANLIB" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9788 $as_echo "no
" >&6; }
9791 if test "x
$ac_ct_RANLIB" = x; then
9794 case $cross_compiling:$ac_tool_warned in
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9797 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9798 ac_tool_warned=yes ;;
9800 RANLIB=$ac_ct_RANLIB
9803 RANLIB="$ac_cv_prog_RANLIB"
9806 test -z "$RANLIB" && RANLIB=:
9807 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
9808 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
9809 RANLIB="$RANLIB $plugin_option"
9818 # Determine commands to create old-style static archives.
9819 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9820 old_postinstall_cmds='chmod 644 $oldlib'
9821 old_postuninstall_cmds=
9823 if test -n "$RANLIB"; then
9826 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
9829 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
9832 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
9837 lock_old_archive_extraction=yes ;;
9839 lock_old_archive_extraction=no ;;
9880 # If no C compiler was specified, use CC.
9883 # If no C compiler flags were specified, use CFLAGS.
9884 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9886 # Allow CC to be a program name with arguments.
9890 # Check for command to grab the raw symbol name followed by C symbol from nm.
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
9892 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
9893 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9894 $as_echo_n "(cached
) " >&6
9897 # These are sane defaults that work on at least a few old systems.
9898 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9900 # Character class describing NM global symbol codes.
9901 symcode='[BCDEGRST]'
9903 # Regexp to match symbols that can be accessed directly from C.
9904 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9906 # Define system-specific variables.
9911 cygwin* | mingw* | pw32* | cegcc*)
9912 symcode='[ABCDGISTW]'
9915 if test "$host_cpu" = ia64; then
9916 symcode='[ABCDEGRST]'
9920 symcode='[BCDEGRST]'
9923 symcode='[BCDEGQRST]'
9934 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9942 # If we're using GNU nm, then use its standard symbol codes.
9943 case `$NM -V 2>&1` in
9944 *GNU* | *'with BFD'*)
9945 symcode='[ABCDGIRSTW]' ;;
9948 # Transform an extracted symbol line into a proper C declaration.
9949 # Some systems (esp. on ia64) link data and code symbols differently,
9950 # so use this general approach.
9951 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9953 # Transform an extracted symbol line into symbol name and symbol address
9954 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9955 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'"
9957 # Handle CRLF in mingw tool chain
9961 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9965 # Try without a prefix underscore, then with it.
9966 for ac_symprfx in "" "_
"; do
9968 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9969 symxfrm="\\1 $ac_symprfx\\2 \\2"
9971 # Write the raw and C identifiers.
9972 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
9973 # Fake it for dumpbin and say T for any non-static function
9974 # and D for any global variable.
9975 # Also find C++ and __fastcall symbols from MSVC++,
9976 # which start with @ or ?.
9977 lt_cv_sys_global_symbol_pipe="$AWK '"\
9978 " {last_section=section; section=\$ 3};"\
9979 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9980 " \$ 0!~/External *\|/{next};"\
9981 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9982 " {if(hide[section]) next};"\
9983 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9984 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9985 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9986 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9987 " ' prfx
=^
$ac_symprfx"
9989 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9992 # Check to see that the pipe works correctly.
9996 cat > conftest.$ac_ext <<_LT_EOF
10001 void nm_test_func(void);
10002 void nm_test_func(void){}
10006 int main(){nm_test_var='a';nm_test_func();return(0);}
10009 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10010 (eval $ac_compile) 2>&5
10012 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10013 test $ac_status = 0; }; then
10014 # Now try to grab the symbols.
10016 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
10017 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
10019 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10020 test $ac_status = 0; } && test -s "$nlist"; then
10021 # Try sorting and uniquifying the output.
10022 if sort "$nlist" | uniq > "$nlist"T; then
10023 mv -f "$nlist"T "$nlist"
10028 # Make sure that we snagged all the symbols we need.
10029 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
10030 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
10031 cat <<_LT_EOF > conftest.$ac_ext
10037 # Now generate the symbol file.
10038 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10040 cat <<_LT_EOF >> conftest.$ac_ext
10042 /* The mapping between symbol names and symbols. */
10047 lt__PROGRAM__LTX_preloaded_symbols[] =
10049 { "@PROGRAM@
", (void *) 0 },
10051 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10052 cat <<\_LT_EOF >> conftest.$ac_ext
10056 /* This works around a problem in FreeBSD linker */
10057 #ifdef FREEBSD_WORKAROUND
10058 static const void *lt_preloaded_setup() {
10059 return lt__PROGRAM__LTX_preloaded_symbols;
10067 # Now try linking the two files.
10068 mv conftest.$ac_objext conftstm.$ac_objext
10069 lt_save_LIBS="$LIBS"
10070 lt_save_CFLAGS="$CFLAGS"
10071 LIBS="conftstm.
$ac_objext"
10072 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10073 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10074 (eval $ac_link) 2>&5
10076 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10077 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
10080 LIBS="$lt_save_LIBS"
10081 CFLAGS="$lt_save_CFLAGS"
10083 echo "cannot
find nm_test_func
in $nlist" >&5
10086 echo "cannot
find nm_test_var
in $nlist" >&5
10089 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10092 echo "$progname: failed program was
:" >&5
10093 cat conftest.$ac_ext >&5
10095 rm -rf conftest* conftst*
10097 # Do not use the global_symbol_pipe unless it works.
10098 if test "$pipe_works" = yes; then
10101 lt_cv_sys_global_symbol_pipe=
10107 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10108 lt_cv_sys_global_symbol_to_cdecl=
10110 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
10112 $as_echo "failed
" >&6; }
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
10115 $as_echo "ok
" >&6; }
10139 # Check whether --enable-libtool-lock was given.
10140 if test "${enable_libtool_lock+set}" = set; then :
10141 enableval=$enable_libtool_lock;
10144 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
10146 # Some flags need to be propagated to the compiler or linker for good
10150 # Find out which ABI we are using.
10151 echo 'int i;' > conftest.$ac_ext
10152 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10153 (eval $ac_compile) 2>&5
10155 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10156 test $ac_status = 0; }; then
10157 case `/usr/bin/file conftest.$ac_objext` in
10159 HPUX_IA64_MODE="32"
10162 HPUX_IA64_MODE="64"
10169 # Find out which ABI we are using.
10170 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
10171 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10172 (eval $ac_compile) 2>&5
10174 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10175 test $ac_status = 0; }; then
10176 if test "$lt_cv_prog_gnu_ld" = yes; then
10177 case `/usr/bin/file conftest.$ac_objext` in
10179 LD="${LD-ld} -melf32bsmip"
10182 LD="${LD-ld} -melf32bmipn32"
10185 LD="${LD-ld} -melf64bmip"
10189 case `/usr/bin/file conftest.$ac_objext` in
10205 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10206 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10207 # Find out which ABI we are using.
10208 echo 'int i;' > conftest.$ac_ext
10209 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10210 (eval $ac_compile) 2>&5
10212 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10213 test $ac_status = 0; }; then
10214 case `/usr/bin/file conftest.o` in
10217 x86_64-*kfreebsd*-gnu)
10218 LD="${LD-ld} -m elf_i386_fbsd
"
10221 case `/usr/bin/file conftest.o` in
10223 LD="${LD-ld} -m elf32_x86_64
"
10226 LD="${LD-ld} -m elf_i386
"
10230 powerpc64le-*linux*)
10231 LD="${LD-ld} -m elf32lppclinux
"
10234 LD="${LD-ld} -m elf32ppclinux
"
10237 LD="${LD-ld} -m elf_s390
"
10240 LD="${LD-ld} -m elf32_sparc
"
10246 x86_64-*kfreebsd*-gnu)
10247 LD="${LD-ld} -m elf_x86_64_fbsd
"
10250 LD="${LD-ld} -m elf_x86_64
"
10253 LD="${LD-ld} -m elf64lppc
"
10256 LD="${LD-ld} -m elf64ppc
"
10258 s390*-*linux*|s390*-*tpf*)
10259 LD="${LD-ld} -m elf64_s390
"
10262 LD="${LD-ld} -m elf64_sparc
"
10272 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10273 SAVE_CFLAGS="$CFLAGS"
10274 CFLAGS="$CFLAGS -belf"
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
10276 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
10277 if ${lt_cv_cc_needs_belf+:} false; then :
10278 $as_echo_n "(cached
) " >&6
10281 ac_cpp='$CPP $CPPFLAGS'
10282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10286 if test x$gcc_no_link = xyes; then
10287 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 lt_cv_cc_needs_belf=yes
10303 lt_cv_cc_needs_belf=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10308 ac_cpp='$CPP $CPPFLAGS'
10309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
10315 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10316 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10317 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10318 CFLAGS="$SAVE_CFLAGS"
10322 # Find out which ABI we are using.
10323 echo 'int i;' > conftest.$ac_ext
10324 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10325 (eval $ac_compile) 2>&5
10327 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10328 test $ac_status = 0; }; then
10329 case `/usr/bin/file conftest.o` in
10331 case $lt_cv_prog_gnu_ld in
10332 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
10334 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10346 need_locks="$enable_libtool_lock"
10350 rhapsody* | darwin*)
10351 if test -n "$ac_tool_prefix"; then
10352 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
10353 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10355 $as_echo_n "checking
for $ac_word...
" >&6; }
10356 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10357 $as_echo_n "(cached
) " >&6
10359 if test -n "$DSYMUTIL"; then
10360 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10363 for as_dir in $PATH
10366 test -z "$as_dir" && as_dir=.
10367 for ac_exec_ext in '' $ac_executable_extensions; do
10368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10369 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
10370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10379 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10380 if test -n "$DSYMUTIL"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
10382 $as_echo "$DSYMUTIL" >&6; }
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10385 $as_echo "no
" >&6; }
10390 if test -z "$ac_cv_prog_DSYMUTIL"; then
10391 ac_ct_DSYMUTIL=$DSYMUTIL
10392 # Extract the first word of "dsymutil
", so it can be a program name with args.
10393 set dummy dsymutil; ac_word=$2
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10395 $as_echo_n "checking
for $ac_word...
" >&6; }
10396 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10397 $as_echo_n "(cached
) " >&6
10399 if test -n "$ac_ct_DSYMUTIL"; then
10400 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10403 for as_dir in $PATH
10406 test -z "$as_dir" && as_dir=.
10407 for ac_exec_ext in '' $ac_executable_extensions; do
10408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10409 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
10410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10419 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10420 if test -n "$ac_ct_DSYMUTIL"; then
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
10422 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10425 $as_echo "no
" >&6; }
10428 if test "x
$ac_ct_DSYMUTIL" = x; then
10431 case $cross_compiling:$ac_tool_warned in
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10434 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10435 ac_tool_warned=yes ;;
10437 DSYMUTIL=$ac_ct_DSYMUTIL
10440 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10443 if test -n "$ac_tool_prefix"; then
10444 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
10445 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10447 $as_echo_n "checking
for $ac_word...
" >&6; }
10448 if ${ac_cv_prog_NMEDIT+:} false; then :
10449 $as_echo_n "(cached
) " >&6
10451 if test -n "$NMEDIT"; then
10452 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10455 for as_dir in $PATH
10458 test -z "$as_dir" && as_dir=.
10459 for ac_exec_ext in '' $ac_executable_extensions; do
10460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10461 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
10462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10471 NMEDIT=$ac_cv_prog_NMEDIT
10472 if test -n "$NMEDIT"; then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
10474 $as_echo "$NMEDIT" >&6; }
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10477 $as_echo "no
" >&6; }
10482 if test -z "$ac_cv_prog_NMEDIT"; then
10483 ac_ct_NMEDIT=$NMEDIT
10484 # Extract the first word of "nmedit
", so it can be a program name with args.
10485 set dummy nmedit; ac_word=$2
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10487 $as_echo_n "checking
for $ac_word...
" >&6; }
10488 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10489 $as_echo_n "(cached
) " >&6
10491 if test -n "$ac_ct_NMEDIT"; then
10492 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495 for as_dir in $PATH
10498 test -z "$as_dir" && as_dir=.
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
10502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10511 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10512 if test -n "$ac_ct_NMEDIT"; then
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
10514 $as_echo "$ac_ct_NMEDIT" >&6; }
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10517 $as_echo "no
" >&6; }
10520 if test "x
$ac_ct_NMEDIT" = x; then
10523 case $cross_compiling:$ac_tool_warned in
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10526 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10527 ac_tool_warned=yes ;;
10529 NMEDIT=$ac_ct_NMEDIT
10532 NMEDIT="$ac_cv_prog_NMEDIT"
10535 if test -n "$ac_tool_prefix"; then
10536 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
10537 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10539 $as_echo_n "checking
for $ac_word...
" >&6; }
10540 if ${ac_cv_prog_LIPO+:} false; then :
10541 $as_echo_n "(cached
) " >&6
10543 if test -n "$LIPO"; then
10544 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10547 for as_dir in $PATH
10550 test -z "$as_dir" && as_dir=.
10551 for ac_exec_ext in '' $ac_executable_extensions; do
10552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10553 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
10554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10563 LIPO=$ac_cv_prog_LIPO
10564 if test -n "$LIPO"; then
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
10566 $as_echo "$LIPO" >&6; }
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10569 $as_echo "no
" >&6; }
10574 if test -z "$ac_cv_prog_LIPO"; then
10576 # Extract the first word of "lipo
", so it can be a program name with args.
10577 set dummy lipo; ac_word=$2
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10579 $as_echo_n "checking
for $ac_word...
" >&6; }
10580 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10581 $as_echo_n "(cached
) " >&6
10583 if test -n "$ac_ct_LIPO"; then
10584 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10587 for as_dir in $PATH
10590 test -z "$as_dir" && as_dir=.
10591 for ac_exec_ext in '' $ac_executable_extensions; do
10592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10593 ac_cv_prog_ac_ct_LIPO="lipo
"
10594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10603 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10604 if test -n "$ac_ct_LIPO"; then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
10606 $as_echo "$ac_ct_LIPO" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10609 $as_echo "no
" >&6; }
10612 if test "x
$ac_ct_LIPO" = x; then
10615 case $cross_compiling:$ac_tool_warned in
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10618 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10619 ac_tool_warned=yes ;;
10624 LIPO="$ac_cv_prog_LIPO"
10627 if test -n "$ac_tool_prefix"; then
10628 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
10629 set dummy ${ac_tool_prefix}otool; ac_word=$2
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10631 $as_echo_n "checking
for $ac_word...
" >&6; }
10632 if ${ac_cv_prog_OTOOL+:} false; then :
10633 $as_echo_n "(cached
) " >&6
10635 if test -n "$OTOOL"; then
10636 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10639 for as_dir in $PATH
10642 test -z "$as_dir" && as_dir=.
10643 for ac_exec_ext in '' $ac_executable_extensions; do
10644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10645 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
10646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10655 OTOOL=$ac_cv_prog_OTOOL
10656 if test -n "$OTOOL"; then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10658 $as_echo "$OTOOL" >&6; }
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10661 $as_echo "no
" >&6; }
10666 if test -z "$ac_cv_prog_OTOOL"; then
10668 # Extract the first word of "otool
", so it can be a program name with args.
10669 set dummy otool; ac_word=$2
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10671 $as_echo_n "checking
for $ac_word...
" >&6; }
10672 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10673 $as_echo_n "(cached
) " >&6
10675 if test -n "$ac_ct_OTOOL"; then
10676 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10679 for as_dir in $PATH
10682 test -z "$as_dir" && as_dir=.
10683 for ac_exec_ext in '' $ac_executable_extensions; do
10684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10685 ac_cv_prog_ac_ct_OTOOL="otool
"
10686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10695 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10696 if test -n "$ac_ct_OTOOL"; then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
10698 $as_echo "$ac_ct_OTOOL" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10701 $as_echo "no
" >&6; }
10704 if test "x
$ac_ct_OTOOL" = x; then
10707 case $cross_compiling:$ac_tool_warned in
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10710 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10711 ac_tool_warned=yes ;;
10716 OTOOL="$ac_cv_prog_OTOOL"
10719 if test -n "$ac_tool_prefix"; then
10720 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
10721 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10723 $as_echo_n "checking
for $ac_word...
" >&6; }
10724 if ${ac_cv_prog_OTOOL64+:} false; then :
10725 $as_echo_n "(cached
) " >&6
10727 if test -n "$OTOOL64"; then
10728 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10731 for as_dir in $PATH
10734 test -z "$as_dir" && as_dir=.
10735 for ac_exec_ext in '' $ac_executable_extensions; do
10736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10737 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
10738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10747 OTOOL64=$ac_cv_prog_OTOOL64
10748 if test -n "$OTOOL64"; then
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
10750 $as_echo "$OTOOL64" >&6; }
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10753 $as_echo "no
" >&6; }
10758 if test -z "$ac_cv_prog_OTOOL64"; then
10759 ac_ct_OTOOL64=$OTOOL64
10760 # Extract the first word of "otool64
", so it can be a program name with args.
10761 set dummy otool64; ac_word=$2
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10763 $as_echo_n "checking
for $ac_word...
" >&6; }
10764 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10765 $as_echo_n "(cached
) " >&6
10767 if test -n "$ac_ct_OTOOL64"; then
10768 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10771 for as_dir in $PATH
10774 test -z "$as_dir" && as_dir=.
10775 for ac_exec_ext in '' $ac_executable_extensions; do
10776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10777 ac_cv_prog_ac_ct_OTOOL64="otool64
"
10778 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10787 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10788 if test -n "$ac_ct_OTOOL64"; then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
10790 $as_echo "$ac_ct_OTOOL64" >&6; }
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10793 $as_echo "no
" >&6; }
10796 if test "x
$ac_ct_OTOOL64" = x; then
10799 case $cross_compiling:$ac_tool_warned in
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10802 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10803 ac_tool_warned=yes ;;
10805 OTOOL64=$ac_ct_OTOOL64
10808 OTOOL64="$ac_cv_prog_OTOOL64"
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
10838 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
10839 if ${lt_cv_apple_cc_single_mod+:} false; then :
10840 $as_echo_n "(cached
) " >&6
10842 lt_cv_apple_cc_single_mod=no
10843 if test -z "${LT_MULTI_MODULE}"; then
10844 # By default we will add the -single_module flag. You can override
10845 # by either setting the environment variable LT_MULTI_MODULE
10846 # non-empty at configure time, or by adding -multi_module to the
10848 rm -rf libconftest.dylib*
10849 echo "int foo
(void
){return 1;}" > conftest.c
10850 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10851 -dynamiclib -Wl,-single_module conftest.c
" >&5
10852 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10853 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10855 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10856 lt_cv_apple_cc_single_mod=yes
10858 cat conftest.err >&5
10860 rm -rf libconftest.dylib*
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
10865 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
10867 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
10868 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10869 $as_echo_n "(cached
) " >&6
10871 lt_cv_ld_exported_symbols_list=no
10872 save_LDFLAGS=$LDFLAGS
10873 echo "_main
" > conftest.sym
10874 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
10875 if test x$gcc_no_link = xyes; then
10876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10889 if ac_fn_c_try_link "$LINENO"; then :
10890 lt_cv_ld_exported_symbols_list=yes
10892 lt_cv_ld_exported_symbols_list=no
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LDFLAGS="$save_LDFLAGS"
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
10900 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
10902 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
10903 if ${lt_cv_ld_force_load+:} false; then :
10904 $as_echo_n "(cached
) " >&6
10906 lt_cv_ld_force_load=no
10907 cat > conftest.c << _LT_EOF
10908 int forced_loaded() { return 2;}
10910 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
10911 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10912 echo "$AR cru libconftest.a conftest.o
" >&5
10913 $AR cru libconftest.a conftest.o 2>&5
10914 cat > conftest.c << _LT_EOF
10915 int main() { return 0;}
10917 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
10918 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10920 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
10921 lt_cv_ld_force_load=yes
10923 cat conftest.err >&5
10925 rm -f conftest.err libconftest.a conftest conftest.c
10926 rm -rf conftest.dSYM
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
10930 $as_echo "$lt_cv_ld_force_load" >&6; }
10931 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
10932 # build without first building modern cctools / linker.
10933 case $host_cpu-$host_os in
10934 *-rhapsody* | *-darwin1.[012])
10935 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10937 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10939 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
10940 # deployment target is forced to an earlier version.
10941 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
10942 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
10945 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10952 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10953 _lt_dar_single_mod='$single_module'
10955 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10956 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10958 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10960 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
10961 _lt_dsymutil='~$DSYMUTIL $lib || :'
10968 for ac_header in dlfcn.h
10970 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
10972 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
10973 cat >>confdefs.h <<_ACEOF
10974 #define HAVE_DLFCN_H 1
10992 enable_win32_dll=no
10995 # Check whether --enable-shared was given.
10996 if test "${enable_shared+set}" = set; then :
10997 enableval=$enable_shared; p=${PACKAGE-default}
10999 yes) enable_shared=yes ;;
11000 no) enable_shared=no ;;
11003 # Look at the argument we got. We use all the common list separators.
11004 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11005 for pkg in $enableval; do
11007 if test "X
$pkg" = "X
$p"; then
11026 # Check whether --enable-static was given.
11027 if test "${enable_static+set}" = set; then :
11028 enableval=$enable_static; p=${PACKAGE-default}
11030 yes) enable_static=yes ;;
11031 no) enable_static=no ;;
11034 # Look at the argument we got. We use all the common list separators.
11035 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11036 for pkg in $enableval; do
11038 if test "X
$pkg" = "X
$p"; then
11058 # Check whether --with-pic was given.
11059 if test "${with_pic+set}" = set; then :
11060 withval=$with_pic; pic_mode="$withval"
11066 test -z "$pic_mode" && pic_mode=default
11074 # Check whether --enable-fast-install was given.
11075 if test "${enable_fast_install+set}" = set; then :
11076 enableval=$enable_fast_install; p=${PACKAGE-default}
11078 yes) enable_fast_install=yes ;;
11079 no) enable_fast_install=no ;;
11081 enable_fast_install=no
11082 # Look at the argument we got. We use all the common list separators.
11083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11084 for pkg in $enableval; do
11086 if test "X
$pkg" = "X
$p"; then
11087 enable_fast_install=yes
11094 enable_fast_install=yes
11107 # This can be used to rebuild libtool when needed
11108 LIBTOOL_DEPS="$ltmain"
11110 # Always use our own libtool.
11111 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11138 test -z "$LN_S" && LN_S="ln -s"
11153 if test -n "${ZSH_VERSION+set}" ; then
11154 setopt NO_GLOB_SUBST
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
11158 $as_echo_n "checking
for objdir...
" >&6; }
11159 if ${lt_cv_objdir+:} false; then :
11160 $as_echo_n "(cached
) " >&6
11162 rm -f .libs 2>/dev/null
11163 mkdir .libs 2>/dev/null
11164 if test -d .libs; then
11167 # MS-DOS does not allow filenames that begin with a dot.
11170 rmdir .libs 2>/dev/null
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
11173 $as_echo "$lt_cv_objdir" >&6; }
11174 objdir=$lt_cv_objdir
11180 cat >>confdefs.h <<_ACEOF
11181 #define LT_OBJDIR "$lt_cv_objdir/"
11189 # AIX sometimes has problems with the GCC collect2 program. For some
11190 # reason, if we set the COLLECT_NAMES environment variable, the problems
11191 # vanish in a puff of smoke.
11192 if test "X
${COLLECT_NAMES+set}" != Xset; then
11194 export COLLECT_NAMES
11199 # Global variables:
11201 can_build_shared=yes
11203 # All known linkers require a `.a' archive for static linking (except MSVC,
11204 # which needs '.lib').
11207 with_gnu_ld="$lt_cv_prog_gnu_ld"
11210 old_CFLAGS="$CFLAGS"
11212 # Set sane defaults for various variables
11213 test -z "$CC" && CC=cc
11214 test -z "$LTCC" && LTCC=$CC
11215 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11216 test -z "$LD" && LD=ld
11217 test -z "$ac_objext" && ac_objext=o
11219 for cc_temp in $compiler""; do
11221 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11222 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11227 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
11230 # Only perform the check for file, if the check method requires it
11231 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11232 case $deplibs_check_method in
11234 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
11236 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
11237 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11238 $as_echo_n "(cached
) " >&6
11242 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11245 lt_save_MAGIC_CMD="$MAGIC_CMD"
11246 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11247 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
11248 for ac_dir in $ac_dummy; do
11250 test -z "$ac_dir" && ac_dir=.
11251 if test -f $ac_dir/${ac_tool_prefix}file; then
11252 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11253 if test -n "$file_magic_test_file"; then
11254 case $deplibs_check_method in
11256 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
11257 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11258 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11259 $EGREP "$file_magic_regex" > /dev/null; then
11264 *** Warning: the command libtool uses to detect shared libraries,
11265 *** $file_magic_cmd, produces output that libtool cannot recognize.
11266 *** The result is that libtool may fail to recognize shared libraries
11267 *** as such. This will affect the creation of libtool libraries that
11268 *** depend on shared libraries, but programs linked with such libtool
11269 *** libraries will work regardless of this problem. Nevertheless, you
11270 *** may want to report the problem to your system manager and/or to
11271 *** bug-libtool@gnu.org
11281 MAGIC_CMD="$lt_save_MAGIC_CMD"
11286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11287 if test -n "$MAGIC_CMD"; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
11289 $as_echo "$MAGIC_CMD" >&6; }
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11292 $as_echo "no
" >&6; }
11299 if test -z "$lt_cv_path_MAGIC_CMD"; then
11300 if test -n "$ac_tool_prefix"; then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
11302 $as_echo_n "checking
for file...
" >&6; }
11303 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11304 $as_echo_n "(cached
) " >&6
11308 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11311 lt_save_MAGIC_CMD="$MAGIC_CMD"
11312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11313 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
11314 for ac_dir in $ac_dummy; do
11316 test -z "$ac_dir" && ac_dir=.
11317 if test -f $ac_dir/file; then
11318 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11319 if test -n "$file_magic_test_file"; then
11320 case $deplibs_check_method in
11322 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
11323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11324 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11325 $EGREP "$file_magic_regex" > /dev/null; then
11330 *** Warning: the command libtool uses to detect shared libraries,
11331 *** $file_magic_cmd, produces output that libtool cannot recognize.
11332 *** The result is that libtool may fail to recognize shared libraries
11333 *** as such. This will affect the creation of libtool libraries that
11334 *** depend on shared libraries, but programs linked with such libtool
11335 *** libraries will work regardless of this problem. Nevertheless, you
11336 *** may want to report the problem to your system manager and/or to
11337 *** bug-libtool@gnu.org
11347 MAGIC_CMD="$lt_save_MAGIC_CMD"
11352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11353 if test -n "$MAGIC_CMD"; then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
11355 $as_echo "$MAGIC_CMD" >&6; }
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11358 $as_echo "no
" >&6; }
11371 # Use C for the default configuration in the libtool script
11375 ac_cpp='$CPP $CPPFLAGS'
11376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11381 # Source file extension for C test sources.
11384 # Object file extension for compiled C test sources.
11388 # Code to be used in simple compile tests
11389 lt_simple_compile_test_code="int some_variable
= 0;"
11391 # Code to be used in simple link tests
11392 lt_simple_link_test_code='int main(){return(0);}'
11400 # If no C compiler was specified, use CC.
11403 # If no C compiler flags were specified, use CFLAGS.
11404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11406 # Allow CC to be a program name with arguments.
11409 # Save the default compiler, since it gets overwritten when the other
11410 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11411 compiler_DEFAULT=$CC
11413 # save warnings/boilerplate of simple test code
11414 ac_outfile=conftest.$ac_objext
11415 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11417 _lt_compiler_boilerplate=`cat conftest.err`
11420 ac_outfile=conftest.$ac_objext
11421 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11423 _lt_linker_boilerplate=`cat conftest.err`
11428 ## There is no encapsulation within the following macros, do not change
11429 ## the running order or otherwise move them around unless you know exactly
11430 ## what you are doing...
11431 if test -n "$compiler"; then
11433 lt_prog_compiler_no_builtin_flag=
11435 if test "$GCC" = yes; then
11436 case $cc_basename in
11438 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11440 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
11444 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
11445 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11446 $as_echo_n "(cached
) " >&6
11448 lt_cv_prog_compiler_rtti_exceptions=no
11449 ac_outfile=conftest.$ac_objext
11450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11451 lt_compiler_flag="-fno-rtti -fno-exceptions"
11452 # Insert the option either (1) after the last *FLAGS variable, or
11453 # (2) before a word containing "conftest.
", or (3) at the end.
11454 # Note that $ac_compile itself does not contain backslashes and begins
11455 # with a dollar sign (not a hyphen), so the echo should work correctly.
11456 # The option is referenced via a variable to avoid confusing sed.
11457 lt_compile=`echo "$ac_compile" | $SED \
11458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11460 -e 's:$: $lt_compiler_flag:'`
11461 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11462 (eval "$lt_compile" 2>conftest.err)
11464 cat conftest.err >&5
11465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11466 if (exit $ac_status) && test -s "$ac_outfile"; then
11467 # The compiler can only warn and ignore the option if not recognized
11468 # So say no if there are warnings other than the usual output.
11469 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11470 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11471 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11472 lt_cv_prog_compiler_rtti_exceptions=yes
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
11479 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11481 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11482 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11494 lt_prog_compiler_wl=
11495 lt_prog_compiler_pic=
11496 lt_prog_compiler_static=
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
11499 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
11501 if test "$GCC" = yes; then
11502 lt_prog_compiler_wl='-Wl,'
11503 lt_prog_compiler_static='-static'
11507 # All AIX code is PIC.
11508 if test "$host_cpu" = ia64; then
11509 # AIX 5 now supports IA64 processor
11510 lt_prog_compiler_static='-Bstatic'
11512 lt_prog_compiler_pic='-fPIC'
11518 # see comment about AmigaOS4 .so support
11519 lt_prog_compiler_pic='-fPIC'
11522 # FIXME: we need at least 68020 code to build shared libraries, but
11523 # adding the `-m68020' flag to GCC prevents building anything better,
11525 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11530 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11531 # PIC is the default for these OSes.
11534 mingw* | cygwin* | pw32* | os2* | cegcc*)
11535 # This hack is so that the source file can tell whether it is being
11536 # built for inclusion in a dll (and should export symbols for example).
11537 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11538 # (--disable-auto-import) libraries
11539 lt_prog_compiler_pic='-DDLL_EXPORT'
11542 darwin* | rhapsody*)
11543 # PIC is the default on this platform
11544 # Common symbols not allowed in MH_DYLIB files
11545 lt_prog_compiler_pic='-fno-common'
11549 # PIC is the default for Haiku.
11550 # The "-static" flag exists, but is broken.
11551 lt_prog_compiler_static=
11555 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11556 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11557 # sets the default TLS model and affects inlining.
11563 lt_prog_compiler_pic='-fPIC'
11569 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11570 # Instead, we relocate shared libraries at runtime.
11574 # Just because we use GCC doesn't mean we suddenly get shared libraries
11575 # on systems that don't support them.
11576 lt_prog_compiler_can_build_shared=no
11581 # QNX uses GNU C++, but need to define -shared option too, otherwise
11582 # it will coredump.
11583 lt_prog_compiler_pic='-fPIC -shared'
11587 if test -d /usr/nec; then
11588 lt_prog_compiler_pic=-Kconform_pic
11593 lt_prog_compiler_pic='-fPIC'
11597 case $cc_basename in
11598 nvcc*) # Cuda Compiler Driver 2.2
11599 lt_prog_compiler_wl='-Xlinker '
11600 lt_prog_compiler_pic='-Xcompiler -fPIC'
11604 # PORTME Check for flag to pass linker flags through the system compiler.
11607 lt_prog_compiler_wl='-Wl,'
11608 if test "$host_cpu" = ia64; then
11609 # AIX 5 now supports IA64 processor
11610 lt_prog_compiler_static='-Bstatic'
11612 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11616 mingw* | cygwin* | pw32* | os2* | cegcc*)
11617 # This hack is so that the source file can tell whether it is being
11618 # built for inclusion in a dll (and should export symbols for example).
11619 lt_prog_compiler_pic='-DDLL_EXPORT'
11622 hpux9* | hpux10* | hpux11*)
11623 lt_prog_compiler_wl='-Wl,'
11624 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11625 # not for PA HP-UX.
11631 lt_prog_compiler_pic='+Z'
11634 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11635 lt_prog_compiler_static='${wl}-a ${wl}archive'
11638 irix5* | irix6* | nonstopux*)
11639 lt_prog_compiler_wl='-Wl,'
11640 # PIC (with -KPIC) is the default.
11641 lt_prog_compiler_static='-non_shared'
11644 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11645 case $cc_basename in
11646 # old Intel for x86_64 which still supported -KPIC.
11648 lt_prog_compiler_wl='-Wl,'
11649 lt_prog_compiler_pic='-KPIC'
11650 lt_prog_compiler_static='-static'
11652 # icc used to be incompatible with GCC.
11653 # ICC 10 doesn't accept -KPIC any more.
11655 lt_prog_compiler_wl='-Wl,'
11656 lt_prog_compiler_pic='-fPIC'
11657 lt_prog_compiler_static='-static'
11659 # Lahey Fortran 8.1.
11661 lt_prog_compiler_wl='-Wl,'
11662 lt_prog_compiler_pic='--shared'
11663 lt_prog_compiler_static='--static'
11665 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11666 # Portland Group compilers (*not* the Pentium gcc compiler,
11667 # which looks to be a dead project)
11668 lt_prog_compiler_wl='-Wl,'
11669 lt_prog_compiler_pic='-fpic'
11670 lt_prog_compiler_static='-Bstatic'
11673 lt_prog_compiler_wl='-Wl,'
11674 # All Alpha code is PIC.
11675 lt_prog_compiler_static='-non_shared'
11677 xl* | bgxl* | bgf* | mpixl*)
11678 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11679 lt_prog_compiler_wl='-Wl,'
11680 lt_prog_compiler_pic='-qpic'
11681 lt_prog_compiler_static='-qstaticlink'
11684 case `$CC -V 2>&1 | sed 5q` in
11685 *Sun\ F* | *Sun*Fortran*)
11686 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11687 lt_prog_compiler_pic='-KPIC'
11688 lt_prog_compiler_static='-Bstatic'
11689 lt_prog_compiler_wl=''
11693 lt_prog_compiler_pic='-KPIC'
11694 lt_prog_compiler_static='-Bstatic'
11695 lt_prog_compiler_wl='-Wl,'
11703 lt_prog_compiler_pic='-KPIC'
11704 lt_prog_compiler_static='-Bstatic'
11708 # QNX uses GNU C++, but need to define -shared option too, otherwise
11709 # it will coredump.
11710 lt_prog_compiler_pic='-fPIC -shared'
11713 osf3* | osf4* | osf5*)
11714 lt_prog_compiler_wl='-Wl,'
11715 # All OSF/1 code is PIC.
11716 lt_prog_compiler_static='-non_shared'
11720 lt_prog_compiler_static='-non_shared'
11724 lt_prog_compiler_pic='-KPIC'
11725 lt_prog_compiler_static='-Bstatic'
11726 case $cc_basename in
11727 f77* | f90* | f95*)
11728 lt_prog_compiler_wl='-Qoption ld ';;
11730 lt_prog_compiler_wl='-Wl,';;
11735 lt_prog_compiler_wl='-Qoption ld '
11736 lt_prog_compiler_pic='-PIC'
11737 lt_prog_compiler_static='-Bstatic'
11740 sysv4 | sysv4.2uw2* | sysv4.3*)
11741 lt_prog_compiler_wl='-Wl,'
11742 lt_prog_compiler_pic='-KPIC'
11743 lt_prog_compiler_static='-Bstatic'
11747 if test -d /usr/nec ;then
11748 lt_prog_compiler_pic='-Kconform_pic'
11749 lt_prog_compiler_static='-Bstatic'
11753 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11754 lt_prog_compiler_wl='-Wl,'
11755 lt_prog_compiler_pic='-KPIC'
11756 lt_prog_compiler_static='-Bstatic'
11760 lt_prog_compiler_wl='-Wl,'
11761 lt_prog_compiler_can_build_shared=no
11765 lt_prog_compiler_pic='-pic'
11766 lt_prog_compiler_static='-Bstatic'
11770 lt_prog_compiler_can_build_shared=no
11776 # For platforms which do not support PIC, -DPIC is meaningless:
11778 lt_prog_compiler_pic=
11781 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
11785 $as_echo "$lt_prog_compiler_pic" >&6; }
11793 # Check to make sure the PIC flag actually works.
11795 if test -n "$lt_prog_compiler_pic"; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
11797 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
11798 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11799 $as_echo_n "(cached
) " >&6
11801 lt_cv_prog_compiler_pic_works=no
11802 ac_outfile=conftest.$ac_objext
11803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11804 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11805 # Insert the option either (1) after the last *FLAGS variable, or
11806 # (2) before a word containing "conftest.
", or (3) at the end.
11807 # Note that $ac_compile itself does not contain backslashes and begins
11808 # with a dollar sign (not a hyphen), so the echo should work correctly.
11809 # The option is referenced via a variable to avoid confusing sed.
11810 lt_compile=`echo "$ac_compile" | $SED \
11811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11813 -e 's:$: $lt_compiler_flag:'`
11814 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11815 (eval "$lt_compile" 2>conftest.err)
11817 cat conftest.err >&5
11818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11819 if (exit $ac_status) && test -s "$ac_outfile"; then
11820 # The compiler can only warn and ignore the option if not recognized
11821 # So say no if there are warnings other than the usual output.
11822 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11823 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11824 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11825 lt_cv_prog_compiler_pic_works=yes
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
11832 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11834 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11835 case $lt_prog_compiler_pic in
11837 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11840 lt_prog_compiler_pic=
11841 lt_prog_compiler_can_build_shared=no
11852 # Check to make sure the static flag actually works.
11854 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
11856 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
11857 if ${lt_cv_prog_compiler_static_works+:} false; then :
11858 $as_echo_n "(cached
) " >&6
11860 lt_cv_prog_compiler_static_works=no
11861 save_LDFLAGS="$LDFLAGS"
11862 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11863 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11864 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11865 # The linker can only warn and ignore the option if not recognized
11866 # So say no if there are warnings
11867 if test -s conftest.err; then
11868 # Append any errors to the config.log.
11869 cat conftest.err 1>&5
11870 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11872 if diff conftest.exp conftest.er2 >/dev/null; then
11873 lt_cv_prog_compiler_static_works=yes
11876 lt_cv_prog_compiler_static_works=yes
11880 LDFLAGS="$save_LDFLAGS"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
11884 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11886 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11889 lt_prog_compiler_static=
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11899 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11900 if ${lt_cv_prog_compiler_c_o+:} false; then :
11901 $as_echo_n "(cached
) " >&6
11903 lt_cv_prog_compiler_c_o=no
11904 $RM -r conftest 2>/dev/null
11908 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11910 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
11911 # Insert the option either (1) after the last *FLAGS variable, or
11912 # (2) before a word containing "conftest.
", or (3) at the end.
11913 # Note that $ac_compile itself does not contain backslashes and begins
11914 # with a dollar sign (not a hyphen), so the echo should work correctly.
11915 lt_compile=`echo "$ac_compile" | $SED \
11916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11918 -e 's:$: $lt_compiler_flag:'`
11919 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11920 (eval "$lt_compile" 2>out/conftest.err)
11922 cat out/conftest.err >&5
11923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11924 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11926 # The compiler can only warn and ignore the option if not recognized
11927 # So say no if there are warnings
11928 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11929 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11930 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11931 lt_cv_prog_compiler_c_o=yes
11936 # SGI C++ compiler will create directory out/ii_files/ for
11937 # template instantiation
11938 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11939 $RM out/* && rmdir out
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
11946 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11954 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11955 if ${lt_cv_prog_compiler_c_o+:} false; then :
11956 $as_echo_n "(cached
) " >&6
11958 lt_cv_prog_compiler_c_o=no
11959 $RM -r conftest 2>/dev/null
11963 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11965 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
11966 # Insert the option either (1) after the last *FLAGS variable, or
11967 # (2) before a word containing "conftest.
", or (3) at the end.
11968 # Note that $ac_compile itself does not contain backslashes and begins
11969 # with a dollar sign (not a hyphen), so the echo should work correctly.
11970 lt_compile=`echo "$ac_compile" | $SED \
11971 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11972 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11973 -e 's:$: $lt_compiler_flag:'`
11974 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11975 (eval "$lt_compile" 2>out/conftest.err)
11977 cat out/conftest.err >&5
11978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11979 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11981 # The compiler can only warn and ignore the option if not recognized
11982 # So say no if there are warnings
11983 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11984 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11985 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11986 lt_cv_prog_compiler_c_o=yes
11991 # SGI C++ compiler will create directory out/ii_files/ for
11992 # template instantiation
11993 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11994 $RM out/* && rmdir out
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
12001 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12006 hard_links="nottested
"
12007 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12008 # do not overwrite the value of need_locks provided by the user
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
12010 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
12013 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12015 ln conftest.a conftest.b 2>&5 || hard_links=no
12016 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
12018 $as_echo "$hard_links" >&6; }
12019 if test "$hard_links" = no; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
12021 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
12034 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
12037 allow_undefined_flag=
12038 always_export_symbols=no
12040 archive_expsym_cmds=
12041 compiler_needs_object=no
12042 enable_shared_with_static_runtimes=no
12043 export_dynamic_flag_spec=
12044 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12045 hardcode_automatic=no
12047 hardcode_direct_absolute=no
12048 hardcode_libdir_flag_spec=
12049 hardcode_libdir_flag_spec_ld=
12050 hardcode_libdir_separator=
12051 hardcode_minus_L=no
12052 hardcode_shlibpath_var=unsupported
12054 link_all_deplibs=unknown
12056 module_expsym_cmds=
12057 old_archive_from_new_cmds=
12058 old_archive_from_expsyms_cmds=
12059 thread_safe_flag_spec=
12060 whole_archive_flag_spec=
12061 # include_expsyms should be a list of space-separated symbols to be *always*
12062 # included in the symbol list
12064 # exclude_expsyms can be an extended regexp of symbols to exclude
12065 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12066 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12067 # as well as any symbol that contains `d'.
12068 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12069 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12070 # platforms (ab)use it in PIC code, but their linkers get confused if
12071 # the symbol is explicitly referenced. Since portable code cannot
12072 # rely on this symbol name, it's probably fine to never include it in
12073 # preloaded symbol tables.
12074 # Exclude shared library initialization/finalization symbols.
12075 extract_expsyms_cmds=
12078 cygwin* | mingw* | pw32* | cegcc*)
12079 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12080 # When not using gcc, we currently assume that we are using
12081 # Microsoft Visual C++.
12082 if test "$GCC" != yes; then
12087 # we just hope/assume this is gcc and not c89 (= MSVC++)
12097 # On some targets, GNU ld is compatible enough with the native linker
12098 # that we're better off using the native interface for both.
12099 lt_use_gnu_ld_interface=no
12100 if test "$with_gnu_ld" = yes; then
12103 # The AIX port of GNU ld has always aspired to compatibility
12104 # with the native linker. However, as the warning in the GNU ld
12105 # block says, versions before 2.19.5* couldn't really create working
12106 # shared libraries, regardless of the interface used.
12107 case `$LD -v 2>&1` in
12108 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12109 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12110 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12112 lt_use_gnu_ld_interface=yes
12117 lt_use_gnu_ld_interface=yes
12122 if test "$lt_use_gnu_ld_interface" = yes; then
12123 # If archive_cmds runs LD, not CC, wlarc should be empty
12126 # Set some defaults for GNU ld with shared library support. These
12127 # are reset later if shared libraries are not supported. Putting them
12128 # here allows them to be overridden if necessary.
12129 runpath_var=LD_RUN_PATH
12130 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12131 export_dynamic_flag_spec='${wl}--export-dynamic'
12132 # ancient GNU ld didn't support --whole-archive et. al.
12133 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12134 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12136 whole_archive_flag_spec=
12138 supports_anon_versioning=no
12139 case `$LD -v 2>&1` in
12140 *GNU\ gold*) supports_anon_versioning=yes ;;
12141 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12142 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12143 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12144 *\ 2.11.*) ;; # other 2.11 versions
12145 *) supports_anon_versioning=yes ;;
12148 # See if GNU ld supports shared libraries.
12151 # On AIX/PPC, the GNU linker is very broken
12152 if test "$host_cpu" != ia64; then
12156 *** Warning: the GNU linker, at least up to release 2.19, is reported
12157 *** to be unable to reliably create shared libraries on AIX.
12158 *** Therefore, libtool is disabling shared libraries support. If you
12159 *** really care for shared libraries, you may want to install binutils
12160 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12161 *** You will then need to restart the configuration process.
12170 # see comment about AmigaOS4 .so support
12171 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12172 archive_expsym_cmds=''
12175 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)'
12176 hardcode_libdir_flag_spec
='-L$libdir'
12177 hardcode_minus_L
=yes
12183 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12184 allow_undefined_flag
=unsupported
12185 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12186 # support --undefined. This deserves some investigation. FIXME
12187 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 cygwin
* | mingw
* | pw32
* | cegcc
*)
12194 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12195 # as there is no search path for DLLs.
12196 hardcode_libdir_flag_spec
='-L$libdir'
12197 export_dynamic_flag_spec
='${wl}--export-all-symbols'
12198 allow_undefined_flag
=unsupported
12199 always_export_symbols
=no
12200 enable_shared_with_static_runtimes
=yes
12201 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12203 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12204 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12205 # If the export-symbols file already is a .def file (1st line
12206 # is EXPORTS), use it as is; otherwise, prepend...
12207 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12208 cp $export_symbols $output_objdir/$soname.def;
12210 echo EXPORTS > $output_objdir/$soname.def;
12211 cat $export_symbols >> $output_objdir/$soname.def;
12213 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12220 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12221 link_all_deplibs
=yes
12226 hardcode_shlibpath_var
=no
12227 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12228 export_dynamic_flag_spec
='${wl}-E'
12229 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12230 # Instead, shared libraries are loaded at an image base (0x10000000 by
12231 # default) and relocated if they conflict, which is a slow very memory
12232 # consuming and fragmenting process. To avoid this, we pick a random,
12233 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12234 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12235 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12236 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'
12239 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
12241 if test "$host_os" = linux-dietlibc
; then
12242 case $cc_basename in
12243 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12246 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12247 && test "$tmp_diet" = no
12249 tmp_addflag
=' $pic_flag'
12250 tmp_sharedflag
='-shared'
12251 case $cc_basename,$host_cpu in
12252 pgcc
*) # Portland Group C compiler
12253 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'
12254 tmp_addflag
=' $pic_flag'
12256 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12257 # Portland Group f77 and f90 compilers
12258 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'
12259 tmp_addflag
=' $pic_flag -Mnomain' ;;
12260 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12261 tmp_addflag
=' -i_dynamic' ;;
12262 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12263 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12264 ifc
* | ifort
*) # Intel Fortran compiler
12265 tmp_addflag
=' -nofor_main' ;;
12266 lf95
*) # Lahey Fortran 8.1
12267 whole_archive_flag_spec
=
12268 tmp_sharedflag
='--shared' ;;
12269 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12270 tmp_sharedflag
='-qmkshrobj'
12272 nvcc
*) # Cuda Compiler Driver 2.2
12273 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'
12274 compiler_needs_object
=yes
12277 case `$CC -V 2>&1 | sed 5q` in
12278 *Sun\ C
*) # Sun C 5.9
12279 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'
12280 compiler_needs_object
=yes
12281 tmp_sharedflag
='-G' ;;
12282 *Sun\ F
*) # Sun Fortran 8.3
12283 tmp_sharedflag
='-G' ;;
12285 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12287 if test "x$supports_anon_versioning" = xyes
; then
12288 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12289 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12290 echo "local: *; };" >> $output_objdir/$libname.ver~
12291 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12294 case $cc_basename in
12295 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12296 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12297 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12298 hardcode_libdir_flag_spec
=
12299 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
12300 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12301 if test "x$supports_anon_versioning" = xyes
; then
12302 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12303 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12304 echo "local: *; };" >> $output_objdir/$libname.ver~
12305 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12315 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12316 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12319 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12320 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12325 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12329 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12330 *** create shared libraries on Solaris systems. Therefore, libtool
12331 *** is disabling shared libraries support. We urge you to upgrade GNU
12332 *** binutils to release 2.9.1 or newer. Another option is to modify
12333 *** your PATH or compiler configuration so that the native linker is
12334 *** used, and then restart.
12337 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12338 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12339 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12345 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12346 case `$LD -v 2>&1` in
12347 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12351 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12352 *** reliably create shared libraries on SCO systems. Therefore, libtool
12353 *** is disabling shared libraries support. We urge you to upgrade GNU
12354 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12355 *** your PATH or compiler configuration so that the native linker is
12356 *** used, and then restart.
12361 # For security reasons, it is highly recommended that you always
12362 # use absolute paths for naming shared libraries, and exclude the
12363 # DT_RUNPATH tag from executables and libraries. But doing so
12364 # requires that you compile everything twice, which is a pain.
12365 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12366 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12367 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12368 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12377 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12379 hardcode_direct
=yes
12380 hardcode_shlibpath_var
=no
12384 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12385 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12386 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12393 if test "$ld_shlibs" = no
; then
12395 hardcode_libdir_flag_spec
=
12396 export_dynamic_flag_spec
=
12397 whole_archive_flag_spec
=
12400 # PORTME fill in a description of your system's linker (not GNU ld)
12403 allow_undefined_flag
=unsupported
12404 always_export_symbols
=yes
12405 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'
12406 # Note: this linker hardcodes the directories in LIBPATH if there
12407 # are no directories specified by -L.
12408 hardcode_minus_L
=yes
12409 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12410 # Neither direct hardcoding nor static linking is supported with a
12412 hardcode_direct
=unsupported
12417 if test "$host_cpu" = ia64
; then
12418 # On IA64, the linker does run time linking by default, so we don't
12419 # have to do anything special.
12420 aix_use_runtimelinking
=no
12421 exp_sym_flag
='-Bexport'
12424 # If we're using GNU nm, then we don't want the "-C" option.
12425 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12426 # Also, AIX nm treats weak defined symbols like other global
12427 # defined symbols, whereas GNU nm marks them as "W".
12428 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12429 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'
12431 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12433 aix_use_runtimelinking
=no
12435 # Test if we are trying to use run time linking or normal
12436 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12437 # need to do runtime linking.
12438 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12439 for ld_flag
in $LDFLAGS; do
12440 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12441 aix_use_runtimelinking
=yes
12448 exp_sym_flag
='-bexport'
12449 no_entry_flag
='-bnoentry'
12452 # When large executables or shared objects are built, AIX ld can
12453 # have problems creating the table of contents. If linking a library
12454 # or program results in "error TOC overflow" add -mminimal-toc to
12455 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12456 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12459 hardcode_direct
=yes
12460 hardcode_direct_absolute
=yes
12461 hardcode_libdir_separator
=':'
12462 link_all_deplibs
=yes
12463 file_list_spec
='${wl}-f,'
12465 if test "$GCC" = yes; then
12466 case $host_os in aix4.
[012]|aix4.
[012].
*)
12467 # We only want to do this on AIX 4.2 and lower, the check
12468 # below for broken collect2 doesn't work under 4.3+
12469 collect2name
=`${CC} -print-prog-name=collect2`
12470 if test -f "$collect2name" &&
12471 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12473 # We have reworked collect2
12476 # We have old collect2
12477 hardcode_direct
=unsupported
12478 # It fails to find uninstalled libraries when the uninstalled
12479 # path is not listed in the libpath. Setting hardcode_minus_L
12480 # to unsupported forces relinking
12481 hardcode_minus_L
=yes
12482 hardcode_libdir_flag_spec
='-L$libdir'
12483 hardcode_libdir_separator
=
12487 shared_flag
='-shared'
12488 if test "$aix_use_runtimelinking" = yes; then
12489 shared_flag
="$shared_flag "'${wl}-G'
12493 if test "$host_cpu" = ia64
; then
12494 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12495 # chokes on -Wl,-G. The following line is correct:
12498 if test "$aix_use_runtimelinking" = yes; then
12499 shared_flag
='${wl}-G'
12501 shared_flag
='${wl}-bM:SRE'
12506 export_dynamic_flag_spec
='${wl}-bexpall'
12507 # It seems that -bexpall does not export symbols beginning with
12508 # underscore (_), so it is better to generate a list of symbols to export.
12509 always_export_symbols
=yes
12510 if test "$aix_use_runtimelinking" = yes; then
12511 # Warning - without using the other runtime loading flags (-brtl),
12512 # -berok will link without error, but may produce a broken library.
12513 allow_undefined_flag
='-berok'
12514 # Determine the default libpath from the value encoded in an
12515 # empty executable.
12516 if test x
$gcc_no_link = xyes
; then
12517 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12530 if ac_fn_c_try_link
"$LINENO"; then :
12532 lt_aix_libpath_sed
='
12533 /Import File Strings/,/^$/ {
12539 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12540 # Check for a 64-bit object if we didn't find anything.
12541 if test -z "$aix_libpath"; then
12542 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12545 rm -f core conftest.err conftest.
$ac_objext \
12546 conftest
$ac_exeext conftest.
$ac_ext
12547 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12549 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12550 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"
12552 if test "$host_cpu" = ia64
; then
12553 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
12554 allow_undefined_flag
="-z nodefs"
12555 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"
12557 # Determine the default libpath from the value encoded in an
12558 # empty executable.
12559 if test x
$gcc_no_link = xyes
; then
12560 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12573 if ac_fn_c_try_link
"$LINENO"; then :
12575 lt_aix_libpath_sed
='
12576 /Import File Strings/,/^$/ {
12582 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12583 # Check for a 64-bit object if we didn't find anything.
12584 if test -z "$aix_libpath"; then
12585 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12588 rm -f core conftest.err conftest.
$ac_objext \
12589 conftest
$ac_exeext conftest.
$ac_ext
12590 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12592 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12593 # Warning - without using the other run time loading flags,
12594 # -berok will link without error, but may produce a broken library.
12595 no_undefined_flag
=' ${wl}-bernotok'
12596 allow_undefined_flag
=' ${wl}-berok'
12597 if test "$with_gnu_ld" = yes; then
12598 # We only use this code for GNU lds that support --whole-archive.
12599 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12601 # Exported symbols can be pulled into shared objects from archives
12602 whole_archive_flag_spec
='$convenience'
12604 archive_cmds_need_lc
=yes
12605 # This is similar to how AIX traditionally builds its shared libraries.
12606 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'
12614 # see comment about AmigaOS4 .so support
12615 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12616 archive_expsym_cmds
=''
12619 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)'
12620 hardcode_libdir_flag_spec
='-L$libdir'
12621 hardcode_minus_L
=yes
12627 export_dynamic_flag_spec
=-rdynamic
12630 cygwin
* | mingw
* | pw32
* | cegcc
*)
12631 # When not using gcc, we currently assume that we are using
12632 # Microsoft Visual C++.
12633 # hardcode_libdir_flag_spec is actually meaningless, as there is
12634 # no search path for DLLs.
12635 hardcode_libdir_flag_spec
=' '
12636 allow_undefined_flag
=unsupported
12637 # Tell ltmain to make .lib files, not .a files.
12639 # Tell ltmain to make .dll files, not .so files.
12641 # FIXME: Setting linknames here is a bad hack.
12642 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12643 # The linker will automatically build a .lib file if we build a DLL.
12644 old_archive_from_new_cmds
='true'
12645 # FIXME: Should let the user specify the lib program.
12646 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12647 fix_srcfile_path
='`cygpath -w "$srcfile"`'
12648 enable_shared_with_static_runtimes
=yes
12651 darwin
* | rhapsody
*)
12655 # Publish an arg to allow the user to select that Darwin host (and target)
12656 # libraries should be given install-names like @rpath/libfoo.dylib. This
12657 # requires that the user of the library then adds an 'rpath' to the DSO that
12659 # NOTE: there are defaults below, for systems that support rpaths. The person
12660 # configuring can override the defaults for any system version that supports
12661 # them - they are, however, forced off for system versions without support.
12662 # Check whether --enable-darwin-at-rpath was given.
12663 if test "${enable_darwin_at_rpath+set}" = set; then :
12664 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
12665 # This is not supported before macOS 10.5 / Darwin9.
12666 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
12667 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
12669 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
12670 enable_darwin_at_rpath
=no
12675 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
12676 # As above, before 10.5 / Darwin9 this does not work.
12677 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
12678 enable_darwin_at_rpath
=no
12681 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
12682 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
12683 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
12684 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
12686 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
12687 enable_darwin_at_rpath
=yes
12689 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
12690 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
12697 archive_cmds_need_lc
=no
12699 hardcode_automatic
=yes
12700 hardcode_shlibpath_var
=unsupported
12701 if test "$lt_cv_ld_force_load" = "yes"; then
12702 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\"`'
12704 whole_archive_flag_spec
=''
12706 link_all_deplibs
=yes
12707 allow_undefined_flag
="$_lt_dar_allow_undefined"
12708 case $cc_basename in
12709 ifort
*) _lt_dar_can_shared
=yes ;;
12710 *) _lt_dar_can_shared
=$GCC ;;
12712 if test "$_lt_dar_can_shared" = "yes"; then
12713 output_verbose_link_cmd
=func_echo_all
12714 _lt_install_name
='\$rpath/\$soname'
12715 if test "x$enable_darwin_at_rpath" = "xyes"; then
12716 _lt_install_name
='@rpath/\$soname'
12718 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
12719 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12720 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
12721 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}"
12730 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12731 hardcode_libdir_flag_spec
='-L$libdir'
12732 hardcode_shlibpath_var
=no
12735 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12736 # support. Future versions do this automatically, but an explicit c++rt0.o
12737 # does not break anything, and helps significantly (at the cost of a little
12740 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12741 hardcode_libdir_flag_spec
='-R$libdir'
12742 hardcode_direct
=yes
12743 hardcode_shlibpath_var
=no
12746 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12748 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12749 hardcode_direct
=yes
12750 hardcode_minus_L
=yes
12751 hardcode_shlibpath_var
=no
12754 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12755 freebsd
* | dragonfly
*)
12756 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12757 hardcode_libdir_flag_spec
='-R$libdir'
12758 hardcode_direct
=yes
12759 hardcode_shlibpath_var
=no
12763 if test "$GCC" = yes; then
12764 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'
12766 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'
12768 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12769 hardcode_libdir_separator
=:
12770 hardcode_direct
=yes
12772 # hardcode_minus_L: Not really in the search PATH,
12773 # but as the default location of the library.
12774 hardcode_minus_L
=yes
12775 export_dynamic_flag_spec
='${wl}-E'
12779 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12780 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12782 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12784 if test "$with_gnu_ld" = no
; then
12785 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12786 hardcode_libdir_flag_spec_ld
='+b $libdir'
12787 hardcode_libdir_separator
=:
12788 hardcode_direct
=yes
12789 hardcode_direct_absolute
=yes
12790 export_dynamic_flag_spec
='${wl}-E'
12791 # hardcode_minus_L: Not really in the search PATH,
12792 # but as the default location of the library.
12793 hardcode_minus_L
=yes
12798 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12801 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12804 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12807 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12813 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12816 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12820 # Older versions of the 11.00 compiler do not understand -b yet
12821 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12823 $as_echo_n "checking if $CC understands -b... " >&6; }
12824 if ${lt_cv_prog_compiler__b+:} false
; then :
12825 $as_echo_n "(cached) " >&6
12827 lt_cv_prog_compiler__b
=no
12828 save_LDFLAGS
="$LDFLAGS"
12829 LDFLAGS
="$LDFLAGS -b"
12830 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12831 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12832 # The linker can only warn and ignore the option if not recognized
12833 # So say no if there are warnings
12834 if test -s conftest.err
; then
12835 # Append any errors to the config.log.
12836 cat conftest.err
1>&5
12837 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12838 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12839 if diff conftest.exp conftest.er2
>/dev
/null
; then
12840 lt_cv_prog_compiler__b
=yes
12843 lt_cv_prog_compiler__b
=yes
12847 LDFLAGS
="$save_LDFLAGS"
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12851 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12853 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
12854 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12856 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12862 if test "$with_gnu_ld" = no
; then
12863 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12864 hardcode_libdir_separator
=:
12869 hardcode_shlibpath_var
=no
12872 hardcode_direct
=yes
12873 hardcode_direct_absolute
=yes
12874 export_dynamic_flag_spec
='${wl}-E'
12876 # hardcode_minus_L: Not really in the search PATH,
12877 # but as the default location of the library.
12878 hardcode_minus_L
=yes
12884 irix5
* | irix6
* | nonstopux
*)
12885 if test "$GCC" = yes; then
12886 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'
12887 # Try to use the -exported_symbol ld option, if it does not
12888 # work, assume that -exports_file does not work either and
12889 # implicitly export all symbols.
12890 save_LDFLAGS
="$LDFLAGS"
12891 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12892 if test x
$gcc_no_link = xyes
; then
12893 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12899 if ac_fn_c_try_link
"$LINENO"; then :
12900 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'
12903 rm -f core conftest.err conftest.
$ac_objext \
12904 conftest
$ac_exeext conftest.
$ac_ext
12905 LDFLAGS
="$save_LDFLAGS"
12907 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'
12908 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'
12910 archive_cmds_need_lc
='no'
12911 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12912 hardcode_libdir_separator
=:
12914 link_all_deplibs
=yes
12918 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12919 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12921 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12923 hardcode_libdir_flag_spec
='-R$libdir'
12924 hardcode_direct
=yes
12925 hardcode_shlibpath_var
=no
12929 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12930 hardcode_direct
=yes
12931 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12932 hardcode_libdir_separator
=:
12933 hardcode_shlibpath_var
=no
12940 if test -f /usr
/libexec
/ld.so
; then
12941 hardcode_direct
=yes
12942 hardcode_shlibpath_var
=no
12943 hardcode_direct_absolute
=yes
12944 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12945 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12946 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12947 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12948 export_dynamic_flag_spec
='${wl}-E'
12951 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12952 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12953 hardcode_libdir_flag_spec
='-R$libdir'
12956 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12957 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12967 hardcode_libdir_flag_spec
='-L$libdir'
12968 hardcode_minus_L
=yes
12969 allow_undefined_flag
=unsupported
12970 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'
12971 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12975 if test "$GCC" = yes; then
12976 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12977 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'
12979 allow_undefined_flag
=' -expect_unresolved \*'
12980 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'
12982 archive_cmds_need_lc
='no'
12983 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12984 hardcode_libdir_separator
=:
12987 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12988 if test "$GCC" = yes; then
12989 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12990 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'
12991 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12993 allow_undefined_flag
=' -expect_unresolved \*'
12994 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'
12995 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~
12996 $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'
12998 # Both c and cxx compiler support -rpath directly
12999 hardcode_libdir_flag_spec
='-rpath $libdir'
13001 archive_cmds_need_lc
='no'
13002 hardcode_libdir_separator
=:
13006 no_undefined_flag
=' -z defs'
13007 if test "$GCC" = yes; then
13009 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13010 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13011 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13013 case `$CC -V 2>&1` in
13016 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13017 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13018 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13022 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13023 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13024 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13028 hardcode_libdir_flag_spec
='-R$libdir'
13029 hardcode_shlibpath_var
=no
13031 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13033 # The compiler driver will combine and reorder linker options,
13034 # but understands `-z linker_flag'. GCC discards it without `$wl',
13035 # but is careful enough not to reorder.
13036 # Supported since Solaris 2.6 (maybe 2.5.1?)
13037 if test "$GCC" = yes; then
13038 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13040 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
13044 link_all_deplibs
=yes
13048 if test "x$host_vendor" = xsequent
; then
13049 # Use $CC to link under sequent, because it throws in some extra .o
13050 # files that make .init and .fini sections work.
13051 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13053 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13055 hardcode_libdir_flag_spec
='-L$libdir'
13056 hardcode_direct
=yes
13057 hardcode_minus_L
=yes
13058 hardcode_shlibpath_var
=no
13062 case $host_vendor in
13064 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13065 hardcode_direct
=yes # is this really true???
13068 ## LD is ld it makes a PLAMLIB
13069 ## CC just makes a GrossModule.
13070 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13071 reload_cmds
='$CC -r -o $output$reload_objs'
13075 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13076 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
13079 runpath_var
='LD_RUN_PATH'
13080 hardcode_shlibpath_var
=no
13084 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13085 hardcode_shlibpath_var
=no
13086 export_dynamic_flag_spec
='-Bexport'
13090 if test -d /usr
/nec
; then
13091 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13092 hardcode_shlibpath_var
=no
13093 runpath_var
=LD_RUN_PATH
13094 hardcode_runpath_var
=yes
13099 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13100 no_undefined_flag
='${wl}-z,text'
13101 archive_cmds_need_lc
=no
13102 hardcode_shlibpath_var
=no
13103 runpath_var
='LD_RUN_PATH'
13105 if test "$GCC" = yes; then
13106 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 sysv5
* | sco3.2v5
* | sco5v6
*)
13115 # Note: We can NOT use -z defs as we might desire, because we do not
13116 # link with -lc, and that would cause any symbols used from libc to
13117 # always be unresolved, which means just about no library would
13118 # ever link correctly. If we're not using GNU ld we use -z text
13119 # though, which does catch some bad symbols but isn't as heavy-handed
13121 no_undefined_flag
='${wl}-z,text'
13122 allow_undefined_flag
='${wl}-z,nodefs'
13123 archive_cmds_need_lc
=no
13124 hardcode_shlibpath_var
=no
13125 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
13126 hardcode_libdir_separator
=':'
13127 link_all_deplibs
=yes
13128 export_dynamic_flag_spec
='${wl}-Bexport'
13129 runpath_var
='LD_RUN_PATH'
13131 if test "$GCC" = yes; then
13132 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13142 hardcode_libdir_flag_spec
='-L$libdir'
13143 hardcode_shlibpath_var
=no
13151 if test x
$host_vendor = xsni
; then
13153 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13154 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13161 $as_echo "$ld_shlibs" >&6; }
13162 test "$ld_shlibs" = no
&& can_build_shared
=no
13164 with_gnu_ld
=$with_gnu_ld
13181 # Do we need to explicitly link libc?
13183 case "x$archive_cmds_need_lc" in
13185 # Assume -lc should be added
13186 archive_cmds_need_lc
=yes
13188 if test "$enable_shared" = yes && test "$GCC" = yes; then
13189 case $archive_cmds in
13191 # FIXME: we may have to deal with multi-command sequences.
13194 # Test whether the compiler implicitly links with -lc since on some
13195 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13196 # to ld, don't add -lc before -lgcc.
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13198 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13199 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13200 $as_echo_n "(cached) " >&6
13203 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13206 (eval $ac_compile) 2>&5
13208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13209 test $ac_status = 0; } 2>conftest.err
; then
13212 libobjs
=conftest.
$ac_objext
13214 wl
=$lt_prog_compiler_wl
13215 pic_flag
=$lt_prog_compiler_pic
13221 lt_save_allow_undefined_flag
=$allow_undefined_flag
13222 allow_undefined_flag
=
13223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13224 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13227 test $ac_status = 0; }
13229 lt_cv_archive_cmds_need_lc
=no
13231 lt_cv_archive_cmds_need_lc
=yes
13233 allow_undefined_flag
=$lt_save_allow_undefined_flag
13235 cat conftest.err
1>&5
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13241 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13242 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13406 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13408 if test "$GCC" = yes; then
13410 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
13411 *) lt_awk_arg
="/^libraries:/" ;;
13414 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
13415 *) lt_sed_strip_eq
="s,=/,/,g" ;;
13417 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13418 case $lt_search_path_spec in
13420 # if the path contains ";" then we assume it to be the separator
13421 # otherwise default to the standard path separator (i.e. ":") - it is
13422 # assumed that no part of a normal pathname contains ";" but that should
13423 # okay in the real world where ";" in dirpaths is itself problematic.
13424 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13427 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13430 # Ok, now we have the path, separated by spaces, we can step through it
13431 # and add multilib dir if necessary.
13432 lt_tmp_lt_search_path_spec
=
13433 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13434 for lt_sys_path
in $lt_search_path_spec; do
13435 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13436 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13438 test -d "$lt_sys_path" && \
13439 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13442 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13443 BEGIN {RS=" "; FS="/|\n";} {
13446 for (lt_i = NF; lt_i > 0; lt_i--) {
13447 if ($lt_i != "" && $lt_i != ".") {
13448 if ($lt_i == "..") {
13451 if (lt_count == 0) {
13452 lt_foo="/" $lt_i lt_foo;
13459 if (lt_foo != "") { lt_freq[lt_foo]++; }
13460 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13462 # AWK program above erroneously prepends '/' to C:/dos/paths
13465 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13466 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13468 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13470 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13472 library_names_spec
=
13473 libname_spec
='lib$name'
13477 postuninstall_cmds
=
13481 shlibpath_overrides_runpath
=unknown
13483 dynamic_linker
="$host_os ld.so"
13484 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13485 need_lib_prefix
=unknown
13486 hardcode_into_libs
=no
13488 # when you set need_version to no, make sure it does not cause -set_version
13489 # flags to be left without arguments
13490 need_version
=unknown
13495 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13496 shlibpath_var
=LIBPATH
13498 # AIX 3 has no versioning support, so we append a major version to the name.
13499 soname_spec
='${libname}${release}${shared_ext}$major'
13506 hardcode_into_libs
=yes
13507 if test "$host_cpu" = ia64
; then
13508 # AIX 5 supports IA64
13509 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13510 shlibpath_var
=LD_LIBRARY_PATH
13512 # With GCC up to 2.95.x, collect2 would create an import file
13513 # for dependence libraries. The import file would start with
13514 # the line `#! .'. This would cause the generated library to
13515 # depend on `.', always an invalid library. This was fixed in
13516 # development snapshots of GCC prior to 3.0.
13518 aix4 | aix4.
[01] | aix4.
[01].
*)
13519 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13521 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13524 can_build_shared
=no
13528 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13529 # soname into executable. Probably we can add versioning support to
13530 # collect2, so additional links can be useful in future.
13531 if test "$aix_use_runtimelinking" = yes; then
13532 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13533 # instead of lib<name>.a to let people know that these are not
13534 # typical AIX shared libraries.
13535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13537 # We preserve .a as extension for shared libraries through AIX4.2
13538 # and later when we are not doing run time linking.
13539 library_names_spec
='${libname}${release}.a $libname.a'
13540 soname_spec
='${libname}${release}${shared_ext}$major'
13542 shlibpath_var
=LIBPATH
13549 # Since July 2007 AmigaOS4 officially supports .so libraries.
13550 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13554 library_names_spec
='$libname.ixlibrary $libname.a'
13555 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13556 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'
13562 library_names_spec
='${libname}${shared_ext}'
13563 dynamic_linker
="$host_os ld.so"
13564 shlibpath_var
=LIBRARY_PATH
13570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13571 soname_spec
='${libname}${release}${shared_ext}$major'
13572 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13573 shlibpath_var
=LD_LIBRARY_PATH
13574 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13575 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13576 # the default ld.so.conf also contains /usr/contrib/lib and
13577 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13578 # libtool to hard-code these into programs
13581 cygwin
* | mingw
* | pw32
* | cegcc
*)
13582 version_type
=windows
13587 case $GCC,$host_os in
13588 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13589 library_names_spec
='$libname.dll.a'
13590 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13591 postinstall_cmds
='base_file=`basename \${file}`~
13592 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13593 dldir=$destdir/`dirname \$dlpath`~
13594 test -d \$dldir || mkdir -p \$dldir~
13595 $install_prog $dir/$dlname \$dldir/$dlname~
13596 chmod a+x \$dldir/$dlname~
13597 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13598 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13600 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13601 dlpath=$dir/\$dldll~
13603 shlibpath_overrides_runpath
=yes
13607 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13608 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13610 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13613 # MinGW DLLs use traditional 'lib' prefix
13614 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13617 # pw32 DLLs use 'pw' prefix rather than 'lib'
13618 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13624 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13627 dynamic_linker
='Win32 ld.exe'
13628 # FIXME: first we should search . and the directory the executable is in
13632 darwin
* | rhapsody
*)
13633 dynamic_linker
="$host_os dyld"
13634 version_type
=darwin
13637 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13638 soname_spec
='${libname}${release}${major}$shared_ext'
13639 shlibpath_overrides_runpath
=yes
13640 shlibpath_var
=DYLD_LIBRARY_PATH
13641 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13643 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13644 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13652 soname_spec
='${libname}${release}${shared_ext}$major'
13653 shlibpath_var
=LD_LIBRARY_PATH
13656 freebsd
* | dragonfly
*)
13657 # DragonFly does not have aout. When/if they implement a new
13658 # versioning mechanism, adjust this.
13659 if test -x /usr
/bin
/objformat
; then
13660 objformat
=`/usr/bin/objformat`
13663 freebsd
[23].
*) objformat
=aout
;;
13664 *) objformat
=elf
;;
13667 version_type
=freebsd-
$objformat
13668 case $version_type in
13670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13675 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13679 shlibpath_var
=LD_LIBRARY_PATH
13682 shlibpath_overrides_runpath
=yes
13684 freebsd3.
[01]* | freebsdelf3.
[01]*)
13685 shlibpath_overrides_runpath
=yes
13686 hardcode_into_libs
=yes
13688 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13689 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13690 shlibpath_overrides_runpath
=no
13691 hardcode_into_libs
=yes
13693 *) # from 4.6 on, and DragonFly
13694 shlibpath_overrides_runpath
=yes
13695 hardcode_into_libs
=yes
13704 dynamic_linker
="$host_os runtime_loader"
13705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13706 soname_spec
='${libname}${release}${shared_ext}$major'
13707 shlibpath_var
=LIBRARY_PATH
13708 shlibpath_overrides_runpath
=yes
13709 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13710 hardcode_into_libs
=yes
13713 hpux9
* | hpux10
* | hpux11
*)
13714 # Give a soname corresponding to the major version so that dld.sl refuses to
13715 # link against other versions.
13722 hardcode_into_libs
=yes
13723 dynamic_linker
="$host_os dld.so"
13724 shlibpath_var
=LD_LIBRARY_PATH
13725 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13727 soname_spec
='${libname}${release}${shared_ext}$major'
13728 if test "X$HPUX_IA64_MODE" = X32
; then
13729 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13731 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13733 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13737 hardcode_into_libs
=yes
13738 dynamic_linker
="$host_os dld.sl"
13739 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13740 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13742 soname_spec
='${libname}${release}${shared_ext}$major'
13743 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13744 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13748 dynamic_linker
="$host_os dld.sl"
13749 shlibpath_var
=SHLIB_PATH
13750 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13752 soname_spec
='${libname}${release}${shared_ext}$major'
13755 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13756 postinstall_cmds
='chmod 555 $lib'
13757 # or fails outright, so override atomically:
13758 install_override_mode
=555
13765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13766 soname_spec
='${libname}${release}${shared_ext}$major'
13767 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13768 shlibpath_var
=LD_LIBRARY_PATH
13769 shlibpath_overrides_runpath
=no
13770 hardcode_into_libs
=yes
13773 irix5
* | irix6
* | nonstopux
*)
13775 nonstopux
*) version_type
=nonstopux
;;
13777 if test "$lt_cv_prog_gnu_ld" = yes; then
13785 soname_spec
='${libname}${release}${shared_ext}$major'
13786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13788 irix5
* | nonstopux
*)
13789 libsuff
= shlibsuff
=
13792 case $LD in # libtool.m4 will add one of these switches to LD
13793 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13794 libsuff
= shlibsuff
= libmagic
=32-bit;;
13795 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13796 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13797 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13798 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13799 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13803 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13804 shlibpath_overrides_runpath
=no
13805 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13806 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13807 hardcode_into_libs
=yes
13810 # No shared lib support for Linux oldld, aout, or coff.
13811 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13815 # This must be Linux ELF.
13817 # uclinux* changes (here and below) have been submitted to the libtool
13818 # project, but have not yet been accepted: they are GCC-local changes
13819 # for the time being. (See
13820 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
13821 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
13825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13826 soname_spec
='${libname}${release}${shared_ext}$major'
13827 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13828 shlibpath_var
=LD_LIBRARY_PATH
13829 shlibpath_overrides_runpath
=no
13831 # Some binutils ld are patched to set DT_RUNPATH
13832 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13833 $as_echo_n "(cached) " >&6
13835 lt_cv_shlibpath_overrides_runpath
=no
13836 save_LDFLAGS
=$LDFLAGS
13837 save_libdir
=$libdir
13838 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13839 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13840 if test x
$gcc_no_link = xyes
; then
13841 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13854 if ac_fn_c_try_link
"$LINENO"; then :
13855 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13856 lt_cv_shlibpath_overrides_runpath
=yes
13859 rm -f core conftest.err conftest.
$ac_objext \
13860 conftest
$ac_exeext conftest.
$ac_ext
13861 LDFLAGS
=$save_LDFLAGS
13862 libdir
=$save_libdir
13866 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13868 # This implies no fast_install, which is unacceptable.
13869 # Some rework will be needed to allow for fast_install
13870 # before this can be enabled.
13871 hardcode_into_libs
=yes
13873 # Append ld.so.conf contents to the search path
13874 if test -f /etc
/ld.so.conf
; then
13875 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' ' '`
13876 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13879 # We used to test for /lib/ld.so.1 and disable shared libraries on
13880 # powerpc, because MkLinux only supported shared libraries with the
13881 # GNU dynamic linker. Since this was broken with cross compilers,
13882 # most powerpc-linux boxes support dynamic linking these days and
13883 # people can always --disable-shared, the test was removed, and we
13884 # assume the GNU/Linux dynamic linker is in use.
13885 dynamic_linker
='GNU/Linux ld.so'
13892 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13894 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13895 dynamic_linker
='NetBSD (a.out) ld.so'
13897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13898 soname_spec
='${libname}${release}${shared_ext}$major'
13899 dynamic_linker
='NetBSD ld.elf_so'
13901 shlibpath_var
=LD_LIBRARY_PATH
13902 shlibpath_overrides_runpath
=yes
13903 hardcode_into_libs
=yes
13908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13909 shlibpath_var
=LD_LIBRARY_PATH
13910 shlibpath_overrides_runpath
=yes
13917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13918 soname_spec
='${libname}${release}${shared_ext}$major'
13919 shlibpath_var
=LD_LIBRARY_PATH
13920 shlibpath_overrides_runpath
=no
13921 hardcode_into_libs
=yes
13922 dynamic_linker
='ldqnx.so'
13927 sys_lib_dlsearch_path_spec
="/usr/lib"
13929 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13931 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13932 *) need_version
=no
;;
13934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13935 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13936 shlibpath_var
=LD_LIBRARY_PATH
13937 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13939 openbsd2.
[89] | openbsd2.
[89].
*)
13940 shlibpath_overrides_runpath
=no
13943 shlibpath_overrides_runpath
=yes
13947 shlibpath_overrides_runpath
=yes
13952 libname_spec
='$name'
13955 library_names_spec
='$libname${shared_ext} $libname.a'
13956 dynamic_linker
='OS/2 ld.exe'
13957 shlibpath_var
=LIBPATH
13960 osf3
* | osf4
* | osf5
*)
13964 soname_spec
='${libname}${release}${shared_ext}$major'
13965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13966 shlibpath_var
=LD_LIBRARY_PATH
13967 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13968 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13980 soname_spec
='${libname}${release}${shared_ext}$major'
13981 shlibpath_var
=LD_LIBRARY_PATH
13982 shlibpath_overrides_runpath
=yes
13983 hardcode_into_libs
=yes
13984 # ldd complains unless libraries are executable
13985 postinstall_cmds
='chmod +x $lib'
13990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13991 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13992 shlibpath_var
=LD_LIBRARY_PATH
13993 shlibpath_overrides_runpath
=yes
13994 if test "$with_gnu_ld" = yes; then
14002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14003 soname_spec
='${libname}${release}${shared_ext}$major'
14004 shlibpath_var
=LD_LIBRARY_PATH
14005 case $host_vendor in
14007 shlibpath_overrides_runpath
=no
14009 runpath_var
=LD_RUN_PATH
14017 shlibpath_overrides_runpath
=no
14018 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14024 if test -d /usr
/nec
;then
14026 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14027 soname_spec
='$libname${shared_ext}.$major'
14028 shlibpath_var
=LD_LIBRARY_PATH
14032 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14033 version_type
=freebsd-elf
14036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14037 soname_spec
='${libname}${release}${shared_ext}$major'
14038 shlibpath_var
=LD_LIBRARY_PATH
14039 shlibpath_overrides_runpath
=yes
14040 hardcode_into_libs
=yes
14041 if test "$with_gnu_ld" = yes; then
14042 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14044 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14047 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14051 sys_lib_dlsearch_path_spec
='/usr/lib'
14055 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14060 shlibpath_var
=LD_LIBRARY_PATH
14061 shlibpath_overrides_runpath
=no
14062 hardcode_into_libs
=yes
14067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14068 soname_spec
='${libname}${release}${shared_ext}$major'
14069 shlibpath_var
=LD_LIBRARY_PATH
14072 # Shared libraries for VwWorks, >= 7 only at this stage
14073 # and (fpic) still incompatible with "large" code models
14074 # in a few configurations. Only for RTP mode in any case,
14075 # and upon explicit request at configure time.
14078 case ${with_multisubdir}-${enable_shared} in
14085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14086 soname_spec
='${libname}${release}${shared_ext}$major'
14087 dynamic_linker
="$host_os module_loader"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14096 $as_echo "$dynamic_linker" >&6; }
14097 test "$dynamic_linker" = no
&& can_build_shared
=no
14099 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14100 if test "$GCC" = yes; then
14101 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14104 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14105 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14107 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14108 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14203 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14205 if test -n "$hardcode_libdir_flag_spec" ||
14206 test -n "$runpath_var" ||
14207 test "X$hardcode_automatic" = "Xyes" ; then
14209 # We can hardcode non-existent directories.
14210 if test "$hardcode_direct" != no
&&
14211 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14212 # have to relink, otherwise we might link with an installed library
14213 # when we should be linking with a yet-to-be-installed one
14214 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14215 test "$hardcode_minus_L" != no
; then
14216 # Linking always hardcodes the temporary library directory.
14217 hardcode_action
=relink
14219 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14220 hardcode_action
=immediate
14223 # We cannot hardcode anything, or else we can only hardcode existing
14225 hardcode_action
=unsupported
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14228 $as_echo "$hardcode_action" >&6; }
14230 if test "$hardcode_action" = relink ||
14231 test "$inherit_rpath" = yes; then
14232 # Fast installation is not supported
14233 enable_fast_install
=no
14234 elif test "$shlibpath_overrides_runpath" = yes ||
14235 test "$enable_shared" = no
; then
14236 # Fast installation is not necessary
14237 enable_fast_install
=needless
14245 if test "x$enable_dlopen" != xyes
; then
14246 enable_dlopen
=unknown
14247 enable_dlopen_self
=unknown
14248 enable_dlopen_self_static
=unknown
14255 lt_cv_dlopen
="load_add_on"
14257 lt_cv_dlopen_self
=yes
14260 mingw
* | pw32
* | cegcc
*)
14261 lt_cv_dlopen
="LoadLibrary"
14266 lt_cv_dlopen
="dlopen"
14271 # if libdl is installed we need to link against it
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14273 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14274 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14275 $as_echo_n "(cached) " >&6
14277 ac_check_lib_save_LIBS
=$LIBS
14279 if test x
$gcc_no_link = xyes
; then
14280 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14300 if ac_fn_c_try_link
"$LINENO"; then :
14301 ac_cv_lib_dl_dlopen
=yes
14303 ac_cv_lib_dl_dlopen
=no
14305 rm -f core conftest.err conftest.
$ac_objext \
14306 conftest
$ac_exeext conftest.
$ac_ext
14307 LIBS
=$ac_check_lib_save_LIBS
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14310 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14311 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14312 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14315 lt_cv_dlopen
="dyld"
14317 lt_cv_dlopen_self
=yes
14324 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14325 if test "x$ac_cv_func_shl_load" = xyes
; then :
14326 lt_cv_dlopen
="shl_load"
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14329 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14330 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14331 $as_echo_n "(cached) " >&6
14333 ac_check_lib_save_LIBS
=$LIBS
14335 if test x
$gcc_no_link = xyes
; then
14336 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14341 /* Override any GCC internal prototype to avoid an error.
14342 Use char because int might match the return type of a GCC
14343 builtin and then its argument prototype would still apply. */
14351 return shl_load ();
14356 if ac_fn_c_try_link
"$LINENO"; then :
14357 ac_cv_lib_dld_shl_load
=yes
14359 ac_cv_lib_dld_shl_load
=no
14361 rm -f core conftest.err conftest.
$ac_objext \
14362 conftest
$ac_exeext conftest.
$ac_ext
14363 LIBS
=$ac_check_lib_save_LIBS
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14366 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14367 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14368 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
14370 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14371 if test "x$ac_cv_func_dlopen" = xyes
; then :
14372 lt_cv_dlopen
="dlopen"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14375 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14376 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14377 $as_echo_n "(cached) " >&6
14379 ac_check_lib_save_LIBS
=$LIBS
14381 if test x
$gcc_no_link = xyes
; then
14382 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14387 /* Override any GCC internal prototype to avoid an error.
14388 Use char because int might match the return type of a GCC
14389 builtin and then its argument prototype would still apply. */
14402 if ac_fn_c_try_link
"$LINENO"; then :
14403 ac_cv_lib_dl_dlopen
=yes
14405 ac_cv_lib_dl_dlopen
=no
14407 rm -f core conftest.err conftest.
$ac_objext \
14408 conftest
$ac_exeext conftest.
$ac_ext
14409 LIBS
=$ac_check_lib_save_LIBS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14412 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14413 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14414 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14417 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14418 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14419 $as_echo_n "(cached) " >&6
14421 ac_check_lib_save_LIBS
=$LIBS
14422 LIBS
="-lsvld $LIBS"
14423 if test x
$gcc_no_link = xyes
; then
14424 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14429 /* Override any GCC internal prototype to avoid an error.
14430 Use char because int might match the return type of a GCC
14431 builtin and then its argument prototype would still apply. */
14444 if ac_fn_c_try_link
"$LINENO"; then :
14445 ac_cv_lib_svld_dlopen
=yes
14447 ac_cv_lib_svld_dlopen
=no
14449 rm -f core conftest.err conftest.
$ac_objext \
14450 conftest
$ac_exeext conftest.
$ac_ext
14451 LIBS
=$ac_check_lib_save_LIBS
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14454 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14455 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14456 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14459 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14460 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14461 $as_echo_n "(cached) " >&6
14463 ac_check_lib_save_LIBS
=$LIBS
14465 if test x
$gcc_no_link = xyes
; then
14466 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14481 return dld_link ();
14486 if ac_fn_c_try_link
"$LINENO"; then :
14487 ac_cv_lib_dld_dld_link
=yes
14489 ac_cv_lib_dld_dld_link
=no
14491 rm -f core conftest.err conftest.
$ac_objext \
14492 conftest
$ac_exeext conftest.
$ac_ext
14493 LIBS
=$ac_check_lib_save_LIBS
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14496 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14497 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14498 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
14519 if test "x$lt_cv_dlopen" != xno
; then
14525 case $lt_cv_dlopen in
14527 save_CPPFLAGS
="$CPPFLAGS"
14528 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14530 save_LDFLAGS
="$LDFLAGS"
14531 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14534 LIBS
="$lt_cv_dlopen_libs $LIBS"
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14537 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14538 if ${lt_cv_dlopen_self+:} false
; then :
14539 $as_echo_n "(cached) " >&6
14541 if test "$cross_compiling" = yes; then :
14542 lt_cv_dlopen_self
=cross
14544 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14545 lt_status
=$lt_dlunknown
14546 cat > conftest.
$ac_ext <<_LT_EOF
14547 #line 14547 "configure"
14548 #include "confdefs.h"
14557 # define LT_DLGLOBAL RTLD_GLOBAL
14560 # define LT_DLGLOBAL DL_GLOBAL
14562 # define LT_DLGLOBAL 0
14566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14567 find out it does not work in some platform. */
14568 #ifndef LT_DLLAZY_OR_NOW
14570 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14573 # define LT_DLLAZY_OR_NOW DL_LAZY
14576 # define LT_DLLAZY_OR_NOW RTLD_NOW
14579 # define LT_DLLAZY_OR_NOW DL_NOW
14581 # define LT_DLLAZY_OR_NOW 0
14588 /* When -fvisbility=hidden is used, assume the code has been annotated
14589 correspondingly for the symbols needed. */
14590 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14591 void fnord () __attribute__((visibility("default")));
14594 void fnord () { int i=42; }
14597 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14598 int status = $lt_dlunknown;
14602 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14605 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14606 else puts (dlerror ());
14608 /* dlclose (self); */
14616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14617 (eval $ac_link) 2>&5
14619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14620 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14621 (.
/conftest
; exit; ) >&5 2>/dev
/null
14623 case x
$lt_status in
14624 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14625 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14626 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14629 # compilation failed
14630 lt_cv_dlopen_self
=no
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14638 $as_echo "$lt_cv_dlopen_self" >&6; }
14640 if test "x$lt_cv_dlopen_self" = xyes
; then
14641 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14643 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14644 if ${lt_cv_dlopen_self_static+:} false
; then :
14645 $as_echo_n "(cached) " >&6
14647 if test "$cross_compiling" = yes; then :
14648 lt_cv_dlopen_self_static
=cross
14650 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14651 lt_status
=$lt_dlunknown
14652 cat > conftest.
$ac_ext <<_LT_EOF
14653 #line 14653 "configure"
14654 #include "confdefs.h"
14663 # define LT_DLGLOBAL RTLD_GLOBAL
14666 # define LT_DLGLOBAL DL_GLOBAL
14668 # define LT_DLGLOBAL 0
14672 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14673 find out it does not work in some platform. */
14674 #ifndef LT_DLLAZY_OR_NOW
14676 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14679 # define LT_DLLAZY_OR_NOW DL_LAZY
14682 # define LT_DLLAZY_OR_NOW RTLD_NOW
14685 # define LT_DLLAZY_OR_NOW DL_NOW
14687 # define LT_DLLAZY_OR_NOW 0
14694 /* When -fvisbility=hidden is used, assume the code has been annotated
14695 correspondingly for the symbols needed. */
14696 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14697 void fnord () __attribute__((visibility("default")));
14700 void fnord () { int i=42; }
14703 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14704 int status = $lt_dlunknown;
14708 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14711 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14712 else puts (dlerror ());
14714 /* dlclose (self); */
14722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14723 (eval $ac_link) 2>&5
14725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14727 (.
/conftest
; exit; ) >&5 2>/dev
/null
14729 case x
$lt_status in
14730 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14731 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14732 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14735 # compilation failed
14736 lt_cv_dlopen_self_static
=no
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14744 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14747 CPPFLAGS
="$save_CPPFLAGS"
14748 LDFLAGS
="$save_LDFLAGS"
14753 case $lt_cv_dlopen_self in
14754 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14755 *) enable_dlopen_self
=unknown
;;
14758 case $lt_cv_dlopen_self_static in
14759 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14760 *) enable_dlopen_self_static
=unknown
;;
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14783 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14784 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
14785 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14786 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14788 $as_echo "yes" >&6; }
14790 # FIXME - insert some real tests, host_os isn't really good enough
14793 if test -n "$STRIP" ; then
14794 striplib
="$STRIP -x"
14795 old_striplib
="$STRIP -S"
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14797 $as_echo "yes" >&6; }
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14800 $as_echo "no" >&6; }
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14805 $as_echo "no" >&6; }
14821 # Report which library types will actually be built
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14823 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14825 $as_echo "$can_build_shared" >&6; }
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14828 $as_echo_n "checking whether to build shared libraries... " >&6; }
14829 test "$can_build_shared" = "no" && enable_shared
=no
14831 # On AIX, shared libraries and static libraries use the same namespace, and
14832 # are all built from PIC.
14835 test "$enable_shared" = yes && enable_static
=no
14836 if test -n "$RANLIB"; then
14837 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14838 postinstall_cmds
='$RANLIB $lib'
14843 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14844 test "$enable_shared" = yes && enable_static
=no
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14849 $as_echo "$enable_shared" >&6; }
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14852 $as_echo_n "checking whether to build static libraries... " >&6; }
14853 # Make sure either enable_shared or enable_static is yes.
14854 test "$enable_shared" = yes || enable_static
=yes
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14856 $as_echo "$enable_static" >&6; }
14863 ac_cpp
='$CPP $CPPFLAGS'
14864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14870 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14871 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14872 (test "X$CXX" != "Xg++"))) ; then
14874 ac_cpp
='$CXXCPP $CPPFLAGS'
14875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14879 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14880 if test -z "$CXXCPP"; then
14881 if ${ac_cv_prog_CXXCPP+:} false
; then :
14882 $as_echo_n "(cached) " >&6
14884 # Double quotes because CXXCPP needs to be expanded
14885 for CXXCPP
in "$CXX -E" "/lib/cpp"
14887 ac_preproc_ok
=false
14888 for ac_cxx_preproc_warn_flag
in '' yes
14890 # Use a header file that comes with gcc, so configuring glibc
14891 # with a fresh cross-compiler works.
14892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14893 # <limits.h> exists even on freestanding compilers.
14894 # On the NeXT, cc -E runs the code through the compiler's parser,
14895 # not just through cpp. "Syntax error" is here to catch this case.
14896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14899 # include <limits.h>
14901 # include <assert.h>
14905 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14908 # Broken: fails on valid input.
14911 rm -f conftest.err conftest.i conftest.
$ac_ext
14913 # OK, works on sane cases. Now check whether nonexistent headers
14914 # can be detected and how.
14915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 #include <ac_nonexistent.h>
14919 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14920 # Broken: success on invalid input.
14923 # Passes both tests.
14927 rm -f conftest.err conftest.i conftest.
$ac_ext
14930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14931 rm -f conftest.i conftest.err conftest.
$ac_ext
14932 if $ac_preproc_ok; then :
14937 ac_cv_prog_CXXCPP
=$CXXCPP
14940 CXXCPP
=$ac_cv_prog_CXXCPP
14942 ac_cv_prog_CXXCPP
=$CXXCPP
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14945 $as_echo "$CXXCPP" >&6; }
14946 ac_preproc_ok
=false
14947 for ac_cxx_preproc_warn_flag
in '' yes
14949 # Use a header file that comes with gcc, so configuring glibc
14950 # with a fresh cross-compiler works.
14951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14952 # <limits.h> exists even on freestanding compilers.
14953 # On the NeXT, cc -E runs the code through the compiler's parser,
14954 # not just through cpp. "Syntax error" is here to catch this case.
14955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 # include <limits.h>
14960 # include <assert.h>
14964 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14967 # Broken: fails on valid input.
14970 rm -f conftest.err conftest.i conftest.
$ac_ext
14972 # OK, works on sane cases. Now check whether nonexistent headers
14973 # can be detected and how.
14974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14976 #include <ac_nonexistent.h>
14978 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14979 # Broken: success on invalid input.
14982 # Passes both tests.
14986 rm -f conftest.err conftest.i conftest.
$ac_ext
14989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14990 rm -f conftest.i conftest.err conftest.
$ac_ext
14991 if $ac_preproc_ok; then :
14994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14996 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14997 See \`config.log' for more details" "$LINENO" 5; }
15001 ac_cpp
='$CPP $CPPFLAGS'
15002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15007 _lt_caught_CXX_error
=yes
15011 ac_cpp
='$CXXCPP $CPPFLAGS'
15012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15016 archive_cmds_need_lc_CXX
=no
15017 allow_undefined_flag_CXX
=
15018 always_export_symbols_CXX
=no
15019 archive_expsym_cmds_CXX
=
15020 compiler_needs_object_CXX
=no
15021 export_dynamic_flag_spec_CXX
=
15022 hardcode_direct_CXX
=no
15023 hardcode_direct_absolute_CXX
=no
15024 hardcode_libdir_flag_spec_CXX
=
15025 hardcode_libdir_flag_spec_ld_CXX
=
15026 hardcode_libdir_separator_CXX
=
15027 hardcode_minus_L_CXX
=no
15028 hardcode_shlibpath_var_CXX
=unsupported
15029 hardcode_automatic_CXX
=no
15030 inherit_rpath_CXX
=no
15032 module_expsym_cmds_CXX
=
15033 link_all_deplibs_CXX
=unknown
15034 old_archive_cmds_CXX
=$old_archive_cmds
15035 reload_flag_CXX
=$reload_flag
15036 reload_cmds_CXX
=$reload_cmds
15037 no_undefined_flag_CXX
=
15038 whole_archive_flag_spec_CXX
=
15039 enable_shared_with_static_runtimes_CXX
=no
15041 # Source file extension for C++ test sources.
15044 # Object file extension for compiled C++ test sources.
15048 # No sense in running all these tests if we already determined that
15049 # the CXX compiler isn't working. Some variables (like enable_shared)
15050 # are currently assumed to apply to all compilers on this platform,
15051 # and will be corrupted by setting them based on a non-working compiler.
15052 if test "$_lt_caught_CXX_error" != yes; then
15053 # Code to be used in simple compile tests
15054 lt_simple_compile_test_code
="int some_variable = 0;"
15056 # Code to be used in simple link tests
15057 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15059 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15066 # If no C compiler was specified, use CC.
15069 # If no C compiler flags were specified, use CFLAGS.
15070 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15072 # Allow CC to be a program name with arguments.
15076 # save warnings/boilerplate of simple test code
15077 ac_outfile
=conftest.
$ac_objext
15078 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15079 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15080 _lt_compiler_boilerplate
=`cat conftest.err`
15083 ac_outfile
=conftest.
$ac_objext
15084 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15085 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15086 _lt_linker_boilerplate
=`cat conftest.err`
15090 # Allow CC to be a program name with arguments.
15095 lt_save_with_gnu_ld
=$with_gnu_ld
15096 lt_save_path_LD
=$lt_cv_path_LD
15097 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15098 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15100 $as_unset lt_cv_prog_gnu_ld
15102 if test -n "${lt_cv_path_LDCXX+set}"; then
15103 lt_cv_path_LD
=$lt_cv_path_LDCXX
15105 $as_unset lt_cv_path_LD
15107 test -z "${LDCXX+set}" || LD
=$LDCXX
15111 for cc_temp
in $compiler""; do
15113 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15114 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15119 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15122 if test -n "$compiler"; then
15123 # We don't want -fno-exception when compiling C++ code, so set the
15124 # no_builtin_flag separately
15125 if test "$GXX" = yes; then
15126 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15128 lt_prog_compiler_no_builtin_flag_CXX
=
15131 if test "$GXX" = yes; then
15132 # Set up default GNU C++ configuration
15136 # Check whether --with-gnu-ld was given.
15137 if test "${with_gnu_ld+set}" = set; then :
15138 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15144 if test "$GCC" = yes; then
15145 # Check if gcc -print-prog-name=ld gives a path.
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15147 $as_echo_n "checking for ld used by $CC... " >&6; }
15150 # gcc leaves a trailing carriage return which upsets mingw
15151 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15153 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15156 # Accept absolute paths.
15158 re_direlt
='/[^/][^/]*/\.\./'
15159 # Canonicalize the pathname of ld
15160 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15161 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15162 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15164 test -z "$LD" && LD
="$ac_prog"
15167 # If it fails, then pretend we aren't using GCC.
15171 # If it is relative, then search for the first ld in PATH.
15172 with_gnu_ld
=unknown
15175 elif test "$with_gnu_ld" = yes; then
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15177 $as_echo_n "checking for GNU ld... " >&6; }
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15180 $as_echo_n "checking for non-GNU ld... " >&6; }
15182 if ${lt_cv_path_LD+:} false
; then :
15183 $as_echo_n "(cached) " >&6
15185 if test -z "$LD"; then
15186 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15187 for ac_dir
in $PATH; do
15189 test -z "$ac_dir" && ac_dir
=.
15190 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15191 lt_cv_path_LD
="$ac_dir/$ac_prog"
15192 # Check to see if the program is GNU ld. I'd rather use --version,
15193 # but apparently some variants of GNU ld only accept -v.
15194 # Break only if it was the GNU/non-GNU ld that we prefer.
15195 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15196 *GNU
* |
*'with BFD'*)
15197 test "$with_gnu_ld" != no
&& break
15200 test "$with_gnu_ld" != yes && break
15207 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15211 LD
="$lt_cv_path_LD"
15212 if test -n "$LD"; then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15214 $as_echo "$LD" >&6; }
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15217 $as_echo "no" >&6; }
15219 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15221 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15222 if ${lt_cv_prog_gnu_ld+:} false
; then :
15223 $as_echo_n "(cached) " >&6
15225 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15226 case `$LD -v 2>&1 </dev/null` in
15227 *GNU
* |
*'with BFD'*)
15228 lt_cv_prog_gnu_ld
=yes
15231 lt_cv_prog_gnu_ld
=no
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15236 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15237 with_gnu_ld
=$lt_cv_prog_gnu_ld
15245 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15246 # archiving commands below assume that GNU ld is being used.
15247 if test "$with_gnu_ld" = yes; then
15248 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15249 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15251 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15252 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15254 # If archive_cmds runs LD, not CC, wlarc should be empty
15255 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15256 # investigate it a little bit more. (MM)
15259 # ancient GNU ld didn't support --whole-archive et. al.
15260 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15261 $GREP 'no-whole-archive' > /dev
/null
; then
15262 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15264 whole_archive_flag_spec_CXX
=
15270 # A generic and very simple default shared library creation
15271 # command for GNU C++ for the case where it uses the native
15272 # linker, instead of GNU ld. If possible, this setting should
15273 # overridden to take advantage of the native linker features on
15274 # the platform it is being used on.
15275 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15278 # Commands to make compiler produce verbose output that lists
15279 # what "hidden" libraries, object files and flags are used when
15280 # linking a shared library.
15281 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15289 # PORTME: fill in a description of your system's C++ link characteristics
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15291 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15295 # FIXME: insert proper C++ library support
15299 if test "$host_cpu" = ia64
; then
15300 # On IA64, the linker does run time linking by default, so we don't
15301 # have to do anything special.
15302 aix_use_runtimelinking
=no
15303 exp_sym_flag
='-Bexport'
15306 aix_use_runtimelinking
=no
15308 # Test if we are trying to use run time linking or normal
15309 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15310 # need to do runtime linking.
15311 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15312 for ld_flag
in $LDFLAGS; do
15315 aix_use_runtimelinking
=yes
15323 exp_sym_flag
='-bexport'
15324 no_entry_flag
='-bnoentry'
15327 # When large executables or shared objects are built, AIX ld can
15328 # have problems creating the table of contents. If linking a library
15329 # or program results in "error TOC overflow" add -mminimal-toc to
15330 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15331 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15333 archive_cmds_CXX
=''
15334 hardcode_direct_CXX
=yes
15335 hardcode_direct_absolute_CXX
=yes
15336 hardcode_libdir_separator_CXX
=':'
15337 link_all_deplibs_CXX
=yes
15338 file_list_spec_CXX
='${wl}-f,'
15340 if test "$GXX" = yes; then
15341 case $host_os in aix4.
[012]|aix4.
[012].
*)
15342 # We only want to do this on AIX 4.2 and lower, the check
15343 # below for broken collect2 doesn't work under 4.3+
15344 collect2name
=`${CC} -print-prog-name=collect2`
15345 if test -f "$collect2name" &&
15346 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
15348 # We have reworked collect2
15351 # We have old collect2
15352 hardcode_direct_CXX
=unsupported
15353 # It fails to find uninstalled libraries when the uninstalled
15354 # path is not listed in the libpath. Setting hardcode_minus_L
15355 # to unsupported forces relinking
15356 hardcode_minus_L_CXX
=yes
15357 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15358 hardcode_libdir_separator_CXX
=
15361 shared_flag
='-shared'
15362 if test "$aix_use_runtimelinking" = yes; then
15363 shared_flag
="$shared_flag "'${wl}-G'
15367 if test "$host_cpu" = ia64
; then
15368 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15369 # chokes on -Wl,-G. The following line is correct:
15372 if test "$aix_use_runtimelinking" = yes; then
15373 shared_flag
='${wl}-G'
15375 shared_flag
='${wl}-bM:SRE'
15380 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
15381 # It seems that -bexpall does not export symbols beginning with
15382 # underscore (_), so it is better to generate a list of symbols to
15384 always_export_symbols_CXX
=yes
15385 if test "$aix_use_runtimelinking" = yes; then
15386 # Warning - without using the other runtime loading flags (-brtl),
15387 # -berok will link without error, but may produce a broken library.
15388 allow_undefined_flag_CXX
='-berok'
15389 # Determine the default libpath from the value encoded in an empty
15391 if test x
$gcc_no_link = xyes
; then
15392 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15405 if ac_fn_cxx_try_link
"$LINENO"; then :
15407 lt_aix_libpath_sed
='
15408 /Import File Strings/,/^$/ {
15414 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15415 # Check for a 64-bit object if we didn't find anything.
15416 if test -z "$aix_libpath"; then
15417 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15420 rm -f core conftest.err conftest.
$ac_objext \
15421 conftest
$ac_exeext conftest.
$ac_ext
15422 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15424 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15426 archive_expsym_cmds_CXX
='$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"
15428 if test "$host_cpu" = ia64
; then
15429 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
15430 allow_undefined_flag_CXX
="-z nodefs"
15431 archive_expsym_cmds_CXX
="\$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"
15433 # Determine the default libpath from the value encoded in an
15434 # empty executable.
15435 if test x
$gcc_no_link = xyes
; then
15436 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15449 if ac_fn_cxx_try_link
"$LINENO"; then :
15451 lt_aix_libpath_sed
='
15452 /Import File Strings/,/^$/ {
15458 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15459 # Check for a 64-bit object if we didn't find anything.
15460 if test -z "$aix_libpath"; then
15461 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15464 rm -f core conftest.err conftest.
$ac_objext \
15465 conftest
$ac_exeext conftest.
$ac_ext
15466 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15468 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15469 # Warning - without using the other run time loading flags,
15470 # -berok will link without error, but may produce a broken library.
15471 no_undefined_flag_CXX
=' ${wl}-bernotok'
15472 allow_undefined_flag_CXX
=' ${wl}-berok'
15473 if test "$with_gnu_ld" = yes; then
15474 # We only use this code for GNU lds that support --whole-archive.
15475 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15477 # Exported symbols can be pulled into shared objects from archives
15478 whole_archive_flag_spec_CXX
='$convenience'
15480 archive_cmds_need_lc_CXX
=yes
15481 # This is similar to how AIX traditionally builds its shared
15483 archive_expsym_cmds_CXX
="\$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'
15489 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15490 allow_undefined_flag_CXX
=unsupported
15491 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15492 # support --undefined. This deserves some investigation. FIXME
15493 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15500 case $cc_basename in
15502 # FIXME: insert proper C++ library support
15508 cygwin
* | mingw
* | pw32
* | cegcc
*)
15509 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15510 # as there is no search path for DLLs.
15511 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15512 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
15513 allow_undefined_flag_CXX
=unsupported
15514 always_export_symbols_CXX
=no
15515 enable_shared_with_static_runtimes_CXX
=yes
15517 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
15518 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15519 # If the export-symbols file already is a .def file (1st line
15520 # is EXPORTS), use it as is; otherwise, prepend...
15521 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15522 cp $export_symbols $output_objdir/$soname.def;
15524 echo EXPORTS > $output_objdir/$soname.def;
15525 cat $export_symbols >> $output_objdir/$soname.def;
15527 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15532 darwin
* | rhapsody
*)
15536 # Publish an arg to allow the user to select that Darwin host (and target)
15537 # libraries should be given install-names like @rpath/libfoo.dylib. This
15538 # requires that the user of the library then adds an 'rpath' to the DSO that
15540 # NOTE: there are defaults below, for systems that support rpaths. The person
15541 # configuring can override the defaults for any system version that supports
15542 # them - they are, however, forced off for system versions without support.
15543 # Check whether --enable-darwin-at-rpath was given.
15544 if test "${enable_darwin_at_rpath+set}" = set; then :
15545 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15546 # This is not supported before macOS 10.5 / Darwin9.
15547 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15548 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15550 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15551 enable_darwin_at_rpath
=no
15556 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15557 # As above, before 10.5 / Darwin9 this does not work.
15558 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15559 enable_darwin_at_rpath
=no
15562 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15563 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15564 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15565 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15567 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15568 enable_darwin_at_rpath
=yes
15570 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15571 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15578 archive_cmds_need_lc_CXX
=no
15579 hardcode_direct_CXX
=no
15580 hardcode_automatic_CXX
=yes
15581 hardcode_shlibpath_var_CXX
=unsupported
15582 if test "$lt_cv_ld_force_load" = "yes"; then
15583 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15585 whole_archive_flag_spec_CXX
=''
15587 link_all_deplibs_CXX
=yes
15588 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
15589 case $cc_basename in
15590 ifort
*) _lt_dar_can_shared
=yes ;;
15591 *) _lt_dar_can_shared
=$GCC ;;
15593 if test "$_lt_dar_can_shared" = "yes"; then
15594 output_verbose_link_cmd
=func_echo_all
15595 _lt_install_name
='\$rpath/\$soname'
15596 if test "x$enable_darwin_at_rpath" = "xyes"; then
15597 _lt_install_name
='@rpath/\$soname'
15599 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15600 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15601 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
15602 module_expsym_cmds_CXX
="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}"
15603 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15604 _lt_install_name
='\$rpath/\$soname'
15605 if test "x$enable_darwin_at_rpath" = "xyes"; then
15606 _lt_install_name
='@rpath/\$soname'
15608 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring${_lt_dsymutil}"
15609 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15619 case $cc_basename in
15621 # FIXME: insert proper C++ library support
15625 # Green Hills C++ Compiler
15626 # FIXME: insert proper C++ library support
15630 # FIXME: insert proper C++ library support
15637 # C++ shared libraries reported to be fairly broken before
15643 archive_cmds_need_lc_CXX
=no
15646 freebsd
* | dragonfly
*)
15647 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15656 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15657 link_all_deplibs_CXX
=yes
15661 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15662 hardcode_libdir_separator_CXX
=:
15663 export_dynamic_flag_spec_CXX
='${wl}-E'
15664 hardcode_direct_CXX
=yes
15665 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15666 # but as the default
15667 # location of the library.
15669 case $cc_basename in
15671 # FIXME: insert proper C++ library support
15675 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15676 # Commands to make compiler produce verbose output that lists
15677 # what "hidden" libraries, object files and flags are used when
15678 # linking a shared library.
15680 # There doesn't appear to be a way to prevent this compiler from
15681 # explicitly linking system object files so we need to strip them
15682 # from the output so that they don't get included in the library
15684 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15687 if test "$GXX" = yes; then
15688 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15690 # FIXME: insert proper C++ library support
15698 if test $with_gnu_ld = no
; then
15699 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15700 hardcode_libdir_separator_CXX
=:
15706 export_dynamic_flag_spec_CXX
='${wl}-E'
15712 hardcode_direct_CXX
=no
15713 hardcode_shlibpath_var_CXX
=no
15716 hardcode_direct_CXX
=yes
15717 hardcode_direct_absolute_CXX
=yes
15718 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15719 # but as the default
15720 # location of the library.
15724 case $cc_basename in
15726 # FIXME: insert proper C++ library support
15732 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15735 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15738 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15741 # Commands to make compiler produce verbose output that lists
15742 # what "hidden" libraries, object files and flags are used when
15743 # linking a shared library.
15745 # There doesn't appear to be a way to prevent this compiler from
15746 # explicitly linking system object files so we need to strip them
15747 # from the output so that they don't get included in the library
15749 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15752 if test "$GXX" = yes; then
15753 if test $with_gnu_ld = no
; then
15756 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15759 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15762 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15767 # FIXME: insert proper C++ library support
15775 hardcode_direct_CXX
=no
15776 hardcode_shlibpath_var_CXX
=no
15777 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15778 export_dynamic_flag_spec_CXX
='${wl}-E'
15779 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15780 # Instead, shared libraries are loaded at an image base (0x10000000 by
15781 # default) and relocated if they conflict, which is a slow very memory
15782 # consuming and fragmenting process. To avoid this, we pick a random,
15783 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15784 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15785 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15786 archive_expsym_cmds_CXX
='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'
15789 case $cc_basename in
15792 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15794 # Archives containing C++ object files must be created using
15795 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15796 # necessary to make sure instantiated templates are included
15798 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15801 if test "$GXX" = yes; then
15802 if test "$with_gnu_ld" = no
; then
15803 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
15805 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15808 link_all_deplibs_CXX
=yes
15811 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15812 hardcode_libdir_separator_CXX
=:
15813 inherit_rpath_CXX
=yes
15816 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15817 case $cc_basename in
15819 # Kuck and Associates, Inc. (KAI) C++ Compiler
15821 # KCC will only create a shared library if the output file
15822 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15823 # to its proper name (with version) after linking.
15824 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15825 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15826 # Commands to make compiler produce verbose output that lists
15827 # what "hidden" libraries, object files and flags are used when
15828 # linking a shared library.
15830 # There doesn't appear to be a way to prevent this compiler from
15831 # explicitly linking system object files so we need to strip them
15832 # from the output so that they don't get included in the library
15834 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15836 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15837 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15839 # Archives containing C++ object files must be created using
15840 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15841 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15846 # version 8.0 and above of icpc choke on multiply defined symbols
15847 # if we add $predep_objects and $postdep_objects, however 7.1 and
15848 # earlier do not add the objects themselves.
15849 case `$CC -V 2>&1` in
15851 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15852 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15854 *) # Version 8.0 or newer
15857 ia64
*) tmp_idyn
=' -i_dynamic';;
15859 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15860 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15863 archive_cmds_need_lc_CXX
=no
15864 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15865 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15866 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15869 # Portland Group C++ compiler
15871 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
15872 prelink_cmds_CXX
='tpldir=Template.dir~
15874 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15875 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15876 old_archive_cmds_CXX
='tpldir=Template.dir~
15878 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15879 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15881 archive_cmds_CXX
='tpldir=Template.dir~
15883 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15884 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15885 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15887 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15888 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15890 *) # Version 6 and above use weak symbols
15891 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15892 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15896 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15897 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15898 whole_archive_flag_spec_CXX
='${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'
15902 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15903 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15905 runpath_var
=LD_RUN_PATH
15906 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15907 hardcode_libdir_separator_CXX
=:
15909 # Commands to make compiler produce verbose output that lists
15910 # what "hidden" libraries, object files and flags are used when
15911 # linking a shared library.
15913 # There doesn't appear to be a way to prevent this compiler from
15914 # explicitly linking system object files so we need to strip them
15915 # from the output so that they don't get included in the library
15917 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15919 xl
* | mpixl
* | bgxl
*)
15920 # IBM XL 8.0 on PPC, with GNU ld
15921 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15922 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15923 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15924 if test "x$supports_anon_versioning" = xyes
; then
15925 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15926 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15927 echo "local: *; };" >> $output_objdir/$libname.ver~
15928 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15932 case `$CC -V 2>&1 | sed 5q` in
15935 no_undefined_flag_CXX
=' -zdefs'
15936 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15937 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15938 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15939 whole_archive_flag_spec_CXX
='${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'
15940 compiler_needs_object_CXX
=yes
15942 # Not sure whether something based on
15943 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15945 output_verbose_link_cmd
='func_echo_all'
15947 # Archives containing C++ object files must be created using
15948 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15949 # necessary to make sure instantiated templates are included
15951 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15959 # FIXME: insert proper C++ library support
15964 # FIXME: insert proper C++ library support
15969 case $cc_basename in
15971 # FIXME: insert proper C++ library support
15975 # FIXME: insert proper C++ library support
15982 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15983 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15985 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15986 hardcode_direct_CXX
=yes
15987 hardcode_shlibpath_var_CXX
=no
15989 # Workaround some broken pre-1.5 toolchains
15990 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15998 # C++ shared libraries are fairly broken
16003 if test -f /usr
/libexec
/ld.so
; then
16004 hardcode_direct_CXX
=yes
16005 hardcode_shlibpath_var_CXX
=no
16006 hardcode_direct_absolute_CXX
=yes
16007 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16008 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
16009 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16010 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16011 export_dynamic_flag_spec_CXX
='${wl}-E'
16012 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16014 output_verbose_link_cmd
=func_echo_all
16020 osf3
* | osf4
* | osf5
*)
16021 case $cc_basename in
16023 # Kuck and Associates, Inc. (KAI) C++ Compiler
16025 # KCC will only create a shared library if the output file
16026 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16027 # to its proper name (with version) after linking.
16028 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16030 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
16031 hardcode_libdir_separator_CXX
=:
16033 # Archives containing C++ object files must be created using
16034 # the KAI C++ compiler.
16036 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16037 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16041 # Rational C++ 2.4.1
16042 # FIXME: insert proper C++ library support
16048 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16049 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16050 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16053 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16054 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16055 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16056 echo "-hidden">> $lib.exp~
16057 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
16059 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16063 hardcode_libdir_separator_CXX
=:
16065 # Commands to make compiler produce verbose output that lists
16066 # what "hidden" libraries, object files and flags are used when
16067 # linking a shared library.
16069 # There doesn't appear to be a way to prevent this compiler from
16070 # explicitly linking system object files so we need to strip them
16071 # from the output so that they don't get included in the library
16073 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16076 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16077 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16080 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
16083 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
16087 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16088 hardcode_libdir_separator_CXX
=:
16090 # Commands to make compiler produce verbose output that lists
16091 # what "hidden" libraries, object files and flags are used when
16092 # linking a shared library.
16093 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16096 # FIXME: insert proper C++ library support
16104 # FIXME: insert proper C++ library support
16109 case $cc_basename in
16112 # FIXME: insert proper C++ library support
16117 # FIXME: insert proper C++ library support
16121 # FIXME: insert proper C++ library support
16128 case $cc_basename in
16130 # Sun C++ 4.2, 5.x and Centerline C++
16131 archive_cmds_need_lc_CXX
=yes
16132 no_undefined_flag_CXX
=' -zdefs'
16133 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16134 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16135 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16137 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16138 hardcode_shlibpath_var_CXX
=no
16140 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16142 # The compiler driver will combine and reorder linker options,
16143 # but understands `-z linker_flag'.
16144 # Supported since Solaris 2.6 (maybe 2.5.1?)
16145 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16148 link_all_deplibs_CXX
=yes
16150 output_verbose_link_cmd
='func_echo_all'
16152 # Archives containing C++ object files must be created using
16153 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16154 # necessary to make sure instantiated templates are included
16156 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16159 # Green Hills C++ Compiler
16160 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16162 # The C++ compiler must be used to create the archive.
16163 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16166 # GNU C++ compiler with Solaris linker
16167 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16168 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
16169 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
16170 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16171 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16172 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16174 # Commands to make compiler produce verbose output that lists
16175 # what "hidden" libraries, object files and flags are used when
16176 # linking a shared library.
16177 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16179 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16181 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16182 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16183 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16185 # Commands to make compiler produce verbose output that lists
16186 # what "hidden" libraries, object files and flags are used when
16187 # linking a shared library.
16188 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16191 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
16193 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16195 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16203 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16204 no_undefined_flag_CXX
='${wl}-z,text'
16205 archive_cmds_need_lc_CXX
=no
16206 hardcode_shlibpath_var_CXX
=no
16207 runpath_var
='LD_RUN_PATH'
16209 case $cc_basename in
16211 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16212 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16215 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16216 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16221 sysv5
* | sco3.2v5
* | sco5v6
*)
16222 # Note: We can NOT use -z defs as we might desire, because we do not
16223 # link with -lc, and that would cause any symbols used from libc to
16224 # always be unresolved, which means just about no library would
16225 # ever link correctly. If we're not using GNU ld we use -z text
16226 # though, which does catch some bad symbols but isn't as heavy-handed
16228 no_undefined_flag_CXX
='${wl}-z,text'
16229 allow_undefined_flag_CXX
='${wl}-z,nodefs'
16230 archive_cmds_need_lc_CXX
=no
16231 hardcode_shlibpath_var_CXX
=no
16232 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
16233 hardcode_libdir_separator_CXX
=':'
16234 link_all_deplibs_CXX
=yes
16235 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
16236 runpath_var
='LD_RUN_PATH'
16238 case $cc_basename in
16240 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16241 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16242 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16243 '"$old_archive_cmds_CXX"
16244 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16245 '"$reload_cmds_CXX"
16248 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16249 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16255 case $cc_basename in
16257 # NonStop-UX NCC 3.20
16258 # FIXME: insert proper C++ library support
16262 # FIXME: insert proper C++ library support
16269 # For VxWorks ports, we assume the use of a GNU linker with
16270 # standard elf conventions.
16275 # FIXME: insert proper C++ library support
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16281 $as_echo "$ld_shlibs_CXX" >&6; }
16282 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16288 ## There is no encapsulation within the following macros, do not change
16289 ## the running order or otherwise move them around unless you know exactly
16290 ## what you are doing...
16291 # Dependencies to place before and after the object being linked:
16292 predep_objects_CXX
=
16293 postdep_objects_CXX
=
16296 compiler_lib_search_path_CXX
=
16298 cat > conftest.
$ac_ext <<_LT_EOF
16302 Foo (void) { a = 0; }
16308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16309 (eval $ac_compile) 2>&5
16311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16312 test $ac_status = 0; }; then
16313 # Parse the compiler output and extract the necessary
16314 # objects, libraries and library flags.
16316 # Sentinel used to keep track of whether or not we are before
16317 # the conftest object file.
16318 pre_test_object_deps_done
=no
16320 for p
in `eval "$output_verbose_link_cmd"`; do
16324 # Some compilers place space between "-{L,R}" and the path.
16325 # Remove the space.
16326 if test $p = "-L" ||
16327 test $p = "-R"; then
16334 if test "$pre_test_object_deps_done" = no
; then
16337 # Internal compiler library paths should come after those
16338 # provided the user. The postdeps already come after the
16339 # user supplied libs so there is no need to process them.
16340 if test -z "$compiler_lib_search_path_CXX"; then
16341 compiler_lib_search_path_CXX
="${prev}${p}"
16343 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
16346 # The "-l" case would never come before the object being
16347 # linked, so don't bother handling this case.
16350 if test -z "$postdeps_CXX"; then
16351 postdeps_CXX
="${prev}${p}"
16353 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
16359 # This assumes that the test object file only shows up
16360 # once in the compiler output.
16361 if test "$p" = "conftest.$objext"; then
16362 pre_test_object_deps_done
=yes
16366 if test "$pre_test_object_deps_done" = no
; then
16367 if test -z "$predep_objects_CXX"; then
16368 predep_objects_CXX
="$p"
16370 predep_objects_CXX
="$predep_objects_CXX $p"
16373 if test -z "$postdep_objects_CXX"; then
16374 postdep_objects_CXX
="$p"
16376 postdep_objects_CXX
="$postdep_objects_CXX $p"
16381 *) ;; # Ignore the rest.
16389 echo "libtool.m4: error: problem compiling CXX test program"
16392 $RM -f confest.
$objext
16394 # PORTME: override above test on systems where it is broken
16397 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16398 # hack all around it, let's just trust "g++" to DTRT.
16399 predep_objects_CXX
=
16400 postdep_objects_CXX
=
16405 case `$CC -V 2>&1 | sed 5q` in
16409 # The more standards-conforming stlport4 library is
16410 # incompatible with the Cstd library. Avoid specifying
16411 # it if it's in CXXFLAGS. Ignore libCrun as
16412 # -library=stlport4 depends on it.
16413 case " $CXX $CXXFLAGS " in
16414 *" -library=stlport4 "*)
16415 solaris_use_stlport4
=yes
16419 if test "$solaris_use_stlport4" != yes; then
16420 postdeps_CXX
='-library=Cstd -library=Crun'
16427 case $cc_basename in
16429 # The more standards-conforming stlport4 library is
16430 # incompatible with the Cstd library. Avoid specifying
16431 # it if it's in CXXFLAGS. Ignore libCrun as
16432 # -library=stlport4 depends on it.
16433 case " $CXX $CXXFLAGS " in
16434 *" -library=stlport4 "*)
16435 solaris_use_stlport4
=yes
16439 # Adding this requires a known-good setup of shared libraries for
16440 # Sun compiler versions before 5.6, else PIC objects from an old
16441 # archive will be linked into the output, leading to subtle bugs.
16442 if test "$solaris_use_stlport4" != yes; then
16443 postdeps_CXX
='-library=Cstd -library=Crun'
16451 case " $postdeps_CXX " in
16452 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16454 compiler_lib_search_dirs_CXX
=
16455 if test -n "${compiler_lib_search_path_CXX}"; then
16456 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16489 lt_prog_compiler_wl_CXX
=
16490 lt_prog_compiler_pic_CXX
=
16491 lt_prog_compiler_static_CXX
=
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16496 # C++ specific cases for pic, static, wl, etc.
16497 if test "$GXX" = yes; then
16498 lt_prog_compiler_wl_CXX
='-Wl,'
16499 lt_prog_compiler_static_CXX
='-static'
16503 # All AIX code is PIC.
16504 if test "$host_cpu" = ia64
; then
16505 # AIX 5 now supports IA64 processor
16506 lt_prog_compiler_static_CXX
='-Bstatic'
16508 lt_prog_compiler_pic_CXX
='-fPIC'
16514 # see comment about AmigaOS4 .so support
16515 lt_prog_compiler_pic_CXX
='-fPIC'
16518 # FIXME: we need at least 68020 code to build shared libraries, but
16519 # adding the `-m68020' flag to GCC prevents building anything better,
16521 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16526 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16527 # PIC is the default for these OSes.
16529 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16530 # This hack is so that the source file can tell whether it is being
16531 # built for inclusion in a dll (and should export symbols for example).
16532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16533 # (--disable-auto-import) libraries
16534 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16536 darwin
* | rhapsody
*)
16537 # PIC is the default on this platform
16538 # Common symbols not allowed in MH_DYLIB files
16539 lt_prog_compiler_pic_CXX
='-fno-common'
16542 # DJGPP does not support shared libraries at all
16543 lt_prog_compiler_pic_CXX
=
16546 # PIC is the default for Haiku.
16547 # The "-static" flag exists, but is broken.
16548 lt_prog_compiler_static_CXX
=
16551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16552 # Instead, we relocate shared libraries at runtime.
16555 if test -d /usr
/nec
; then
16556 lt_prog_compiler_pic_CXX
=-Kconform_pic
16560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16562 # sets the default TLS model and affects inlining.
16567 lt_prog_compiler_pic_CXX
='-fPIC'
16572 # QNX uses GNU C++, but need to define -shared option too, otherwise
16573 # it will coredump.
16574 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16577 lt_prog_compiler_pic_CXX
='-fPIC'
16583 # All AIX code is PIC.
16584 if test "$host_cpu" = ia64
; then
16585 # AIX 5 now supports IA64 processor
16586 lt_prog_compiler_static_CXX
='-Bstatic'
16588 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16592 case $cc_basename in
16594 # Green Hills C++ Compiler
16595 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16600 case $cc_basename in
16602 lt_prog_compiler_pic_CXX
='-KPIC'
16605 # Green Hills C++ Compiler
16606 lt_prog_compiler_pic_CXX
='-pic'
16612 freebsd
* | dragonfly
*)
16613 # FreeBSD uses GNU C++
16615 hpux9
* | hpux10
* | hpux11
*)
16616 case $cc_basename in
16618 lt_prog_compiler_wl_CXX
='-Wl,'
16619 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16620 if test "$host_cpu" != ia64
; then
16621 lt_prog_compiler_pic_CXX
='+Z'
16625 lt_prog_compiler_wl_CXX
='-Wl,'
16626 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16632 lt_prog_compiler_pic_CXX
='+Z'
16641 # This is c89, which is MS Visual C++ (no shared libs)
16642 # Anyone wants to do a port?
16644 irix5
* | irix6
* | nonstopux
*)
16645 case $cc_basename in
16647 lt_prog_compiler_wl_CXX
='-Wl,'
16648 lt_prog_compiler_static_CXX
='-non_shared'
16649 # CC pic flag -KPIC is the default.
16655 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16656 case $cc_basename in
16659 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16660 lt_prog_compiler_pic_CXX
='-fPIC'
16663 # old Intel C++ for x86_64 which still supported -KPIC.
16664 lt_prog_compiler_wl_CXX
='-Wl,'
16665 lt_prog_compiler_pic_CXX
='-KPIC'
16666 lt_prog_compiler_static_CXX
='-static'
16669 # Intel C++, used to be incompatible with GCC.
16670 # ICC 10 doesn't accept -KPIC any more.
16671 lt_prog_compiler_wl_CXX
='-Wl,'
16672 lt_prog_compiler_pic_CXX
='-fPIC'
16673 lt_prog_compiler_static_CXX
='-static'
16676 # Portland Group C++ compiler
16677 lt_prog_compiler_wl_CXX
='-Wl,'
16678 lt_prog_compiler_pic_CXX
='-fpic'
16679 lt_prog_compiler_static_CXX
='-Bstatic'
16683 # Make sure the PIC flag is empty. It appears that all Alpha
16684 # Linux and Compaq Tru64 Unix objects are PIC.
16685 lt_prog_compiler_pic_CXX
=
16686 lt_prog_compiler_static_CXX
='-non_shared'
16688 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16689 # IBM XL 8.0, 9.0 on PPC and BlueGene
16690 lt_prog_compiler_wl_CXX
='-Wl,'
16691 lt_prog_compiler_pic_CXX
='-qpic'
16692 lt_prog_compiler_static_CXX
='-qstaticlink'
16695 case `$CC -V 2>&1 | sed 5q` in
16698 lt_prog_compiler_pic_CXX
='-KPIC'
16699 lt_prog_compiler_static_CXX
='-Bstatic'
16700 lt_prog_compiler_wl_CXX
='-Qoption ld '
16711 case $cc_basename in
16713 lt_prog_compiler_pic_CXX
='-W c,exportall'
16722 # QNX uses GNU C++, but need to define -shared option too, otherwise
16723 # it will coredump.
16724 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16726 osf3
* | osf4
* | osf5
*)
16727 case $cc_basename in
16729 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16732 # Rational C++ 2.4.1
16733 lt_prog_compiler_pic_CXX
='-pic'
16736 # Digital/Compaq C++
16737 lt_prog_compiler_wl_CXX
='-Wl,'
16738 # Make sure the PIC flag is empty. It appears that all Alpha
16739 # Linux and Compaq Tru64 Unix objects are PIC.
16740 lt_prog_compiler_pic_CXX
=
16741 lt_prog_compiler_static_CXX
='-non_shared'
16750 case $cc_basename in
16752 # Sun C++ 4.2, 5.x and Centerline C++
16753 lt_prog_compiler_pic_CXX
='-KPIC'
16754 lt_prog_compiler_static_CXX
='-Bstatic'
16755 lt_prog_compiler_wl_CXX
='-Qoption ld '
16758 # Green Hills C++ Compiler
16759 lt_prog_compiler_pic_CXX
='-PIC'
16766 case $cc_basename in
16769 lt_prog_compiler_pic_CXX
='-pic'
16770 lt_prog_compiler_static_CXX
='-Bstatic'
16774 lt_prog_compiler_pic_CXX
='-pic'
16780 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16781 case $cc_basename in
16783 lt_prog_compiler_wl_CXX
='-Wl,'
16784 lt_prog_compiler_pic_CXX
='-KPIC'
16785 lt_prog_compiler_static_CXX
='-Bstatic'
16790 case $cc_basename in
16792 # NonStop-UX NCC 3.20
16793 lt_prog_compiler_pic_CXX
='-KPIC'
16802 lt_prog_compiler_can_build_shared_CXX
=no
16808 # For platforms which do not support PIC, -DPIC is meaningless:
16810 lt_prog_compiler_pic_CXX
=
16813 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16817 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16822 # Check to make sure the PIC flag actually works.
16824 if test -n "$lt_prog_compiler_pic_CXX"; then
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16827 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16828 $as_echo_n "(cached) " >&6
16830 lt_cv_prog_compiler_pic_works_CXX
=no
16831 ac_outfile
=conftest.
$ac_objext
16832 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16833 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16834 # Insert the option either (1) after the last *FLAGS variable, or
16835 # (2) before a word containing "conftest.", or (3) at the end.
16836 # Note that $ac_compile itself does not contain backslashes and begins
16837 # with a dollar sign (not a hyphen), so the echo should work correctly.
16838 # The option is referenced via a variable to avoid confusing sed.
16839 lt_compile
=`echo "$ac_compile" | $SED \
16840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16842 -e 's:$: $lt_compiler_flag:'`
16843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16844 (eval "$lt_compile" 2>conftest.err
)
16846 cat conftest.err
>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 if (exit $ac_status) && test -s "$ac_outfile"; then
16849 # The compiler can only warn and ignore the option if not recognized
16850 # So say no if there are warnings other than the usual output.
16851 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
16852 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16853 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16854 lt_cv_prog_compiler_pic_works_CXX
=yes
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16861 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16863 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
16864 case $lt_prog_compiler_pic_CXX in
16866 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16869 lt_prog_compiler_pic_CXX
=
16870 lt_prog_compiler_can_build_shared_CXX
=no
16878 # Check to make sure the static flag actually works.
16880 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16883 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16884 $as_echo_n "(cached) " >&6
16886 lt_cv_prog_compiler_static_works_CXX
=no
16887 save_LDFLAGS
="$LDFLAGS"
16888 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16889 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16890 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16891 # The linker can only warn and ignore the option if not recognized
16892 # So say no if there are warnings
16893 if test -s conftest.err
; then
16894 # Append any errors to the config.log.
16895 cat conftest.err
1>&5
16896 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
16897 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16898 if diff conftest.exp conftest.er2
>/dev
/null
; then
16899 lt_cv_prog_compiler_static_works_CXX
=yes
16902 lt_cv_prog_compiler_static_works_CXX
=yes
16906 LDFLAGS
="$save_LDFLAGS"
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16910 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16912 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
16915 lt_prog_compiler_static_CXX
=
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16922 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16923 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16924 $as_echo_n "(cached) " >&6
16926 lt_cv_prog_compiler_c_o_CXX
=no
16927 $RM -r conftest
2>/dev
/null
16931 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16933 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16934 # Insert the option either (1) after the last *FLAGS variable, or
16935 # (2) before a word containing "conftest.", or (3) at the end.
16936 # Note that $ac_compile itself does not contain backslashes and begins
16937 # with a dollar sign (not a hyphen), so the echo should work correctly.
16938 lt_compile
=`echo "$ac_compile" | $SED \
16939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16941 -e 's:$: $lt_compiler_flag:'`
16942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16943 (eval "$lt_compile" 2>out
/conftest.err
)
16945 cat out
/conftest.err
>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16949 # The compiler can only warn and ignore the option if not recognized
16950 # So say no if there are warnings
16951 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16952 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16953 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16954 lt_cv_prog_compiler_c_o_CXX
=yes
16959 # SGI C++ compiler will create directory out/ii_files/ for
16960 # template instantiation
16961 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16962 $RM out
/* && rmdir out
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16969 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16975 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16976 $as_echo_n "(cached) " >&6
16978 lt_cv_prog_compiler_c_o_CXX
=no
16979 $RM -r conftest
2>/dev
/null
16983 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16985 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16986 # Insert the option either (1) after the last *FLAGS variable, or
16987 # (2) before a word containing "conftest.", or (3) at the end.
16988 # Note that $ac_compile itself does not contain backslashes and begins
16989 # with a dollar sign (not a hyphen), so the echo should work correctly.
16990 lt_compile
=`echo "$ac_compile" | $SED \
16991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16993 -e 's:$: $lt_compiler_flag:'`
16994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16995 (eval "$lt_compile" 2>out
/conftest.err
)
16997 cat out
/conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17001 # The compiler can only warn and ignore the option if not recognized
17002 # So say no if there are warnings
17003 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17004 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17005 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17006 lt_cv_prog_compiler_c_o_CXX
=yes
17011 # SGI C++ compiler will create directory out/ii_files/ for
17012 # template instantiation
17013 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17014 $RM out
/* && rmdir out
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17026 hard_links
="nottested"
17027 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
17028 # do not overwrite the value of need_locks provided by the user
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17030 $as_echo_n "checking if we can lock with hard links... " >&6; }
17033 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17035 ln conftest.a conftest.b
2>&5 || hard_links
=no
17036 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17038 $as_echo "$hard_links" >&6; }
17039 if test "$hard_links" = no
; then
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17053 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17056 # If we're using GNU nm, then we don't want the "-C" option.
17057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17058 # Also, AIX nm treats weak defined symbols like other global defined
17059 # symbols, whereas GNU nm marks them as "W".
17060 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
17061 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17063 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17067 export_symbols_cmds_CXX
="$ltdll_cmds"
17069 cygwin
* | mingw
* | cegcc
*)
17070 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17073 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17076 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17079 $as_echo "$ld_shlibs_CXX" >&6; }
17080 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
17082 with_gnu_ld_CXX
=$with_gnu_ld
17090 # Do we need to explicitly link libc?
17092 case "x$archive_cmds_need_lc_CXX" in
17094 # Assume -lc should be added
17095 archive_cmds_need_lc_CXX
=yes
17097 if test "$enable_shared" = yes && test "$GCC" = yes; then
17098 case $archive_cmds_CXX in
17100 # FIXME: we may have to deal with multi-command sequences.
17103 # Test whether the compiler implicitly links with -lc since on some
17104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17105 # to ld, don't add -lc before -lgcc.
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17107 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17108 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17109 $as_echo_n "(cached) " >&6
17112 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17115 (eval $ac_compile) 2>&5
17117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17118 test $ac_status = 0; } 2>conftest.err
; then
17121 libobjs
=conftest.
$ac_objext
17123 wl
=$lt_prog_compiler_wl_CXX
17124 pic_flag
=$lt_prog_compiler_pic_CXX
17130 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17131 allow_undefined_flag_CXX
=
17132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17133 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17136 test $ac_status = 0; }
17138 lt_cv_archive_cmds_need_lc_CXX
=no
17140 lt_cv_archive_cmds_need_lc_CXX
=yes
17142 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17144 cat conftest.err
1>&5
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17150 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17151 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17224 library_names_spec
=
17225 libname_spec
='lib$name'
17229 postuninstall_cmds
=
17233 shlibpath_overrides_runpath
=unknown
17235 dynamic_linker
="$host_os ld.so"
17236 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17237 need_lib_prefix
=unknown
17238 hardcode_into_libs
=no
17240 # when you set need_version to no, make sure it does not cause -set_version
17241 # flags to be left without arguments
17242 need_version
=unknown
17247 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17248 shlibpath_var
=LIBPATH
17250 # AIX 3 has no versioning support, so we append a major version to the name.
17251 soname_spec
='${libname}${release}${shared_ext}$major'
17258 hardcode_into_libs
=yes
17259 if test "$host_cpu" = ia64
; then
17260 # AIX 5 supports IA64
17261 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17262 shlibpath_var
=LD_LIBRARY_PATH
17264 # With GCC up to 2.95.x, collect2 would create an import file
17265 # for dependence libraries. The import file would start with
17266 # the line `#! .'. This would cause the generated library to
17267 # depend on `.', always an invalid library. This was fixed in
17268 # development snapshots of GCC prior to 3.0.
17270 aix4 | aix4.
[01] | aix4.
[01].
*)
17271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17273 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17276 can_build_shared
=no
17280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17281 # soname into executable. Probably we can add versioning support to
17282 # collect2, so additional links can be useful in future.
17283 if test "$aix_use_runtimelinking" = yes; then
17284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17285 # instead of lib<name>.a to let people know that these are not
17286 # typical AIX shared libraries.
17287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17289 # We preserve .a as extension for shared libraries through AIX4.2
17290 # and later when we are not doing run time linking.
17291 library_names_spec
='${libname}${release}.a $libname.a'
17292 soname_spec
='${libname}${release}${shared_ext}$major'
17294 shlibpath_var
=LIBPATH
17301 # Since July 2007 AmigaOS4 officially supports .so libraries.
17302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17306 library_names_spec
='$libname.ixlibrary $libname.a'
17307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17308 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'
17314 library_names_spec
='${libname}${shared_ext}'
17315 dynamic_linker
="$host_os ld.so"
17316 shlibpath_var
=LIBRARY_PATH
17322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17323 soname_spec
='${libname}${release}${shared_ext}$major'
17324 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17325 shlibpath_var
=LD_LIBRARY_PATH
17326 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17327 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17328 # the default ld.so.conf also contains /usr/contrib/lib and
17329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17330 # libtool to hard-code these into programs
17333 cygwin
* | mingw
* | pw32
* | cegcc
*)
17334 version_type
=windows
17339 case $GCC,$host_os in
17340 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
17341 library_names_spec
='$libname.dll.a'
17342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17343 postinstall_cmds
='base_file=`basename \${file}`~
17344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17345 dldir=$destdir/`dirname \$dlpath`~
17346 test -d \$dldir || mkdir -p \$dldir~
17347 $install_prog $dir/$dlname \$dldir/$dlname~
17348 chmod a+x \$dldir/$dlname~
17349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17352 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17353 dlpath=$dir/\$dldll~
17355 shlibpath_overrides_runpath
=yes
17359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17360 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17364 # MinGW DLLs use traditional 'lib' prefix
17365 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17368 # pw32 DLLs use 'pw' prefix rather than 'lib'
17369 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17375 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17378 dynamic_linker
='Win32 ld.exe'
17379 # FIXME: first we should search . and the directory the executable is in
17383 darwin
* | rhapsody
*)
17384 dynamic_linker
="$host_os dyld"
17385 version_type
=darwin
17388 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17389 soname_spec
='${libname}${release}${major}$shared_ext'
17390 shlibpath_overrides_runpath
=yes
17391 shlibpath_var
=DYLD_LIBRARY_PATH
17392 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17394 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17402 soname_spec
='${libname}${release}${shared_ext}$major'
17403 shlibpath_var
=LD_LIBRARY_PATH
17406 freebsd
* | dragonfly
*)
17407 # DragonFly does not have aout. When/if they implement a new
17408 # versioning mechanism, adjust this.
17409 if test -x /usr
/bin
/objformat
; then
17410 objformat
=`/usr/bin/objformat`
17413 freebsd
[23].
*) objformat
=aout
;;
17414 *) objformat
=elf
;;
17417 version_type
=freebsd-
$objformat
17418 case $version_type in
17420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17425 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17429 shlibpath_var
=LD_LIBRARY_PATH
17432 shlibpath_overrides_runpath
=yes
17434 freebsd3.
[01]* | freebsdelf3.
[01]*)
17435 shlibpath_overrides_runpath
=yes
17436 hardcode_into_libs
=yes
17438 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17439 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17440 shlibpath_overrides_runpath
=no
17441 hardcode_into_libs
=yes
17443 *) # from 4.6 on, and DragonFly
17444 shlibpath_overrides_runpath
=yes
17445 hardcode_into_libs
=yes
17454 dynamic_linker
="$host_os runtime_loader"
17455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17456 soname_spec
='${libname}${release}${shared_ext}$major'
17457 shlibpath_var
=LIBRARY_PATH
17458 shlibpath_overrides_runpath
=yes
17459 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17460 hardcode_into_libs
=yes
17463 hpux9
* | hpux10
* | hpux11
*)
17464 # Give a soname corresponding to the major version so that dld.sl refuses to
17465 # link against other versions.
17472 hardcode_into_libs
=yes
17473 dynamic_linker
="$host_os dld.so"
17474 shlibpath_var
=LD_LIBRARY_PATH
17475 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17477 soname_spec
='${libname}${release}${shared_ext}$major'
17478 if test "X$HPUX_IA64_MODE" = X32
; then
17479 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17481 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17483 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17487 hardcode_into_libs
=yes
17488 dynamic_linker
="$host_os dld.sl"
17489 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17490 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17492 soname_spec
='${libname}${release}${shared_ext}$major'
17493 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17494 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17498 dynamic_linker
="$host_os dld.sl"
17499 shlibpath_var
=SHLIB_PATH
17500 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17502 soname_spec
='${libname}${release}${shared_ext}$major'
17505 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17506 postinstall_cmds
='chmod 555 $lib'
17507 # or fails outright, so override atomically:
17508 install_override_mode
=555
17515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17516 soname_spec
='${libname}${release}${shared_ext}$major'
17517 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17518 shlibpath_var
=LD_LIBRARY_PATH
17519 shlibpath_overrides_runpath
=no
17520 hardcode_into_libs
=yes
17523 irix5
* | irix6
* | nonstopux
*)
17525 nonstopux
*) version_type
=nonstopux
;;
17527 if test "$lt_cv_prog_gnu_ld" = yes; then
17535 soname_spec
='${libname}${release}${shared_ext}$major'
17536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17538 irix5
* | nonstopux
*)
17539 libsuff
= shlibsuff
=
17542 case $LD in # libtool.m4 will add one of these switches to LD
17543 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17544 libsuff
= shlibsuff
= libmagic
=32-bit;;
17545 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17546 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17547 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17548 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17549 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17553 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17554 shlibpath_overrides_runpath
=no
17555 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17556 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17557 hardcode_into_libs
=yes
17560 # No shared lib support for Linux oldld, aout, or coff.
17561 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17565 # This must be Linux ELF.
17567 # uclinux* changes (here and below) have been submitted to the libtool
17568 # project, but have not yet been accepted: they are GCC-local changes
17569 # for the time being. (See
17570 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
17571 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
17575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17576 soname_spec
='${libname}${release}${shared_ext}$major'
17577 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17578 shlibpath_var
=LD_LIBRARY_PATH
17579 shlibpath_overrides_runpath
=no
17581 # Some binutils ld are patched to set DT_RUNPATH
17582 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17583 $as_echo_n "(cached) " >&6
17585 lt_cv_shlibpath_overrides_runpath
=no
17586 save_LDFLAGS
=$LDFLAGS
17587 save_libdir
=$libdir
17588 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17589 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17590 if test x
$gcc_no_link = xyes
; then
17591 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17604 if ac_fn_cxx_try_link
"$LINENO"; then :
17605 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
17606 lt_cv_shlibpath_overrides_runpath
=yes
17609 rm -f core conftest.err conftest.
$ac_objext \
17610 conftest
$ac_exeext conftest.
$ac_ext
17611 LDFLAGS
=$save_LDFLAGS
17612 libdir
=$save_libdir
17616 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17618 # This implies no fast_install, which is unacceptable.
17619 # Some rework will be needed to allow for fast_install
17620 # before this can be enabled.
17621 hardcode_into_libs
=yes
17623 # Append ld.so.conf contents to the search path
17624 if test -f /etc
/ld.so.conf
; then
17625 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' ' '`
17626 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17629 # We used to test for /lib/ld.so.1 and disable shared libraries on
17630 # powerpc, because MkLinux only supported shared libraries with the
17631 # GNU dynamic linker. Since this was broken with cross compilers,
17632 # most powerpc-linux boxes support dynamic linking these days and
17633 # people can always --disable-shared, the test was removed, and we
17634 # assume the GNU/Linux dynamic linker is in use.
17635 dynamic_linker
='GNU/Linux ld.so'
17642 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17644 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17645 dynamic_linker
='NetBSD (a.out) ld.so'
17647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17648 soname_spec
='${libname}${release}${shared_ext}$major'
17649 dynamic_linker
='NetBSD ld.elf_so'
17651 shlibpath_var
=LD_LIBRARY_PATH
17652 shlibpath_overrides_runpath
=yes
17653 hardcode_into_libs
=yes
17658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17659 shlibpath_var
=LD_LIBRARY_PATH
17660 shlibpath_overrides_runpath
=yes
17667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17668 soname_spec
='${libname}${release}${shared_ext}$major'
17669 shlibpath_var
=LD_LIBRARY_PATH
17670 shlibpath_overrides_runpath
=no
17671 hardcode_into_libs
=yes
17672 dynamic_linker
='ldqnx.so'
17677 sys_lib_dlsearch_path_spec
="/usr/lib"
17679 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17681 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17682 *) need_version
=no
;;
17684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17685 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17686 shlibpath_var
=LD_LIBRARY_PATH
17687 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17689 openbsd2.
[89] | openbsd2.
[89].
*)
17690 shlibpath_overrides_runpath
=no
17693 shlibpath_overrides_runpath
=yes
17697 shlibpath_overrides_runpath
=yes
17702 libname_spec
='$name'
17705 library_names_spec
='$libname${shared_ext} $libname.a'
17706 dynamic_linker
='OS/2 ld.exe'
17707 shlibpath_var
=LIBPATH
17710 osf3
* | osf4
* | osf5
*)
17714 soname_spec
='${libname}${release}${shared_ext}$major'
17715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17716 shlibpath_var
=LD_LIBRARY_PATH
17717 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17718 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17730 soname_spec
='${libname}${release}${shared_ext}$major'
17731 shlibpath_var
=LD_LIBRARY_PATH
17732 shlibpath_overrides_runpath
=yes
17733 hardcode_into_libs
=yes
17734 # ldd complains unless libraries are executable
17735 postinstall_cmds
='chmod +x $lib'
17740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17741 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17742 shlibpath_var
=LD_LIBRARY_PATH
17743 shlibpath_overrides_runpath
=yes
17744 if test "$with_gnu_ld" = yes; then
17752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17753 soname_spec
='${libname}${release}${shared_ext}$major'
17754 shlibpath_var
=LD_LIBRARY_PATH
17755 case $host_vendor in
17757 shlibpath_overrides_runpath
=no
17759 runpath_var
=LD_RUN_PATH
17767 shlibpath_overrides_runpath
=no
17768 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17774 if test -d /usr
/nec
;then
17776 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17777 soname_spec
='$libname${shared_ext}.$major'
17778 shlibpath_var
=LD_LIBRARY_PATH
17782 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17783 version_type
=freebsd-elf
17786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17787 soname_spec
='${libname}${release}${shared_ext}$major'
17788 shlibpath_var
=LD_LIBRARY_PATH
17789 shlibpath_overrides_runpath
=yes
17790 hardcode_into_libs
=yes
17791 if test "$with_gnu_ld" = yes; then
17792 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17794 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17797 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17801 sys_lib_dlsearch_path_spec
='/usr/lib'
17805 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17810 shlibpath_var
=LD_LIBRARY_PATH
17811 shlibpath_overrides_runpath
=no
17812 hardcode_into_libs
=yes
17817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17818 soname_spec
='${libname}${release}${shared_ext}$major'
17819 shlibpath_var
=LD_LIBRARY_PATH
17822 # Shared libraries for VwWorks, >= 7 only at this stage
17823 # and (fpic) still incompatible with "large" code models
17824 # in a few configurations. Only for RTP mode in any case,
17825 # and upon explicit request at configure time.
17828 case ${with_multisubdir}-${enable_shared} in
17835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17836 soname_spec
='${libname}${release}${shared_ext}$major'
17837 dynamic_linker
="$host_os module_loader"
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17846 $as_echo "$dynamic_linker" >&6; }
17847 test "$dynamic_linker" = no
&& can_build_shared
=no
17849 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17850 if test "$GCC" = yes; then
17851 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17854 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17855 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17857 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17858 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17899 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17900 hardcode_action_CXX
=
17901 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17902 test -n "$runpath_var_CXX" ||
17903 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17905 # We can hardcode non-existent directories.
17906 if test "$hardcode_direct_CXX" != no
&&
17907 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17908 # have to relink, otherwise we might link with an installed library
17909 # when we should be linking with a yet-to-be-installed one
17910 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17911 test "$hardcode_minus_L_CXX" != no
; then
17912 # Linking always hardcodes the temporary library directory.
17913 hardcode_action_CXX
=relink
17915 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17916 hardcode_action_CXX
=immediate
17919 # We cannot hardcode anything, or else we can only hardcode existing
17921 hardcode_action_CXX
=unsupported
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17924 $as_echo "$hardcode_action_CXX" >&6; }
17926 if test "$hardcode_action_CXX" = relink ||
17927 test "$inherit_rpath_CXX" = yes; then
17928 # Fast installation is not supported
17929 enable_fast_install
=no
17930 elif test "$shlibpath_overrides_runpath" = yes ||
17931 test "$enable_shared" = no
; then
17932 # Fast installation is not necessary
17933 enable_fast_install
=needless
17942 fi # test -n "$compiler"
17948 with_gnu_ld
=$lt_save_with_gnu_ld
17949 lt_cv_path_LDCXX
=$lt_cv_path_LD
17950 lt_cv_path_LD
=$lt_save_path_LD
17951 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17952 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17953 fi # test "$_lt_caught_CXX_error" != yes
17956 ac_cpp
='$CPP $CPPFLAGS'
17957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17973 ac_config_commands
="$ac_config_commands libtool"
17978 # Only expand once:
17987 if test x
$enable_darwin_at_rpath = xyes
; then
17988 ENABLE_DARWIN_AT_RPATH_TRUE
=
17989 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
17991 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
17992 ENABLE_DARWIN_AT_RPATH_FALSE
=
17999 if test "${multilib}" = "yes"; then
18000 multilib_arg
="--enable-multilib"
18005 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
18006 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
18008 cat >>confdefs.h
<<_ACEOF
18009 #define HAVE_STRUCT_TIMEZONE 1
18014 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
18015 if test "x$ac_cv_type_struct_stat" = xyes
; then :
18017 cat >>confdefs.h
<<_ACEOF
18018 #define HAVE_STRUCT_STAT 1
18023 ac_fn_c_check_type
"$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default"
18024 if test "x$ac_cv_type_struct_timespec" = xyes
; then :
18026 cat >>confdefs.h
<<_ACEOF
18027 #define HAVE_STRUCT_TIMESPEC 1
18032 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
18033 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
18035 cat >>confdefs.h
<<_ACEOF
18036 #define HAVE_STRUCT_TIMEVAL 1
18041 ac_fn_c_check_type
"$LINENO" "struct tm" "ac_cv_type_struct_tm" "$ac_includes_default"
18042 if test "x$ac_cv_type_struct_tm" = xyes
; then :
18044 cat >>confdefs.h
<<_ACEOF
18045 #define HAVE_STRUCT_TM 1
18052 # Check if struct tm contains the tm_gmtoff field.
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
18054 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
18055 if ${ac_cv_struct_tm_gmtoff+:} false
; then :
18056 $as_echo_n "(cached) " >&6
18058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18074 if ac_fn_c_try_compile
"$LINENO"; then :
18075 ac_cv_struct_tm_gmtoff
=yes
18077 ac_cv_struct_tm_gmtoff
=no
18080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
18084 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
18086 if (test "$ac_cv_struct_tm_gmtoff" = "yes"); then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end detects struct tm with the tm_gmtoff field." >&5
18088 $as_echo_n "checking m2 front end detects struct tm with the tm_gmtoff field.... " >&6; }
18090 $as_echo "#define HAVE_TM_TM_GMTOFF 1" >>confdefs.h
18095 ac_cpp
='$CPP $CPPFLAGS'
18096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18100 # Check the compiler.
18101 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
18102 # We must force CC to /not/ be precious variables; otherwise
18103 # the wrong, non-multilib-adjusted value will be used in multilibs.
18104 # As a side effect, we have to subst CFLAGS ourselves.
18109 ac_cpp
='$CPP $CPPFLAGS'
18110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18113 if test -n "$ac_tool_prefix"; then
18114 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18115 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18117 $as_echo_n "checking for $ac_word... " >&6; }
18118 if ${ac_cv_prog_CC+:} false
; then :
18119 $as_echo_n "(cached) " >&6
18121 if test -n "$CC"; then
18122 ac_cv_prog_CC
="$CC" # Let the user override the test.
18124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18125 for as_dir
in $PATH
18128 test -z "$as_dir" && as_dir
=.
18129 for ac_exec_ext
in '' $ac_executable_extensions; do
18130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18131 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
18132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18142 if test -n "$CC"; then
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18144 $as_echo "$CC" >&6; }
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18147 $as_echo "no" >&6; }
18152 if test -z "$ac_cv_prog_CC"; then
18154 # Extract the first word of "gcc", so it can be a program name with args.
18155 set dummy gcc
; ac_word
=$2
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18157 $as_echo_n "checking for $ac_word... " >&6; }
18158 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
18159 $as_echo_n "(cached) " >&6
18161 if test -n "$ac_ct_CC"; then
18162 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18165 for as_dir
in $PATH
18168 test -z "$as_dir" && as_dir
=.
18169 for ac_exec_ext
in '' $ac_executable_extensions; do
18170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18171 ac_cv_prog_ac_ct_CC
="gcc"
18172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18181 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18182 if test -n "$ac_ct_CC"; then
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18184 $as_echo "$ac_ct_CC" >&6; }
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18187 $as_echo "no" >&6; }
18190 if test "x$ac_ct_CC" = x
; then
18193 case $cross_compiling:$ac_tool_warned in
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18197 ac_tool_warned
=yes ;;
18202 CC
="$ac_cv_prog_CC"
18205 if test -z "$CC"; then
18206 if test -n "$ac_tool_prefix"; then
18207 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18208 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18210 $as_echo_n "checking for $ac_word... " >&6; }
18211 if ${ac_cv_prog_CC+:} false
; then :
18212 $as_echo_n "(cached) " >&6
18214 if test -n "$CC"; then
18215 ac_cv_prog_CC
="$CC" # Let the user override the test.
18217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18218 for as_dir
in $PATH
18221 test -z "$as_dir" && as_dir
=.
18222 for ac_exec_ext
in '' $ac_executable_extensions; do
18223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18224 ac_cv_prog_CC
="${ac_tool_prefix}cc"
18225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18235 if test -n "$CC"; then
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18237 $as_echo "$CC" >&6; }
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18240 $as_echo "no" >&6; }
18246 if test -z "$CC"; then
18247 # Extract the first word of "cc", so it can be a program name with args.
18248 set dummy cc
; ac_word
=$2
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18250 $as_echo_n "checking for $ac_word... " >&6; }
18251 if ${ac_cv_prog_CC+:} false
; then :
18252 $as_echo_n "(cached) " >&6
18254 if test -n "$CC"; then
18255 ac_cv_prog_CC
="$CC" # Let the user override the test.
18257 ac_prog_rejected
=no
18258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18259 for as_dir
in $PATH
18262 test -z "$as_dir" && as_dir
=.
18263 for ac_exec_ext
in '' $ac_executable_extensions; do
18264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18265 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18266 ac_prog_rejected
=yes
18270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18277 if test $ac_prog_rejected = yes; then
18278 # We found a bogon in the path, so make sure we never use it.
18279 set dummy
$ac_cv_prog_CC
18281 if test $# != 0; then
18282 # We chose a different compiler from the bogus one.
18283 # However, it has the same basename, so the bogon will be chosen
18284 # first if we set CC to just the basename; use the full file name.
18286 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
18292 if test -n "$CC"; then
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18294 $as_echo "$CC" >&6; }
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18297 $as_echo "no" >&6; }
18302 if test -z "$CC"; then
18303 if test -n "$ac_tool_prefix"; then
18304 for ac_prog
in cl.exe
18306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18307 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18309 $as_echo_n "checking for $ac_word... " >&6; }
18310 if ${ac_cv_prog_CC+:} false
; then :
18311 $as_echo_n "(cached) " >&6
18313 if test -n "$CC"; then
18314 ac_cv_prog_CC
="$CC" # Let the user override the test.
18316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18317 for as_dir
in $PATH
18320 test -z "$as_dir" && as_dir
=.
18321 for ac_exec_ext
in '' $ac_executable_extensions; do
18322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18323 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
18324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18334 if test -n "$CC"; then
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18336 $as_echo "$CC" >&6; }
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18339 $as_echo "no" >&6; }
18343 test -n "$CC" && break
18346 if test -z "$CC"; then
18348 for ac_prog
in cl.exe
18350 # Extract the first word of "$ac_prog", so it can be a program name with args.
18351 set dummy
$ac_prog; ac_word
=$2
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18353 $as_echo_n "checking for $ac_word... " >&6; }
18354 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
18355 $as_echo_n "(cached) " >&6
18357 if test -n "$ac_ct_CC"; then
18358 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18361 for as_dir
in $PATH
18364 test -z "$as_dir" && as_dir
=.
18365 for ac_exec_ext
in '' $ac_executable_extensions; do
18366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18367 ac_cv_prog_ac_ct_CC
="$ac_prog"
18368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18377 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18378 if test -n "$ac_ct_CC"; then
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18380 $as_echo "$ac_ct_CC" >&6; }
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18383 $as_echo "no" >&6; }
18387 test -n "$ac_ct_CC" && break
18390 if test "x$ac_ct_CC" = x
; then
18393 case $cross_compiling:$ac_tool_warned in
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18397 ac_tool_warned
=yes ;;
18406 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18408 as_fn_error $?
"no acceptable C compiler found in \$PATH
18409 See \`config.log' for more details" "$LINENO" 5; }
18411 # Provide some information about the compiler.
18412 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
18415 for ac_option
in --version -v -V -qversion; do
18416 { { ac_try
="$ac_compiler $ac_option >&5"
18417 case "(($ac_try" in
18418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18419 *) ac_try_echo=$ac_try;;
18421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18422 $as_echo "$ac_try_echo"; } >&5
18423 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18425 if test -s conftest.err; then
18427 ... rest of stderr output deleted ...
18428 10q' conftest.err >conftest.er1
18429 cat conftest.er1 >&5
18431 rm -f conftest.er1 conftest.err
18432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18433 test $ac_status = 0; }
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
18437 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
18438 if ${ac_cv_c_compiler_gnu+:} false; then :
18439 $as_echo_n "(cached) " >&6
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18455 if ac_fn_c_try_compile "$LINENO"; then :
18456 ac_compiler_gnu=yes
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461 ac_cv_c_compiler_gnu=$ac_compiler_gnu
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
18465 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
18466 if test $ac_compiler_gnu = yes; then
18471 ac_test_CFLAGS=${CFLAGS+set}
18472 ac_save_CFLAGS=$CFLAGS
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18474 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18475 if ${ac_cv_prog_cc_g+:} false; then :
18476 $as_echo_n "(cached) " >&6
18478 ac_save_c_werror_flag=$ac_c_werror_flag
18479 ac_c_werror_flag=yes
18482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18493 if ac_fn_c_try_compile "$LINENO"; then :
18494 ac_cv_prog_cc_g=yes
18497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18508 if ac_fn_c_try_compile "$LINENO"; then :
18511 ac_c_werror_flag=$ac_save_c_werror_flag
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18524 if ac_fn_c_try_compile "$LINENO"; then :
18525 ac_cv_prog_cc_g=yes
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 ac_c_werror_flag=$ac_save_c_werror_flag
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18535 $as_echo "$ac_cv_prog_cc_g" >&6; }
18536 if test "$ac_test_CFLAGS" = set; then
18537 CFLAGS=$ac_save_CFLAGS
18538 elif test $ac_cv_prog_cc_g = yes; then
18539 if test "$GCC" = yes; then
18545 if test "$GCC" = yes; then
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
18552 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
18553 if ${ac_cv_prog_cc_c89+:} false; then :
18554 $as_echo_n "(cached) " >&6
18556 ac_cv_prog_cc_c89=no
18558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18559 /* end confdefs.h. */
18560 #include <stdarg.h>
18563 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
18564 struct buf { int x; };
18565 FILE * (*rcsopen) (struct buf *, struct stat *, int);
18566 static char *e (p, i)
18572 static char *f (char * (*g) (char **, int), char **p, ...)
18577 s = g (p, va_arg (v,int));
18582 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
18583 function prototypes and stuff, but not '\xHH' hex character constants.
18584 These don't provoke an error unfortunately, instead are silently treated
18585 as 'x'. The following induces an error, until -std is added to get
18586 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
18587 array size at least. It's necessary to write '\x00'==0 to get something
18588 that's true only with -std. */
18589 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18591 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18592 inside strings and character constants. */
18594 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18596 int test (int i, double x);
18597 struct s1 {int (*f) (int a);};
18598 struct s2 {int (*f) (double a);};
18599 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18605 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
18610 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18611 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18613 CC="$ac_save_CC $ac_arg"
18614 if ac_fn_c_try_compile "$LINENO"; then :
18615 ac_cv_prog_cc_c89=$ac_arg
18617 rm -f core conftest.err conftest.$ac_objext
18618 test "x$ac_cv_prog_cc_c89" != "xno" && break
18620 rm -f conftest.$ac_ext
18625 case "x$ac_cv_prog_cc_c89" in
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18628 $as_echo "none needed" >&6; } ;;
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18631 $as_echo "unsupported" >&6; } ;;
18633 CC="$CC $ac_cv_prog_cc_c89"
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18635 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18637 if test "x$ac_cv_prog_cc_c89" != xno; then :
18642 ac_cpp='$CPP $CPPFLAGS'
18643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18648 ac_cpp='$CPP $CPPFLAGS'
18649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
18653 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
18654 if ${am_cv_prog_cc_c_o+:} false; then :
18655 $as_echo_n "(cached) " >&6
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18668 # Make sure it works both with $CC and with simple cc.
18669 # Following AC_PROG_CC_C_O, we do the test twice because some
18670 # compilers refuse to overwrite an existing .o file with -o,
18671 # though they will create one.
18672 am_cv_prog_cc_c_o=yes
18673 for am_i in 1 2; do
18674 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
18675 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } \
18679 && test -f conftest2.$ac_objext; then
18682 am_cv_prog_cc_c_o=no
18686 rm -f core conftest*
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
18690 $as_echo "$am_cv_prog_cc_c_o" >&6; }
18691 if test "$am_cv_prog_cc_c_o" != yes; then
18692 # Losing compiler, so override with the script.
18693 # FIXME: It is wrong to rewrite CC.
18694 # But if we don't then we get into trouble of one sort or another.
18695 # A longer-term fix would be to have automake use am__CC in this case,
18696 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18697 CC="$am_aux_dir/compile $CC"
18700 ac_cpp='$CPP $CPPFLAGS'
18701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
18716 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
18717 if test x$gcc_no_link != xyes; then
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
18719 $as_echo_n "checking for access in -lc... " >&6; }
18720 if ${ac_cv_lib_c_access+:} false; then :
18721 $as_echo_n "(cached) " >&6
18723 ac_check_lib_save_LIBS=$LIBS
18725 if test x$gcc_no_link = xyes; then
18726 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18731 /* Override any GCC internal prototype to avoid an error.
18732 Use char because int might match the return type of a GCC
18733 builtin and then its argument prototype would still apply. */
18746 if ac_fn_c_try_link "$LINENO"; then :
18747 ac_cv_lib_c_access=yes
18749 ac_cv_lib_c_access=no
18751 rm -f core conftest.err conftest.$ac_objext \
18752 conftest$ac_exeext conftest.$ac_ext
18753 LIBS=$ac_check_lib_save_LIBS
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
18756 $as_echo "$ac_cv_lib_c_access" >&6; }
18757 if test "x$ac_cv_lib_c_access" = xyes; then :
18759 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18763 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
18768 if test "x$ac_cv_lib_c_access" = xyes; then
18770 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18772 elif test "x$ac_cv_func_access" = xyes; then
18774 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18778 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
18785 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
18786 if test x$gcc_no_link != xyes; then
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
18788 $as_echo_n "checking for brk in -lc... " >&6; }
18789 if ${ac_cv_lib_c_brk+:} false; then :
18790 $as_echo_n "(cached) " >&6
18792 ac_check_lib_save_LIBS=$LIBS
18794 if test x$gcc_no_link = xyes; then
18795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18800 /* Override any GCC internal prototype to avoid an error.
18801 Use char because int might match the return type of a GCC
18802 builtin and then its argument prototype would still apply. */
18815 if ac_fn_c_try_link "$LINENO"; then :
18816 ac_cv_lib_c_brk=yes
18820 rm -f core conftest.err conftest.$ac_objext \
18821 conftest$ac_exeext conftest.$ac_ext
18822 LIBS=$ac_check_lib_save_LIBS
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
18825 $as_echo "$ac_cv_lib_c_brk" >&6; }
18826 if test "x$ac_cv_lib_c_brk" = xyes; then :
18828 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18832 $as_echo "#undef HAVE_BRK" >>confdefs.h
18837 if test "x$ac_cv_lib_c_brk" = xyes; then
18839 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18841 elif test "x$ac_cv_func_brk" = xyes; then
18843 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18847 $as_echo "#undef HAVE_BRK" >>confdefs.h
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
18854 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
18855 if test x$gcc_no_link != xyes; then
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
18857 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
18858 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
18859 $as_echo_n "(cached) " >&6
18861 ac_check_lib_save_LIBS=$LIBS
18863 if test x$gcc_no_link = xyes; then
18864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18867 /* end confdefs.h. */
18869 /* Override any GCC internal prototype to avoid an error.
18870 Use char because int might match the return type of a GCC
18871 builtin and then its argument prototype would still apply. */
18879 return cfmakeraw ();
18884 if ac_fn_c_try_link "$LINENO"; then :
18885 ac_cv_lib_c_cfmakeraw=yes
18887 ac_cv_lib_c_cfmakeraw=no
18889 rm -f core conftest.err conftest.$ac_objext \
18890 conftest$ac_exeext conftest.$ac_ext
18891 LIBS=$ac_check_lib_save_LIBS
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
18894 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
18895 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
18897 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18901 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
18906 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
18908 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18910 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
18912 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18916 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_gettime" >&5
18923 $as_echo_n "checking m2 front end checking c library for clock_gettime... " >&6; }
18924 if test x$gcc_no_link != xyes; then
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
18926 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
18927 if ${ac_cv_lib_c_clock_gettime+:} false; then :
18928 $as_echo_n "(cached) " >&6
18930 ac_check_lib_save_LIBS=$LIBS
18932 if test x$gcc_no_link = xyes; then
18933 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18938 /* Override any GCC internal prototype to avoid an error.
18939 Use char because int might match the return type of a GCC
18940 builtin and then its argument prototype would still apply. */
18944 char clock_gettime ();
18948 return clock_gettime ();
18953 if ac_fn_c_try_link "$LINENO"; then :
18954 ac_cv_lib_c_clock_gettime=yes
18956 ac_cv_lib_c_clock_gettime=no
18958 rm -f core conftest.err conftest.$ac_objext \
18959 conftest$ac_exeext conftest.$ac_ext
18960 LIBS=$ac_check_lib_save_LIBS
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
18963 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
18964 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
18966 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18970 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
18975 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then
18977 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18979 elif test "x$ac_cv_func_clock_gettime" = xyes; then
18981 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18985 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_settime" >&5
18992 $as_echo_n "checking m2 front end checking c library for clock_settime... " >&6; }
18993 if test x$gcc_no_link != xyes; then
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lc" >&5
18995 $as_echo_n "checking for clock_settime in -lc... " >&6; }
18996 if ${ac_cv_lib_c_clock_settime+:} false; then :
18997 $as_echo_n "(cached) " >&6
18999 ac_check_lib_save_LIBS=$LIBS
19001 if test x$gcc_no_link = xyes; then
19002 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19007 /* Override any GCC internal prototype to avoid an error.
19008 Use char because int might match the return type of a GCC
19009 builtin and then its argument prototype would still apply. */
19013 char clock_settime ();
19017 return clock_settime ();
19022 if ac_fn_c_try_link "$LINENO"; then :
19023 ac_cv_lib_c_clock_settime=yes
19025 ac_cv_lib_c_clock_settime=no
19027 rm -f core conftest.err conftest.$ac_objext \
19028 conftest$ac_exeext conftest.$ac_ext
19029 LIBS=$ac_check_lib_save_LIBS
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_settime" >&5
19032 $as_echo "$ac_cv_lib_c_clock_settime" >&6; }
19033 if test "x$ac_cv_lib_c_clock_settime" = xyes; then :
19035 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19039 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
19044 if test "x$ac_cv_lib_c_clock_settime" = xyes; then
19046 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19048 elif test "x$ac_cv_func_clock_settime" = xyes; then
19050 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19054 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
19061 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
19062 if test x$gcc_no_link != xyes; then
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
19064 $as_echo_n "checking for close in -lc... " >&6; }
19065 if ${ac_cv_lib_c_close+:} false; then :
19066 $as_echo_n "(cached) " >&6
19068 ac_check_lib_save_LIBS=$LIBS
19070 if test x$gcc_no_link = xyes; then
19071 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19076 /* Override any GCC internal prototype to avoid an error.
19077 Use char because int might match the return type of a GCC
19078 builtin and then its argument prototype would still apply. */
19091 if ac_fn_c_try_link "$LINENO"; then :
19092 ac_cv_lib_c_close=yes
19094 ac_cv_lib_c_close=no
19096 rm -f core conftest.err conftest.$ac_objext \
19097 conftest$ac_exeext conftest.$ac_ext
19098 LIBS=$ac_check_lib_save_LIBS
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
19101 $as_echo "$ac_cv_lib_c_close" >&6; }
19102 if test "x$ac_cv_lib_c_close" = xyes; then :
19104 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19108 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
19113 if test "x$ac_cv_lib_c_close" = xyes; then
19115 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19117 elif test "x$ac_cv_func_close" = xyes; then
19119 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19123 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
19130 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
19131 if test x$gcc_no_link != xyes; then
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
19133 $as_echo_n "checking for ctime in -lc... " >&6; }
19134 if ${ac_cv_lib_c_ctime+:} false; then :
19135 $as_echo_n "(cached) " >&6
19137 ac_check_lib_save_LIBS=$LIBS
19139 if test x$gcc_no_link = xyes; then
19140 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19145 /* Override any GCC internal prototype to avoid an error.
19146 Use char because int might match the return type of a GCC
19147 builtin and then its argument prototype would still apply. */
19160 if ac_fn_c_try_link "$LINENO"; then :
19161 ac_cv_lib_c_ctime=yes
19163 ac_cv_lib_c_ctime=no
19165 rm -f core conftest.err conftest.$ac_objext \
19166 conftest$ac_exeext conftest.$ac_ext
19167 LIBS=$ac_check_lib_save_LIBS
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
19170 $as_echo "$ac_cv_lib_c_ctime" >&6; }
19171 if test "x$ac_cv_lib_c_ctime" = xyes; then :
19173 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19177 $as_echo "#undef HAVE_CTIME" >>confdefs.h
19182 if test "x$ac_cv_lib_c_ctime" = xyes; then
19184 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19186 elif test "x$ac_cv_func_ctime" = xyes; then
19188 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19192 $as_echo "#undef HAVE_CTIME" >>confdefs.h
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
19199 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
19200 if test x$gcc_no_link != xyes; then
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
19202 $as_echo_n "checking for creat in -lc... " >&6; }
19203 if ${ac_cv_lib_c_creat+:} false; then :
19204 $as_echo_n "(cached) " >&6
19206 ac_check_lib_save_LIBS=$LIBS
19208 if test x$gcc_no_link = xyes; then
19209 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19214 /* Override any GCC internal prototype to avoid an error.
19215 Use char because int might match the return type of a GCC
19216 builtin and then its argument prototype would still apply. */
19229 if ac_fn_c_try_link "$LINENO"; then :
19230 ac_cv_lib_c_creat=yes
19232 ac_cv_lib_c_creat=no
19234 rm -f core conftest.err conftest.$ac_objext \
19235 conftest$ac_exeext conftest.$ac_ext
19236 LIBS=$ac_check_lib_save_LIBS
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
19239 $as_echo "$ac_cv_lib_c_creat" >&6; }
19240 if test "x$ac_cv_lib_c_creat" = xyes; then :
19242 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19246 $as_echo "#undef HAVE_CREAT" >>confdefs.h
19251 if test "x$ac_cv_lib_c_creat" = xyes; then
19253 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19255 elif test "x$ac_cv_func_creat" = xyes; then
19257 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19261 $as_echo "#undef HAVE_CREAT" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for daylight" >&5
19268 $as_echo_n "checking m2 front end checking c library for daylight... " >&6; }
19269 if test x$gcc_no_link != xyes; then
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight in -lc" >&5
19271 $as_echo_n "checking for daylight in -lc... " >&6; }
19272 if ${ac_cv_lib_c_daylight+:} false; then :
19273 $as_echo_n "(cached) " >&6
19275 ac_check_lib_save_LIBS=$LIBS
19277 if test x$gcc_no_link = xyes; then
19278 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19283 /* Override any GCC internal prototype to avoid an error.
19284 Use char because int might match the return type of a GCC
19285 builtin and then its argument prototype would still apply. */
19293 return daylight ();
19298 if ac_fn_c_try_link "$LINENO"; then :
19299 ac_cv_lib_c_daylight=yes
19301 ac_cv_lib_c_daylight=no
19303 rm -f core conftest.err conftest.$ac_objext \
19304 conftest$ac_exeext conftest.$ac_ext
19305 LIBS=$ac_check_lib_save_LIBS
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_daylight" >&5
19308 $as_echo "$ac_cv_lib_c_daylight" >&6; }
19309 if test "x$ac_cv_lib_c_daylight" = xyes; then :
19311 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19315 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
19320 if test "x$ac_cv_lib_c_daylight" = xyes; then
19322 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19324 elif test "x$ac_cv_func_daylight" = xyes; then
19326 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19330 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
19337 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
19338 if test x$gcc_no_link != xyes; then
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
19340 $as_echo_n "checking for dup in -lc... " >&6; }
19341 if ${ac_cv_lib_c_dup+:} false; then :
19342 $as_echo_n "(cached) " >&6
19344 ac_check_lib_save_LIBS=$LIBS
19346 if test x$gcc_no_link = xyes; then
19347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19352 /* Override any GCC internal prototype to avoid an error.
19353 Use char because int might match the return type of a GCC
19354 builtin and then its argument prototype would still apply. */
19367 if ac_fn_c_try_link "$LINENO"; then :
19368 ac_cv_lib_c_dup=yes
19372 rm -f core conftest.err conftest.$ac_objext \
19373 conftest$ac_exeext conftest.$ac_ext
19374 LIBS=$ac_check_lib_save_LIBS
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
19377 $as_echo "$ac_cv_lib_c_dup" >&6; }
19378 if test "x$ac_cv_lib_c_dup" = xyes; then :
19380 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19384 $as_echo "#undef HAVE_DUP" >>confdefs.h
19389 if test "x$ac_cv_lib_c_dup" = xyes; then
19391 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19393 elif test "x$ac_cv_func_dup" = xyes; then
19395 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19399 $as_echo "#undef HAVE_DUP" >>confdefs.h
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
19406 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
19407 if test x$gcc_no_link != xyes; then
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
19409 $as_echo_n "checking for execve in -lc... " >&6; }
19410 if ${ac_cv_lib_c_execve+:} false; then :
19411 $as_echo_n "(cached) " >&6
19413 ac_check_lib_save_LIBS=$LIBS
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19421 /* Override any GCC internal prototype to avoid an error.
19422 Use char because int might match the return type of a GCC
19423 builtin and then its argument prototype would still apply. */
19436 if ac_fn_c_try_link "$LINENO"; then :
19437 ac_cv_lib_c_execve=yes
19439 ac_cv_lib_c_execve=no
19441 rm -f core conftest.err conftest.$ac_objext \
19442 conftest$ac_exeext conftest.$ac_ext
19443 LIBS=$ac_check_lib_save_LIBS
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
19446 $as_echo "$ac_cv_lib_c_execve" >&6; }
19447 if test "x$ac_cv_lib_c_execve" = xyes; then :
19449 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19453 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
19458 if test "x$ac_cv_lib_c_execve" = xyes; then
19460 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19462 elif test "x$ac_cv_func_execve" = xyes; then
19464 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19468 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
19475 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
19476 if test x$gcc_no_link != xyes; then
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
19478 $as_echo_n "checking for exit in -lc... " >&6; }
19479 if ${ac_cv_lib_c_exit+:} false; then :
19480 $as_echo_n "(cached) " >&6
19482 ac_check_lib_save_LIBS=$LIBS
19484 if test x$gcc_no_link = xyes; then
19485 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19488 /* end confdefs.h. */
19490 /* Override any GCC internal prototype to avoid an error.
19491 Use char because int might match the return type of a GCC
19492 builtin and then its argument prototype would still apply. */
19505 if ac_fn_c_try_link "$LINENO"; then :
19506 ac_cv_lib_c_exit=yes
19508 ac_cv_lib_c_exit=no
19510 rm -f core conftest.err conftest.$ac_objext \
19511 conftest$ac_exeext conftest.$ac_ext
19512 LIBS=$ac_check_lib_save_LIBS
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
19515 $as_echo "$ac_cv_lib_c_exit" >&6; }
19516 if test "x$ac_cv_lib_c_exit" = xyes; then :
19518 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19522 $as_echo "#undef HAVE_EXIT" >>confdefs.h
19527 if test "x$ac_cv_lib_c_exit" = xyes; then
19529 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19531 elif test "x$ac_cv_func_exit" = xyes; then
19533 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19537 $as_echo "#undef HAVE_EXIT" >>confdefs.h
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
19544 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
19545 if test x$gcc_no_link != xyes; then
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
19547 $as_echo_n "checking for fcntl in -lc... " >&6; }
19548 if ${ac_cv_lib_c_fcntl+:} false; then :
19549 $as_echo_n "(cached) " >&6
19551 ac_check_lib_save_LIBS=$LIBS
19553 if test x$gcc_no_link = xyes; then
19554 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19559 /* Override any GCC internal prototype to avoid an error.
19560 Use char because int might match the return type of a GCC
19561 builtin and then its argument prototype would still apply. */
19574 if ac_fn_c_try_link "$LINENO"; then :
19575 ac_cv_lib_c_fcntl=yes
19577 ac_cv_lib_c_fcntl=no
19579 rm -f core conftest.err conftest.$ac_objext \
19580 conftest$ac_exeext conftest.$ac_ext
19581 LIBS=$ac_check_lib_save_LIBS
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
19584 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
19585 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
19587 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19591 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
19596 if test "x$ac_cv_lib_c_fcntl" = xyes; then
19598 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19600 elif test "x$ac_cv_func_fcntl" = xyes; then
19602 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19606 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
19613 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
19614 if test x$gcc_no_link != xyes; then
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
19616 $as_echo_n "checking for fstat in -lc... " >&6; }
19617 if ${ac_cv_lib_c_fstat+:} false; then :
19618 $as_echo_n "(cached) " >&6
19620 ac_check_lib_save_LIBS=$LIBS
19622 if test x$gcc_no_link = xyes; then
19623 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19628 /* Override any GCC internal prototype to avoid an error.
19629 Use char because int might match the return type of a GCC
19630 builtin and then its argument prototype would still apply. */
19643 if ac_fn_c_try_link "$LINENO"; then :
19644 ac_cv_lib_c_fstat=yes
19646 ac_cv_lib_c_fstat=no
19648 rm -f core conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext conftest.$ac_ext
19650 LIBS=$ac_check_lib_save_LIBS
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
19653 $as_echo "$ac_cv_lib_c_fstat" >&6; }
19654 if test "x$ac_cv_lib_c_fstat" = xyes; then :
19656 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19660 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
19665 if test "x$ac_cv_lib_c_fstat" = xyes; then
19667 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19669 elif test "x$ac_cv_func_fstat" = xyes; then
19671 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19675 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
19682 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
19683 if test x$gcc_no_link != xyes; then
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
19685 $as_echo_n "checking for getdents in -lc... " >&6; }
19686 if ${ac_cv_lib_c_getdents+:} false; then :
19687 $as_echo_n "(cached) " >&6
19689 ac_check_lib_save_LIBS=$LIBS
19691 if test x$gcc_no_link = xyes; then
19692 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19695 /* end confdefs.h. */
19697 /* Override any GCC internal prototype to avoid an error.
19698 Use char because int might match the return type of a GCC
19699 builtin and then its argument prototype would still apply. */
19707 return getdents ();
19712 if ac_fn_c_try_link "$LINENO"; then :
19713 ac_cv_lib_c_getdents=yes
19715 ac_cv_lib_c_getdents=no
19717 rm -f core conftest.err conftest.$ac_objext \
19718 conftest$ac_exeext conftest.$ac_ext
19719 LIBS=$ac_check_lib_save_LIBS
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
19722 $as_echo "$ac_cv_lib_c_getdents" >&6; }
19723 if test "x$ac_cv_lib_c_getdents" = xyes; then :
19725 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19729 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
19734 if test "x$ac_cv_lib_c_getdents" = xyes; then
19736 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19738 elif test "x$ac_cv_func_getdents" = xyes; then
19740 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19744 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
19751 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
19752 if test x$gcc_no_link != xyes; then
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
19754 $as_echo_n "checking for getgid in -lc... " >&6; }
19755 if ${ac_cv_lib_c_getgid+:} false; then :
19756 $as_echo_n "(cached) " >&6
19758 ac_check_lib_save_LIBS=$LIBS
19760 if test x$gcc_no_link = xyes; then
19761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19766 /* Override any GCC internal prototype to avoid an error.
19767 Use char because int might match the return type of a GCC
19768 builtin and then its argument prototype would still apply. */
19781 if ac_fn_c_try_link "$LINENO"; then :
19782 ac_cv_lib_c_getgid=yes
19784 ac_cv_lib_c_getgid=no
19786 rm -f core conftest.err conftest.$ac_objext \
19787 conftest$ac_exeext conftest.$ac_ext
19788 LIBS=$ac_check_lib_save_LIBS
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
19791 $as_echo "$ac_cv_lib_c_getgid" >&6; }
19792 if test "x$ac_cv_lib_c_getgid" = xyes; then :
19794 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19798 $as_echo "#undef HAVE_GETGID" >>confdefs.h
19803 if test "x$ac_cv_lib_c_getgid" = xyes; then
19805 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19807 elif test "x$ac_cv_func_getgid" = xyes; then
19809 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19813 $as_echo "#undef HAVE_GETGID" >>confdefs.h
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long" >&5
19820 $as_echo_n "checking m2 front end checking c library for getopt_long... " >&6; }
19821 if test x$gcc_no_link != xyes; then
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lc" >&5
19823 $as_echo_n "checking for getopt_long in -lc... " >&6; }
19824 if ${ac_cv_lib_c_getopt_long+:} false; then :
19825 $as_echo_n "(cached) " >&6
19827 ac_check_lib_save_LIBS=$LIBS
19829 if test x$gcc_no_link = xyes; then
19830 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19835 /* Override any GCC internal prototype to avoid an error.
19836 Use char because int might match the return type of a GCC
19837 builtin and then its argument prototype would still apply. */
19841 char getopt_long ();
19845 return getopt_long ();
19850 if ac_fn_c_try_link "$LINENO"; then :
19851 ac_cv_lib_c_getopt_long=yes
19853 ac_cv_lib_c_getopt_long=no
19855 rm -f core conftest.err conftest.$ac_objext \
19856 conftest$ac_exeext conftest.$ac_ext
19857 LIBS=$ac_check_lib_save_LIBS
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long" >&5
19860 $as_echo "$ac_cv_lib_c_getopt_long" >&6; }
19861 if test "x$ac_cv_lib_c_getopt_long" = xyes; then :
19863 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19867 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
19872 if test "x$ac_cv_lib_c_getopt_long" = xyes; then
19874 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19876 elif test "x$ac_cv_func_getopt_long" = xyes; then
19878 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19882 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long_only" >&5
19889 $as_echo_n "checking m2 front end checking c library for getopt_long_only... " >&6; }
19890 if test x$gcc_no_link != xyes; then
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long_only in -lc" >&5
19892 $as_echo_n "checking for getopt_long_only in -lc... " >&6; }
19893 if ${ac_cv_lib_c_getopt_long_only+:} false; then :
19894 $as_echo_n "(cached) " >&6
19896 ac_check_lib_save_LIBS=$LIBS
19898 if test x$gcc_no_link = xyes; then
19899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19904 /* Override any GCC internal prototype to avoid an error.
19905 Use char because int might match the return type of a GCC
19906 builtin and then its argument prototype would still apply. */
19910 char getopt_long_only ();
19914 return getopt_long_only ();
19919 if ac_fn_c_try_link "$LINENO"; then :
19920 ac_cv_lib_c_getopt_long_only=yes
19922 ac_cv_lib_c_getopt_long_only=no
19924 rm -f core conftest.err conftest.$ac_objext \
19925 conftest$ac_exeext conftest.$ac_ext
19926 LIBS=$ac_check_lib_save_LIBS
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long_only" >&5
19929 $as_echo "$ac_cv_lib_c_getopt_long_only" >&6; }
19930 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then :
19932 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19936 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
19941 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then
19943 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19945 elif test "x$ac_cv_func_getopt_long_only" = xyes; then
19947 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19951 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
19958 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
19959 if test x$gcc_no_link != xyes; then
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
19961 $as_echo_n "checking for getpid in -lc... " >&6; }
19962 if ${ac_cv_lib_c_getpid+:} false; then :
19963 $as_echo_n "(cached) " >&6
19965 ac_check_lib_save_LIBS=$LIBS
19967 if test x$gcc_no_link = xyes; then
19968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19971 /* end confdefs.h. */
19973 /* Override any GCC internal prototype to avoid an error.
19974 Use char because int might match the return type of a GCC
19975 builtin and then its argument prototype would still apply. */
19988 if ac_fn_c_try_link "$LINENO"; then :
19989 ac_cv_lib_c_getpid=yes
19991 ac_cv_lib_c_getpid=no
19993 rm -f core conftest.err conftest.$ac_objext \
19994 conftest$ac_exeext conftest.$ac_ext
19995 LIBS=$ac_check_lib_save_LIBS
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
19998 $as_echo "$ac_cv_lib_c_getpid" >&6; }
19999 if test "x$ac_cv_lib_c_getpid" = xyes; then :
20001 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
20005 $as_echo "#undef HAVE_GETPID" >>confdefs.h
20010 if test "x$ac_cv_lib_c_getpid" = xyes; then
20012 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
20014 elif test "x$ac_cv_func_getpid" = xyes; then
20016 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
20020 $as_echo "#undef HAVE_GETPID" >>confdefs.h
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
20027 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
20028 if test x$gcc_no_link != xyes; then
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
20030 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
20031 if ${ac_cv_lib_c_gettimeofday+:} false; then :
20032 $as_echo_n "(cached) " >&6
20034 ac_check_lib_save_LIBS=$LIBS
20036 if test x$gcc_no_link = xyes; then
20037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 /* Override any GCC internal prototype to avoid an error.
20043 Use char because int might match the return type of a GCC
20044 builtin and then its argument prototype would still apply. */
20048 char gettimeofday ();
20052 return gettimeofday ();
20057 if ac_fn_c_try_link "$LINENO"; then :
20058 ac_cv_lib_c_gettimeofday=yes
20060 ac_cv_lib_c_gettimeofday=no
20062 rm -f core conftest.err conftest.$ac_objext \
20063 conftest$ac_exeext conftest.$ac_ext
20064 LIBS=$ac_check_lib_save_LIBS
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
20067 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
20068 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
20070 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
20074 $as_echo "#undef HAVE_GETTIMEOFDAY" >>confdefs.h
20079 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
20081 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
20083 elif test "x$ac_cv_func_gettimeofday" = xyes; then
20085 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
20089 $as_echo "#undef HAVE_GETTIMEOFDAY" >>confdefs.h
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
20096 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
20097 if test x$gcc_no_link != xyes; then
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
20099 $as_echo_n "checking for getuid in -lc... " >&6; }
20100 if ${ac_cv_lib_c_getuid+:} false; then :
20101 $as_echo_n "(cached) " >&6
20103 ac_check_lib_save_LIBS=$LIBS
20105 if test x$gcc_no_link = xyes; then
20106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20111 /* Override any GCC internal prototype to avoid an error.
20112 Use char because int might match the return type of a GCC
20113 builtin and then its argument prototype would still apply. */
20126 if ac_fn_c_try_link "$LINENO"; then :
20127 ac_cv_lib_c_getuid=yes
20129 ac_cv_lib_c_getuid=no
20131 rm -f core conftest.err conftest.$ac_objext \
20132 conftest$ac_exeext conftest.$ac_ext
20133 LIBS=$ac_check_lib_save_LIBS
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
20136 $as_echo "$ac_cv_lib_c_getuid" >&6; }
20137 if test "x$ac_cv_lib_c_getuid" = xyes; then :
20139 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20143 $as_echo "#undef HAVE_GETUID" >>confdefs.h
20148 if test "x$ac_cv_lib_c_getuid" = xyes; then
20150 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20152 elif test "x$ac_cv_func_getuid" = xyes; then
20154 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20158 $as_echo "#undef HAVE_GETUID" >>confdefs.h
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
20165 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
20166 if test x$gcc_no_link != xyes; then
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
20168 $as_echo_n "checking for ioctl in -lc... " >&6; }
20169 if ${ac_cv_lib_c_ioctl+:} false; then :
20170 $as_echo_n "(cached) " >&6
20172 ac_check_lib_save_LIBS=$LIBS
20174 if test x$gcc_no_link = xyes; then
20175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20178 /* end confdefs.h. */
20180 /* Override any GCC internal prototype to avoid an error.
20181 Use char because int might match the return type of a GCC
20182 builtin and then its argument prototype would still apply. */
20195 if ac_fn_c_try_link "$LINENO"; then :
20196 ac_cv_lib_c_ioctl=yes
20198 ac_cv_lib_c_ioctl=no
20200 rm -f core conftest.err conftest.$ac_objext \
20201 conftest$ac_exeext conftest.$ac_ext
20202 LIBS=$ac_check_lib_save_LIBS
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
20205 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
20206 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
20208 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20212 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
20217 if test "x$ac_cv_lib_c_ioctl" = xyes; then
20219 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20221 elif test "x$ac_cv_func_ioctl" = xyes; then
20223 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20227 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
20234 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
20235 if test x$gcc_no_link != xyes; then
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
20237 $as_echo_n "checking for kill in -lc... " >&6; }
20238 if ${ac_cv_lib_c_kill+:} false; then :
20239 $as_echo_n "(cached) " >&6
20241 ac_check_lib_save_LIBS=$LIBS
20243 if test x$gcc_no_link = xyes; then
20244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20247 /* end confdefs.h. */
20249 /* Override any GCC internal prototype to avoid an error.
20250 Use char because int might match the return type of a GCC
20251 builtin and then its argument prototype would still apply. */
20264 if ac_fn_c_try_link "$LINENO"; then :
20265 ac_cv_lib_c_kill=yes
20267 ac_cv_lib_c_kill=no
20269 rm -f core conftest.err conftest.$ac_objext \
20270 conftest$ac_exeext conftest.$ac_ext
20271 LIBS=$ac_check_lib_save_LIBS
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
20274 $as_echo "$ac_cv_lib_c_kill" >&6; }
20275 if test "x$ac_cv_lib_c_kill" = xyes; then :
20277 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20281 $as_echo "#undef HAVE_KILL" >>confdefs.h
20286 if test "x$ac_cv_lib_c_kill" = xyes; then
20288 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20290 elif test "x$ac_cv_func_kill" = xyes; then
20292 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20296 $as_echo "#undef HAVE_KILL" >>confdefs.h
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
20303 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
20304 if test x$gcc_no_link != xyes; then
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
20306 $as_echo_n "checking for link in -lc... " >&6; }
20307 if ${ac_cv_lib_c_link+:} false; then :
20308 $as_echo_n "(cached) " >&6
20310 ac_check_lib_save_LIBS=$LIBS
20312 if test x$gcc_no_link = xyes; then
20313 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20316 /* end confdefs.h. */
20318 /* Override any GCC internal prototype to avoid an error.
20319 Use char because int might match the return type of a GCC
20320 builtin and then its argument prototype would still apply. */
20333 if ac_fn_c_try_link "$LINENO"; then :
20334 ac_cv_lib_c_link=yes
20336 ac_cv_lib_c_link=no
20338 rm -f core conftest.err conftest.$ac_objext \
20339 conftest$ac_exeext conftest.$ac_ext
20340 LIBS=$ac_check_lib_save_LIBS
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
20343 $as_echo "$ac_cv_lib_c_link" >&6; }
20344 if test "x$ac_cv_lib_c_link" = xyes; then :
20346 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20350 $as_echo "#undef HAVE_LINK" >>confdefs.h
20355 if test "x$ac_cv_lib_c_link" = xyes; then
20357 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20359 elif test "x$ac_cv_func_link" = xyes; then
20361 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20365 $as_echo "#undef HAVE_LINK" >>confdefs.h
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
20372 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
20373 if test x$gcc_no_link != xyes; then
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
20375 $as_echo_n "checking for lseek in -lc... " >&6; }
20376 if ${ac_cv_lib_c_lseek+:} false; then :
20377 $as_echo_n "(cached) " >&6
20379 ac_check_lib_save_LIBS=$LIBS
20381 if test x$gcc_no_link = xyes; then
20382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20385 /* end confdefs.h. */
20387 /* Override any GCC internal prototype to avoid an error.
20388 Use char because int might match the return type of a GCC
20389 builtin and then its argument prototype would still apply. */
20402 if ac_fn_c_try_link "$LINENO"; then :
20403 ac_cv_lib_c_lseek=yes
20405 ac_cv_lib_c_lseek=no
20407 rm -f core conftest.err conftest.$ac_objext \
20408 conftest$ac_exeext conftest.$ac_ext
20409 LIBS=$ac_check_lib_save_LIBS
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
20412 $as_echo "$ac_cv_lib_c_lseek" >&6; }
20413 if test "x$ac_cv_lib_c_lseek" = xyes; then :
20415 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20419 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
20424 if test "x$ac_cv_lib_c_lseek" = xyes; then
20426 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20428 elif test "x$ac_cv_func_lseek" = xyes; then
20430 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20434 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
20441 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
20442 if test x$gcc_no_link != xyes; then
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
20444 $as_echo_n "checking for open in -lc... " >&6; }
20445 if ${ac_cv_lib_c_open+:} false; then :
20446 $as_echo_n "(cached) " >&6
20448 ac_check_lib_save_LIBS=$LIBS
20450 if test x$gcc_no_link = xyes; then
20451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20454 /* end confdefs.h. */
20456 /* Override any GCC internal prototype to avoid an error.
20457 Use char because int might match the return type of a GCC
20458 builtin and then its argument prototype would still apply. */
20471 if ac_fn_c_try_link "$LINENO"; then :
20472 ac_cv_lib_c_open=yes
20474 ac_cv_lib_c_open=no
20476 rm -f core conftest.err conftest.$ac_objext \
20477 conftest$ac_exeext conftest.$ac_ext
20478 LIBS=$ac_check_lib_save_LIBS
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
20481 $as_echo "$ac_cv_lib_c_open" >&6; }
20482 if test "x$ac_cv_lib_c_open" = xyes; then :
20484 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20488 $as_echo "#undef HAVE_OPEN" >>confdefs.h
20493 if test "x$ac_cv_lib_c_open" = xyes; then
20495 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20497 elif test "x$ac_cv_func_open" = xyes; then
20499 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20503 $as_echo "#undef HAVE_OPEN" >>confdefs.h
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
20510 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
20511 if test x$gcc_no_link != xyes; then
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
20513 $as_echo_n "checking for pause in -lc... " >&6; }
20514 if ${ac_cv_lib_c_pause+:} false; then :
20515 $as_echo_n "(cached) " >&6
20517 ac_check_lib_save_LIBS=$LIBS
20519 if test x$gcc_no_link = xyes; then
20520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20525 /* Override any GCC internal prototype to avoid an error.
20526 Use char because int might match the return type of a GCC
20527 builtin and then its argument prototype would still apply. */
20540 if ac_fn_c_try_link "$LINENO"; then :
20541 ac_cv_lib_c_pause=yes
20543 ac_cv_lib_c_pause=no
20545 rm -f core conftest.err conftest.$ac_objext \
20546 conftest$ac_exeext conftest.$ac_ext
20547 LIBS=$ac_check_lib_save_LIBS
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
20550 $as_echo "$ac_cv_lib_c_pause" >&6; }
20551 if test "x$ac_cv_lib_c_pause" = xyes; then :
20553 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20557 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
20562 if test "x$ac_cv_lib_c_pause" = xyes; then
20564 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20566 elif test "x$ac_cv_func_pause" = xyes; then
20568 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20572 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
20579 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
20580 if test x$gcc_no_link != xyes; then
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
20582 $as_echo_n "checking for pipe in -lc... " >&6; }
20583 if ${ac_cv_lib_c_pipe+:} false; then :
20584 $as_echo_n "(cached) " >&6
20586 ac_check_lib_save_LIBS=$LIBS
20588 if test x$gcc_no_link = xyes; then
20589 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20594 /* Override any GCC internal prototype to avoid an error.
20595 Use char because int might match the return type of a GCC
20596 builtin and then its argument prototype would still apply. */
20609 if ac_fn_c_try_link "$LINENO"; then :
20610 ac_cv_lib_c_pipe=yes
20612 ac_cv_lib_c_pipe=no
20614 rm -f core conftest.err conftest.$ac_objext \
20615 conftest$ac_exeext conftest.$ac_ext
20616 LIBS=$ac_check_lib_save_LIBS
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
20619 $as_echo "$ac_cv_lib_c_pipe" >&6; }
20620 if test "x$ac_cv_lib_c_pipe" = xyes; then :
20622 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20626 $as_echo "#undef HAVE_PIPE" >>confdefs.h
20631 if test "x$ac_cv_lib_c_pipe" = xyes; then
20633 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20635 elif test "x$ac_cv_func_pipe" = xyes; then
20637 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20641 $as_echo "#undef HAVE_PIPE" >>confdefs.h
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
20648 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
20649 if test x$gcc_no_link != xyes; then
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
20651 $as_echo_n "checking for rand in -lc... " >&6; }
20652 if ${ac_cv_lib_c_rand+:} false; then :
20653 $as_echo_n "(cached) " >&6
20655 ac_check_lib_save_LIBS=$LIBS
20657 if test x$gcc_no_link = xyes; then
20658 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20663 /* Override any GCC internal prototype to avoid an error.
20664 Use char because int might match the return type of a GCC
20665 builtin and then its argument prototype would still apply. */
20678 if ac_fn_c_try_link "$LINENO"; then :
20679 ac_cv_lib_c_rand=yes
20681 ac_cv_lib_c_rand=no
20683 rm -f core conftest.err conftest.$ac_objext \
20684 conftest$ac_exeext conftest.$ac_ext
20685 LIBS=$ac_check_lib_save_LIBS
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
20688 $as_echo "$ac_cv_lib_c_rand" >&6; }
20689 if test "x$ac_cv_lib_c_rand" = xyes; then :
20691 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20695 $as_echo "#undef HAVE_RAND" >>confdefs.h
20700 if test "x$ac_cv_lib_c_rand" = xyes; then
20702 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20704 elif test "x$ac_cv_func_rand" = xyes; then
20706 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20710 $as_echo "#undef HAVE_RAND" >>confdefs.h
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
20717 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
20718 if test x$gcc_no_link != xyes; then
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
20720 $as_echo_n "checking for read in -lc... " >&6; }
20721 if ${ac_cv_lib_c_read+:} false; then :
20722 $as_echo_n "(cached) " >&6
20724 ac_check_lib_save_LIBS=$LIBS
20726 if test x$gcc_no_link = xyes; then
20727 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20730 /* end confdefs.h. */
20732 /* Override any GCC internal prototype to avoid an error.
20733 Use char because int might match the return type of a GCC
20734 builtin and then its argument prototype would still apply. */
20747 if ac_fn_c_try_link "$LINENO"; then :
20748 ac_cv_lib_c_read=yes
20750 ac_cv_lib_c_read=no
20752 rm -f core conftest.err conftest.$ac_objext \
20753 conftest$ac_exeext conftest.$ac_ext
20754 LIBS=$ac_check_lib_save_LIBS
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
20757 $as_echo "$ac_cv_lib_c_read" >&6; }
20758 if test "x$ac_cv_lib_c_read" = xyes; then :
20760 $as_echo "#define HAVE_READ 1" >>confdefs.h
20764 $as_echo "#undef HAVE_READ" >>confdefs.h
20769 if test "x$ac_cv_lib_c_read" = xyes; then
20771 $as_echo "#define HAVE_READ 1" >>confdefs.h
20773 elif test "x$ac_cv_func_read" = xyes; then
20775 $as_echo "#define HAVE_READ 1" >>confdefs.h
20779 $as_echo "#undef HAVE_READ" >>confdefs.h
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
20786 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
20787 if test x$gcc_no_link != xyes; then
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
20789 $as_echo_n "checking for select in -lc... " >&6; }
20790 if ${ac_cv_lib_c_select+:} false; then :
20791 $as_echo_n "(cached) " >&6
20793 ac_check_lib_save_LIBS=$LIBS
20795 if test x$gcc_no_link = xyes; then
20796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20801 /* Override any GCC internal prototype to avoid an error.
20802 Use char because int might match the return type of a GCC
20803 builtin and then its argument prototype would still apply. */
20816 if ac_fn_c_try_link "$LINENO"; then :
20817 ac_cv_lib_c_select=yes
20819 ac_cv_lib_c_select=no
20821 rm -f core conftest.err conftest.$ac_objext \
20822 conftest$ac_exeext conftest.$ac_ext
20823 LIBS=$ac_check_lib_save_LIBS
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
20826 $as_echo "$ac_cv_lib_c_select" >&6; }
20827 if test "x$ac_cv_lib_c_select" = xyes; then :
20829 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20833 $as_echo "#undef HAVE_SELECT" >>confdefs.h
20838 if test "x$ac_cv_lib_c_select" = xyes; then
20840 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20842 elif test "x$ac_cv_func_select" = xyes; then
20844 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20848 $as_echo "#undef HAVE_SELECT" >>confdefs.h
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
20855 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
20856 if test x$gcc_no_link != xyes; then
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
20858 $as_echo_n "checking for setitimer in -lc... " >&6; }
20859 if ${ac_cv_lib_c_setitimer+:} false; then :
20860 $as_echo_n "(cached) " >&6
20862 ac_check_lib_save_LIBS=$LIBS
20864 if test x$gcc_no_link = xyes; then
20865 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20870 /* Override any GCC internal prototype to avoid an error.
20871 Use char because int might match the return type of a GCC
20872 builtin and then its argument prototype would still apply. */
20880 return setitimer ();
20885 if ac_fn_c_try_link "$LINENO"; then :
20886 ac_cv_lib_c_setitimer=yes
20888 ac_cv_lib_c_setitimer=no
20890 rm -f core conftest.err conftest.$ac_objext \
20891 conftest$ac_exeext conftest.$ac_ext
20892 LIBS=$ac_check_lib_save_LIBS
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
20895 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
20896 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
20898 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20902 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
20907 if test "x$ac_cv_lib_c_setitimer" = xyes; then
20909 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20911 elif test "x$ac_cv_func_setitimer" = xyes; then
20913 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20917 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
20924 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
20925 if test x$gcc_no_link != xyes; then
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
20927 $as_echo_n "checking for setgid in -lc... " >&6; }
20928 if ${ac_cv_lib_c_setgid+:} false; then :
20929 $as_echo_n "(cached) " >&6
20931 ac_check_lib_save_LIBS=$LIBS
20933 if test x$gcc_no_link = xyes; then
20934 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20939 /* Override any GCC internal prototype to avoid an error.
20940 Use char because int might match the return type of a GCC
20941 builtin and then its argument prototype would still apply. */
20954 if ac_fn_c_try_link "$LINENO"; then :
20955 ac_cv_lib_c_setgid=yes
20957 ac_cv_lib_c_setgid=no
20959 rm -f core conftest.err conftest.$ac_objext \
20960 conftest$ac_exeext conftest.$ac_ext
20961 LIBS=$ac_check_lib_save_LIBS
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
20964 $as_echo "$ac_cv_lib_c_setgid" >&6; }
20965 if test "x$ac_cv_lib_c_setgid" = xyes; then :
20967 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
20971 $as_echo "#undef HAVE_SETGID" >>confdefs.h
20976 if test "x$ac_cv_lib_c_setgid" = xyes; then
20978 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
20980 elif test "x$ac_cv_func_setgid" = xyes; then
20982 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
20986 $as_echo "#undef HAVE_SETGID" >>confdefs.h
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for settimeofday" >&5
20993 $as_echo_n "checking m2 front end checking c library for settimeofday... " >&6; }
20994 if test x$gcc_no_link != xyes; then
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for settimeofday in -lc" >&5
20996 $as_echo_n "checking for settimeofday in -lc... " >&6; }
20997 if ${ac_cv_lib_c_settimeofday+:} false; then :
20998 $as_echo_n "(cached) " >&6
21000 ac_check_lib_save_LIBS=$LIBS
21002 if test x$gcc_no_link = xyes; then
21003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21008 /* Override any GCC internal prototype to avoid an error.
21009 Use char because int might match the return type of a GCC
21010 builtin and then its argument prototype would still apply. */
21014 char settimeofday ();
21018 return settimeofday ();
21023 if ac_fn_c_try_link "$LINENO"; then :
21024 ac_cv_lib_c_settimeofday=yes
21026 ac_cv_lib_c_settimeofday=no
21028 rm -f core conftest.err conftest.$ac_objext \
21029 conftest$ac_exeext conftest.$ac_ext
21030 LIBS=$ac_check_lib_save_LIBS
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_settimeofday" >&5
21033 $as_echo "$ac_cv_lib_c_settimeofday" >&6; }
21034 if test "x$ac_cv_lib_c_settimeofday" = xyes; then :
21036 $as_echo "#define HAVE_SETTIMEOFDAY 1" >>confdefs.h
21040 $as_echo "#undef HAVE_SETTIMEOFDAY" >>confdefs.h
21045 if test "x$ac_cv_lib_c_settimeofday" = xyes; then
21047 $as_echo "#define HAVE_SETTIMEOFDAY 1" >>confdefs.h
21049 elif test "x$ac_cv_func_settimeofday" = xyes; then
21051 $as_echo "#define HAVE_SETTIMEOFDAY 1" >>confdefs.h
21055 $as_echo "#undef HAVE_SETTIMEOFDAY" >>confdefs.h
21061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
21062 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
21063 if test x$gcc_no_link != xyes; then
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
21065 $as_echo_n "checking for setuid in -lc... " >&6; }
21066 if ${ac_cv_lib_c_setuid+:} false; then :
21067 $as_echo_n "(cached) " >&6
21069 ac_check_lib_save_LIBS=$LIBS
21071 if test x$gcc_no_link = xyes; then
21072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21077 /* Override any GCC internal prototype to avoid an error.
21078 Use char because int might match the return type of a GCC
21079 builtin and then its argument prototype would still apply. */
21092 if ac_fn_c_try_link "$LINENO"; then :
21093 ac_cv_lib_c_setuid=yes
21095 ac_cv_lib_c_setuid=no
21097 rm -f core conftest.err conftest.$ac_objext \
21098 conftest$ac_exeext conftest.$ac_ext
21099 LIBS=$ac_check_lib_save_LIBS
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
21102 $as_echo "$ac_cv_lib_c_setuid" >&6; }
21103 if test "x$ac_cv_lib_c_setuid" = xyes; then :
21105 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21109 $as_echo "#undef HAVE_SETUID" >>confdefs.h
21114 if test "x$ac_cv_lib_c_setuid" = xyes; then
21116 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21118 elif test "x$ac_cv_func_setuid" = xyes; then
21120 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21124 $as_echo "#undef HAVE_SETUID" >>confdefs.h
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
21131 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
21132 if test x$gcc_no_link != xyes; then
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
21134 $as_echo_n "checking for stat in -lc... " >&6; }
21135 if ${ac_cv_lib_c_stat+:} false; then :
21136 $as_echo_n "(cached) " >&6
21138 ac_check_lib_save_LIBS=$LIBS
21140 if test x$gcc_no_link = xyes; then
21141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21144 /* end confdefs.h. */
21146 /* Override any GCC internal prototype to avoid an error.
21147 Use char because int might match the return type of a GCC
21148 builtin and then its argument prototype would still apply. */
21161 if ac_fn_c_try_link "$LINENO"; then :
21162 ac_cv_lib_c_stat=yes
21164 ac_cv_lib_c_stat=no
21166 rm -f core conftest.err conftest.$ac_objext \
21167 conftest$ac_exeext conftest.$ac_ext
21168 LIBS=$ac_check_lib_save_LIBS
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
21171 $as_echo "$ac_cv_lib_c_stat" >&6; }
21172 if test "x$ac_cv_lib_c_stat" = xyes; then :
21174 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21178 $as_echo "#undef HAVE_STAT" >>confdefs.h
21183 if test "x$ac_cv_lib_c_stat" = xyes; then
21185 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21187 elif test "x$ac_cv_func_stat" = xyes; then
21189 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21193 $as_echo "#undef HAVE_STAT" >>confdefs.h
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
21200 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
21201 if test x$gcc_no_link != xyes; then
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
21203 $as_echo_n "checking for strsignal in -lc... " >&6; }
21204 if ${ac_cv_lib_c_strsignal+:} false; then :
21205 $as_echo_n "(cached) " >&6
21207 ac_check_lib_save_LIBS=$LIBS
21209 if test x$gcc_no_link = xyes; then
21210 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21215 /* Override any GCC internal prototype to avoid an error.
21216 Use char because int might match the return type of a GCC
21217 builtin and then its argument prototype would still apply. */
21225 return strsignal ();
21230 if ac_fn_c_try_link "$LINENO"; then :
21231 ac_cv_lib_c_strsignal=yes
21233 ac_cv_lib_c_strsignal=no
21235 rm -f core conftest.err conftest.$ac_objext \
21236 conftest$ac_exeext conftest.$ac_ext
21237 LIBS=$ac_check_lib_save_LIBS
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
21240 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
21241 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
21243 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21247 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
21252 if test "x$ac_cv_lib_c_strsignal" = xyes; then
21254 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21256 elif test "x$ac_cv_func_strsignal" = xyes; then
21258 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21262 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
21269 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
21270 if test x$gcc_no_link != xyes; then
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
21272 $as_echo_n "checking for strtod in -lc... " >&6; }
21273 if ${ac_cv_lib_c_strtod+:} false; then :
21274 $as_echo_n "(cached) " >&6
21276 ac_check_lib_save_LIBS=$LIBS
21278 if test x$gcc_no_link = xyes; then
21279 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21284 /* Override any GCC internal prototype to avoid an error.
21285 Use char because int might match the return type of a GCC
21286 builtin and then its argument prototype would still apply. */
21299 if ac_fn_c_try_link "$LINENO"; then :
21300 ac_cv_lib_c_strtod=yes
21302 ac_cv_lib_c_strtod=no
21304 rm -f core conftest.err conftest.$ac_objext \
21305 conftest$ac_exeext conftest.$ac_ext
21306 LIBS=$ac_check_lib_save_LIBS
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
21309 $as_echo "$ac_cv_lib_c_strtod" >&6; }
21310 if test "x$ac_cv_lib_c_strtod" = xyes; then :
21312 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21316 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
21321 if test "x$ac_cv_lib_c_strtod" = xyes; then
21323 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21325 elif test "x$ac_cv_func_strtod" = xyes; then
21327 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21331 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
21338 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
21339 if test x$gcc_no_link != xyes; then
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
21341 $as_echo_n "checking for strtold in -lc... " >&6; }
21342 if ${ac_cv_lib_c_strtold+:} false; then :
21343 $as_echo_n "(cached) " >&6
21345 ac_check_lib_save_LIBS=$LIBS
21347 if test x$gcc_no_link = xyes; then
21348 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21351 /* end confdefs.h. */
21353 /* Override any GCC internal prototype to avoid an error.
21354 Use char because int might match the return type of a GCC
21355 builtin and then its argument prototype would still apply. */
21368 if ac_fn_c_try_link "$LINENO"; then :
21369 ac_cv_lib_c_strtold=yes
21371 ac_cv_lib_c_strtold=no
21373 rm -f core conftest.err conftest.$ac_objext \
21374 conftest$ac_exeext conftest.$ac_ext
21375 LIBS=$ac_check_lib_save_LIBS
21377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
21378 $as_echo "$ac_cv_lib_c_strtold" >&6; }
21379 if test "x$ac_cv_lib_c_strtold" = xyes; then :
21381 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21385 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
21390 if test "x$ac_cv_lib_c_strtold" = xyes; then
21392 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21394 elif test "x$ac_cv_func_strtold" = xyes; then
21396 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21400 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
21407 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
21408 if test x$gcc_no_link != xyes; then
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
21410 $as_echo_n "checking for times in -lc... " >&6; }
21411 if ${ac_cv_lib_c_times+:} false; then :
21412 $as_echo_n "(cached) " >&6
21414 ac_check_lib_save_LIBS=$LIBS
21416 if test x$gcc_no_link = xyes; then
21417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21420 /* end confdefs.h. */
21422 /* Override any GCC internal prototype to avoid an error.
21423 Use char because int might match the return type of a GCC
21424 builtin and then its argument prototype would still apply. */
21437 if ac_fn_c_try_link "$LINENO"; then :
21438 ac_cv_lib_c_times=yes
21440 ac_cv_lib_c_times=no
21442 rm -f core conftest.err conftest.$ac_objext \
21443 conftest$ac_exeext conftest.$ac_ext
21444 LIBS=$ac_check_lib_save_LIBS
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
21447 $as_echo "$ac_cv_lib_c_times" >&6; }
21448 if test "x$ac_cv_lib_c_times" = xyes; then :
21450 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21454 $as_echo "#undef HAVE_TIMES" >>confdefs.h
21459 if test "x$ac_cv_lib_c_times" = xyes; then
21461 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21463 elif test "x$ac_cv_func_times" = xyes; then
21465 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21469 $as_echo "#undef HAVE_TIMES" >>confdefs.h
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for timezone" >&5
21476 $as_echo_n "checking m2 front end checking c library for timezone... " >&6; }
21477 if test x$gcc_no_link != xyes; then
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone in -lc" >&5
21479 $as_echo_n "checking for timezone in -lc... " >&6; }
21480 if ${ac_cv_lib_c_timezone+:} false; then :
21481 $as_echo_n "(cached) " >&6
21483 ac_check_lib_save_LIBS=$LIBS
21485 if test x$gcc_no_link = xyes; then
21486 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21489 /* end confdefs.h. */
21491 /* Override any GCC internal prototype to avoid an error.
21492 Use char because int might match the return type of a GCC
21493 builtin and then its argument prototype would still apply. */
21501 return timezone ();
21506 if ac_fn_c_try_link "$LINENO"; then :
21507 ac_cv_lib_c_timezone=yes
21509 ac_cv_lib_c_timezone=no
21511 rm -f core conftest.err conftest.$ac_objext \
21512 conftest$ac_exeext conftest.$ac_ext
21513 LIBS=$ac_check_lib_save_LIBS
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_timezone" >&5
21516 $as_echo "$ac_cv_lib_c_timezone" >&6; }
21517 if test "x$ac_cv_lib_c_timezone" = xyes; then :
21519 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21523 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
21528 if test "x$ac_cv_lib_c_timezone" = xyes; then
21530 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21532 elif test "x$ac_cv_func_timezone" = xyes; then
21534 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21538 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for tzname" >&5
21545 $as_echo_n "checking m2 front end checking c library for tzname... " >&6; }
21546 if test x$gcc_no_link != xyes; then
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname in -lc" >&5
21548 $as_echo_n "checking for tzname in -lc... " >&6; }
21549 if ${ac_cv_lib_c_tzname+:} false; then :
21550 $as_echo_n "(cached) " >&6
21552 ac_check_lib_save_LIBS=$LIBS
21554 if test x$gcc_no_link = xyes; then
21555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21558 /* end confdefs.h. */
21560 /* Override any GCC internal prototype to avoid an error.
21561 Use char because int might match the return type of a GCC
21562 builtin and then its argument prototype would still apply. */
21575 if ac_fn_c_try_link "$LINENO"; then :
21576 ac_cv_lib_c_tzname=yes
21578 ac_cv_lib_c_tzname=no
21580 rm -f core conftest.err conftest.$ac_objext \
21581 conftest$ac_exeext conftest.$ac_ext
21582 LIBS=$ac_check_lib_save_LIBS
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_tzname" >&5
21585 $as_echo "$ac_cv_lib_c_tzname" >&6; }
21586 if test "x$ac_cv_lib_c_tzname" = xyes; then :
21588 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21592 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
21597 if test "x$ac_cv_lib_c_tzname" = xyes; then
21599 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21601 elif test "x$ac_cv_func_tzname" = xyes; then
21603 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21607 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
21614 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
21615 if test x$gcc_no_link != xyes; then
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
21617 $as_echo_n "checking for unlink in -lc... " >&6; }
21618 if ${ac_cv_lib_c_unlink+:} false; then :
21619 $as_echo_n "(cached) " >&6
21621 ac_check_lib_save_LIBS=$LIBS
21623 if test x$gcc_no_link = xyes; then
21624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21627 /* end confdefs.h. */
21629 /* Override any GCC internal prototype to avoid an error.
21630 Use char because int might match the return type of a GCC
21631 builtin and then its argument prototype would still apply. */
21644 if ac_fn_c_try_link "$LINENO"; then :
21645 ac_cv_lib_c_unlink=yes
21647 ac_cv_lib_c_unlink=no
21649 rm -f core conftest.err conftest.$ac_objext \
21650 conftest$ac_exeext conftest.$ac_ext
21651 LIBS=$ac_check_lib_save_LIBS
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
21654 $as_echo "$ac_cv_lib_c_unlink" >&6; }
21655 if test "x$ac_cv_lib_c_unlink" = xyes; then :
21657 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21661 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
21666 if test "x$ac_cv_lib_c_unlink" = xyes; then
21668 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21670 elif test "x$ac_cv_func_unlink" = xyes; then
21672 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21676 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
21683 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
21684 if test x$gcc_no_link != xyes; then
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
21686 $as_echo_n "checking for wait in -lc... " >&6; }
21687 if ${ac_cv_lib_c_wait+:} false; then :
21688 $as_echo_n "(cached) " >&6
21690 ac_check_lib_save_LIBS=$LIBS
21692 if test x$gcc_no_link = xyes; then
21693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21696 /* end confdefs.h. */
21698 /* Override any GCC internal prototype to avoid an error.
21699 Use char because int might match the return type of a GCC
21700 builtin and then its argument prototype would still apply. */
21713 if ac_fn_c_try_link "$LINENO"; then :
21714 ac_cv_lib_c_wait=yes
21716 ac_cv_lib_c_wait=no
21718 rm -f core conftest.err conftest.$ac_objext \
21719 conftest$ac_exeext conftest.$ac_ext
21720 LIBS=$ac_check_lib_save_LIBS
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
21723 $as_echo "$ac_cv_lib_c_wait" >&6; }
21724 if test "x$ac_cv_lib_c_wait" = xyes; then :
21726 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21730 $as_echo "#undef HAVE_WAIT" >>confdefs.h
21735 if test "x$ac_cv_lib_c_wait" = xyes; then
21737 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21739 elif test "x$ac_cv_func_wait" = xyes; then
21741 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21745 $as_echo "#undef HAVE_WAIT" >>confdefs.h
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
21752 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
21753 if test x$gcc_no_link != xyes; then
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
21755 $as_echo_n "checking for write in -lc... " >&6; }
21756 if ${ac_cv_lib_c_write+:} false; then :
21757 $as_echo_n "(cached) " >&6
21759 ac_check_lib_save_LIBS=$LIBS
21761 if test x$gcc_no_link = xyes; then
21762 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21767 /* Override any GCC internal prototype to avoid an error.
21768 Use char because int might match the return type of a GCC
21769 builtin and then its argument prototype would still apply. */
21782 if ac_fn_c_try_link "$LINENO"; then :
21783 ac_cv_lib_c_write=yes
21785 ac_cv_lib_c_write=no
21787 rm -f core conftest.err conftest.$ac_objext \
21788 conftest$ac_exeext conftest.$ac_ext
21789 LIBS=$ac_check_lib_save_LIBS
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
21792 $as_echo "$ac_cv_lib_c_write" >&6; }
21793 if test "x$ac_cv_lib_c_write" = xyes; then :
21795 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21799 $as_echo "#undef HAVE_WRITE" >>confdefs.h
21804 if test "x$ac_cv_lib_c_write" = xyes; then
21806 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21808 elif test "x$ac_cv_func_write" = xyes; then
21810 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21814 $as_echo "#undef HAVE_WRITE" >>confdefs.h
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for exp10" >&5
21822 $as_echo_n "checking m2 front end checking m library for exp10... " >&6; }
21823 if test x$gcc_no_link != xyes; then
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10 in -lm" >&5
21825 $as_echo_n "checking for exp10 in -lm... " >&6; }
21826 if ${ac_cv_lib_m_exp10+:} false; then :
21827 $as_echo_n "(cached) " >&6
21829 ac_check_lib_save_LIBS=$LIBS
21831 if test x$gcc_no_link = xyes; then
21832 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21835 /* end confdefs.h. */
21837 /* Override any GCC internal prototype to avoid an error.
21838 Use char because int might match the return type of a GCC
21839 builtin and then its argument prototype would still apply. */
21852 if ac_fn_c_try_link "$LINENO"; then :
21853 ac_cv_lib_m_exp10=yes
21855 ac_cv_lib_m_exp10=no
21857 rm -f core conftest.err conftest.$ac_objext \
21858 conftest$ac_exeext conftest.$ac_ext
21859 LIBS=$ac_check_lib_save_LIBS
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10" >&5
21862 $as_echo "$ac_cv_lib_m_exp10" >&6; }
21863 if test "x$ac_cv_lib_m_exp10" = xyes; then :
21865 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
21869 $as_echo "#undef HAVE_EXP10" >>confdefs.h
21874 if test "x$ac_cv_lib_m_exp10" = xyes; then
21876 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
21878 elif test "x$ac_cv_func_exp10" = xyes; then
21880 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
21884 $as_echo "#undef HAVE_EXP10" >>confdefs.h
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for exp10f" >&5
21891 $as_echo_n "checking m2 front end checking m library for exp10f... " >&6; }
21892 if test x$gcc_no_link != xyes; then
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10f in -lm" >&5
21894 $as_echo_n "checking for exp10f in -lm... " >&6; }
21895 if ${ac_cv_lib_m_exp10f+:} false; then :
21896 $as_echo_n "(cached) " >&6
21898 ac_check_lib_save_LIBS=$LIBS
21900 if test x$gcc_no_link = xyes; then
21901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21904 /* end confdefs.h. */
21906 /* Override any GCC internal prototype to avoid an error.
21907 Use char because int might match the return type of a GCC
21908 builtin and then its argument prototype would still apply. */
21921 if ac_fn_c_try_link "$LINENO"; then :
21922 ac_cv_lib_m_exp10f=yes
21924 ac_cv_lib_m_exp10f=no
21926 rm -f core conftest.err conftest.$ac_objext \
21927 conftest$ac_exeext conftest.$ac_ext
21928 LIBS=$ac_check_lib_save_LIBS
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10f" >&5
21931 $as_echo "$ac_cv_lib_m_exp10f" >&6; }
21932 if test "x$ac_cv_lib_m_exp10f" = xyes; then :
21934 $as_echo "#define HAVE_EXP10F 1" >>confdefs.h
21938 $as_echo "#undef HAVE_EXP10F" >>confdefs.h
21943 if test "x$ac_cv_lib_m_exp10f" = xyes; then
21945 $as_echo "#define HAVE_EXP10F 1" >>confdefs.h
21947 elif test "x$ac_cv_func_exp10f" = xyes; then
21949 $as_echo "#define HAVE_EXP10F 1" >>confdefs.h
21953 $as_echo "#undef HAVE_EXP10F" >>confdefs.h
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for exp10l" >&5
21960 $as_echo_n "checking m2 front end checking m library for exp10l... " >&6; }
21961 if test x$gcc_no_link != xyes; then
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10l in -lm" >&5
21963 $as_echo_n "checking for exp10l in -lm... " >&6; }
21964 if ${ac_cv_lib_m_exp10l+:} false; then :
21965 $as_echo_n "(cached) " >&6
21967 ac_check_lib_save_LIBS=$LIBS
21969 if test x$gcc_no_link = xyes; then
21970 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21973 /* end confdefs.h. */
21975 /* Override any GCC internal prototype to avoid an error.
21976 Use char because int might match the return type of a GCC
21977 builtin and then its argument prototype would still apply. */
21990 if ac_fn_c_try_link "$LINENO"; then :
21991 ac_cv_lib_m_exp10l=yes
21993 ac_cv_lib_m_exp10l=no
21995 rm -f core conftest.err conftest.$ac_objext \
21996 conftest$ac_exeext conftest.$ac_ext
21997 LIBS=$ac_check_lib_save_LIBS
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10l" >&5
22000 $as_echo "$ac_cv_lib_m_exp10l" >&6; }
22001 if test "x$ac_cv_lib_m_exp10l" = xyes; then :
22003 $as_echo "#define HAVE_EXP10L 1" >>confdefs.h
22007 $as_echo "#undef HAVE_EXP10L" >>confdefs.h
22012 if test "x$ac_cv_lib_m_exp10l" = xyes; then
22014 $as_echo "#define HAVE_EXP10L 1" >>confdefs.h
22016 elif test "x$ac_cv_func_exp10l" = xyes; then
22018 $as_echo "#define HAVE_EXP10L 1" >>confdefs.h
22022 $as_echo "#undef HAVE_EXP10L" >>confdefs.h
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
22029 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
22030 if test x$gcc_no_link != xyes; then
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
22032 $as_echo_n "checking for signbit in -lm... " >&6; }
22033 if ${ac_cv_lib_m_signbit+:} false; then :
22034 $as_echo_n "(cached) " >&6
22036 ac_check_lib_save_LIBS=$LIBS
22038 if test x$gcc_no_link = xyes; then
22039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22042 /* end confdefs.h. */
22044 /* Override any GCC internal prototype to avoid an error.
22045 Use char because int might match the return type of a GCC
22046 builtin and then its argument prototype would still apply. */
22059 if ac_fn_c_try_link "$LINENO"; then :
22060 ac_cv_lib_m_signbit=yes
22062 ac_cv_lib_m_signbit=no
22064 rm -f core conftest.err conftest.$ac_objext \
22065 conftest$ac_exeext conftest.$ac_ext
22066 LIBS=$ac_check_lib_save_LIBS
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
22069 $as_echo "$ac_cv_lib_m_signbit" >&6; }
22070 if test "x$ac_cv_lib_m_signbit" = xyes; then :
22072 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
22076 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
22081 if test "x$ac_cv_lib_m_signbit" = xyes; then
22083 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
22085 elif test "x$ac_cv_func_signbit" = xyes; then
22087 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
22091 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
22097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
22098 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
22099 if test x$gcc_no_link != xyes; then
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
22101 $as_echo_n "checking for signbitf in -lm... " >&6; }
22102 if ${ac_cv_lib_m_signbitf+:} false; then :
22103 $as_echo_n "(cached) " >&6
22105 ac_check_lib_save_LIBS=$LIBS
22107 if test x$gcc_no_link = xyes; then
22108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22111 /* end confdefs.h. */
22113 /* Override any GCC internal prototype to avoid an error.
22114 Use char because int might match the return type of a GCC
22115 builtin and then its argument prototype would still apply. */
22123 return signbitf ();
22128 if ac_fn_c_try_link "$LINENO"; then :
22129 ac_cv_lib_m_signbitf=yes
22131 ac_cv_lib_m_signbitf=no
22133 rm -f core conftest.err conftest.$ac_objext \
22134 conftest$ac_exeext conftest.$ac_ext
22135 LIBS=$ac_check_lib_save_LIBS
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
22138 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
22139 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
22141 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
22145 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
22150 if test "x$ac_cv_lib_m_signbitf" = xyes; then
22152 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
22154 elif test "x$ac_cv_func_signbitf" = xyes; then
22156 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
22160 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
22167 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
22168 if test x$gcc_no_link != xyes; then
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
22170 $as_echo_n "checking for signbitl in -lm... " >&6; }
22171 if ${ac_cv_lib_m_signbitl+:} false; then :
22172 $as_echo_n "(cached) " >&6
22174 ac_check_lib_save_LIBS=$LIBS
22176 if test x$gcc_no_link = xyes; then
22177 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22180 /* end confdefs.h. */
22182 /* Override any GCC internal prototype to avoid an error.
22183 Use char because int might match the return type of a GCC
22184 builtin and then its argument prototype would still apply. */
22192 return signbitl ();
22197 if ac_fn_c_try_link "$LINENO"; then :
22198 ac_cv_lib_m_signbitl=yes
22200 ac_cv_lib_m_signbitl=no
22202 rm -f core conftest.err conftest.$ac_objext \
22203 conftest$ac_exeext conftest.$ac_ext
22204 LIBS=$ac_check_lib_save_LIBS
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
22207 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
22208 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
22210 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
22214 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
22219 if test "x$ac_cv_lib_m_signbitl" = xyes; then
22221 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
22223 elif test "x$ac_cv_func_signbitl" = xyes; then
22225 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
22229 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
22235 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
22236 if test "x$ac_cv_have_decl_getenv" = xyes; then :
22242 cat >>confdefs.h <<_ACEOF
22243 #define HAVE_DECL_GETENV $ac_have_decl
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
22248 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
22250 # We test the host here and later on check the target.
22252 # All known M2_HOST_OS values. This is the union of all host operating systems
22253 # supported by gm2.
22255 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows darwin"
22260 *-*-darwin*) M2_HOST_OS=darwin ;;
22261 *-*-freebsd*) M2_HOST_OS=freebsd ;;
22262 *-*-linux*) M2_HOST_OS=linux ;;
22263 *-*-netbsd*) M2_HOST_OS=netbsd ;;
22264 *-*-openbsd*) M2_HOST_OS=openbsd ;;
22265 *-*-solaris2*) M2_HOST_OS=solaris ;;
22266 *-*-aix*) M2_HOST_OS=aix ;;
22267 *-*-gnu*) M2_HOST_OS=hurd ;;
22270 M2_TARGET_OS=unknown
22273 *-*-darwin*) M2_TARGET_OS=darwin ;;
22274 *-*-freebsd*) M2_TARGET_OS=freebsd ;;
22275 *-*-linux*) M2_TARGET_OS=linux ;;
22276 *-*-netbsd*) M2_TARGET_OS=netbsd ;;
22277 *-*-openbsd*) M2_TARGET_OS=openbsd ;;
22278 *-*-solaris2*) M2_TARGET_OS=solaris ;;
22279 *-*-aix*) M2_TARGET_OS=aix ;;
22280 *-*-gnu*) M2_TARGET_OS=hurd ;;
22283 # M2_HOST_OS=unknown
22284 if test x${M2_HOST_OS} = xunknown; then
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
22286 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
22293 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
22300 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
22303 # Propagate GM2_FOR_TARGET into Makefiles
22304 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
22307 # Now we check the target as long as it is a supported host.
22308 # For some embedded targets we choose minimal runtime system which is
22309 # just enough to satisfy the linker targetting raw metal.
22310 if test x${M2_HOST_OS} != xunknown; then
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
22312 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
22315 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
22322 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
22345 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
22346 # in the second parameter is printed as a "yes" or "no".
22350 if test x${M2_HOST_OS} = xunknown; then
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
22352 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
22356 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
22357 if test x${BUILD_PIMLIB} = xtrue; then
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22359 $as_echo "yes" >&6; }
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22362 $as_echo "no" >&6; }
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
22367 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
22368 if test x${BUILD_ISOLIB} = xtrue; then
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22370 $as_echo "yes" >&6; }
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22373 $as_echo "no" >&6; }
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
22378 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
22379 if test x${BUILD_CORLIB} = xtrue; then
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22381 $as_echo "yes" >&6; }
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22384 $as_echo "no" >&6; }
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
22389 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
22390 if test x${BUILD_LOGLIB} = xtrue; then
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22392 $as_echo "yes" >&6; }
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22395 $as_echo "no" >&6; }
22400 if test x$BUILD_PIMLIB = xtrue; then
22402 BUILD_PIMLIB_FALSE='#'
22404 BUILD_PIMLIB_TRUE='#'
22405 BUILD_PIMLIB_FALSE=
22408 if test x$BUILD_ISOLIB = xtrue; then
22410 BUILD_ISOLIB_FALSE='#'
22412 BUILD_ISOLIB_TRUE='#'
22413 BUILD_ISOLIB_FALSE=
22416 if test x$BUILD_CORLIB = xtrue; then
22418 BUILD_CORLIB_FALSE='#'
22420 BUILD_CORLIB_TRUE='#'
22421 BUILD_CORLIB_FALSE=
22424 if test x$BUILD_LOGLIB = xtrue; then
22426 BUILD_LOGLIB_FALSE='#'
22428 BUILD_LOGLIB_TRUE='#'
22429 BUILD_LOGLIB_FALSE=
22432 if test x$M2_TARGET_OS = xdarwin; then
22433 TARGET_DARWIN_TRUE=
22434 TARGET_DARWIN_FALSE='#'
22436 TARGET_DARWIN_TRUE='#'
22437 TARGET_DARWIN_FALSE=
22441 # Determine what GCC version number to use in filesystem paths.
22443 get_gcc_base_ver="cat"
22445 # Check whether --with-gcc-major-version-only was given.
22446 if test "${with_gcc_major_version_only+set}" = set; then :
22447 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
22448 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
22457 ac_config_files="$ac_config_files Makefile"
22460 ac_config_files="$ac_config_files libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
22464 $as_echo "$as_me: libgm2 has been configured." >&6;}
22466 cat >confcache <<\_ACEOF
22467 # This file is a shell script that caches the results of configure
22468 # tests run on this system so they can be shared between configure
22469 # scripts and configure runs, see configure's option --config-cache.
22470 # It is not useful on other systems. If it contains results you don't
22471 # want to keep, you may remove or edit it.
22473 # config.status only pays attention to the cache file if you give it
22474 # the --recheck option to rerun configure.
22476 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22477 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22478 # following values.
22482 # The following way of writing the cache mishandles newlines in values,
22483 # but we know of no workaround that is simple, portable, and efficient.
22484 # So, we kill variables containing newlines.
22485 # Ultrix sh set writes to stderr and can't be redirected directly,
22486 # and sets the high bit in the cache file unless we assign to the vars.
22488 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22489 eval ac_val
=\$
$ac_var
22493 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22494 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22497 _ | IFS | as_nl
) ;; #(
22498 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22499 *) { eval $ac_var=; unset $ac_var;} ;;
22505 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22506 *${as_nl}ac_space
=\
*)
22507 # `set' does not quote correctly, so add quotes: double-quote
22508 # substitution turns \\\\ into \\, and sed turns \\ into \.
22511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22514 # `set' quotes correctly as required by POSIX, so do not add quotes.
22515 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22524 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22526 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22528 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22529 if test -w "$cache_file"; then
22530 if test "x$cache_file" != "x/dev/null"; then
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22532 $as_echo "$as_me: updating cache $cache_file" >&6;}
22533 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22534 cat confcache
>"$cache_file"
22536 case $cache_file in #(
22538 mv -f confcache
"$cache_file"$$
&&
22539 mv -f "$cache_file"$$
"$cache_file" ;; #(
22541 mv -f confcache
"$cache_file" ;;
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22547 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22552 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22553 # Let make expand exec_prefix.
22554 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22556 DEFS
=-DHAVE_CONFIG_H
22561 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22562 # 1. Remove the extension, and $U if already installed.
22563 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22564 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22565 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22566 # will be set to the directory where LIBOBJS objects are built.
22567 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22568 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22570 LIBOBJS
=$ac_libobjs
22572 LTLIBOBJS
=$ac_ltlibobjs
22575 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22576 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22580 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22581 if test -n "$am_sleep_pid"; then
22582 # Hide warnings about reused PIDs.
22583 wait $am_sleep_pid 2>/dev
/null
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22586 $as_echo "done" >&6; }
22587 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22588 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22591 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22592 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22595 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22596 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22599 if test -n "$EXEEXT"; then
22601 am__EXEEXT_FALSE
='#'
22603 am__EXEEXT_TRUE
='#'
22607 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22608 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22611 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
22612 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
22613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22615 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
22616 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
22617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22619 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
22620 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
22621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22623 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
22624 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
22625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22627 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
22628 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
22629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22631 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
22632 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
22633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22635 if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
22636 as_fn_error $?
"conditional \"TARGET_DARWIN\" was never defined.
22637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22640 : "${CONFIG_STATUS=./config.status}"
22642 ac_clean_files_save
=$ac_clean_files
22643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22645 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22647 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22649 # Generated by $as_me.
22650 # Run this file to recreate the current configuration.
22651 # Compiler output produced by configure, useful for debugging
22652 # configure, is in config.log if it exists.
22655 ac_cs_recheck=false
22658 SHELL=\${CONFIG_SHELL-$SHELL}
22661 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22662 ## -------------------- ##
22663 ## M4sh Initialization. ##
22664 ## -------------------- ##
22666 # Be more Bourne compatible
22667 DUALCASE
=1; export DUALCASE
# for MKS sh
22668 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22671 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22672 # is contrary to our usage. Disable this feature.
22673 alias -g '${1+"$@"}'='"$@"'
22674 setopt NO_GLOB_SUBST
22676 case `(set -o) 2>/dev/null` in #(
22688 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22689 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22692 # Prefer a ksh shell builtin over an external printf program on Solaris,
22693 # but without wasting forks for bash or zsh.
22694 if test -z "$BASH_VERSION$ZSH_VERSION" \
22695 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22696 as_echo='print
-r --'
22697 as_echo_n='print
-rn --'
22698 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22699 as_echo='printf %s
\n'
22700 as_echo_n='printf %s
'
22702 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22703 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22704 as_echo_n='/usr
/ucb
/echo -n'
22706 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22707 as_echo_n_body='eval
22711 expr "X$arg" : "X\\(.*\\)$as_nl";
22712 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22714 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22716 export as_echo_n_body
22717 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22719 export as_echo_body
22720 as_echo='sh
-c $as_echo_body as_echo
'
22723 # The user is always right.
22724 if test "${PATH_SEPARATOR+set}" != set; then
22726 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22727 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22734 # We need space, tab and new line, in precisely that order. Quoting is
22735 # there to prevent editors from complaining about space-tab.
22736 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22737 # splitting by setting IFS to empty value.)
22740 # Find who we are. Look in the path if we contain no directory separator.
22743 *[\\/]* ) as_myself=$0 ;;
22744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22745 for as_dir in $PATH
22748 test -z "$as_dir" && as_dir=.
22749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22755 # We did not find ourselves, most probably we were run as `sh COMMAND'
22756 # in which case we are not to be found in the path.
22757 if test "x$as_myself" = x
; then
22760 if test ! -f "$as_myself"; then
22761 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22765 # Unset variables that we do not need and which cause bugs (e.g. in
22766 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22767 # suppresses any "Segmentation fault" message there. '((' could
22768 # trigger a bug in pdksh 5.2.14.
22769 for as_var
in BASH_ENV ENV MAIL MAILPATH
22770 do eval test x\
${$as_var+set} = xset \
22771 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22784 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22787 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22788 # ----------------------------------------
22789 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22790 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22791 # script with STATUS, using 1 if that was 0.
22794 as_status
=$1; test $as_status -eq 0 && as_status
=1
22796 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22797 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22799 $as_echo "$as_me: error: $2" >&2
22800 as_fn_exit
$as_status
22804 # as_fn_set_status STATUS
22805 # -----------------------
22806 # Set $? to STATUS, without forking.
22807 as_fn_set_status
()
22810 } # as_fn_set_status
22812 # as_fn_exit STATUS
22813 # -----------------
22814 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22818 as_fn_set_status
$1
22824 # Portably unset VAR.
22827 { eval $1=; unset $1;}
22829 as_unset
=as_fn_unset
22830 # as_fn_append VAR VALUE
22831 # ----------------------
22832 # Append the text in VALUE to the end of the definition contained in VAR. Take
22833 # advantage of any shell optimizations that allow amortized linear growth over
22834 # repeated appends, instead of the typical quadratic growth present in naive
22836 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22837 eval 'as_fn_append ()
22848 # as_fn_arith ARG...
22849 # ------------------
22850 # Perform arithmetic evaluation on the ARGs, and store the result in the
22851 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22852 # must be portable across $(()) and expr.
22853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22854 eval 'as_fn_arith ()
22861 as_val
=`expr "$@" || test $? -eq 1`
22866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22873 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22874 as_basename
=basename
22879 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22885 as_me
=`$as_basename -- "$0" ||
22886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22887 X"$0" : 'X\(//\)$' \| \
22888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22890 sed '/^.*\/\([^/][^/]*\)\/*$/{
22904 # Avoid depending upon Character Ranges.
22905 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22906 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22907 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22908 as_cr_digits
='0123456789'
22909 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22911 ECHO_C
= ECHO_N
= ECHO_T
=
22912 case `echo -n x` in #(((((
22914 case `echo 'xy\c'` in
22915 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22917 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22924 rm -f conf$$ conf$$.exe conf$$.
file
22925 if test -d conf$$.dir
; then
22926 rm -f conf$$.dir
/conf$$.
file
22929 mkdir conf$$.dir
2>/dev
/null
22931 if (echo >conf$$.
file) 2>/dev
/null
; then
22932 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22934 # ... but there are two gotchas:
22935 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22936 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22937 # In both cases, we have to default to `cp -pR'.
22938 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22940 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22948 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22949 rmdir conf$$.dir
2>/dev
/null
22954 # Create "$as_dir" as a directory, including parents if necessary.
22959 -*) as_dir
=.
/$as_dir;;
22961 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22965 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22966 *) as_qdir
=$as_dir;;
22968 as_dirs
="'$as_qdir' $as_dirs"
22969 as_dir
=`$as_dirname -- "$as_dir" ||
22970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22971 X"$as_dir" : 'X\(//\)[^/]' \| \
22972 X"$as_dir" : 'X\(//\)$' \| \
22973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22974 $as_echo X"$as_dir" |
22975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22979 /^X\(\/\/\)[^/].*/{
22992 test -d "$as_dir" && break
22994 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22995 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22999 if mkdir
-p .
2>/dev
/null
; then
23000 as_mkdir_p
='mkdir -p "$as_dir"'
23002 test -d .
/-p && rmdir .
/-p
23007 # as_fn_executable_p FILE
23008 # -----------------------
23009 # Test if FILE is an executable regular file.
23010 as_fn_executable_p
()
23012 test -f "$1" && test -x "$1"
23013 } # as_fn_executable_p
23014 as_test_x
='test -x'
23015 as_executable_p
=as_fn_executable_p
23017 # Sed expression to map a string onto a valid CPP name.
23018 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23020 # Sed expression to map a string onto a valid variable name.
23021 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23025 ## ----------------------------------- ##
23026 ## Main body of $CONFIG_STATUS script. ##
23027 ## ----------------------------------- ##
23029 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23032 # Save the log message, to keep $0 and so on meaningful, and to
23033 # report actual input values of CONFIG_FILES etc. instead of their
23034 # values after options handling.
23036 This file was extended by package-unused $as_me version-unused, which was
23037 generated by GNU Autoconf 2.69. Invocation command line was
23039 CONFIG_FILES = $CONFIG_FILES
23040 CONFIG_HEADERS = $CONFIG_HEADERS
23041 CONFIG_LINKS = $CONFIG_LINKS
23042 CONFIG_COMMANDS = $CONFIG_COMMANDS
23045 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23050 case $ac_config_files in *"
23051 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
23054 case $ac_config_headers in *"
23055 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23060 # Files that config.status was made for.
23061 config_files="$ac_config_files"
23062 config_headers="$ac_config_headers"
23063 config_commands="$ac_config_commands"
23067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23069 \`$as_me' instantiates files and other configuration actions
23070 from templates according to the current configuration. Unless the files
23071 and actions are specified as TAGs, all are instantiated by default.
23073 Usage: $0 [OPTION]... [TAG]...
23075 -h, --help print this help, then exit
23076 -V, --version print version number and configuration settings, then exit
23077 --config print configuration, then exit
23078 -q, --quiet, --silent
23079 do not print progress messages
23080 -d, --debug don't remove temporary files
23081 --recheck update $as_me by reconfiguring in the same conditions
23082 --file=FILE[:TEMPLATE]
23083 instantiate the configuration file FILE
23084 --header=FILE[:TEMPLATE]
23085 instantiate the configuration header FILE
23087 Configuration files:
23090 Configuration headers:
23093 Configuration commands:
23096 Report bugs to the package provider."
23099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23100 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23102 package-unused config.status version-unused
23103 configured by $0, generated by GNU Autoconf 2.69,
23104 with options \\"\$ac_cs_config\\"
23106 Copyright (C) 2012 Free Software Foundation, Inc.
23107 This config.status script is free software; the Free Software Foundation
23108 gives unlimited permission to copy, distribute and modify it."
23115 test -n "\$AWK" || AWK=awk
23118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23119 # The default lists apply if the user does not specify any file.
23125 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23126 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23130 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23142 # Handling of the options.
23143 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23145 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23146 $as_echo "$ac_cs_version"; exit ;;
23147 --config |
--confi |
--conf |
--con |
--co |
--c )
23148 $as_echo "$ac_cs_config"; exit ;;
23149 --debug |
--debu |
--deb |
--de |
--d |
-d )
23151 --file |
--fil |
--fi |
--f )
23154 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23155 '') as_fn_error $?
"missing file argument" ;;
23157 as_fn_append CONFIG_FILES
" '$ac_optarg'"
23158 ac_need_defaults
=false
;;
23159 --header |
--heade |
--head |
--hea )
23162 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23164 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23165 ac_need_defaults
=false
;;
23167 # Conflict between --help and --header
23168 as_fn_error $?
"ambiguous option: \`$1'
23169 Try \`$0 --help' for more information.";;
23170 --help |
--hel |
-h )
23171 $as_echo "$ac_cs_usage"; exit ;;
23172 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23173 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23176 # This is an error.
23177 -*) as_fn_error $?
"unrecognized option: \`$1'
23178 Try \`$0 --help' for more information." ;;
23180 *) as_fn_append ac_config_targets
" $1"
23181 ac_need_defaults
=false
;;
23187 ac_configure_extra_args
=
23189 if $ac_cs_silent; then
23191 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23196 if \$ac_cs_recheck; then
23197 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23199 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23200 CONFIG_SHELL='$SHELL'
23201 export CONFIG_SHELL
23206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23210 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23211 ## Running $as_me. ##
23217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23225 with_multisubdir="$with_multisubdir"
23226 with_multisrctop="$with_multisrctop"
23227 with_target_subdir="$with_target_subdir"
23228 ac_configure_args="${multilib_arg} ${ac_configure_args}"
23229 multi_basedir="$multi_basedir"
23230 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
23233 GFORTRAN="$GFORTRAN"
23235 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23238 # The HP-UX ksh and POSIX shell print the target directory to stdout
23239 # if CDPATH is set.
23240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23242 sed_quote_subst='$sed_quote_subst'
23243 double_quote_subst='$double_quote_subst'
23244 delay_variable_subst='$delay_variable_subst'
23245 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23246 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23247 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23248 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23249 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23250 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23251 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23252 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23253 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23254 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23255 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23256 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23257 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23258 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23259 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23260 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23261 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23262 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23263 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23264 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23265 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23266 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23267 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23268 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23269 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23270 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23271 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23272 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23273 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23274 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23275 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23276 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23277 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23278 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23279 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23280 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23281 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23282 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23283 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23284 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23285 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23286 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23287 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23288 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23289 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23290 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23291 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23292 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23293 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"`'
23294 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23295 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23296 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23297 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23298 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23299 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23300 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23301 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23302 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23303 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23304 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23305 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23306 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23307 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23308 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23309 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23310 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23311 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23312 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23313 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23314 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23315 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23316 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23317 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23318 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23319 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23320 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23321 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23322 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23323 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23324 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23325 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
23326 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23327 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23328 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23329 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23330 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23331 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23332 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23333 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23334 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
23335 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23336 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23337 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23338 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23339 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23340 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23341 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23342 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23343 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23344 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23345 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23346 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23347 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23348 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23349 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23350 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23351 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23352 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23353 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23354 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23355 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23356 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23357 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23358 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
23359 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23360 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23361 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23362 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23363 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23364 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23365 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23366 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23367 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23368 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23369 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23370 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23371 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23372 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23373 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23374 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23375 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23376 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23377 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23378 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23379 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23380 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23381 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23382 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23383 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23384 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23385 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23386 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23387 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23388 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23389 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23390 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23391 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23392 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23393 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23394 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23395 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23396 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23397 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
23398 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23399 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23400 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23401 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23402 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23403 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23404 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23405 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23406 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
23407 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23408 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23409 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23410 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23411 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23412 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23413 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23414 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23415 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23416 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23417 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23418 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23419 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23422 LTCFLAGS='$LTCFLAGS'
23423 compiler='$compiler_DEFAULT'
23425 # A function that is used when there is no print builtin or printf.
23426 func_fallback_echo ()
23428 eval 'cat <<_LTECHO_EOF
23433 # Quote evaled strings.
23447 deplibs_check_method \
23456 lt_cv_sys_global_symbol_pipe \
23457 lt_cv_sys_global_symbol_to_cdecl \
23458 lt_cv_sys_global_symbol_to_c_name_address \
23459 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23460 lt_prog_compiler_no_builtin_flag \
23461 lt_prog_compiler_wl \
23462 lt_prog_compiler_pic \
23463 lt_prog_compiler_static \
23464 lt_cv_prog_compiler_c_o \
23472 export_dynamic_flag_spec \
23473 whole_archive_flag_spec \
23474 compiler_needs_object \
23476 allow_undefined_flag \
23477 no_undefined_flag \
23478 hardcode_libdir_flag_spec \
23479 hardcode_libdir_flag_spec_ld \
23480 hardcode_libdir_separator \
23485 variables_saved_for_relink \
23487 library_names_spec \
23489 install_override_mode \
23493 compiler_lib_search_dirs \
23498 compiler_lib_search_path \
23502 lt_prog_compiler_no_builtin_flag_CXX \
23503 lt_prog_compiler_wl_CXX \
23504 lt_prog_compiler_pic_CXX \
23505 lt_prog_compiler_static_CXX \
23506 lt_cv_prog_compiler_c_o_CXX \
23507 export_dynamic_flag_spec_CXX \
23508 whole_archive_flag_spec_CXX \
23509 compiler_needs_object_CXX \
23511 allow_undefined_flag_CXX \
23512 no_undefined_flag_CXX \
23513 hardcode_libdir_flag_spec_CXX \
23514 hardcode_libdir_flag_spec_ld_CXX \
23515 hardcode_libdir_separator_CXX \
23516 fix_srcfile_path_CXX \
23517 exclude_expsyms_CXX \
23518 include_expsyms_CXX \
23519 file_list_spec_CXX \
23520 compiler_lib_search_dirs_CXX \
23521 predep_objects_CXX \
23522 postdep_objects_CXX \
23525 compiler_lib_search_path_CXX; do
23526 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23527 *[\\\\\\\`\\"\\\$]*)
23528 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23531 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23536 # Double-quote double-evaled strings.
23537 for var in reload_cmds \
23538 old_postinstall_cmds \
23539 old_postuninstall_cmds \
23541 extract_expsyms_cmds \
23542 old_archive_from_new_cmds \
23543 old_archive_from_expsyms_cmds \
23545 archive_expsym_cmds \
23547 module_expsym_cmds \
23548 export_symbols_cmds \
23551 postuninstall_cmds \
23553 sys_lib_search_path_spec \
23554 sys_lib_dlsearch_path_spec \
23556 old_archive_cmds_CXX \
23557 old_archive_from_new_cmds_CXX \
23558 old_archive_from_expsyms_cmds_CXX \
23560 archive_expsym_cmds_CXX \
23562 module_expsym_cmds_CXX \
23563 export_symbols_cmds_CXX \
23564 prelink_cmds_CXX; do
23565 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23566 *[\\\\\\\`\\"\\\$]*)
23567 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23570 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23575 ac_aux_dir='$ac_aux_dir'
23576 xsi_shell='$xsi_shell'
23577 lt_shell_append='$lt_shell_append'
23579 # See if we are running on zsh, and set the options which allow our
23580 # commands through without removal of \ escapes INIT.
23581 if test -n "\${ZSH_VERSION+set}" ; then
23582 setopt NO_GLOB_SUBST
23588 TIMESTAMP='$TIMESTAMP'
23599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23601 # Handling of arguments.
23602 for ac_config_target
in $ac_config_targets
23604 case $ac_config_target in
23605 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23606 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23607 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23608 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23609 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23610 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
23611 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
23612 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
23613 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
23614 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
23616 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23621 # If the user did not use the arguments to specify the items to instantiate,
23622 # then the envvar interface is used. Set only those that are not.
23623 # We use the long form for the default assignment because of an extremely
23624 # bizarre bug on SunOS 4.1.3.
23625 if $ac_need_defaults; then
23626 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23627 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23628 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23631 # Have a temporary directory for convenience. Make it in the build tree
23632 # simply because there is no reason against having it here, and in addition,
23633 # creating and moving files from /tmp can sometimes cause problems.
23634 # Hook for its removal unless debugging.
23635 # Note that there is a small window in which the directory will not be cleaned:
23636 # after its creation but before its name has been assigned to `$tmp'.
23640 trap 'exit_status=$?
23641 : "${ac_tmp:=$tmp}"
23642 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23644 trap 'as_fn_exit 1' 1 2 13 15
23646 # Create a (secure) tmp directory for tmp files.
23649 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23653 tmp
=.
/conf$$
-$RANDOM
23654 (umask 077 && mkdir
"$tmp")
23655 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23658 # Set up the scripts for CONFIG_FILES section.
23659 # No need to generate them if there are no CONFIG_FILES.
23660 # This happens for instance with `./config.status config.h'.
23661 if test -n "$CONFIG_FILES"; then
23664 ac_cr
=`echo X | tr X '\015'`
23665 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23666 # But we know of no other shell where ac_cr would be empty at this
23667 # point, so we can use a bashism as a fallback.
23668 if test "x$ac_cr" = x
; then
23669 eval ac_cr
=\$
\'\\r
\'
23671 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23672 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23675 ac_cs_awk_cr
=$ac_cr
23678 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23683 echo "cat >conf$$subs.awk <<_ACEOF" &&
23684 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23686 } >conf$$subs.sh ||
23687 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23688 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23690 for ac_last_try in false false false false false :; do
23691 . ./conf$$subs.sh ||
23692 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23694 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23695 if test $ac_delim_n = $ac_delim_num; then
23697 elif $ac_last_try; then
23698 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23700 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23703 rm -f conf$$subs.sh
23705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23706 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23710 s/^/S["/; s
/!.
*/"]=/
23720 s/\(.\{148\}\)..*/\1/
23722 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23727 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23734 s/\(.\{148\}\)..*/\1/
23736 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23740 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23745 ' <conf$$subs.awk | sed '
23750 ' >>$CONFIG_STATUS || ac_write_fail=1
23751 rm -f conf$$subs.awk
23752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23754 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23755 for (key in S) S_is_set[key] = 1
23761 nfields = split(line, field, "@
")
23763 len = length(field[1])
23764 for (i = 2; i < nfields; i++) {
23766 keylen = length(key)
23767 if (S_is_set[key]) {
23769 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23770 len += length(value) + length(field[++i])
23781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23782 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23783 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23786 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23787 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23790 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23791 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23792 # trailing colons and then remove the whole line if VPATH becomes empty
23793 # (actually we leave an empty line to preserve line numbers).
23794 if test "x
$srcdir" = x.; then
23795 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23814 fi # test -n "$CONFIG_FILES"
23816 # Set up the scripts for CONFIG_HEADERS section.
23817 # No need to generate them if there are no CONFIG_HEADERS.
23818 # This happens for instance with `./config.status Makefile'.
23819 if test -n "$CONFIG_HEADERS"; then
23820 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23824 # Transform confdefs.h into an awk script `defines.awk', embedded as
23825 # here-document in config.status, that substitutes the proper values into
23826 # config.h.in to produce config.h.
23828 # Create a delimiter string that does not exist in confdefs.h, to ease
23829 # handling of long lines.
23831 for ac_last_try in false false :; do
23832 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23833 if test -z "$ac_tt"; then
23835 elif $ac_last_try; then
23836 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23838 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23842 # For the awk script, D is an array of macro values keyed by name,
23843 # likewise P contains macro parameters if any. Preserve backslash
23844 # newline sequences.
23846 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23848 s/.\{148\}/&'"$ac_delim"'/g
23851 s/^[ ]*#[ ]*define[ ][ ]*/ /
23858 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23860 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23864 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23865 D["\
1"]=" \
3\\\\\\n
"\\/p
23867 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23872 s/.\{148\}/&'"$ac_delim"'/g
23877 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23880 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23882 ' <confdefs.h | sed '
23883 s/'"$ac_delim"'/"\\\
23884 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23887 for (key in D) D_is_set[key] = 1
23890 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23892 split(line, arg, " ")
23893 if (arg[1] == "#") {
23897 defundef
= substr
(arg
[1], 2)
23900 split(mac1
, mac2
, "(") #)
23902 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23903 if (D_is_set
[macro
]) {
23904 # Preserve the white space surrounding the "#".
23905 print prefix
"define", macro P
[macro
] D
[macro
]
23908 # Replace #undef with comments. This is necessary, for example,
23909 # in the case of _POSIX_SOURCE, which is predefined and required
23910 # on some systems where configure will not decide to define it.
23911 if (defundef
== "undef") {
23912 print
"/*", prefix defundef
, macro
, "*/"
23920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23921 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23922 fi # test -n "$CONFIG_HEADERS"
23925 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23930 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23932 case $ac_mode$ac_tag in
23934 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23935 :[FH
]-) ac_tag
=-:-;;
23936 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23953 -) ac_f
="$ac_tmp/stdin";;
23954 *) # Look for the file first in the build tree, then in the source tree
23955 # (if the path is not absolute). The absolute path cannot be DOS-style,
23956 # because $ac_f cannot contain `:'.
23960 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23962 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23964 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23965 as_fn_append ac_file_inputs
" '$ac_f'"
23968 # Let's still pretend it is `configure' which instantiates (i.e., don't
23969 # use $as_me), people would be surprised to read:
23970 # /* config.h. Generated by config.status. */
23971 configure_input
='Generated from '`
23972 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23974 if test x
"$ac_file" != x-
; then
23975 configure_input
="$ac_file. $configure_input"
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23977 $as_echo "$as_me: creating $ac_file" >&6;}
23979 # Neutralize special characters interpreted by sed in replacement strings.
23980 case $configure_input in #(
23981 *\
&* |
*\|
* |
*\\* )
23982 ac_sed_conf_input
=`$as_echo "$configure_input" |
23983 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23984 *) ac_sed_conf_input
=$configure_input;;
23988 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23989 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23994 ac_dir
=`$as_dirname -- "$ac_file" ||
23995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23996 X"$ac_file" : 'X\(//\)[^/]' \| \
23997 X"$ac_file" : 'X\(//\)$' \| \
23998 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23999 $as_echo X"$ac_file" |
24000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24004 /^X\(\/\/\)[^/].*/{
24017 as_dir
="$ac_dir"; as_fn_mkdir_p
24021 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24023 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24024 # A ".." for each directory in $ac_dir_suffix.
24025 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24026 case $ac_top_builddir_sub in
24027 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24028 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24031 ac_abs_top_builddir
=$ac_pwd
24032 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24033 # for backward compatibility:
24034 ac_top_builddir
=$ac_top_build_prefix
24037 .
) # We are building in place.
24039 ac_top_srcdir
=$ac_top_builddir_sub
24040 ac_abs_top_srcdir
=$ac_pwd ;;
24041 [\\/]* | ?
:[\\/]* ) # Absolute name.
24042 ac_srcdir
=$srcdir$ac_dir_suffix;
24043 ac_top_srcdir
=$srcdir
24044 ac_abs_top_srcdir
=$srcdir ;;
24045 *) # Relative name.
24046 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24047 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24048 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24050 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24060 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24061 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24063 ac_MKDIR_P
=$MKDIR_P
24065 [\\/$
]* | ?
:[\\/]* ) ;;
24066 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24071 # If the template does not know about datarootdir, expand it.
24072 # FIXME: This hack should be removed a few years after 2.60.
24073 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24084 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24085 *datarootdir
*) ac_datarootdir_seen
=yes;;
24086 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24088 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24091 ac_datarootdir_hack='
24092 s&@datadir@&$datadir&g
24093 s&@docdir@&$docdir&g
24094 s&@infodir@&$infodir&g
24095 s&@localedir@&$localedir&g
24096 s&@mandir@&$mandir&g
24097 s&\\\${datarootdir}&$datarootdir&g' ;;
24101 # Neutralize VPATH when `$srcdir' = `.'.
24102 # Shell code in configure.ac might set extrasub.
24103 # FIXME: do we really want to maintain this feature?
24104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24105 ac_sed_extra="$ac_vpsub
24108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24110 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24111 s|@configure_input@|
$ac_sed_conf_input|
;t t
24112 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24113 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24114 s
&@srcdir@
&$ac_srcdir&;t t
24115 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24116 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24117 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24118 s
&@builddir@
&$ac_builddir&;t t
24119 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24120 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24121 s
&@INSTALL@
&$ac_INSTALL&;t t
24122 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24123 $ac_datarootdir_hack
24125 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
24126 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
24128 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24129 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
24130 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24131 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24133 which seems to be undefined. Please make sure it is defined" >&5
24134 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24135 which seems to be undefined. Please make sure it is defined" >&2;}
24137 rm -f "$ac_tmp/stdin"
24139 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24140 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24142 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24148 if test x"$ac_file" != x-; then
24150 $as_echo "/* $configure_input */" \
24151 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24152 } >"$ac_tmp/config.h" \
24153 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24154 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24156 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24159 mv "$ac_tmp/config.h" "$ac_file" \
24160 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24163 $as_echo "/* $configure_input */" \
24164 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24165 || as_fn_error $? "could not create -" "$LINENO" 5
24167 # Compute "$ac_file"'s index
in $config_headers.
24170 for _am_header
in $config_headers :; do
24171 case $_am_header in
24172 $_am_arg |
$_am_arg:* )
24175 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24178 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24179 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24180 X"$_am_arg" : 'X\(//\)[^/]' \| \
24181 X"$_am_arg" : 'X\(//\)$' \| \
24182 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24183 $as_echo X"$_am_arg" |
24184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24188 /^X\(\/\/\)[^/].*/{
24200 s/.*/./; q'`/stamp-h
$_am_stamp_count
24203 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24204 $as_echo "$as_me: executing $ac_file commands" >&6;}
24209 case $ac_file$ac_mode in
24211 # Only add multilib support code if we just rebuilt the top-level
24213 case " $CONFIG_FILES " in
24215 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
24218 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
24219 # Older Autoconf quotes --file arguments for eval, but not when files
24220 # are listed without --file. Let's play safe and only enable the eval
24221 # if we detect the quoting.
24222 case $CONFIG_FILES in
24223 *\'*) eval set x
"$CONFIG_FILES" ;;
24224 *) set x
$CONFIG_FILES ;;
24229 # Strip MF so we end up with the name of the file.
24230 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24231 # Check whether this is an Automake generated Makefile or not.
24232 # We used to match only the files named 'Makefile.in', but
24233 # some people rename them; so instead we look at the file content.
24234 # Grep'ing the first line is not enough: some people post-process
24235 # each Makefile.in and add a new line on top of each file to say so.
24236 # Grep'ing the whole file is not good either: AIX grep has a line
24237 # limit of 2048, but all sed's we know have understand at least 4000.
24238 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24239 dirpart
=`$as_dirname -- "$mf" ||
24240 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24241 X"$mf" : 'X\(//\)[^/]' \| \
24242 X"$mf" : 'X\(//\)$' \| \
24243 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24249 /^X\(\/\/\)[^/].*/{
24265 # Extract the definition of DEPDIR, am__include, and am__quote
24266 # from the Makefile without running 'make'.
24267 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24268 test -z "$DEPDIR" && continue
24269 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24270 test -z "$am__include" && continue
24271 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24272 # Find all dependency output files, they are included files with
24273 # $(DEPDIR) in their names. We invoke sed twice because it is the
24274 # simplest approach to changing $(DEPDIR) to its actual value in the
24276 for file in `sed -n "
24277 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24278 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
24279 # Make sure the directory exists.
24280 test -f "$dirpart/$file" && continue
24281 fdir
=`$as_dirname -- "$file" ||
24282 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24283 X"$file" : 'X\(//\)[^/]' \| \
24284 X"$file" : 'X\(//\)$' \| \
24285 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24286 $as_echo X"$file" |
24287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24291 /^X\(\/\/\)[^/].*/{
24304 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
24305 # echo "creating $dirpart/$file"
24306 echo '# dummy' > "$dirpart/$file"
24313 # See if we are running on zsh, and set the options which allow our
24314 # commands through without removal of \ escapes.
24315 if test -n "${ZSH_VERSION+set}" ; then
24316 setopt NO_GLOB_SUBST
24319 cfgfile
="${ofile}T"
24320 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24323 cat <<_LT_EOF >> "$cfgfile"
24326 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24327 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24328 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24329 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24331 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24332 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
24333 # Written by Gordon Matzigkeit, 1996
24335 # This file is part of GNU Libtool.
24337 # GNU Libtool is free software; you can redistribute it and/or
24338 # modify it under the terms of the GNU General Public License as
24339 # published by the Free Software Foundation; either version 2 of
24340 # the License, or (at your option) any later version.
24342 # As a special exception to the GNU General Public License,
24343 # if you distribute this file as part of a program or library that
24344 # is built using GNU Libtool, you may include this file under the
24345 # same distribution terms that you use for the rest of that program.
24347 # GNU Libtool is distributed in the hope that it will be useful,
24348 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24349 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24350 # GNU General Public License for more details.
24352 # You should have received a copy of the GNU General Public License
24353 # along with GNU Libtool; see the file COPYING. If not, a copy
24354 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24355 # obtained by writing to the Free Software Foundation, Inc.,
24356 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24359 # The names of the tagged configurations supported by this script.
24360 available_tags="CXX "
24362 # ### BEGIN LIBTOOL CONFIG
24364 # Which release of libtool.m4 was used?
24365 macro_version=$macro_version
24366 macro_revision=$macro_revision
24368 # Whether or not to build shared libraries.
24369 build_libtool_libs=$enable_shared
24371 # Whether or not to build static libraries.
24372 build_old_libs=$enable_static
24374 # What type of objects to build.
24377 # Whether or not to optimize for fast installation.
24378 fast_install=$enable_fast_install
24380 # Shell to use when invoking shell scripts.
24383 # An echo program that protects backslashes.
24387 host_alias=$host_alias
24391 # The build system.
24392 build_alias=$build_alias
24396 # A sed program that does not truncate output.
24399 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24400 Xsed="\$SED -e 1s/^X//"
24402 # A grep program that handles long lines.
24408 # A literal string matcher.
24411 # A BSD- or MS-compatible name lister.
24414 # Whether we need soft or hard links.
24417 # What is the maximum length of a command?
24418 max_cmd_len=$max_cmd_len
24420 # Object file suffix (normally "o").
24423 # Executable file suffix (normally "").
24426 # whether the shell understands "unset".
24429 # turn spaces into newlines.
24432 # turn newlines into spaces.
24435 # An object symbol dumper.
24436 OBJDUMP=$lt_OBJDUMP
24438 # Method to check whether dependent libraries are shared objects.
24439 deplibs_check_method=$lt_deplibs_check_method
24441 # Command to use when deplibs_check_method == "file_magic".
24442 file_magic_cmd=$lt_file_magic_cmd
24446 AR_FLAGS=$lt_AR_FLAGS
24448 # A symbol stripping program.
24451 # Commands used to install an old-style archive.
24453 old_postinstall_cmds=$lt_old_postinstall_cmds
24454 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24456 # Whether to use a lock for old archive extraction.
24457 lock_old_archive_extraction=$lock_old_archive_extraction
24462 # LTCC compiler flags.
24463 LTCFLAGS=$lt_CFLAGS
24465 # Take the output of nm and produce a listing of raw symbols and C names.
24466 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24468 # Transform the output of nm in a proper C declaration.
24469 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24471 # Transform the output of nm in a C name address pair.
24472 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24474 # Transform the output of nm in a C name address pair when lib prefix is needed.
24475 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24477 # The name of the directory that contains temporary libtool files.
24480 # Used to examine libraries when file_magic_cmd begins with "file".
24481 MAGIC_CMD=$MAGIC_CMD
24483 # Must we lock files when doing compilation?
24484 need_locks=$lt_need_locks
24486 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24487 DSYMUTIL=$lt_DSYMUTIL
24489 # Tool to change global to local symbols on Mac OS X.
24492 # Tool to manipulate fat objects and archives on Mac OS X.
24495 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24498 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24499 OTOOL64=$lt_OTOOL64
24501 # Old archive suffix (normally "a").
24504 # Shared library suffix (normally ".so").
24505 shrext_cmds=$lt_shrext_cmds
24507 # The commands to extract the exported symbol list from a shared archive.
24508 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24510 # Variables whose values should be saved in libtool wrapper scripts and
24511 # restored at link time.
24512 variables_saved_for_relink=$lt_variables_saved_for_relink
24514 # Do we need the "lib" prefix for modules?
24515 need_lib_prefix=$need_lib_prefix
24517 # Do we need a version for libraries?
24518 need_version=$need_version
24520 # Library versioning type.
24521 version_type=$version_type
24523 # Shared library runtime path variable.
24524 runpath_var=$runpath_var
24526 # Shared library path variable.
24527 shlibpath_var=$shlibpath_var
24529 # Is shlibpath searched before the hard-coded library search path?
24530 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24532 # Format of library name prefix.
24533 libname_spec=$lt_libname_spec
24535 # List of archive names. First name is the real one, the rest are links.
24536 # The last name is the one that the linker finds with -lNAME
24537 library_names_spec=$lt_library_names_spec
24539 # The coded name of the library, if different from the real name.
24540 soname_spec=$lt_soname_spec
24542 # Permission mode override for installation of shared libraries.
24543 install_override_mode=$lt_install_override_mode
24545 # Command to use after installation of a shared archive.
24546 postinstall_cmds=$lt_postinstall_cmds
24548 # Command to use after uninstallation of a shared archive.
24549 postuninstall_cmds=$lt_postuninstall_cmds
24551 # Commands used to finish a libtool library installation in a directory.
24552 finish_cmds=$lt_finish_cmds
24554 # As "finish_cmds", except a single script fragment to be evaled but
24556 finish_eval=$lt_finish_eval
24558 # Whether we should hardcode library paths into libraries.
24559 hardcode_into_libs=$hardcode_into_libs
24561 # Compile-time system search path for libraries.
24562 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24564 # Run-time system search path for libraries.
24565 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24567 # Whether dlopen is supported.
24568 dlopen_support=$enable_dlopen
24570 # Whether dlopen of programs is supported.
24571 dlopen_self=$enable_dlopen_self
24573 # Whether dlopen of statically linked programs is supported.
24574 dlopen_self_static=$enable_dlopen_self_static
24576 # Commands to strip libraries.
24577 old_striplib=$lt_old_striplib
24578 striplib=$lt_striplib
24581 # The linker used to build libraries.
24584 # How to create reloadable object files.
24585 reload_flag=$lt_reload_flag
24586 reload_cmds=$lt_reload_cmds
24588 # Commands used to build an old-style archive.
24589 old_archive_cmds=$lt_old_archive_cmds
24591 # A language specific compiler.
24594 # Is the compiler the GNU compiler?
24597 # Compiler flag to turn off builtin functions.
24598 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24600 # How to pass a linker flag through the compiler.
24601 wl=$lt_lt_prog_compiler_wl
24603 # Additional compiler flags for building library objects.
24604 pic_flag=$lt_lt_prog_compiler_pic
24606 # Compiler flag to prevent dynamic linking.
24607 link_static_flag=$lt_lt_prog_compiler_static
24609 # Does compiler simultaneously support -c and -o options?
24610 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24612 # Whether or not to add -lc for building shared libraries.
24613 build_libtool_need_lc=$archive_cmds_need_lc
24615 # Whether or not to disallow shared libs when runtime libs are static.
24616 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24618 # Compiler flag to allow reflexive dlopens.
24619 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24621 # Compiler flag to generate shared objects directly from archives.
24622 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24624 # Whether the compiler copes with passing no objects directly.
24625 compiler_needs_object=$lt_compiler_needs_object
24627 # Create an old-style archive from a shared archive.
24628 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24630 # Create a temporary old-style archive to link instead of a shared archive.
24631 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24633 # Commands used to build a shared archive.
24634 archive_cmds=$lt_archive_cmds
24635 archive_expsym_cmds=$lt_archive_expsym_cmds
24637 # Commands used to build a loadable module if different from building
24638 # a shared archive.
24639 module_cmds=$lt_module_cmds
24640 module_expsym_cmds=$lt_module_expsym_cmds
24642 # Whether we are building with GNU ld or not.
24643 with_gnu_ld=$lt_with_gnu_ld
24645 # Flag that allows shared libraries with undefined symbols to be built.
24646 allow_undefined_flag=$lt_allow_undefined_flag
24648 # Flag that enforces no undefined symbols.
24649 no_undefined_flag=$lt_no_undefined_flag
24651 # Flag to hardcode \$libdir into a binary during linking.
24652 # This must work even if \$libdir does not exist
24653 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24655 # If ld is used when linking, flag to hardcode \$libdir into a binary
24656 # during linking. This must work even if \$libdir does not exist.
24657 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24659 # Whether we need a single "-rpath" flag with a separated argument.
24660 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24662 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24663 # DIR into the resulting binary.
24664 hardcode_direct=$hardcode_direct
24666 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24667 # DIR into the resulting binary and the resulting library dependency is
24668 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24669 # library is relocated.
24670 hardcode_direct_absolute=$hardcode_direct_absolute
24672 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24673 # into the resulting binary.
24674 hardcode_minus_L=$hardcode_minus_L
24676 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24677 # into the resulting binary.
24678 hardcode_shlibpath_var=$hardcode_shlibpath_var
24680 # Set to "yes" if building a shared library automatically hardcodes DIR
24681 # into the library and all subsequent libraries and executables linked
24683 hardcode_automatic=$hardcode_automatic
24685 # Set to yes if linker adds runtime paths of dependent libraries
24686 # to runtime path list.
24687 inherit_rpath=$inherit_rpath
24689 # Whether libtool must link a program against all its dependency libraries.
24690 link_all_deplibs=$link_all_deplibs
24692 # Fix the shell variable \$srcfile for the compiler.
24693 fix_srcfile_path=$lt_fix_srcfile_path
24695 # Set to "yes" if exported symbols are required.
24696 always_export_symbols=$always_export_symbols
24698 # The commands to list exported symbols.
24699 export_symbols_cmds=$lt_export_symbols_cmds
24701 # Symbols that should not be listed in the preloaded symbols.
24702 exclude_expsyms=$lt_exclude_expsyms
24704 # Symbols that must always be exported.
24705 include_expsyms=$lt_include_expsyms
24707 # Commands necessary for linking programs (against libraries) with templates.
24708 prelink_cmds=$lt_prelink_cmds
24710 # Specify filename containing input files.
24711 file_list_spec=$lt_file_list_spec
24713 # How to hardcode a shared library path into an executable.
24714 hardcode_action=$hardcode_action
24716 # The directories searched by this compiler when creating a shared library.
24717 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24719 # Dependencies to place before and after the objects being linked to
24720 # create a shared library.
24721 predep_objects=$lt_predep_objects
24722 postdep_objects=$lt_postdep_objects
24723 predeps=$lt_predeps
24724 postdeps=$lt_postdeps
24726 # The library search path used internally by the compiler when linking
24727 # a shared library.
24728 compiler_lib_search_path=$lt_compiler_lib_search_path
24730 # ### END LIBTOOL CONFIG
24736 cat <<\_LT_EOF
>> "$cfgfile"
24737 # AIX sometimes has problems with the GCC collect2 program. For some
24738 # reason, if we set the COLLECT_NAMES environment variable, the problems
24739 # vanish in a puff of smoke.
24740 if test "X${COLLECT_NAMES+set}" != Xset
; then
24742 export COLLECT_NAMES
24749 ltmain
="$ac_aux_dir/ltmain.sh"
24752 # We use sed instead of cat because bash on DJGPP gets confused if
24753 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24754 # text mode, it properly converts lines to CR/LF. This bash problem
24755 # is reportedly fixed, but why not run on old versions too?
24756 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24757 ||
(rm -f "$cfgfile"; exit 1)
24761 cat << \_LT_EOF
>> "$cfgfile"
24763 # func_dirname file append nondir_replacement
24764 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24765 # otherwise set result to NONDIR_REPLACEMENT.
24769 */*) func_dirname_result
="${1%/*}${2}" ;;
24770 * ) func_dirname_result
="${3}" ;;
24774 # func_basename file
24777 func_basename_result
="${1##*/}"
24780 # func_dirname_and_basename file append nondir_replacement
24781 # perform func_basename and func_dirname in a single function
24783 # dirname: Compute the dirname of FILE. If nonempty,
24784 # add APPEND to the result, otherwise set result
24785 # to NONDIR_REPLACEMENT.
24786 # value returned in "$func_dirname_result"
24787 # basename: Compute filename of FILE.
24788 # value retuned in "$func_basename_result"
24789 # Implementation must be kept synchronized with func_dirname
24790 # and func_basename. For efficiency, we do not delegate to
24791 # those functions but instead duplicate the functionality here.
24792 func_dirname_and_basename
()
24795 */*) func_dirname_result
="${1%/*}${2}" ;;
24796 * ) func_dirname_result
="${3}" ;;
24798 func_basename_result
="${1##*/}"
24801 # func_stripname prefix suffix name
24802 # strip PREFIX and SUFFIX off of NAME.
24803 # PREFIX and SUFFIX must not contain globbing or regex special
24804 # characters, hashes, percent signs, but SUFFIX may contain a leading
24805 # dot (in which case that matches only a dot).
24808 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24809 # positional parameters, so assign one to ordinary parameter first.
24810 func_stripname_result
=${3}
24811 func_stripname_result
=${func_stripname_result#"${1}"}
24812 func_stripname_result
=${func_stripname_result%"${2}"}
24818 func_opt_split_opt
=${1%%=*}
24819 func_opt_split_arg
=${1#*=}
24826 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24827 *) func_lo2o_result
=${1} ;;
24831 # func_xform libobj-or-source
24834 func_xform_result
=${1%.*}.lo
24837 # func_arith arithmetic-term...
24840 func_arith_result
=$
(( $
* ))
24844 # STRING may not start with a hyphen.
24847 func_len_result
=${#1}
24852 *) # Bourne compatible functions.
24853 cat << \_LT_EOF
>> "$cfgfile"
24855 # func_dirname file append nondir_replacement
24856 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24857 # otherwise set result to NONDIR_REPLACEMENT.
24860 # Extract subdirectory from the argument.
24861 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
24862 if test "X$func_dirname_result" = "X${1}"; then
24863 func_dirname_result
="${3}"
24865 func_dirname_result
="$func_dirname_result${2}"
24869 # func_basename file
24872 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
24876 # func_stripname prefix suffix name
24877 # strip PREFIX and SUFFIX off of NAME.
24878 # PREFIX and SUFFIX must not contain globbing or regex special
24879 # characters, hashes, percent signs, but SUFFIX may contain a leading
24880 # dot (in which case that matches only a dot).
24881 # func_strip_suffix prefix name
24885 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
24886 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
24891 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24892 my_sed_long_arg
='1s/^-[^=]*=//'
24897 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
24898 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
24904 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
24907 # func_xform libobj-or-source
24910 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
24913 # func_arith arithmetic-term...
24916 func_arith_result
=`expr "$@"`
24920 # STRING may not start with a hyphen.
24923 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24929 case $lt_shell_append in
24931 cat << \_LT_EOF
>> "$cfgfile"
24933 # func_append var value
24934 # Append VALUE to the end of shell variable VAR.
24942 cat << \_LT_EOF
>> "$cfgfile"
24944 # func_append var value
24945 # Append VALUE to the end of shell variable VAR.
24956 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24957 ||
(rm -f "$cfgfile"; exit 1)
24959 mv -f "$cfgfile" "$ofile" ||
24960 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24964 cat <<_LT_EOF >> "$ofile"
24966 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24968 # The linker used to build libraries.
24971 # How to create reloadable object files.
24972 reload_flag=$lt_reload_flag_CXX
24973 reload_cmds=$lt_reload_cmds_CXX
24975 # Commands used to build an old-style archive.
24976 old_archive_cmds=$lt_old_archive_cmds_CXX
24978 # A language specific compiler.
24979 CC=$lt_compiler_CXX
24981 # Is the compiler the GNU compiler?
24984 # Compiler flag to turn off builtin functions.
24985 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24987 # How to pass a linker flag through the compiler.
24988 wl=$lt_lt_prog_compiler_wl_CXX
24990 # Additional compiler flags for building library objects.
24991 pic_flag=$lt_lt_prog_compiler_pic_CXX
24993 # Compiler flag to prevent dynamic linking.
24994 link_static_flag=$lt_lt_prog_compiler_static_CXX
24996 # Does compiler simultaneously support -c and -o options?
24997 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24999 # Whether or not to add -lc for building shared libraries.
25000 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25002 # Whether or not to disallow shared libs when runtime libs are static.
25003 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25005 # Compiler flag to allow reflexive dlopens.
25006 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25008 # Compiler flag to generate shared objects directly from archives.
25009 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25011 # Whether the compiler copes with passing no objects directly.
25012 compiler_needs_object=$lt_compiler_needs_object_CXX
25014 # Create an old-style archive from a shared archive.
25015 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25017 # Create a temporary old-style archive to link instead of a shared archive.
25018 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25020 # Commands used to build a shared archive.
25021 archive_cmds=$lt_archive_cmds_CXX
25022 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25024 # Commands used to build a loadable module if different from building
25025 # a shared archive.
25026 module_cmds=$lt_module_cmds_CXX
25027 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25029 # Whether we are building with GNU ld or not.
25030 with_gnu_ld=$lt_with_gnu_ld_CXX
25032 # Flag that allows shared libraries with undefined symbols to be built.
25033 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25035 # Flag that enforces no undefined symbols.
25036 no_undefined_flag=$lt_no_undefined_flag_CXX
25038 # Flag to hardcode \$libdir into a binary during linking.
25039 # This must work even if \$libdir does not exist
25040 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25042 # If ld is used when linking, flag to hardcode \$libdir into a binary
25043 # during linking. This must work even if \$libdir does not exist.
25044 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25046 # Whether we need a single "-rpath" flag with a separated argument.
25047 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25049 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25050 # DIR into the resulting binary.
25051 hardcode_direct=$hardcode_direct_CXX
25053 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25054 # DIR into the resulting binary and the resulting library dependency is
25055 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25056 # library is relocated.
25057 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25059 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25060 # into the resulting binary.
25061 hardcode_minus_L=$hardcode_minus_L_CXX
25063 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25064 # into the resulting binary.
25065 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25067 # Set to "yes" if building a shared library automatically hardcodes DIR
25068 # into the library and all subsequent libraries and executables linked
25070 hardcode_automatic=$hardcode_automatic_CXX
25072 # Set to yes if linker adds runtime paths of dependent libraries
25073 # to runtime path list.
25074 inherit_rpath=$inherit_rpath_CXX
25076 # Whether libtool must link a program against all its dependency libraries.
25077 link_all_deplibs=$link_all_deplibs_CXX
25079 # Fix the shell variable \$srcfile for the compiler.
25080 fix_srcfile_path=$lt_fix_srcfile_path_CXX
25082 # Set to "yes" if exported symbols are required.
25083 always_export_symbols=$always_export_symbols_CXX
25085 # The commands to list exported symbols.
25086 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25088 # Symbols that should not be listed in the preloaded symbols.
25089 exclude_expsyms=$lt_exclude_expsyms_CXX
25091 # Symbols that must always be exported.
25092 include_expsyms=$lt_include_expsyms_CXX
25094 # Commands necessary for linking programs (against libraries) with templates.
25095 prelink_cmds=$lt_prelink_cmds_CXX
25097 # Specify filename containing input files.
25098 file_list_spec=$lt_file_list_spec_CXX
25100 # How to hardcode a shared library path into an executable.
25101 hardcode_action=$hardcode_action_CXX
25103 # The directories searched by this compiler when creating a shared library.
25104 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25106 # Dependencies to place before and after the objects being linked to
25107 # create a shared library.
25108 predep_objects=$lt_predep_objects_CXX
25109 postdep_objects=$lt_postdep_objects_CXX
25110 predeps=$lt_predeps_CXX
25111 postdeps=$lt_postdeps_CXX
25113 # The library search path used internally by the compiler when linking
25114 # a shared library.
25115 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25117 # ### END LIBTOOL TAG CONFIG: CXX
25121 "libm2min/Makefile":F
) cat > vpsed$$
<< \_EOF
25122 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25124 sed -f vpsed$$
$ac_file > tmp$$
25127 echo 'MULTISUBDIR =' >> $ac_file
25129 .
${multi_basedir}/config-ml.
in
25130 { ml_norecursion
=; unset ml_norecursion
;}
25132 "libm2pim/Makefile":F
) cat > vpsed$$
<< \_EOF
25133 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25135 sed -f vpsed$$
$ac_file > tmp$$
25138 echo 'MULTISUBDIR =' >> $ac_file
25140 .
${multi_basedir}/config-ml.
in
25141 { ml_norecursion
=; unset ml_norecursion
;}
25143 "libm2iso/Makefile":F
) cat > vpsed$$
<< \_EOF
25144 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25146 sed -f vpsed$$
$ac_file > tmp$$
25149 echo 'MULTISUBDIR =' >> $ac_file
25151 .
${multi_basedir}/config-ml.
in
25152 { ml_norecursion
=; unset ml_norecursion
;}
25154 "libm2cor/Makefile":F
) cat > vpsed$$
<< \_EOF
25155 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25157 sed -f vpsed$$
$ac_file > tmp$$
25160 echo 'MULTISUBDIR =' >> $ac_file
25162 .
${multi_basedir}/config-ml.
in
25163 { ml_norecursion
=; unset ml_norecursion
;}
25165 "libm2log/Makefile":F
) cat > vpsed$$
<< \_EOF
25166 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25168 sed -f vpsed$$
$ac_file > tmp$$
25171 echo 'MULTISUBDIR =' >> $ac_file
25173 .
${multi_basedir}/config-ml.
in
25174 { ml_norecursion
=; unset ml_norecursion
;}
25183 ac_clean_files
=$ac_clean_files_save
25185 test $ac_write_fail = 0 ||
25186 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
25189 # configure is writing to config.log, and then calls config.status.
25190 # config.status does its own redirection, appending to config.log.
25191 # Unfortunately, on DOS this fails, as config.log is still kept open
25192 # by configure, so config.status won't be able to write to it; its
25193 # output is simply discarded. So we exec the FD to /dev/null,
25194 # effectively closing config.log, so it can be properly (re)opened and
25195 # appended to by config.status. When coming back to configure, we
25196 # need to make the FD available again.
25197 if test "$no_create" != yes; then
25199 ac_config_status_args
=
25200 test "$silent" = yes &&
25201 ac_config_status_args
="$ac_config_status_args --quiet"
25203 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25205 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25206 # would make configure fail if this is the last instruction.
25207 $ac_cs_success || as_fn_exit
1
25209 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25211 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}