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
671 am__fastdepCCAS_FALSE
682 MAINTAINER_MODE_FALSE
716 INSTALL_STRIP_PROGRAM
782 program_transform_name
795 enable_option_checking
797 enable_dependency_tracking
801 enable_version_specific_runtime_libs
803 enable_maintainer_mode
810 enable_darwin_at_rpath
811 with_gcc_major_version_only
813 ac_precious_vars
='build_alias
825 # Initialize some variables set by options.
827 ac_init_version
=false
828 ac_unrecognized_opts
=
830 # The variables have the same names as the options, with
831 # dashes changed to underlines.
839 program_transform_name
=s
,x
,x
,
847 # Installation directory options.
848 # These are left unexpanded so users can "make install exec_prefix=/foo"
849 # and all the variables that are supposed to be based on exec_prefix
850 # by default will actually change.
851 # Use braces instead of parens because sh, perl, etc. also accept them.
852 # (The list follows the same order as the GNU Coding Standards.)
853 bindir
='${exec_prefix}/bin'
854 sbindir
='${exec_prefix}/sbin'
855 libexecdir
='${exec_prefix}/libexec'
856 datarootdir
='${prefix}/share'
857 datadir
='${datarootdir}'
858 sysconfdir
='${prefix}/etc'
859 sharedstatedir
='${prefix}/com'
860 localstatedir
='${prefix}/var'
861 includedir
='${prefix}/include'
862 oldincludedir
='/usr/include'
863 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
864 infodir
='${datarootdir}/info'
869 libdir
='${exec_prefix}/lib'
870 localedir
='${datarootdir}/locale'
871 mandir
='${datarootdir}/man'
877 # If the previous option needs an argument, assign it.
878 if test -n "$ac_prev"; then
879 eval $ac_prev=\
$ac_option
885 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
890 # Accept the important Cygnus configure options, so we can diagnose typos.
892 case $ac_dashdash$ac_option in
896 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
898 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
901 -build |
--build |
--buil |
--bui |
--bu)
902 ac_prev
=build_alias
;;
903 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
904 build_alias
=$ac_optarg ;;
906 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
907 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
908 ac_prev
=cache_file
;;
909 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
910 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
911 cache_file
=$ac_optarg ;;
914 cache_file
=config.cache
;;
916 -datadir |
--datadir |
--datadi |
--datad)
918 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
919 datadir
=$ac_optarg ;;
921 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
922 |
--dataroo |
--dataro |
--datar)
923 ac_prev
=datarootdir
;;
924 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
925 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
926 datarootdir
=$ac_optarg ;;
928 -disable-* |
--disable-*)
929 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
932 as_fn_error $?
"invalid feature name: $ac_useropt"
933 ac_useropt_orig
=$ac_useropt
934 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
940 ac_unrecognized_sep
=', ';;
942 eval enable_
$ac_useropt=no
;;
944 -docdir |
--docdir |
--docdi |
--doc |
--do)
946 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
949 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
951 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
954 -enable-* |
--enable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error $?
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=\
$ac_optarg ;;
970 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
971 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
972 |
--exec |
--exe |
--ex)
973 ac_prev
=exec_prefix
;;
974 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
975 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
976 |
--exec=* |
--exe=* |
--ex=*)
977 exec_prefix
=$ac_optarg ;;
979 -gas |
--gas |
--ga |
--g)
980 # Obsolete; use --with-gas.
983 -help |
--help |
--hel |
--he |
-h)
985 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
986 ac_init_help
=recursive
;;
987 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
988 ac_init_help
=short
;;
990 -host |
--host |
--hos |
--ho)
991 ac_prev
=host_alias
;;
992 -host=* |
--host=* |
--hos=* |
--ho=*)
993 host_alias
=$ac_optarg ;;
995 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
997 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
999 htmldir
=$ac_optarg ;;
1001 -includedir |
--includedir |
--includedi |
--included |
--include \
1002 |
--includ |
--inclu |
--incl |
--inc)
1003 ac_prev
=includedir
;;
1004 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1005 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1006 includedir
=$ac_optarg ;;
1008 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1010 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1011 infodir
=$ac_optarg ;;
1013 -libdir |
--libdir |
--libdi |
--libd)
1015 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1016 libdir
=$ac_optarg ;;
1018 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1019 |
--libexe |
--libex |
--libe)
1020 ac_prev
=libexecdir
;;
1021 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1022 |
--libexe=* |
--libex=* |
--libe=*)
1023 libexecdir
=$ac_optarg ;;
1025 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1026 ac_prev
=localedir
;;
1027 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1028 localedir
=$ac_optarg ;;
1030 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1031 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1032 ac_prev
=localstatedir
;;
1033 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1034 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1035 localstatedir
=$ac_optarg ;;
1037 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1039 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1040 mandir
=$ac_optarg ;;
1042 -nfp |
--nfp |
--nf)
1043 # Obsolete; use --without-fp.
1046 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1047 |
--no-cr |
--no-c |
-n)
1050 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1051 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1054 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1055 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1056 |
--oldin |
--oldi |
--old |
--ol |
--o)
1057 ac_prev
=oldincludedir
;;
1058 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1059 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1060 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1061 oldincludedir
=$ac_optarg ;;
1063 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1065 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1066 prefix
=$ac_optarg ;;
1068 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1069 |
--program-pre |
--program-pr |
--program-p)
1070 ac_prev
=program_prefix
;;
1071 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1072 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1073 program_prefix
=$ac_optarg ;;
1075 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1076 |
--program-suf |
--program-su |
--program-s)
1077 ac_prev
=program_suffix
;;
1078 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1079 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1080 program_suffix
=$ac_optarg ;;
1082 -program-transform-name |
--program-transform-name \
1083 |
--program-transform-nam |
--program-transform-na \
1084 |
--program-transform-n |
--program-transform- \
1085 |
--program-transform |
--program-transfor \
1086 |
--program-transfo |
--program-transf \
1087 |
--program-trans |
--program-tran \
1088 |
--progr-tra |
--program-tr |
--program-t)
1089 ac_prev
=program_transform_name
;;
1090 -program-transform-name=* |
--program-transform-name=* \
1091 |
--program-transform-nam=* |
--program-transform-na=* \
1092 |
--program-transform-n=* |
--program-transform-=* \
1093 |
--program-transform=* |
--program-transfor=* \
1094 |
--program-transfo=* |
--program-transf=* \
1095 |
--program-trans=* |
--program-tran=* \
1096 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1097 program_transform_name
=$ac_optarg ;;
1099 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1101 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1102 pdfdir
=$ac_optarg ;;
1104 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1106 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1109 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1110 |
-silent |
--silent |
--silen |
--sile |
--sil)
1113 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1115 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1117 sbindir
=$ac_optarg ;;
1119 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1120 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1121 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1123 ac_prev
=sharedstatedir
;;
1124 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1125 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1126 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1128 sharedstatedir
=$ac_optarg ;;
1130 -site |
--site |
--sit)
1132 -site=* |
--site=* |
--sit=*)
1135 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1137 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1138 srcdir
=$ac_optarg ;;
1140 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1141 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1142 ac_prev
=sysconfdir
;;
1143 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1144 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1145 sysconfdir
=$ac_optarg ;;
1147 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1148 ac_prev
=target_alias
;;
1149 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1150 target_alias
=$ac_optarg ;;
1152 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1155 -version |
--version |
--versio |
--versi |
--vers |
-V)
1156 ac_init_version
=: ;;
1159 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error $?
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=\
$ac_optarg ;;
1174 -without-* |
--without-*)
1175 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error $?
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=no
;;
1191 # Obsolete; use --with-x.
1194 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1195 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1196 ac_prev
=x_includes
;;
1197 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1198 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1199 x_includes
=$ac_optarg ;;
1201 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1202 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1203 ac_prev
=x_libraries
;;
1204 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1205 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1206 x_libraries
=$ac_optarg ;;
1208 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1209 Try \`$0 --help' for more information"
1213 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1214 # Reject names that are not valid shell variable names.
1215 case $ac_envvar in #(
1216 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1217 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1219 eval $ac_envvar=\
$ac_optarg
1220 export $ac_envvar ;;
1223 # FIXME: should be removed in autoconf 3.0.
1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1233 if test -n "$ac_prev"; then
1234 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1235 as_fn_error $?
"missing argument to $ac_option"
1238 if test -n "$ac_unrecognized_opts"; then
1239 case $enable_option_checking in
1241 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246 # Check all directory arguments for consistency.
1247 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248 datadir sysconfdir sharedstatedir localstatedir includedir \
1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250 libdir localedir mandir
1252 eval ac_val
=\$
$ac_var
1253 # Remove trailing slashes.
1256 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1257 eval $ac_var=\
$ac_val;;
1259 # Be sure to have absolute directory names.
1261 [\\/$
]* | ?
:[\\/]* ) continue;;
1262 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1264 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1272 target
=$target_alias
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x
; then
1276 if test "x$build_alias" = x
; then
1277 cross_compiling
=maybe
1278 elif test "x$build_alias" != "x$host_alias"; then
1284 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1286 test "$silent" = yes && exec 6>/dev
/null
1289 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1290 ac_ls_di
=`ls -di .` &&
1291 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1292 as_fn_error $?
"working directory cannot be determined"
1293 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1294 as_fn_error $?
"pwd does not report name of working directory"
1297 # Find the source files, if location was not specified.
1298 if test -z "$srcdir"; then
1299 ac_srcdir_defaulted
=yes
1300 # Try the directory containing this script, then the parent directory.
1301 ac_confdir
=`$as_dirname -- "$as_myself" ||
1302 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1303 X"$as_myself" : 'X\(//\)[^/]' \| \
1304 X"$as_myself" : 'X\(//\)$' \| \
1305 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1306 $as_echo X"$as_myself" |
1307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1329 ac_srcdir_defaulted
=no
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1332 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1333 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1335 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1337 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1339 # When building in place, set srcdir=.
1340 if test "$ac_abs_confdir" = "$ac_pwd"; then
1343 # Remove unnecessary trailing slashes from srcdir.
1344 # Double slashes in file names in object file debugging info
1345 # mess up M-x gdb in Emacs.
1347 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1349 for ac_var
in $ac_precious_vars; do
1350 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1351 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1352 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1353 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1357 # Report the --help message.
1359 if test "$ac_init_help" = "long"; then
1360 # Omit some internal or obsolete options to make the list less imposing.
1361 # This message is too long to be a string in the A/UX 3.1 sh.
1363 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1365 Usage: $0 [OPTION]... [VAR=VALUE]...
1367 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1368 VAR=VALUE. See below for descriptions of some of the useful variables.
1370 Defaults for the options are specified in brackets.
1373 -h, --help display this help and exit
1374 --help=short display options specific to this package
1375 --help=recursive display the short help of all the included packages
1376 -V, --version display version information and exit
1377 -q, --quiet, --silent do not print \`checking ...' messages
1378 --cache-file=FILE cache test results in FILE [disabled]
1379 -C, --config-cache alias for \`--cache-file=config.cache'
1380 -n, --no-create do not create output files
1381 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1383 Installation directories:
1384 --prefix=PREFIX install architecture-independent files in PREFIX
1385 [$ac_default_prefix]
1386 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1389 By default, \`make install' will install all the files in
1390 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1391 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1392 for instance \`--prefix=\$HOME'.
1394 For better control, use the options below.
1396 Fine tuning of the installation directories:
1397 --bindir=DIR user executables [EPREFIX/bin]
1398 --sbindir=DIR system admin executables [EPREFIX/sbin]
1399 --libexecdir=DIR program executables [EPREFIX/libexec]
1400 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1401 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1402 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1403 --libdir=DIR object code libraries [EPREFIX/lib]
1404 --includedir=DIR C header files [PREFIX/include]
1405 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1406 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1407 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1408 --infodir=DIR info documentation [DATAROOTDIR/info]
1409 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1410 --mandir=DIR man documentation [DATAROOTDIR/man]
1411 --docdir=DIR documentation root [DATAROOTDIR/doc/libgm2]
1412 --htmldir=DIR html documentation [DOCDIR]
1413 --dvidir=DIR dvi documentation [DOCDIR]
1414 --pdfdir=DIR pdf documentation [DOCDIR]
1415 --psdir=DIR ps documentation [DOCDIR]
1421 --program-prefix=PREFIX prepend PREFIX to installed program names
1422 --program-suffix=SUFFIX append SUFFIX to installed program names
1423 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1426 --build=BUILD configure
for building on BUILD
[guessed
]
1427 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1428 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1432 if test -n "$ac_init_help"; then
1433 case $ac_init_help in
1434 short | recursive
) echo "Configuration of package-unused version-unused:";;
1439 --disable-option-checking ignore unrecognized
--enable/--with options
1440 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1441 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1442 --enable-multilib build many library versions
(default
)
1443 --enable-dependency-tracking
1444 do not reject slow dependency extractors
1445 --disable-dependency-tracking
1446 speeds up one-time build
1447 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1448 --disable-silent-rules verbose build output
(undo
: "make V=0")
1449 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1450 --enable-maintainer-mode
1451 enable make rules and dependencies not useful
(and
1452 sometimes confusing
) to the casual installer
1453 --enable-maintainer-mode
1454 enable make rules and dependencies not useful
(and
1455 sometimes confusing
) to the casual installer
1456 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1457 --enable-static[=PKGS
] build static libraries
[default
=yes]
1458 --enable-fast-install[=PKGS
]
1459 optimize
for fast installation
[default
=yes]
1460 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1461 --enable-darwin-at-rpath
1462 install libraries with @rpath
/library-name
, requires
1463 rpaths to be added to executables
1466 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1467 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1468 --with-cross-host=HOST Configuring with a cross compiler
1469 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1470 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1471 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1473 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1474 --with-gcc-major-version-only
1475 use only GCC major number
in filesystem paths
1477 Some influential environment variables
:
1478 CC C compiler
command
1479 CFLAGS C compiler flags
1480 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1481 nonstandard directory
<lib dir
>
1482 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1483 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1484 you have headers
in a nonstandard directory
<include dir
>
1486 CXX C
++ compiler
command
1487 CXXFLAGS C
++ compiler flags
1488 CCAS assembler compiler
command (defaults to CC
)
1489 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1490 CXXCPP C
++ preprocessor
1492 Use these variables to override the choices made by
`configure' or to help
1493 it to find libraries and programs with nonstandard names/locations.
1495 Report bugs to the package provider.
1500 if test "$ac_init_help" = "recursive"; then
1501 # If there are subdirs, report their specific --help.
1502 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1503 test -d "$ac_dir" ||
1504 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1512 # A ".." for each directory in $ac_dir_suffix.
1513 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1514 case $ac_top_builddir_sub in
1515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1519 ac_abs_top_builddir=$ac_pwd
1520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1521 # for backward compatibility:
1522 ac_top_builddir=$ac_top_build_prefix
1525 .) # We are building in place.
1527 ac_top_srcdir=$ac_top_builddir_sub
1528 ac_abs_top_srcdir=$ac_pwd ;;
1529 [\\/]* | ?:[\\/]* ) # Absolute name.
1530 ac_srcdir=$srcdir$ac_dir_suffix;
1531 ac_top_srcdir=$srcdir
1532 ac_abs_top_srcdir=$srcdir ;;
1534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1535 ac_top_srcdir=$ac_top_build_prefix$srcdir
1536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1540 cd "$ac_dir" || { ac_status=$?; continue; }
1541 # Check for guested configure.
1542 if test -f "$ac_srcdir/configure.gnu"; then
1544 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1545 elif test -f "$ac_srcdir/configure"; then
1547 $SHELL "$ac_srcdir/configure" --help=recursive
1549 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1551 cd "$ac_pwd" || { ac_status=$?; break; }
1555 test -n "$ac_init_help" && exit $ac_status
1556 if $ac_init_version; then
1558 package-unused configure version-unused
1559 generated by GNU Autoconf 2.69
1561 Copyright (C) 2012 Free Software Foundation, Inc.
1562 This configure script is free software; the Free Software Foundation
1563 gives unlimited permission to copy, distribute and modify it.
1568 ## ------------------------ ##
1569 ## Autoconf initialization. ##
1570 ## ------------------------ ##
1572 # ac_fn_c_try_compile LINENO
1573 # --------------------------
1574 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1575 ac_fn_c_try_compile ()
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 rm -f conftest.$ac_objext
1579 if { { ac_try="$ac_compile"
1581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1582 *) ac_try_echo
=$ac_try;;
1584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_compile") 2>conftest.err
1588 if test -s conftest.err
; then
1589 grep -v '^ *+' conftest.err
>conftest.er1
1590 cat conftest.er1
>&5
1591 mv -f conftest.er1 conftest.err
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } && {
1595 test -z "$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1597 } && test -s conftest.
$ac_objext; then :
1600 $as_echo "$as_me: failed program was:" >&5
1601 sed 's/^/| /' conftest.
$ac_ext >&5
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status
$ac_retval
1608 } # ac_fn_c_try_compile
1610 # ac_fn_c_try_cpp LINENO
1611 # ----------------------
1612 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1616 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625 if test -s conftest.err; then
1626 grep -v '^ *+' conftest.err >conftest.er1
1627 cat conftest.er1 >&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } > conftest.i && {
1632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1647 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1648 # -------------------------------------------------------
1649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1650 # the include files in INCLUDES and setting the cache variable VAR
1652 ac_fn_c_check_header_mongrel ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 if eval \${$3+:} false; then :
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if eval \${$3+:} false; then :
1659 $as_echo_n "(cached) " >&6
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1665 # Is the header compilable?
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1667 $as_echo_n "checking $2 usability... " >&6; }
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669 /* end confdefs.h. */
1673 if ac_fn_c_try_compile "$LINENO"; then :
1674 ac_header_compiler=yes
1676 ac_header_compiler=no
1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1680 $as_echo "$ac_header_compiler" >&6; }
1682 # Is the header present?
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1684 $as_echo_n "checking $2 presence... " >&6; }
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1689 if ac_fn_c_try_cpp "$LINENO"; then :
1690 ac_header_preproc=yes
1692 ac_header_preproc=no
1694 rm -f conftest.err conftest.i conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1696 $as_echo "$ac_header_preproc" >&6; }
1698 # So? What about this header?
1699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1710 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1714 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720 $as_echo_n "checking for $2... " >&6; }
1721 if eval \${$3+:} false; then :
1722 $as_echo_n "(cached) " >&6
1724 eval "$3=\$ac_header_compiler"
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 } # ac_fn_c_check_header_mongrel
1734 # ac_fn_c_try_run LINENO
1735 # ----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737 # that executables *can* be run.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1752 { { case "(($ac_try" in
1753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_try") 2>&5
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; }; }; then :
1764 $as_echo "$as_me: program exited with status $ac_status" >&5
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1768 ac_retval=$ac_status
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status $ac_retval
1776 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists and can be compiled using the include files in
1779 # INCLUDES, setting the cache variable VAR accordingly.
1780 ac_fn_c_check_header_compile ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1793 if ac_fn_c_try_compile "$LINENO"; then :
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_header_compile
1807 # ac_fn_cxx_try_compile LINENO
1808 # ----------------------------
1809 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_cxx_try_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 rm -f conftest.$ac_objext
1814 if { { ac_try="$ac_compile"
1816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1817 *) ac_try_echo
=$ac_try;;
1819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_compile") 2>conftest.err
1823 if test -s conftest.err
; then
1824 grep -v '^ *+' conftest.err
>conftest.er1
1825 cat conftest.er1
>&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_cxx_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest.
$ac_objext; then :
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.
$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status
$ac_retval
1843 } # ac_fn_cxx_try_compile
1845 # ac_fn_c_try_link LINENO
1846 # -----------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded.
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 rm -f conftest.
$ac_objext conftest
$ac_exeext
1852 if { { ac_try
="$ac_link"
1854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>conftest.err
1861 if test -s conftest.err; then
1862 grep -v '^ *+' conftest.err >conftest.er1
1863 cat conftest.er1 >&5
1864 mv -f conftest.er1 conftest.err
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; } && {
1868 test -z "$ac_c_werror_flag" ||
1869 test ! -s conftest.err
1870 } && test -s conftest$ac_exeext && {
1871 test "$cross_compiling" = yes ||
1872 test -x conftest$ac_exeext
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1881 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1882 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1883 # interfere with the next link command; also delete a directory that is
1884 # left behind by Apple's compiler. We do this before executing the actions.
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1889 } # ac_fn_c_try_link
1891 # ac_fn_c_check_func LINENO FUNC VAR
1892 # ----------------------------------
1893 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1894 ac_fn_c_check_func ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \${$3+:} false; then :
1900 $as_echo_n "(cached) " >&6
1902 if test x$gcc_no_link = xyes; then
1903 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1907 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1909 #define $2 innocuous_$2
1911 /* System header to define __stub macros and hopefully few prototypes,
1912 which can conflict with char $2 (); below.
1913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1914 <limits.h> exists even on freestanding compilers. */
1917 # include <limits.h>
1919 # include <assert.h>
1924 /* Override any GCC internal prototype to avoid an error.
1925 Use char because int might match the return type of a GCC
1926 builtin and then its argument prototype would still apply. */
1931 /* The GNU C library defines this for functions which it implements
1932 to always fail with ENOSYS. Some functions are actually named
1933 something starting with __ and the normal name is an alias. */
1934 #if defined __stub_$2 || defined __stub___$2
1946 if ac_fn_c_try_link "$LINENO"; then :
1951 rm -f core conftest.err conftest.$ac_objext \
1952 conftest$ac_exeext conftest.$ac_ext
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 } # ac_fn_c_check_func
1961 # ac_fn_cxx_try_cpp LINENO
1962 # ------------------------
1963 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1964 ac_fn_cxx_try_cpp ()
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 if { { ac_try="$ac_cpp conftest.$ac_ext"
1969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1970 *) ac_try_echo
=$ac_try;;
1972 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973 $as_echo "$ac_try_echo"; } >&5
1974 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1976 if test -s conftest.err
; then
1977 grep -v '^ *+' conftest.err
>conftest.er1
1978 cat conftest.er1
>&5
1979 mv -f conftest.er1 conftest.err
1981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1982 test $ac_status = 0; } > conftest.i
&& {
1983 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1984 test ! -s conftest.err
1988 $as_echo "$as_me: failed program was:" >&5
1989 sed 's/^/| /' conftest.
$ac_ext >&5
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1994 as_fn_set_status
$ac_retval
1996 } # ac_fn_cxx_try_cpp
1998 # ac_fn_cxx_try_link LINENO
1999 # -------------------------
2000 # Try to link conftest.$ac_ext, and return whether this succeeded.
2001 ac_fn_cxx_try_link
()
2003 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2004 rm -f conftest.
$ac_objext conftest
$ac_exeext
2005 if { { ac_try
="$ac_link"
2007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_link") 2>conftest.err
2014 if test -s conftest.err; then
2015 grep -v '^ *+' conftest.err >conftest.er1
2016 cat conftest.er1 >&5
2017 mv -f conftest.er1 conftest.err
2019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020 test $ac_status = 0; } && {
2021 test -z "$ac_cxx_werror_flag" ||
2022 test ! -s conftest.err
2023 } && test -s conftest$ac_exeext && {
2024 test "$cross_compiling" = yes ||
2025 test -x conftest$ac_exeext
2029 $as_echo "$as_me: failed program was:" >&5
2030 sed 's/^/| /' conftest.$ac_ext >&5
2034 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2035 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2036 # interfere with the next link command; also delete a directory that is
2037 # left behind by Apple's compiler. We do this before executing the actions.
2038 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 as_fn_set_status $ac_retval
2042 } # ac_fn_cxx_try_link
2044 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2045 # -------------------------------------------
2046 # Tests whether TYPE exists after having included INCLUDES, setting cache
2047 # variable VAR accordingly.
2048 ac_fn_c_check_type ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \${$3+:} false; then :
2054 $as_echo_n "(cached) " >&6
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2069 if ac_fn_c_try_compile "$LINENO"; then :
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2082 if ac_fn_c_try_compile "$LINENO"; then :
2087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2093 $as_echo "$ac_res" >&6; }
2094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2096 } # ac_fn_c_check_type
2097 cat >config.log <<_ACEOF
2098 This file contains any messages produced by compilers while
2099 running configure, to aid debugging if configure makes a mistake.
2101 It was created by package-unused $as_me version-unused, which was
2102 generated by GNU Autoconf 2.69. Invocation command line was
2114 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2115 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2116 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2117 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2118 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2120 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2121 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2123 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2124 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2125 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2126 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2127 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2128 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2129 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir=.
2138 $as_echo "PATH: $as_dir"
2154 # Keep a trace of the command line.
2155 # Strip out --no-create and --no-recursion so they do not pile up.
2156 # Strip out --silent because we don't want to record it for future runs.
2157 # Also quote any args containing shell meta-characters.
2158 # Make two passes to allow for proper duplicate-argument suppression.
2162 ac_must_keep_next=false
2168 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2170 | -silent | --silent | --silen | --sile | --sil)
2173 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2176 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2178 as_fn_append ac_configure_args1 " '$ac_arg'"
2179 if test $ac_must_keep_next = true; then
2180 ac_must_keep_next=false # Got value, back to normal.
2183 *=* | --config-cache | -C | -disable-* | --disable-* \
2184 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2185 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2186 | -with-* | --with-* | -without-* | --without-* | --x)
2187 case "$ac_configure_args0 " in
2188 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2191 -* ) ac_must_keep_next=true ;;
2194 as_fn_append ac_configure_args " '$ac_arg'"
2199 { ac_configure_args0=; unset ac_configure_args0;}
2200 { ac_configure_args1=; unset ac_configure_args1;}
2202 # When interrupted or exit'd, cleanup temporary files, and complete
2203 # config.log. We remove comments because anyway the quotes in there
2204 # would cause problems or look ugly.
2205 # WARNING: Use '\'' to represent an apostrophe within the trap.
2206 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2207 trap 'exit_status=$?
2208 # Save into config.log some information that might help in debugging.
2212 $as_echo "## ---------------- ##
2213 ## Cache variables. ##
2214 ## ---------------- ##"
2216 # The following way of writing the cache mishandles newlines in values,
2218 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2219 eval ac_val=\$$ac_var
2223 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2224 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2227 _ | IFS | as_nl) ;; #(
2228 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2229 *) { eval $ac_var=; unset $ac_var;} ;;
2234 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2235 *${as_nl}ac_space=\ *)
2237 "s/'\''/'\''\\\\'\'''\''/g;
2238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2248 $as_echo "## ----------------- ##
2249 ## Output variables. ##
2250 ## ----------------- ##"
2252 for ac_var in $ac_subst_vars
2254 eval ac_val=\$$ac_var
2256 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 $as_echo "$ac_var='\''$ac_val'\''"
2262 if test -n "$ac_subst_files"; then
2263 $as_echo "## ------------------- ##
2264 ## File substitutions. ##
2265 ## ------------------- ##"
2267 for ac_var in $ac_subst_files
2269 eval ac_val=\$$ac_var
2271 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 $as_echo "$ac_var='\''$ac_val'\''"
2278 if test -s confdefs.h; then
2279 $as_echo "## ----------- ##
2286 test "$ac_signal" != 0 &&
2287 $as_echo "$as_me: caught signal $ac_signal"
2288 $as_echo "$as_me: exit $exit_status"
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 for ac_signal in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest* confdefs.h
2302 $as_echo "/* confdefs.h */" > confdefs.h
2304 # Predefined preprocessor variables.
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_NAME "$PACKAGE_NAME"
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_STRING "$PACKAGE_STRING"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_URL "$PACKAGE_URL"
2331 # Let the site file select an alternate cache file if it wants to.
2332 # Prefer an explicitly selected file to automatically selected ones.
2335 if test -n "$CONFIG_SITE"; then
2336 # We do not want a PATH search for config.site.
2337 case $CONFIG_SITE in #((
2338 -*) ac_site_file1=./$CONFIG_SITE;;
2339 */*) ac_site_file1=$CONFIG_SITE;;
2340 *) ac_site_file1=./$CONFIG_SITE;;
2342 elif test "x$prefix" != xNONE; then
2343 ac_site_file1=$prefix/share/config.site
2344 ac_site_file2=$prefix/etc/config.site
2346 ac_site_file1=$ac_default_prefix/share/config.site
2347 ac_site_file2=$ac_default_prefix/etc/config.site
2349 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2351 test "x$ac_site_file" = xNONE && continue
2352 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2354 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2355 sed 's/^/| /' "$ac_site_file" >&5
2357 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 as_fn_error $? "failed to load site
script $ac_site_file
2360 See \
`config.log' for more details" "$LINENO" 5; }
2364 if test -r "$cache_file"; then
2365 # Some versions of bash will fail to source /dev/null (special files
2366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2367 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2369 $as_echo "$as_me: loading cache $cache_file" >&6;}
2371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2372 *) . "./$cache_file";;
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2377 $as_echo "$as_me: creating cache $cache_file" >&6;}
2381 # Check that the precious variables saved in the cache have kept the same
2383 ac_cache_corrupted=false
2384 for ac_var in $ac_precious_vars; do
2385 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2386 eval ac_new_set=\$ac_env_${ac_var}_set
2387 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2388 eval ac_new_val=\$ac_env_${ac_var}_value
2389 case $ac_old_set,$ac_new_set in
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2392 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2393 ac_cache_corrupted=: ;;
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2396 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2397 ac_cache_corrupted=: ;;
2400 if test "x$ac_old_val" != "x$ac_new_val"; then
2401 # differences in whitespace do not lead to failure.
2402 ac_old_val_w=`echo x
$ac_old_val`
2403 ac_new_val_w=`echo x
$ac_new_val`
2404 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2406 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2407 ac_cache_corrupted=:
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2410 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2411 eval $ac_var=\$ac_old_val
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2414 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2416 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2419 # Pass precious variables to config.status.
2420 if test "$ac_new_set" = set; then
2422 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2423 *) ac_arg=$ac_var=$ac_new_val ;;
2425 case " $ac_configure_args " in
2426 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2427 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2431 if $ac_cache_corrupted; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2435 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2436 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2438 ## -------------------- ##
2439 ## Main body of script. ##
2440 ## -------------------- ##
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2453 # AC_CONFIG_MACRO_DIR([config])
2454 ac_config_headers="$ac_config_headers config.h"
2457 libtool_VERSION=18:0:0
2460 # Default to --enable-multilib
2461 # Check whether --enable-multilib was given.
2462 if test "${enable_multilib+set}" = set; then :
2463 enableval=$enable_multilib; case "$enableval" in
2464 yes) multilib=yes ;;
2466 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2473 # We may get other options which we leave undocumented:
2474 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2475 # See config-ml.in if you want the gory details.
2477 if test "$srcdir" = "."; then
2478 if test "$with_target_subdir" != "."; then
2479 multi_basedir="$srcdir/$with_multisrctop../.."
2481 multi_basedir="$srcdir/$with_multisrctop.."
2484 multi_basedir="$srcdir/.."
2488 # Even if the default multilib is not a cross compilation,
2489 # it may be that some of the other multilibs are.
2490 if test $cross_compiling = no && test $multilib = yes \
2491 && test "x${with_multisubdir}" != x ; then
2492 cross_compiling=maybe
2495 ac_config_commands="$ac_config_commands default-1"
2501 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2502 if test -f "$ac_dir/install-sh"; then
2504 ac_install_sh="$ac_aux_dir/install-sh -c"
2506 elif test -f "$ac_dir/install.sh"; then
2508 ac_install_sh="$ac_aux_dir/install.sh -c"
2510 elif test -f "$ac_dir/shtool"; then
2512 ac_install_sh="$ac_aux_dir/shtool install -c"
2516 if test -z "$ac_aux_dir"; then
2517 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2520 # These three variables are undocumented and unsupported,
2521 # and are intended to be withdrawn in a future Autoconf release.
2522 # They can cause serious problems if a builder's source tree is in a directory
2523 # whose full name contains unusual characters.
2524 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2525 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2526 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2529 # Expand $ac_aux_dir to an absolute path.
2530 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2533 ac_cpp='$CPP $CPPFLAGS'
2534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537 if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_CC+:} false; then :
2543 $as_echo_n "(cached) " >&6
2545 if test -n "$CC"; then
2546 ac_cv_prog_CC="$CC" # Let the user override the test.
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir=.
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2555 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 if test -n "$CC"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2568 $as_echo "$CC" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571 $as_echo "no" >&6; }
2576 if test -z "$ac_cv_prog_CC"; then
2578 # Extract the first word of "gcc", so it can be a program name with args.
2579 set dummy gcc; ac_word=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$ac_ct_CC"; then
2586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_ac_ct_CC="gcc"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2608 $as_echo "$ac_ct_CC" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2614 if test "x$ac_ct_CC" = x; then
2617 case $cross_compiling:$ac_tool_warned in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621 ac_tool_warned=yes ;;
2629 if test -z "$CC"; then
2630 if test -n "$ac_tool_prefix"; then
2631 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2632 set dummy ${ac_tool_prefix}cc; ac_word=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if ${ac_cv_prog_CC+:} false; then :
2636 $as_echo_n "(cached) " >&6
2638 if test -n "$CC"; then
2639 ac_cv_prog_CC="$CC" # Let the user override the test.
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir=.
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648 ac_cv_prog_CC="${ac_tool_prefix}cc"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test -n "$CC"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2661 $as_echo "$CC" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2670 if test -z "$CC"; then
2671 # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_CC+:} false; then :
2676 $as_echo_n "(cached) " >&6
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC="$CC" # Let the user override the test.
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690 ac_prog_rejected=yes
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test $ac_prog_rejected = yes; then
2702 # We found a bogon in the path, so make sure we never use it.
2703 set dummy $ac_cv_prog_CC
2705 if test $# != 0; then
2706 # We chose a different compiler from the bogus one.
2707 # However, it has the same basename, so the bogon will be chosen
2708 # first if we set CC to just the basename; use the full file name.
2710 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 for ac_prog in cl.exe
2730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_CC+:} false; then :
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$CC"; then
2738 ac_cv_prog_CC="$CC" # Let the user override the test.
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir=.
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 if test -n "$CC"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2760 $as_echo "$CC" >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2767 test -n "$CC" && break
2770 if test -z "$CC"; then
2772 for ac_prog in cl.exe
2774 # Extract the first word of "$ac_prog", so it can be a program name with args.
2775 set dummy $ac_prog; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$ac_ct_CC"; then
2782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir=.
2789 for ac_exec_ext in '' $ac_executable_extensions; do
2790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_ac_ct_CC="$ac_prog"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2802 if test -n "$ac_ct_CC"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2804 $as_echo "$ac_ct_CC" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2811 test -n "$ac_ct_CC" && break
2814 if test "x$ac_ct_CC" = x; then
2817 case $cross_compiling:$ac_tool_warned in
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned=yes ;;
2830 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2833 See \
`config.log' for more details" "$LINENO" 5; }
2835 # Provide some information about the compiler.
2836 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2839 for ac_option in --version -v -V -qversion; do
2840 { { ac_try="$ac_compiler $ac_option >&5"
2842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2843 *) ac_try_echo
=$ac_try;;
2845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2849 if test -s conftest.err
; then
2851 ... rest of stderr output deleted ...
2852 10q' conftest.err
>conftest.er1
2853 cat conftest.er1
>&5
2855 rm -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; }
2860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2866 printf ("hello world\n");
2872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2873 (eval $ac_link) 2>&5
2875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2876 test $ac_status = 0; }; then :
2881 if test x
$gcc_no_link = xyes
; then
2882 # Setting cross_compile will disable run tests; it will
2883 # also disable AC_CHECK_FILE but that's generally
2884 # correct if we can't link.
2888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2899 ac_clean_files_save
=$ac_clean_files
2900 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2901 # Try to create an executable without -o first, disregard a.out.
2902 # It will help us diagnose broken compilers, and finding out an intuition
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2905 $as_echo_n "checking whether the C compiler works... " >&6; }
2906 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2908 # The possible output files:
2909 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2912 for ac_file
in $ac_files
2915 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2916 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2921 if { { ac_try
="$ac_link_default"
2923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2927 $as_echo "$ac_try_echo"; } >&5
2928 (eval "$ac_link_default") 2>&5
2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2931 test $ac_status = 0; }; then :
2932 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2933 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2934 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2935 # so that the user can short-circuit this test for compilers unknown to
2937 for ac_file in $ac_files ''
2939 test -f "$ac_file" || continue
2941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2944 # We found the default executable, but exeext='' is most
2948 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2950 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2952 # We set ac_cv_exeext here because the later test for it is not
2953 # safe: cross compilers may not add the suffix if given an `-o'
2954 # argument, so we may need to know it at that point already.
2955 # Even if this section looks crufty: it has the advantage of
2962 test "$ac_cv_exeext" = no && ac_cv_exeext=
2967 if test -z "$ac_file"; then :
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2970 $as_echo "$as_me: failed program was:" >&5
2971 sed 's
/^
/|
/' conftest.$ac_ext >&5
2973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2975 as_fn_error 77 "C compiler cannot create executables
2976 See \`config.log
' for more details" "$LINENO" 5; }
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2979 $as_echo "yes" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2982 $as_echo_n "checking for C compiler default output file name... " >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2984 $as_echo "$ac_file" >&6; }
2985 ac_exeext=$ac_cv_exeext
2987 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2988 ac_clean_files=$ac_clean_files_save
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2990 $as_echo_n "checking for suffix of executables... " >&6; }
2991 if { { ac_try="$ac_link"
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_link") 2>&5
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }; then :
3002 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3003 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3004 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3006 for ac_file
in conftest.exe conftest conftest.
*; do
3007 test -f "$ac_file" ||
continue
3009 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3010 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3019 See \`config.log' for more details" "$LINENO" 5; }
3021 rm -f conftest conftest
$ac_cv_exeext
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3023 $as_echo "$ac_cv_exeext" >&6; }
3025 rm -f conftest.
$ac_ext
3026 EXEEXT
=$ac_cv_exeext
3028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3034 FILE *f = fopen ("conftest.out", "w");
3035 return ferror (f) || fclose (f) != 0;
3041 ac_clean_files
="$ac_clean_files conftest.out"
3042 # Check that the compiler produces executables we can run. If not, either
3043 # the compiler is broken, or we cross compile.
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3045 $as_echo_n "checking whether we are cross compiling... " >&6; }
3046 if test "$cross_compiling" != yes; then
3047 { { ac_try
="$ac_link"
3049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_link") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }
3058 if { ac_try='./conftest$ac_cv_exeext'
3059 { { case "(($ac_try" in
3060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3061 *) ac_try_echo
=$ac_try;;
3063 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3064 $as_echo "$ac_try_echo"; } >&5
3065 (eval "$ac_try") 2>&5
3067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3068 test $ac_status = 0; }; }; then
3071 if test "$cross_compiling" = maybe
; then
3074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3076 as_fn_error $?
"cannot run C compiled programs.
3077 If you meant to cross compile, use \`--host'.
3078 See \`config.log' for more details" "$LINENO" 5; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3083 $as_echo "$cross_compiling" >&6; }
3085 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3086 ac_clean_files
=$ac_clean_files_save
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3089 $as_echo_n "checking for suffix of object files... " >&6; }
3090 if ${ac_cv_objext+:} false
; then :
3091 $as_echo_n "(cached) " >&6
3093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3104 rm -f conftest.o conftest.obj
3105 if { { ac_try
="$ac_compile"
3107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_compile") 2>&5
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; }; then :
3116 for ac_file in conftest.o conftest.obj conftest.*; do
3117 test -f "$ac_file" || continue;
3119 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3120 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3125 $as_echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3131 See \
`config.log' for more details" "$LINENO" 5; }
3133 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3136 $as_echo "$ac_cv_objext" >&6; }
3137 OBJEXT=$ac_cv_objext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3140 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3141 if ${ac_cv_c_compiler_gnu+:} false; then :
3142 $as_echo_n "(cached) " >&6
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3158 if ac_fn_c_try_compile "$LINENO"; then :
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3168 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3169 if test $ac_compiler_gnu = yes; then
3174 ac_test_CFLAGS=${CFLAGS+set}
3175 ac_save_CFLAGS=$CFLAGS
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3177 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3178 if ${ac_cv_prog_cc_g+:} false; then :
3179 $as_echo_n "(cached) " >&6
3181 ac_save_c_werror_flag=$ac_c_werror_flag
3182 ac_c_werror_flag=yes
3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3196 if ac_fn_c_try_compile "$LINENO"; then :
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3211 if ac_fn_c_try_compile "$LINENO"; then :
3214 ac_c_werror_flag=$ac_save_c_werror_flag
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3227 if ac_fn_c_try_compile "$LINENO"; then :
3230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3238 $as_echo "$ac_cv_prog_cc_g" >&6; }
3239 if test "$ac_test_CFLAGS" = set; then
3240 CFLAGS=$ac_save_CFLAGS
3241 elif test $ac_cv_prog_cc_g = yes; then
3242 if test "$GCC" = yes; then
3248 if test "$GCC" = yes; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3255 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3256 if ${ac_cv_prog_cc_c89+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 ac_cv_prog_cc_c89=no
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3266 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3267 struct buf { int x; };
3268 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3269 static char *e (p, i)
3275 static char *f (char * (*g) (char **, int), char **p, ...)
3280 s = g (p, va_arg (v,int));
3285 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3286 function prototypes and stuff, but not '\xHH' hex character constants.
3287 These don't provoke an error unfortunately, instead are silently treated
3288 as 'x'. The following induces an error, until -std is added to get
3289 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3290 array size at least. It's necessary to write '\x00'==0 to get something
3291 that's true only with -std. */
3292 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3294 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3295 inside strings and character constants. */
3297 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3299 int test (int i, double x);
3300 struct s1 {int (*f) (int a);};
3301 struct s2 {int (*f) (double a);};
3302 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3308 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3313 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3314 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3316 CC="$ac_save_CC $ac_arg"
3317 if ac_fn_c_try_compile "$LINENO"; then :
3318 ac_cv_prog_cc_c89=$ac_arg
3320 rm -f core conftest.err conftest.$ac_objext
3321 test "x$ac_cv_prog_cc_c89" != "xno" && break
3323 rm -f conftest.$ac_ext
3328 case "x$ac_cv_prog_cc_c89" in
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3331 $as_echo "none needed" >&6; } ;;
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3334 $as_echo "unsupported" >&6; } ;;
3336 CC="$CC $ac_cv_prog_cc_c89"
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3338 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3340 if test "x$ac_cv_prog_cc_c89" != xno; then :
3345 ac_cpp='$CPP $CPPFLAGS'
3346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 ac_cpp='$CPP $CPPFLAGS'
3352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3356 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3357 if ${am_cv_prog_cc_c_o+:} false; then :
3358 $as_echo_n "(cached) " >&6
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 # Make sure it works both with $CC and with simple cc.
3372 # Following AC_PROG_CC_C_O, we do the test twice because some
3373 # compilers refuse to overwrite an existing .o file with -o,
3374 # though they will create one.
3375 am_cv_prog_cc_c_o=yes
3377 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3378 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } \
3382 && test -f conftest2.$ac_objext; then
3385 am_cv_prog_cc_c_o=no
3389 rm -f core conftest*
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3393 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3394 if test "$am_cv_prog_cc_c_o" != yes; then
3395 # Losing compiler, so override with the script.
3396 # FIXME: It is wrong to rewrite CC.
3397 # But if we don't then we get into trouble of one sort or another.
3398 # A longer-term fix would be to have automake use am__CC in this case,
3399 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3400 CC="$am_aux_dir/compile $CC"
3403 ac_cpp='$CPP $CPPFLAGS'
3404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3411 ac_cpp='$CPP $CPPFLAGS'
3412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3416 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3417 # On Suns, sometimes $CPP names a directory.
3418 if test -n "$CPP" && test -d "$CPP"; then
3421 if test -z "$CPP"; then
3422 if ${ac_cv_prog_CPP+:} false; then :
3423 $as_echo_n "(cached) " >&6
3425 # Double quotes because CPP needs to be expanded
3426 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3429 for ac_c_preproc_warn_flag in '' yes
3431 # Use a header file that comes with gcc, so configuring glibc
3432 # with a fresh cross-compiler works.
3433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3434 # <limits.h> exists even on freestanding compilers.
3435 # On the NeXT, cc -E runs the code through the compiler's parser,
3436 # not just through cpp. "Syntax error" is here to catch this case.
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3440 # include <limits.h>
3442 # include <assert.h>
3446 if ac_fn_c_try_cpp "$LINENO"; then :
3449 # Broken: fails on valid input.
3452 rm -f conftest.err conftest.i conftest.$ac_ext
3454 # OK, works on sane cases. Now check whether nonexistent headers
3455 # can be detected and how.
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3458 #include <ac_nonexistent.h>
3460 if ac_fn_c_try_cpp "$LINENO"; then :
3461 # Broken: success on invalid input.
3464 # Passes both tests.
3468 rm -f conftest.err conftest.i conftest.$ac_ext
3471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3472 rm -f conftest.i conftest.err conftest.
$ac_ext
3473 if $ac_preproc_ok; then :
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3486 $as_echo "$CPP" >&6; }
3488 for ac_c_preproc_warn_flag
in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error" is here to catch this case.
3496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3499 # include <limits.h>
3501 # include <assert.h>
3505 if ac_fn_c_try_cpp
"$LINENO"; then :
3508 # Broken: fails on valid input.
3511 rm -f conftest.err conftest.i conftest.
$ac_ext
3513 # OK, works on sane cases. Now check whether nonexistent headers
3514 # can be detected and how.
3515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3517 #include <ac_nonexistent.h>
3519 if ac_fn_c_try_cpp
"$LINENO"; then :
3520 # Broken: success on invalid input.
3523 # Passes both tests.
3527 rm -f conftest.err conftest.i conftest.
$ac_ext
3530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3531 rm -f conftest.i conftest.err conftest.
$ac_ext
3532 if $ac_preproc_ok; then :
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3538 See \`config.log' for more details" "$LINENO" 5; }
3542 ac_cpp
='$CPP $CPPFLAGS'
3543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3549 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3550 if ${ac_cv_path_GREP+:} false
; then :
3551 $as_echo_n "(cached) " >&6
3553 if test -z "$GREP"; then
3554 ac_path_GREP_found
=false
3555 # Loop through the user's path and test for each of PROGNAME-LIST
3556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3560 test -z "$as_dir" && as_dir
=.
3561 for ac_prog
in grep ggrep
; do
3562 for ac_exec_ext
in '' $ac_executable_extensions; do
3563 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3564 as_fn_executable_p
"$ac_path_GREP" ||
continue
3565 # Check for GNU ac_path_GREP and select it if it is found.
3566 # Check for GNU $ac_path_GREP
3567 case `"$ac_path_GREP" --version 2>&1` in
3569 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3572 $as_echo_n 0123456789 >"conftest.in"
3575 cat "conftest.in" "conftest.in" >"conftest.tmp"
3576 mv "conftest.tmp" "conftest.in"
3577 cp "conftest.in" "conftest.nl"
3578 $as_echo 'GREP' >> "conftest.nl"
3579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3580 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3581 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3583 # Best one so far, save it but keep looking for a better one
3584 ac_cv_path_GREP
="$ac_path_GREP"
3585 ac_path_GREP_max
=$ac_count
3587 # 10*(2^10) chars as input seems more than enough
3588 test $ac_count -gt 10 && break
3590 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3593 $ac_path_GREP_found && break 3
3598 if test -z "$ac_cv_path_GREP"; then
3599 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3602 ac_cv_path_GREP
=$GREP
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3607 $as_echo "$ac_cv_path_GREP" >&6; }
3608 GREP
="$ac_cv_path_GREP"
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3612 $as_echo_n "checking for egrep... " >&6; }
3613 if ${ac_cv_path_EGREP+:} false
; then :
3614 $as_echo_n "(cached) " >&6
3616 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3617 then ac_cv_path_EGREP
="$GREP -E"
3619 if test -z "$EGREP"; then
3620 ac_path_EGREP_found
=false
3621 # Loop through the user's path and test for each of PROGNAME-LIST
3622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3626 test -z "$as_dir" && as_dir
=.
3627 for ac_prog
in egrep; do
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3630 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3631 # Check for GNU ac_path_EGREP and select it if it is found.
3632 # Check for GNU $ac_path_EGREP
3633 case `"$ac_path_EGREP" --version 2>&1` in
3635 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3638 $as_echo_n 0123456789 >"conftest.in"
3641 cat "conftest.in" "conftest.in" >"conftest.tmp"
3642 mv "conftest.tmp" "conftest.in"
3643 cp "conftest.in" "conftest.nl"
3644 $as_echo 'EGREP' >> "conftest.nl"
3645 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3646 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3647 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3648 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3649 # Best one so far, save it but keep looking for a better one
3650 ac_cv_path_EGREP
="$ac_path_EGREP"
3651 ac_path_EGREP_max
=$ac_count
3653 # 10*(2^10) chars as input seems more than enough
3654 test $ac_count -gt 10 && break
3656 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3659 $ac_path_EGREP_found && break 3
3664 if test -z "$ac_cv_path_EGREP"; then
3665 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3668 ac_cv_path_EGREP
=$EGREP
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3674 $as_echo "$ac_cv_path_EGREP" >&6; }
3675 EGREP
="$ac_cv_path_EGREP"
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3679 $as_echo_n "checking for ANSI C header files... " >&6; }
3680 if ${ac_cv_header_stdc+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3698 if ac_fn_c_try_compile
"$LINENO"; then :
3699 ac_cv_header_stdc
=yes
3701 ac_cv_header_stdc
=no
3703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3705 if test $ac_cv_header_stdc = yes; then
3706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3713 $EGREP "memchr" >/dev
/null
2>&1; then :
3716 ac_cv_header_stdc
=no
3722 if test $ac_cv_header_stdc = yes; then
3723 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3730 $EGREP "free" >/dev
/null
2>&1; then :
3733 ac_cv_header_stdc
=no
3739 if test $ac_cv_header_stdc = yes; then
3740 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3741 if test "$cross_compiling" = yes; then :
3744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3748 #if ((' ' & 0x0FF) == 0x020)
3749 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3750 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3752 # define ISLOWER(c) \
3753 (('a' <= (c) && (c) <= 'i') \
3754 || ('j' <= (c) && (c) <= 'r') \
3755 || ('s' <= (c) && (c) <= 'z'))
3756 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3759 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3764 for (i = 0; i < 256; i++)
3765 if (XOR (islower (i), ISLOWER (i))
3766 || toupper (i) != TOUPPER (i))
3771 if ac_fn_c_try_run
"$LINENO"; then :
3774 ac_cv_header_stdc
=no
3776 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3777 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3783 $as_echo "$ac_cv_header_stdc" >&6; }
3784 if test $ac_cv_header_stdc = yes; then
3786 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3790 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3791 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3792 inttypes.h stdint.h unistd.h
3794 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3795 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3797 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3798 cat >>confdefs.h
<<_ACEOF
3799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3808 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3809 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3816 if test "$MINIX" = yes; then
3818 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3821 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3824 $as_echo "#define _MINIX 1" >>confdefs.h
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3830 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3831 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3832 $as_echo_n "(cached) " >&6
3834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3837 # define __EXTENSIONS__ 1
3838 $ac_includes_default
3847 if ac_fn_c_try_compile
"$LINENO"; then :
3848 ac_cv_safe_to_define___extensions__
=yes
3850 ac_cv_safe_to_define___extensions__
=no
3852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3855 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3856 test $ac_cv_safe_to_define___extensions__ = yes &&
3857 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3859 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3861 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3863 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3865 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3869 # Do not delete or change the following two lines. For why, see
3870 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3871 # Make sure we can run config.sub.
3872 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3873 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3876 $as_echo_n "checking build system type... " >&6; }
3877 if ${ac_cv_build+:} false
; then :
3878 $as_echo_n "(cached) " >&6
3880 ac_build_alias
=$build_alias
3881 test "x$ac_build_alias" = x
&&
3882 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3883 test "x$ac_build_alias" = x
&&
3884 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3885 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3886 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3890 $as_echo "$ac_cv_build" >&6; }
3891 case $ac_cv_build in
3893 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3896 ac_save_IFS
=$IFS; IFS
='-'
3902 # Remember, the first character of IFS is used to create $*,
3903 # except with old shells:
3906 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3910 $as_echo_n "checking host system type... " >&6; }
3911 if ${ac_cv_host+:} false
; then :
3912 $as_echo_n "(cached) " >&6
3914 if test "x$host_alias" = x
; then
3915 ac_cv_host
=$ac_cv_build
3917 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3918 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3923 $as_echo "$ac_cv_host" >&6; }
3926 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3929 ac_save_IFS
=$IFS; IFS
='-'
3935 # Remember, the first character of IFS is used to create $*,
3936 # except with old shells:
3939 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3943 $as_echo_n "checking target system type... " >&6; }
3944 if ${ac_cv_target+:} false
; then :
3945 $as_echo_n "(cached) " >&6
3947 if test "x$target_alias" = x
; then
3948 ac_cv_target
=$ac_cv_host
3950 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3951 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3956 $as_echo "$ac_cv_target" >&6; }
3957 case $ac_cv_target in
3959 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3961 target
=$ac_cv_target
3962 ac_save_IFS
=$IFS; IFS
='-'
3968 # Remember, the first character of IFS is used to create $*,
3969 # except with old shells:
3972 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3975 # The aliases save the names the user supplied, while $host etc.
3976 # will get canonicalized.
3977 test -n "$target_alias" &&
3978 test "$program_prefix$program_suffix$program_transform_name" = \
3980 program_prefix
=${target_alias}-
3982 target_alias
=${target_alias-$host_alias}
3985 if test "$build" != "$host"; then
3986 # We are being configured with some form of cross compiler.
3987 GLIBCXX_IS_NATIVE
=false
3988 case "$host","$target" in
3989 # Darwin crosses can use the host system's libraries and headers,
3990 # because of the fat library support. Of course, it must be the
3991 # same version of Darwin on both sides. Allow the user to
3992 # just say --target=foo-darwin without a version number to mean
3993 # "the version on this system".
3994 *-*-darwin*,*-*-darwin*)
3995 hostos
=`echo $host | sed 's/.*-darwin/darwin/'`
3996 targetos
=`echo $target | sed 's/.*-darwin/darwin/'`
3997 if test $hostos = $targetos ||
test $targetos = darwin
; then
3998 GLIBCXX_IS_NATIVE
=true
4007 GLIBCXX_IS_NATIVE
=true
4010 # Runs configure.host, and assorted other critical bits. Sets
4011 # up critical shell variables.
4014 # For gettimeofday support.
4015 GLIBCXX_CHECK_GETTIMEOFDAY
4017 # For clock_gettime, nanosleep and sched_yield support.
4018 GLIBCXX_ENABLE_LIBSTDCXX_TIME
4021 am__api_version
='1.15'
4023 # Find a good install program. We prefer a C program (faster),
4024 # so one script is as good as another. But avoid the broken or
4025 # incompatible versions:
4026 # SysV /etc/install, /usr/sbin/install
4027 # SunOS /usr/etc/install
4028 # IRIX /sbin/install
4030 # AmigaOS /C/install, which installs bootblocks on floppy discs
4031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4034 # OS/2's system install, which has a completely different semantic
4035 # ./install, which can be erroneously created by make from ./install.sh.
4036 # Reject install programs that cannot install multiple files.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4038 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4039 if test -z "$INSTALL"; then
4040 if ${ac_cv_path_install+:} false
; then :
4041 $as_echo_n "(cached) " >&6
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir
=.
4048 # Account for people who put trailing slashes in PATH elements.
4049 case $as_dir/ in #((
4050 .
/ | .
// |
/[cC
]/* | \
4051 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4052 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4055 # OSF1 and SCO ODT 3.0 have their own names for install.
4056 # Don't use installbsd from OSF since it installs stuff as root
4058 for ac_prog
in ginstall scoinst
install; do
4059 for ac_exec_ext
in '' $ac_executable_extensions; do
4060 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4061 if test $ac_prog = install &&
4062 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4063 # AIX install. It has an incompatible calling convention.
4065 elif test $ac_prog = install &&
4066 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4067 # program-specific install script used by HP pwplus--don't use.
4070 rm -rf conftest.one conftest.two conftest.dir
4071 echo one
> conftest.one
4072 echo two
> conftest.two
4074 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4075 test -s conftest.one
&& test -s conftest.two
&&
4076 test -s conftest.dir
/conftest.one
&&
4077 test -s conftest.dir
/conftest.two
4079 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4092 rm -rf conftest.one conftest.two conftest.dir
4095 if test "${ac_cv_path_install+set}" = set; then
4096 INSTALL
=$ac_cv_path_install
4098 # As a last resort, use the slow shell script. Don't cache a
4099 # value for INSTALL within a source directory, because that will
4100 # break other packages using the cache if that directory is
4101 # removed, or if the value is a relative name.
4102 INSTALL
=$ac_install_sh
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4106 $as_echo "$INSTALL" >&6; }
4108 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4109 # It thinks the first close brace ends the variable substitution.
4110 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4112 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4114 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4117 $as_echo_n "checking whether build environment is sane... " >&6; }
4118 # Reject unsafe characters in $srcdir or the absolute working directory
4119 # name. Accept space and tab only in the latter.
4123 *[\\\"\
#\$\&\'\`$am_lf]*)
4124 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4127 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4128 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4131 # Do 'set' in a subshell so we don't clobber the current shell's
4132 # arguments. Must try -L first in case configure is actually a
4133 # symlink; some systems play weird games with the mod time of symlinks
4134 # (eg FreeBSD returns the mod time of the symlink's containing
4138 for am_try
in 1 2; do
4139 echo "timestamp, slept: $am_has_slept" > conftest.
file
4140 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4141 if test "$*" = "X"; then
4143 set X
`ls -t "$srcdir/configure" conftest.file`
4145 if test "$*" != "X $srcdir/configure conftest.file" \
4146 && test "$*" != "X conftest.file $srcdir/configure"; then
4148 # If neither matched, then we have a broken ls. This can happen
4149 # if, for instance, CONFIG_SHELL is bash and it inherits a
4150 # broken ls alias from the environment. This has actually
4151 # happened. Such a system could not be considered "sane".
4152 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4153 alias in your environment" "$LINENO" 5
4155 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4162 test "$2" = conftest.
file
4168 as_fn_error $?
"newly created file is older than distributed files!
4169 Check your system clock" "$LINENO" 5
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4172 $as_echo "yes" >&6; }
4173 # If we didn't sleep, we still need to ensure time stamps of config.status and
4174 # generated files are strictly newer.
4176 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4183 test "$program_prefix" != NONE
&&
4184 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4185 # Use a double $ so make ignores it.
4186 test "$program_suffix" != NONE
&&
4187 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4188 # Double any \ or $.
4189 # By default was `s,x,x', remove it if useless.
4190 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4191 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4193 if test x
"${MISSING+set}" != xset
; then
4196 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4198 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4201 # Use eval to expand $SHELL
4202 if eval "$MISSING --is-lightweight"; then
4203 am_missing_run
="$MISSING "
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4207 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4210 if test x
"${install_sh+set}" != xset
; then
4213 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4215 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4219 # Installed binaries are usually stripped using 'strip' when the user
4220 # run "make install-strip". However 'strip' might not be the right
4221 # tool to use in cross-compilation environments, therefore Automake
4222 # will honor the 'STRIP' environment variable to overrule this program.
4223 if test "$cross_compiling" != no
; then
4224 if test -n "$ac_tool_prefix"; then
4225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4226 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if ${ac_cv_prog_STRIP+:} false
; then :
4230 $as_echo_n "(cached) " >&6
4232 if test -n "$STRIP"; then
4233 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4242 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 STRIP
=$ac_cv_prog_STRIP
4253 if test -n "$STRIP"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4255 $as_echo "$STRIP" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4263 if test -z "$ac_cv_prog_STRIP"; then
4265 # Extract the first word of "strip", so it can be a program name with args.
4266 set dummy strip
; ac_word
=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$ac_ct_STRIP"; then
4273 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_exec_ext
in '' $ac_executable_extensions; do
4281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4282 ac_cv_prog_ac_ct_STRIP
="strip"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4293 if test -n "$ac_ct_STRIP"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4295 $as_echo "$ac_ct_STRIP" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4301 if test "x$ac_ct_STRIP" = x
; then
4304 case $cross_compiling:$ac_tool_warned in
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4308 ac_tool_warned
=yes ;;
4313 STRIP
="$ac_cv_prog_STRIP"
4317 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4320 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4321 if test -z "$MKDIR_P"; then
4322 if ${ac_cv_path_mkdir+:} false
; then :
4323 $as_echo_n "(cached) " >&6
4325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4329 test -z "$as_dir" && as_dir
=.
4330 for ac_prog
in mkdir gmkdir
; do
4331 for ac_exec_ext
in '' $ac_executable_extensions; do
4332 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4333 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4334 'mkdir (GNU coreutils) '* | \
4335 'mkdir (coreutils) '* | \
4336 'mkdir (fileutils) '4.1*)
4337 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4347 test -d .
/--version && rmdir .
/--version
4348 if test "${ac_cv_path_mkdir+set}" = set; then
4349 MKDIR_P
="$ac_cv_path_mkdir -p"
4351 # As a last resort, use the slow shell script. Don't cache a
4352 # value for MKDIR_P within a source directory, because that will
4353 # break other packages using the cache if that directory is
4354 # removed, or if the value is a relative name.
4355 MKDIR_P
="$ac_install_sh -d"
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4359 $as_echo "$MKDIR_P" >&6; }
4361 for ac_prog
in gawk mawk nawk
awk
4363 # Extract the first word of "$ac_prog", so it can be a program name with args.
4364 set dummy
$ac_prog; ac_word
=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if ${ac_cv_prog_AWK+:} false
; then :
4368 $as_echo_n "(cached) " >&6
4370 if test -n "$AWK"; then
4371 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_AWK
="$ac_prog"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 if test -n "$AWK"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4393 $as_echo "$AWK" >&6; }
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4400 test -n "$AWK" && break
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4404 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4406 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4407 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4408 $as_echo_n "(cached) " >&6
4410 cat >conftest.
make <<\_ACEOF
4413 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4415 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4416 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4418 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4420 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4424 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4426 $as_echo "yes" >&6; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4431 SET_MAKE
="MAKE=${MAKE-make}"
4434 rm -rf .tst
2>/dev
/null
4435 mkdir .tst
2>/dev
/null
4436 if test -d .tst
; then
4441 rmdir .tst
2>/dev
/null
4443 DEPDIR
="${am__leading_dot}deps"
4445 ac_config_commands
="$ac_config_commands depfiles"
4448 am_make
=${MAKE-make}
4449 cat > confinc
<< 'END'
4451 @
echo this is the am__doit target
4454 # If we don't find an include directive, just comment out the code.
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4456 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4460 # First try GNU make style include.
4461 echo "include confinc" > confmf
4462 # Ignore all kinds of additional output from 'make'.
4463 case `$am_make -s -f confmf 2> /dev/null` in #(
4464 *the\ am__doit\ target
*)
4470 # Now try BSD make style include.
4471 if test "$am__include" = "#"; then
4472 echo '.include "confinc"' > confmf
4473 case `$am_make -s -f confmf 2> /dev/null` in #(
4474 *the\ am__doit\ target
*)
4475 am__include
=.include
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4484 $as_echo "$_am_result" >&6; }
4485 rm -f confinc confmf
4487 # Check whether --enable-dependency-tracking was given.
4488 if test "${enable_dependency_tracking+set}" = set; then :
4489 enableval
=$enable_dependency_tracking;
4492 if test "x$enable_dependency_tracking" != xno
; then
4493 am_depcomp
="$ac_aux_dir/depcomp"
4497 if test "x$enable_dependency_tracking" != xno; then
4506 # Check whether --enable-silent-rules was given.
4507 if test "${enable_silent_rules+set}" = set; then :
4508 enableval
=$enable_silent_rules;
4511 case $enable_silent_rules in # (((
4512 yes) AM_DEFAULT_VERBOSITY
=0;;
4513 no
) AM_DEFAULT_VERBOSITY
=1;;
4514 *) AM_DEFAULT_VERBOSITY
=1;;
4516 am_make
=${MAKE-make}
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4518 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4519 if ${am_cv_make_support_nested_variables+:} false
; then :
4520 $as_echo_n "(cached) " >&6
4522 if $as_echo 'TRUE=$(BAR$(V))
4528 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4529 am_cv_make_support_nested_variables
=yes
4531 am_cv_make_support_nested_variables
=no
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4535 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4536 if test $am_cv_make_support_nested_variables = yes; then
4538 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4540 AM_V
=$AM_DEFAULT_VERBOSITY
4541 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4545 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4546 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4547 # is not polluted with repeated "-I."
4548 am__isrc
=' -I$(srcdir)'
4549 # test to see if srcdir already configured
4550 if test -f $srcdir/config.status
; then
4551 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4555 # test whether we have cygpath
4556 if test -z "$CYGPATH_W"; then
4557 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4558 CYGPATH_W
='cygpath -w'
4565 # Define the identity of the package.
4567 VERSION
='version-unused'
4570 # Some tools Automake needs.
4572 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4575 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4578 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4581 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4584 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4586 # For better backward compatibility. To be removed once Automake 1.9.x
4587 # dies out for good. For more background, see:
4588 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4589 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4590 mkdir_p
='$(MKDIR_P)'
4592 # We need awk for the "check" target (and possibly the TAP driver). The
4593 # system "awk" is bad on some platforms.
4594 # Always define AMTAR for backward compatibility. Yes, it's still used
4595 # in the wild :-( We should find a proper way to deprecate it ...
4599 # We'll loop over all known methods to create a tar archive until one works.
4600 _am_tools
='gnutar pax cpio none'
4602 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4608 depcc
="$CC" am_compiler_list
=
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4611 $as_echo_n "checking dependency style of $depcc... " >&6; }
4612 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4616 # We make a subdir and do the tests there. Otherwise we can end up
4617 # making bogus files that we don't know about and never remove. For
4618 # instance it was reported that on HP-UX the gcc test will end up
4619 # making a dummy file named 'D' -- because '-MD' means "put the output
4623 # Copy depcomp to subdir because otherwise we won't find it if we're
4624 # using a relative directory.
4625 cp "$am_depcomp" conftest.dir
4627 # We will build objects and dependencies in a subdirectory because
4628 # it helps to detect inapplicable dependency modes. For instance
4629 # both Tru64's cc and ICC support -MD to output dependencies as a
4630 # side effect of compilation, but ICC will put the dependencies in
4631 # the current directory while Tru64 will put them in the object
4635 am_cv_CC_dependencies_compiler_type
=none
4636 if test "$am_compiler_list" = ""; then
4637 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4640 case " $depcc " in #(
4641 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4644 for depmode
in $am_compiler_list; do
4645 # Setup a source with many dependencies, because some compilers
4646 # like to wrap large dependency lists on column 80 (with \), and
4647 # we should not choose a depcomp mode which is confused by this.
4649 # We need to recreate these files for each test, as the compiler may
4650 # overwrite some of them when testing with obscure command lines.
4651 # This happens at least with the AIX C compiler.
4653 for i
in 1 2 3 4 5 6; do
4654 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4655 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4656 # Solaris 10 /bin/sh.
4657 echo '/* dummy */' > sub
/conftst
$i.h
4659 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4661 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4662 # mode. It turns out that the SunPro C++ compiler does not properly
4663 # handle '-M -o', and we need to detect this. Also, some Intel
4664 # versions had trouble with output in subdirs.
4665 am__obj
=sub
/conftest.
${OBJEXT-o}
4666 am__minus_obj
="-o $am__obj"
4669 # This depmode causes a compiler race in universal mode.
4670 test "$am__universal" = false ||
continue
4673 # After this tag, mechanisms are not by side-effect, so they'll
4674 # only be used when explicitly requested.
4675 if test "x$enable_dependency_tracking" = xyes
; then
4681 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4682 # This compiler won't grok '-c -o', but also, the minuso test has
4683 # not run yet. These depmodes are late enough in the game, and
4684 # so weak that their functioning should not be impacted.
4685 am__obj
=conftest.
${OBJEXT-o}
4690 if depmode
=$depmode \
4691 source=sub
/conftest.c object
=$am__obj \
4692 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4693 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4694 >/dev
/null
2>conftest.err
&&
4695 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4696 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4697 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4698 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4699 # icc doesn't choke on unknown options, it will just issue warnings
4700 # or remarks (even with -Werror). So we grep stderr for any message
4701 # that says an option was ignored or not supported.
4702 # When given -MP, icc 7.0 and 7.1 complain thusly:
4703 # icc: Command line warning: ignoring option '-M'; no argument required
4704 # The diagnosis changed in icc 8.0:
4705 # icc: Command line remark: option '-MP' not supported
4706 if (grep 'ignoring option' conftest.err ||
4707 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4708 am_cv_CC_dependencies_compiler_type
=$depmode
4717 am_cv_CC_dependencies_compiler_type
=none
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4722 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4723 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4726 test "x$enable_dependency_tracking" != xno \
4727 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4729 am__fastdepCC_FALSE
='#'
4731 am__fastdepCC_TRUE
='#'
4732 am__fastdepCC_FALSE
=
4737 # POSIX will say in a future version that running "rm -f" with no argument
4738 # is OK; and we want to be able to make that assumption in our Makefile
4739 # recipes. So use an aggressive probe to check that the usage we want is
4740 # actually supported "in the wild" to an acceptable degree.
4741 # See automake bug#10828.
4742 # To make any issue more visible, cause the running configure to be aborted
4743 # by default if the 'rm' program in use doesn't match our expectations; the
4744 # user can still override this though.
4745 if rm -f && rm -fr && rm -rf; then : OK
; else
4749 Your 'rm' program seems unable to run without file operands specified
4750 on the command line, even when the '-f' option is present. This is contrary
4751 to the behaviour of most rm programs out there, and not conforming with
4752 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4754 Please tell bug-automake@gnu.org about your system, including the value
4755 of your $PATH and any error possibly output before this message. This
4756 can help us improve future automake versions.
4759 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4760 echo 'Configuration will proceed anyway, since you have set the' >&2
4761 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4765 Aborting the configuration process, to ensure you take notice of the issue.
4767 You can download and install GNU coreutils to get an 'rm' implementation
4768 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4770 If you want to complete the configuration process using your problematic
4771 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4772 to "yes", and re-run configure.
4775 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4784 # Check whether --with-cross-host was given.
4785 if test "${with_cross_host+set}" = set; then :
4786 withval
=$with_cross_host;
4790 # Checks for header files.
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4792 $as_echo_n "checking for ANSI C header files... " >&6; }
4793 if ${ac_cv_header_stdc+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4811 if ac_fn_c_try_compile
"$LINENO"; then :
4812 ac_cv_header_stdc
=yes
4814 ac_cv_header_stdc
=no
4816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4818 if test $ac_cv_header_stdc = yes; then
4819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4826 $EGREP "memchr" >/dev
/null
2>&1; then :
4829 ac_cv_header_stdc
=no
4835 if test $ac_cv_header_stdc = yes; then
4836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4843 $EGREP "free" >/dev
/null
2>&1; then :
4846 ac_cv_header_stdc
=no
4852 if test $ac_cv_header_stdc = yes; then
4853 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4854 if test "$cross_compiling" = yes; then :
4857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 #if ((' ' & 0x0FF) == 0x020)
4862 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4863 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4865 # define ISLOWER(c) \
4866 (('a' <= (c) && (c) <= 'i') \
4867 || ('j' <= (c) && (c) <= 'r') \
4868 || ('s' <= (c) && (c) <= 'z'))
4869 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4872 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4877 for (i = 0; i < 256; i++)
4878 if (XOR (islower (i), ISLOWER (i))
4879 || toupper (i) != TOUPPER (i))
4884 if ac_fn_c_try_run
"$LINENO"; then :
4887 ac_cv_header_stdc
=no
4889 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4890 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4896 $as_echo "$ac_cv_header_stdc" >&6; }
4897 if test $ac_cv_header_stdc = yes; then
4899 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4904 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4905 if ${ac_cv_header_sys_wait_h+:} false
; then :
4906 $as_echo_n "(cached) " >&6
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4910 #include <sys/types.h>
4911 #include <sys/wait.h>
4913 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4916 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4924 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4929 if ac_fn_c_try_compile
"$LINENO"; then :
4930 ac_cv_header_sys_wait_h
=yes
4932 ac_cv_header_sys_wait_h
=no
4934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4937 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4938 if test $ac_cv_header_sys_wait_h = yes; then
4940 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4944 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
4945 if test "x$ac_cv_header_math_h" = xyes
; then :
4947 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
4953 for ac_header
in getopt.h limits.h stddef.h string.h
strings.h \
4955 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
4956 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
4958 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
4959 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
4960 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
4961 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
4963 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4964 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4965 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4966 cat >>confdefs.h
<<_ACEOF
4967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4976 case ${build_alias} in
4977 "") build_noncanonical
=${build} ;;
4978 *) build_noncanonical
=${build_alias} ;;
4981 case ${host_alias} in
4982 "") host_noncanonical
=${build_noncanonical} ;;
4983 *) host_noncanonical
=${host_alias} ;;
4988 case ${target_alias} in
4989 "") target_noncanonical
=${host_noncanonical} ;;
4990 *) target_noncanonical
=${target_alias} ;;
4996 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
4997 # have matching libraries, they should use host libraries: Makefile.tpl
4998 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
4999 # However, they still use the build modules, because the corresponding
5000 # host modules (e.g. bison) are only built for the host when bootstrap
5002 # - build_subdir is where we find build modules, and never changes.
5003 # - build_libsubdir is where we find build libraries, and can be overridden.
5005 # Prefix 'build-' so this never conflicts with target_subdir.
5006 build_subdir
="build-${build_noncanonical}"
5008 # Check whether --with-build-libsubdir was given.
5009 if test "${with_build_libsubdir+set}" = set; then :
5010 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
5012 build_libsubdir
="$build_subdir"
5015 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
5016 if ( test $srcdir = .
&& test -d gcc
) \
5017 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
5018 host_subdir
="host-${host_noncanonical}"
5023 target_subdir
=${target_noncanonical}
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
5027 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
5028 # Check whether --enable-version-specific-runtime-libs was given.
5029 if test "${enable_version_specific_runtime_libs+set}" = set; then :
5030 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
5031 yes) version_specific_libs
=yes ;;
5032 no
) version_specific_libs
=no
;;
5033 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
5036 version_specific_libs
=no
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
5040 $as_echo "$version_specific_libs" >&6; }
5043 # Check whether --with-slibdir was given.
5044 if test "${with_slibdir+set}" = set; then :
5045 withval
=$with_slibdir; slibdir
="$with_slibdir"
5047 if test "${version_specific_libs}" = yes; then
5048 slibdir
='$(libsubdir)'
5049 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
5050 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
5058 # Command-line options.
5059 # Very limited version of AC_MAINTAINER_MODE.
5060 # Check whether --enable-maintainer-mode was given.
5061 if test "${enable_maintainer_mode+set}" = set; then :
5062 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
5065 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
5067 maintainer_mode
=${enableval}
5076 # Calculate toolexeclibdir
5077 # Also toolexecdir, though it's only used in toolexeclibdir
5078 case ${version_specific_libs} in
5080 # Need the gcc compiler version to know where to install libraries
5081 # and header files if --enable-version-specific-runtime-libs option
5083 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
5084 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5087 if test -n "$with_cross_host" &&
5088 test x
"$with_cross_host" != x
"no"; then
5089 # Install a library built with a cross compiler in tooldir, not libdir.
5090 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
5091 toolexeclibdir
='$(toolexecdir)/lib'
5093 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
5094 toolexeclibdir
='$(libdir)'
5096 multi_os_directory
=`$CC -print-multi-os-directory`
5097 case $multi_os_directory in
5098 .
) ;; # Avoid trailing /.
5099 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5112 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5113 # Check whether --enable-maintainer-mode was given.
5114 if test "${enable_maintainer_mode+set}" = set; then :
5115 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5117 USE_MAINTAINER_MODE
=no
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5121 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5122 if test $USE_MAINTAINER_MODE = yes; then
5123 MAINTAINER_MODE_TRUE
=
5124 MAINTAINER_MODE_FALSE
='#'
5126 MAINTAINER_MODE_TRUE
='#'
5127 MAINTAINER_MODE_FALSE
=
5130 MAINT
=$MAINTAINER_MODE_TRUE
5134 # Check the compiler.
5135 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5136 # We must force CC to /not/ be precious variables; otherwise
5137 # the wrong, non-multilib-adjusted value will be used in multilibs.
5138 # As a side effect, we have to subst CFLAGS ourselves.
5143 ac_cpp
='$CPP $CPPFLAGS'
5144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5147 if test -n "$ac_tool_prefix"; then
5148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5149 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_CC+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 if test -n "$CC"; then
5156 ac_cv_prog_CC
="$CC" # Let the user override the test.
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 if test -n "$CC"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5178 $as_echo "$CC" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5186 if test -z "$ac_cv_prog_CC"; then
5188 # Extract the first word of "gcc", so it can be a program name with args.
5189 set dummy gcc
; ac_word
=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5193 $as_echo_n "(cached) " >&6
5195 if test -n "$ac_ct_CC"; then
5196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir
=.
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_CC
="gcc"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5216 if test -n "$ac_ct_CC"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5218 $as_echo "$ac_ct_CC" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5224 if test "x$ac_ct_CC" = x
; then
5227 case $cross_compiling:$ac_tool_warned in
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned
=yes ;;
5239 if test -z "$CC"; then
5240 if test -n "$ac_tool_prefix"; then
5241 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5242 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_CC+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$CC"; then
5249 ac_cv_prog_CC
="$CC" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 if test -n "$CC"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5271 $as_echo "$CC" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5280 if test -z "$CC"; then
5281 # Extract the first word of "cc", so it can be a program name with args.
5282 set dummy cc
; ac_word
=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_CC+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$CC"; then
5289 ac_cv_prog_CC
="$CC" # Let the user override the test.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5299 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5300 ac_prog_rejected
=yes
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 if test $ac_prog_rejected = yes; then
5312 # We found a bogon in the path, so make sure we never use it.
5313 set dummy
$ac_cv_prog_CC
5315 if test $# != 0; then
5316 # We chose a different compiler from the bogus one.
5317 # However, it has the same basename, so the bogon will be chosen
5318 # first if we set CC to just the basename; use the full file name.
5320 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5326 if test -n "$CC"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5328 $as_echo "$CC" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5336 if test -z "$CC"; then
5337 if test -n "$ac_tool_prefix"; then
5338 for ac_prog
in cl.exe
5340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5341 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_CC+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5347 if test -n "$CC"; then
5348 ac_cv_prog_CC
="$CC" # Let the user override the test.
5350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir
=.
5355 for ac_exec_ext
in '' $ac_executable_extensions; do
5356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5357 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 if test -n "$CC"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5370 $as_echo "$CC" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5377 test -n "$CC" && break
5380 if test -z "$CC"; then
5382 for ac_prog
in cl.exe
5384 # Extract the first word of "$ac_prog", so it can be a program name with args.
5385 set dummy
$ac_prog; ac_word
=$2
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387 $as_echo_n "checking for $ac_word... " >&6; }
5388 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5391 if test -n "$ac_ct_CC"; then
5392 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 test -z "$as_dir" && as_dir
=.
5399 for ac_exec_ext
in '' $ac_executable_extensions; do
5400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5401 ac_cv_prog_ac_ct_CC
="$ac_prog"
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5412 if test -n "$ac_ct_CC"; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5414 $as_echo "$ac_ct_CC" >&6; }
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5421 test -n "$ac_ct_CC" && break
5424 if test "x$ac_ct_CC" = x
; then
5427 case $cross_compiling:$ac_tool_warned in
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned
=yes ;;
5440 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5442 as_fn_error $?
"no acceptable C compiler found in \$PATH
5443 See \`config.log' for more details" "$LINENO" 5; }
5445 # Provide some information about the compiler.
5446 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5449 for ac_option
in --version -v -V -qversion; do
5450 { { ac_try
="$ac_compiler $ac_option >&5"
5452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5453 *) ac_try_echo=$ac_try;;
5455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5456 $as_echo "$ac_try_echo"; } >&5
5457 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5459 if test -s conftest.err; then
5461 ... rest of stderr output deleted ...
5462 10q' conftest.err >conftest.er1
5463 cat conftest.er1 >&5
5465 rm -f conftest.er1 conftest.err
5466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5467 test $ac_status = 0; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5471 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5472 if ${ac_cv_c_compiler_gnu+:} false; then :
5473 $as_echo_n "(cached) " >&6
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5489 if ac_fn_c_try_compile "$LINENO"; then :
5494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5495 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5499 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5500 if test $ac_compiler_gnu = yes; then
5505 ac_test_CFLAGS=${CFLAGS+set}
5506 ac_save_CFLAGS=$CFLAGS
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5508 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5509 if ${ac_cv_prog_cc_g+:} false; then :
5510 $as_echo_n "(cached) " >&6
5512 ac_save_c_werror_flag=$ac_c_werror_flag
5513 ac_c_werror_flag=yes
5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5527 if ac_fn_c_try_compile "$LINENO"; then :
5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532 /* end confdefs.h. */
5542 if ac_fn_c_try_compile "$LINENO"; then :
5545 ac_c_werror_flag=$ac_save_c_werror_flag
5547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5558 if ac_fn_c_try_compile "$LINENO"; then :
5561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5566 ac_c_werror_flag=$ac_save_c_werror_flag
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5569 $as_echo "$ac_cv_prog_cc_g" >&6; }
5570 if test "$ac_test_CFLAGS" = set; then
5571 CFLAGS=$ac_save_CFLAGS
5572 elif test $ac_cv_prog_cc_g = yes; then
5573 if test "$GCC" = yes; then
5579 if test "$GCC" = yes; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5586 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5587 if ${ac_cv_prog_cc_c89+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 ac_cv_prog_cc_c89=no
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5597 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5598 struct buf { int x; };
5599 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5600 static char *e (p, i)
5606 static char *f (char * (*g) (char **, int), char **p, ...)
5611 s = g (p, va_arg (v,int));
5616 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5617 function prototypes and stuff, but not '\xHH' hex character constants.
5618 These don't provoke an error unfortunately, instead are silently treated
5619 as 'x'. The following induces an error, until -std is added to get
5620 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5621 array size at least. It's necessary to write '\x00'==0 to get something
5622 that's true only with -std. */
5623 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5625 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5626 inside strings and character constants. */
5628 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5630 int test (int i, double x);
5631 struct s1 {int (*f) (int a);};
5632 struct s2 {int (*f) (double a);};
5633 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5639 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5644 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5645 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5647 CC="$ac_save_CC $ac_arg"
5648 if ac_fn_c_try_compile "$LINENO"; then :
5649 ac_cv_prog_cc_c89=$ac_arg
5651 rm -f core conftest.err conftest.$ac_objext
5652 test "x$ac_cv_prog_cc_c89" != "xno" && break
5654 rm -f conftest.$ac_ext
5659 case "x$ac_cv_prog_cc_c89" in
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5662 $as_echo "none needed" >&6; } ;;
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5665 $as_echo "unsupported" >&6; } ;;
5667 CC="$CC $ac_cv_prog_cc_c89"
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5669 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5671 if test "x$ac_cv_prog_cc_c89" != xno; then :
5676 ac_cpp='$CPP $CPPFLAGS'
5677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5682 ac_cpp='$CPP $CPPFLAGS'
5683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5687 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5688 if ${am_cv_prog_cc_c_o+:} false; then :
5689 $as_echo_n "(cached) " >&6
5691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692 /* end confdefs.h. */
5702 # Make sure it works both with $CC and with simple cc.
5703 # Following AC_PROG_CC_C_O, we do the test twice because some
5704 # compilers refuse to overwrite an existing .o file with -o,
5705 # though they will create one.
5706 am_cv_prog_cc_c_o=yes
5708 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5709 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); } \
5713 && test -f conftest2.$ac_objext; then
5716 am_cv_prog_cc_c_o=no
5720 rm -f core conftest*
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5724 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5725 if test "$am_cv_prog_cc_c_o" != yes; then
5726 # Losing compiler, so override with the script.
5727 # FIXME: It is wrong to rewrite CC.
5728 # But if we don't then we get into trouble of one sort or another.
5729 # A longer-term fix would be to have automake use am__CC in this case,
5730 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5731 CC="$am_aux_dir/compile $CC"
5734 ac_cpp='$CPP $CPPFLAGS'
5735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5741 ac_cpp='$CXXCPP $CPPFLAGS'
5742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5745 if test -z "$CXX"; then
5746 if test -n "$CCC"; then
5749 if test -n "$ac_tool_prefix"; then
5750 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_CXX+:} false; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$CXX"; then
5760 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 if test -n "$CXX"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5782 $as_echo "$CXX" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5789 test -n "$CXX" && break
5792 if test -z "$CXX"; then
5794 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5801 $as_echo_n "(cached) " >&6
5803 if test -n "$ac_ct_CXX"; then
5804 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_ac_ct_CXX="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5824 if test -n "$ac_ct_CXX"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5826 $as_echo "$ac_ct_CXX" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$ac_ct_CXX" && break
5836 if test "x$ac_ct_CXX" = x; then
5839 case $cross_compiling:$ac_tool_warned in
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843 ac_tool_warned=yes ;;
5851 # Provide some information about the compiler.
5852 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5855 for ac_option in --version -v -V -qversion; do
5856 { { ac_try="$ac_compiler $ac_option >&5"
5858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5859 *) ac_try_echo
=$ac_try;;
5861 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5862 $as_echo "$ac_try_echo"; } >&5
5863 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5865 if test -s conftest.err
; then
5867 ... rest of stderr output deleted ...
5868 10q' conftest.err
>conftest.er1
5869 cat conftest.er1
>&5
5871 rm -f conftest.er1 conftest.err
5872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5873 test $ac_status = 0; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5877 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5878 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5895 if ac_fn_cxx_try_compile
"$LINENO"; then :
5900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5901 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5905 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5906 if test $ac_compiler_gnu = yes; then
5911 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5912 ac_save_CXXFLAGS
=$CXXFLAGS
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5914 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5915 if ${ac_cv_prog_cxx_g+:} false
; then :
5916 $as_echo_n "(cached) " >&6
5918 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5919 ac_cxx_werror_flag
=yes
5922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5933 if ac_fn_cxx_try_compile
"$LINENO"; then :
5934 ac_cv_prog_cxx_g
=yes
5937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5948 if ac_fn_cxx_try_compile
"$LINENO"; then :
5951 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h. */
5964 if ac_fn_cxx_try_compile
"$LINENO"; then :
5965 ac_cv_prog_cxx_g
=yes
5967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5972 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5975 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5976 if test "$ac_test_CXXFLAGS" = set; then
5977 CXXFLAGS
=$ac_save_CXXFLAGS
5978 elif test $ac_cv_prog_cxx_g = yes; then
5979 if test "$GXX" = yes; then
5985 if test "$GXX" = yes; then
5992 ac_cpp
='$CPP $CPPFLAGS'
5993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5997 depcc
="$CXX" am_compiler_list
=
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6000 $as_echo_n "checking dependency style of $depcc... " >&6; }
6001 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6002 $as_echo_n "(cached) " >&6
6004 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6005 # We make a subdir and do the tests there. Otherwise we can end up
6006 # making bogus files that we don't know about and never remove. For
6007 # instance it was reported that on HP-UX the gcc test will end up
6008 # making a dummy file named 'D' -- because '-MD' means "put the output
6012 # Copy depcomp to subdir because otherwise we won't find it if we're
6013 # using a relative directory.
6014 cp "$am_depcomp" conftest.dir
6016 # We will build objects and dependencies in a subdirectory because
6017 # it helps to detect inapplicable dependency modes. For instance
6018 # both Tru64's cc and ICC support -MD to output dependencies as a
6019 # side effect of compilation, but ICC will put the dependencies in
6020 # the current directory while Tru64 will put them in the object
6024 am_cv_CXX_dependencies_compiler_type
=none
6025 if test "$am_compiler_list" = ""; then
6026 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6029 case " $depcc " in #(
6030 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6033 for depmode
in $am_compiler_list; do
6034 # Setup a source with many dependencies, because some compilers
6035 # like to wrap large dependency lists on column 80 (with \), and
6036 # we should not choose a depcomp mode which is confused by this.
6038 # We need to recreate these files for each test, as the compiler may
6039 # overwrite some of them when testing with obscure command lines.
6040 # This happens at least with the AIX C compiler.
6042 for i
in 1 2 3 4 5 6; do
6043 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6044 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6045 # Solaris 10 /bin/sh.
6046 echo '/* dummy */' > sub
/conftst
$i.h
6048 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6050 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6051 # mode. It turns out that the SunPro C++ compiler does not properly
6052 # handle '-M -o', and we need to detect this. Also, some Intel
6053 # versions had trouble with output in subdirs.
6054 am__obj
=sub
/conftest.
${OBJEXT-o}
6055 am__minus_obj
="-o $am__obj"
6058 # This depmode causes a compiler race in universal mode.
6059 test "$am__universal" = false ||
continue
6062 # After this tag, mechanisms are not by side-effect, so they'll
6063 # only be used when explicitly requested.
6064 if test "x$enable_dependency_tracking" = xyes
; then
6070 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6071 # This compiler won't grok '-c -o', but also, the minuso test has
6072 # not run yet. These depmodes are late enough in the game, and
6073 # so weak that their functioning should not be impacted.
6074 am__obj
=conftest.
${OBJEXT-o}
6079 if depmode
=$depmode \
6080 source=sub
/conftest.c object
=$am__obj \
6081 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6082 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6083 >/dev
/null
2>conftest.err
&&
6084 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6085 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6086 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6087 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6088 # icc doesn't choke on unknown options, it will just issue warnings
6089 # or remarks (even with -Werror). So we grep stderr for any message
6090 # that says an option was ignored or not supported.
6091 # When given -MP, icc 7.0 and 7.1 complain thusly:
6092 # icc: Command line warning: ignoring option '-M'; no argument required
6093 # The diagnosis changed in icc 8.0:
6094 # icc: Command line remark: option '-MP' not supported
6095 if (grep 'ignoring option' conftest.err ||
6096 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6097 am_cv_CXX_dependencies_compiler_type
=$depmode
6106 am_cv_CXX_dependencies_compiler_type
=none
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6111 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6112 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6115 test "x$enable_dependency_tracking" != xno \
6116 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6117 am__fastdepCXX_TRUE
=
6118 am__fastdepCXX_FALSE
='#'
6120 am__fastdepCXX_TRUE
='#'
6121 am__fastdepCXX_FALSE
=
6125 # By default we simply use the C compiler to build assembly code.
6127 test "${CCAS+set}" = set || CCAS
=$CC
6128 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6132 depcc
="$CCAS" am_compiler_list
=
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6135 $as_echo_n "checking dependency style of $depcc... " >&6; }
6136 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6137 $as_echo_n "(cached) " >&6
6139 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6140 # We make a subdir and do the tests there. Otherwise we can end up
6141 # making bogus files that we don't know about and never remove. For
6142 # instance it was reported that on HP-UX the gcc test will end up
6143 # making a dummy file named 'D' -- because '-MD' means "put the output
6147 # Copy depcomp to subdir because otherwise we won't find it if we're
6148 # using a relative directory.
6149 cp "$am_depcomp" conftest.dir
6151 # We will build objects and dependencies in a subdirectory because
6152 # it helps to detect inapplicable dependency modes. For instance
6153 # both Tru64's cc and ICC support -MD to output dependencies as a
6154 # side effect of compilation, but ICC will put the dependencies in
6155 # the current directory while Tru64 will put them in the object
6159 am_cv_CCAS_dependencies_compiler_type
=none
6160 if test "$am_compiler_list" = ""; then
6161 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6166 for depmode
in $am_compiler_list; do
6167 # Setup a source with many dependencies, because some compilers
6168 # like to wrap large dependency lists on column 80 (with \), and
6169 # we should not choose a depcomp mode which is confused by this.
6171 # We need to recreate these files for each test, as the compiler may
6172 # overwrite some of them when testing with obscure command lines.
6173 # This happens at least with the AIX C compiler.
6175 for i
in 1 2 3 4 5 6; do
6176 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6177 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6178 # Solaris 10 /bin/sh.
6179 echo '/* dummy */' > sub
/conftst
$i.h
6181 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6183 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6184 # mode. It turns out that the SunPro C++ compiler does not properly
6185 # handle '-M -o', and we need to detect this. Also, some Intel
6186 # versions had trouble with output in subdirs.
6187 am__obj
=sub
/conftest.
${OBJEXT-o}
6188 am__minus_obj
="-o $am__obj"
6191 # This depmode causes a compiler race in universal mode.
6192 test "$am__universal" = false ||
continue
6195 # After this tag, mechanisms are not by side-effect, so they'll
6196 # only be used when explicitly requested.
6197 if test "x$enable_dependency_tracking" = xyes
; then
6203 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6204 # This compiler won't grok '-c -o', but also, the minuso test has
6205 # not run yet. These depmodes are late enough in the game, and
6206 # so weak that their functioning should not be impacted.
6207 am__obj
=conftest.
${OBJEXT-o}
6212 if depmode
=$depmode \
6213 source=sub
/conftest.c object
=$am__obj \
6214 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6215 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6216 >/dev
/null
2>conftest.err
&&
6217 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6218 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6219 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6220 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6221 # icc doesn't choke on unknown options, it will just issue warnings
6222 # or remarks (even with -Werror). So we grep stderr for any message
6223 # that says an option was ignored or not supported.
6224 # When given -MP, icc 7.0 and 7.1 complain thusly:
6225 # icc: Command line warning: ignoring option '-M'; no argument required
6226 # The diagnosis changed in icc 8.0:
6227 # icc: Command line remark: option '-MP' not supported
6228 if (grep 'ignoring option' conftest.err ||
6229 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6230 am_cv_CCAS_dependencies_compiler_type
=$depmode
6239 am_cv_CCAS_dependencies_compiler_type
=none
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6244 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6245 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6248 test "x$enable_dependency_tracking" != xno \
6249 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6250 am__fastdepCCAS_TRUE
=
6251 am__fastdepCCAS_FALSE
='#'
6253 am__fastdepCCAS_TRUE
='#'
6254 am__fastdepCCAS_FALSE
=
6262 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
6263 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
6264 # in both places for now and restore CFLAGS at the end of config.
6265 save_CFLAGS
="$CFLAGS"
6267 # Find other programs we need.
6268 if test -n "$ac_tool_prefix"; then
6269 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6270 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 $as_echo_n "checking for $ac_word... " >&6; }
6273 if ${ac_cv_prog_AR+:} false
; then :
6274 $as_echo_n "(cached) " >&6
6276 if test -n "$AR"; then
6277 ac_cv_prog_AR
="$AR" # Let the user override the test.
6279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6283 test -z "$as_dir" && as_dir
=.
6284 for ac_exec_ext
in '' $ac_executable_extensions; do
6285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 if test -n "$AR"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6299 $as_echo "$AR" >&6; }
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6307 if test -z "$ac_cv_prog_AR"; then
6309 # Extract the first word of "ar", so it can be a program name with args.
6310 set dummy
ar; ac_word
=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 if test -n "$ac_ct_AR"; then
6317 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir
=.
6324 for ac_exec_ext
in '' $ac_executable_extensions; do
6325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6326 ac_cv_prog_ac_ct_AR
="ar"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6337 if test -n "$ac_ct_AR"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6339 $as_echo "$ac_ct_AR" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6345 if test "x$ac_ct_AR" = x
; then
6348 case $cross_compiling:$ac_tool_warned in
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6352 ac_tool_warned
=yes ;;
6360 if test -n "$ac_tool_prefix"; then
6361 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6362 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6364 $as_echo_n "checking for $ac_word... " >&6; }
6365 if ${ac_cv_prog_NM+:} false
; then :
6366 $as_echo_n "(cached) " >&6
6368 if test -n "$NM"; then
6369 ac_cv_prog_NM
="$NM" # Let the user override the test.
6371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6375 test -z "$as_dir" && as_dir
=.
6376 for ac_exec_ext
in '' $ac_executable_extensions; do
6377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6378 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 if test -n "$NM"; then
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
6391 $as_echo "$NM" >&6; }
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394 $as_echo "no" >&6; }
6399 if test -z "$ac_cv_prog_NM"; then
6401 # Extract the first word of "nm", so it can be a program name with args.
6402 set dummy nm
; ac_word
=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
6406 $as_echo_n "(cached) " >&6
6408 if test -n "$ac_ct_NM"; then
6409 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6415 test -z "$as_dir" && as_dir
=.
6416 for ac_exec_ext
in '' $ac_executable_extensions; do
6417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6418 ac_cv_prog_ac_ct_NM
="nm"
6419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6429 if test -n "$ac_ct_NM"; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
6431 $as_echo "$ac_ct_NM" >&6; }
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6437 if test "x$ac_ct_NM" = x
; then
6440 case $cross_compiling:$ac_tool_warned in
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6444 ac_tool_warned
=yes ;;
6452 if test -n "$ac_tool_prefix"; then
6453 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6454 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 $as_echo_n "checking for $ac_word... " >&6; }
6457 if ${ac_cv_prog_RANLIB+:} false
; then :
6458 $as_echo_n "(cached) " >&6
6460 if test -n "$RANLIB"; then
6461 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6467 test -z "$as_dir" && as_dir
=.
6468 for ac_exec_ext
in '' $ac_executable_extensions; do
6469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6470 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 RANLIB
=$ac_cv_prog_RANLIB
6481 if test -n "$RANLIB"; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6483 $as_echo "$RANLIB" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6491 if test -z "$ac_cv_prog_RANLIB"; then
6492 ac_ct_RANLIB
=$RANLIB
6493 # Extract the first word of "ranlib", so it can be a program name with args.
6494 set dummy ranlib
; ac_word
=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6498 $as_echo_n "(cached) " >&6
6500 if test -n "$ac_ct_RANLIB"; then
6501 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir
=.
6508 for ac_exec_ext
in '' $ac_executable_extensions; do
6509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6510 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6521 if test -n "$ac_ct_RANLIB"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6523 $as_echo "$ac_ct_RANLIB" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6529 if test "x$ac_ct_RANLIB" = x
; then
6530 RANLIB
="ranlib-not-found-in-path-error"
6532 case $cross_compiling:$ac_tool_warned in
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6536 ac_tool_warned
=yes ;;
6538 RANLIB
=$ac_ct_RANLIB
6541 RANLIB
="$ac_cv_prog_RANLIB"
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6545 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6547 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6548 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6549 $as_echo_n "(cached) " >&6
6551 cat >conftest.
make <<\_ACEOF
6554 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6556 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6557 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6559 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6561 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6565 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6567 $as_echo "yes" >&6; }
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6572 SET_MAKE
="MAKE=${MAKE-make}"
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6580 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6585 macro_version
='2.2.7a'
6586 macro_revision
='1.3134'
6600 ltmain
="$ac_aux_dir/ltmain.sh"
6602 # Backslashify metacharacters that are still active within
6603 # double-quoted strings.
6604 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6606 # Same as above, but do not quote variable references.
6607 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6609 # Sed substitution to delay expansion of an escaped shell variable in a
6610 # double_quote_subst'ed string.
6611 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6613 # Sed substitution to delay expansion of an escaped single quote.
6614 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6616 # Sed substitution to avoid accidental globbing in evaled expressions
6617 no_glob_subst
='s/\*/\\\*/g'
6619 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6620 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6621 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6624 $as_echo_n "checking how to print strings... " >&6; }
6625 # Test print first, because it will be a builtin if present.
6626 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6627 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6629 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6632 # Use this function as a fallback that always works.
6633 func_fallback_echo ()
6635 eval 'cat <<_LTECHO_EOF
6639 ECHO='func_fallback_echo
'
6642 # func_echo_all arg...
6643 # Invoke $ECHO with all args, space-separated.
6650 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6651 $as_echo "printf" >&6; } ;;
6652 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6653 $as_echo "print -r" >&6; } ;;
6654 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6655 $as_echo "cat" >&6; } ;;
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6672 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6673 if ${ac_cv_path_SED+:} false; then :
6674 $as_echo_n "(cached) " >&6
6676 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6677 for ac_i in 1 2 3 4 5 6 7; do
6678 ac_script="$ac_script$as_nl$ac_script"
6680 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6681 { ac_script=; unset ac_script;}
6682 if test -z "$SED"; then
6683 ac_path_SED_found=false
6684 # Loop through the user's path and
test for each of PROGNAME-LIST
6685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir
=.
6690 for ac_prog
in sed gsed
; do
6691 for ac_exec_ext
in '' $ac_executable_extensions; do
6692 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6693 as_fn_executable_p
"$ac_path_SED" ||
continue
6694 # Check for GNU ac_path_SED and select it if it is found.
6695 # Check for GNU $ac_path_SED
6696 case `"$ac_path_SED" --version 2>&1` in
6698 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6701 $as_echo_n 0123456789 >"conftest.in"
6704 cat "conftest.in" "conftest.in" >"conftest.tmp"
6705 mv "conftest.tmp" "conftest.in"
6706 cp "conftest.in" "conftest.nl"
6707 $as_echo '' >> "conftest.nl"
6708 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6709 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6710 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6711 if test $ac_count -gt ${ac_path_SED_max-0}; then
6712 # Best one so far, save it but keep looking for a better one
6713 ac_cv_path_SED
="$ac_path_SED"
6714 ac_path_SED_max
=$ac_count
6716 # 10*(2^10) chars as input seems more than enough
6717 test $ac_count -gt 10 && break
6719 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6722 $ac_path_SED_found && break 3
6727 if test -z "$ac_cv_path_SED"; then
6728 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6736 $as_echo "$ac_cv_path_SED" >&6; }
6737 SED
="$ac_cv_path_SED"
6740 test -z "$SED" && SED
=sed
6741 Xsed
="$SED -e 1s/^X//"
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6754 $as_echo_n "checking for fgrep... " >&6; }
6755 if ${ac_cv_path_FGREP+:} false
; then :
6756 $as_echo_n "(cached) " >&6
6758 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6759 then ac_cv_path_FGREP
="$GREP -F"
6761 if test -z "$FGREP"; then
6762 ac_path_FGREP_found
=false
6763 # Loop through the user's path and test for each of PROGNAME-LIST
6764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6765 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6768 test -z "$as_dir" && as_dir
=.
6769 for ac_prog
in fgrep
; do
6770 for ac_exec_ext
in '' $ac_executable_extensions; do
6771 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6772 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6773 # Check for GNU ac_path_FGREP and select it if it is found.
6774 # Check for GNU $ac_path_FGREP
6775 case `"$ac_path_FGREP" --version 2>&1` in
6777 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6780 $as_echo_n 0123456789 >"conftest.in"
6783 cat "conftest.in" "conftest.in" >"conftest.tmp"
6784 mv "conftest.tmp" "conftest.in"
6785 cp "conftest.in" "conftest.nl"
6786 $as_echo 'FGREP' >> "conftest.nl"
6787 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6788 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6789 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6790 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6791 # Best one so far, save it but keep looking for a better one
6792 ac_cv_path_FGREP
="$ac_path_FGREP"
6793 ac_path_FGREP_max
=$ac_count
6795 # 10*(2^10) chars as input seems more than enough
6796 test $ac_count -gt 10 && break
6798 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6801 $ac_path_FGREP_found && break 3
6806 if test -z "$ac_cv_path_FGREP"; then
6807 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6810 ac_cv_path_FGREP
=$FGREP
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6816 $as_echo "$ac_cv_path_FGREP" >&6; }
6817 FGREP
="$ac_cv_path_FGREP"
6820 test -z "$GREP" && GREP
=grep
6840 # Check whether --with-gnu-ld was given.
6841 if test "${with_gnu_ld+set}" = set; then :
6842 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6848 if test "$GCC" = yes; then
6849 # Check if gcc -print-prog-name=ld gives a path.
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6851 $as_echo_n "checking for ld used by $CC... " >&6; }
6854 # gcc leaves a trailing carriage return which upsets mingw
6855 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6857 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6860 # Accept absolute paths.
6862 re_direlt
='/[^/][^/]*/\.\./'
6863 # Canonicalize the pathname of ld
6864 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6865 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6866 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6868 test -z "$LD" && LD
="$ac_prog"
6871 # If it fails, then pretend we aren't using GCC.
6875 # If it is relative, then search for the first ld in PATH.
6879 elif test "$with_gnu_ld" = yes; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6881 $as_echo_n "checking for GNU ld... " >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6884 $as_echo_n "checking for non-GNU ld... " >&6; }
6886 if ${lt_cv_path_LD+:} false
; then :
6887 $as_echo_n "(cached) " >&6
6889 if test -z "$LD"; then
6890 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6891 for ac_dir
in $PATH; do
6893 test -z "$ac_dir" && ac_dir
=.
6894 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6895 lt_cv_path_LD
="$ac_dir/$ac_prog"
6896 # Check to see if the program is GNU ld. I'd rather use --version,
6897 # but apparently some variants of GNU ld only accept -v.
6898 # Break only if it was the GNU/non-GNU ld that we prefer.
6899 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6900 *GNU
* |
*'with BFD'*)
6901 test "$with_gnu_ld" != no
&& break
6904 test "$with_gnu_ld" != yes && break
6911 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6916 if test -n "$LD"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6918 $as_echo "$LD" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6923 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6925 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6926 if ${lt_cv_prog_gnu_ld+:} false
; then :
6927 $as_echo_n "(cached) " >&6
6929 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6930 case `$LD -v 2>&1 </dev/null` in
6931 *GNU
* |
*'with BFD'*)
6932 lt_cv_prog_gnu_ld
=yes
6935 lt_cv_prog_gnu_ld
=no
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6940 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6941 with_gnu_ld
=$lt_cv_prog_gnu_ld
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6952 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6953 if ${lt_cv_path_NM+:} false
; then :
6954 $as_echo_n "(cached) " >&6
6956 if test -n "$NM"; then
6957 # Let the user override the nm to test.
6958 lt_nm_to_check
="$NM"
6960 lt_nm_to_check
="${ac_tool_prefix}nm"
6961 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6962 lt_nm_to_check
="$lt_nm_to_check nm"
6965 for lt_tmp_nm
in "$lt_nm_to_check"; do
6966 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6967 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6969 test -z "$ac_dir" && ac_dir
=.
6970 # Strip out any user-provided options from the nm to test twice,
6971 # the first time to test to see if nm (rather than its options) has
6972 # an explicit path, the second time to yield a file which can be
6974 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6975 case "$tmp_nm_path" in
6976 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6977 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6979 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6980 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6981 # Check to see if the nm accepts a BSD-compat flag.
6982 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6983 # nm: unknown option "B" ignored
6984 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6985 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6989 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6991 lt_cv_path_NM
="$tmp_nm -p"
6995 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6996 continue # so that we can try to find one that supports BSD flags
7005 : ${lt_cv_path_NM=no}
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7008 $as_echo "$lt_cv_path_NM" >&6; }
7009 if test "$lt_cv_path_NM" != "no"; then
7012 # Didn't find any BSD compatible name lister, look for dumpbin.
7013 if test -n "$DUMPBIN"; then :
7014 # Let the user override the test.
7016 if test -n "$ac_tool_prefix"; then
7017 for ac_prog
in dumpbin
"link -dump"
7019 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7020 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7024 $as_echo_n "(cached) " >&6
7026 if test -n "$DUMPBIN"; then
7027 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir
=.
7034 for ac_exec_ext
in '' $ac_executable_extensions; do
7035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046 DUMPBIN
=$ac_cv_prog_DUMPBIN
7047 if test -n "$DUMPBIN"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7049 $as_echo "$DUMPBIN" >&6; }
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7056 test -n "$DUMPBIN" && break
7059 if test -z "$DUMPBIN"; then
7060 ac_ct_DUMPBIN
=$DUMPBIN
7061 for ac_prog
in dumpbin
"link -dump"
7063 # Extract the first word of "$ac_prog", so it can be a program name with args.
7064 set dummy
$ac_prog; ac_word
=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$ac_ct_DUMPBIN"; then
7071 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir
=.
7078 for ac_exec_ext
in '' $ac_executable_extensions; do
7079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7080 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7091 if test -n "$ac_ct_DUMPBIN"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7093 $as_echo "$ac_ct_DUMPBIN" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7100 test -n "$ac_ct_DUMPBIN" && break
7103 if test "x$ac_ct_DUMPBIN" = x
; then
7106 case $cross_compiling:$ac_tool_warned in
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110 ac_tool_warned
=yes ;;
7112 DUMPBIN
=$ac_ct_DUMPBIN
7116 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7118 DUMPBIN
="$DUMPBIN -symbols"
7126 if test "$DUMPBIN" != ":"; then
7130 test -z "$NM" && NM
=nm
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7138 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7139 if ${lt_cv_nm_interface+:} false
; then :
7140 $as_echo_n "(cached) " >&6
7142 lt_cv_nm_interface
="BSD nm"
7143 echo "int some_variable = 0;" > conftest.
$ac_ext
7144 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7145 (eval "$ac_compile" 2>conftest.err
)
7146 cat conftest.err
>&5
7147 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7148 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7149 cat conftest.err
>&5
7150 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7151 cat conftest.out
>&5
7152 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7153 lt_cv_nm_interface
="MS dumpbin"
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7158 $as_echo "$lt_cv_nm_interface" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7161 $as_echo_n "checking whether ln -s works... " >&6; }
7163 if test "$LN_S" = "ln -s"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7165 $as_echo "yes" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7168 $as_echo "no, using $LN_S" >&6; }
7171 # find the maximum length of command line arguments
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7173 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7174 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7175 $as_echo_n "(cached) " >&6
7182 # On DJGPP, this test can blow up pretty badly due to problems in libc
7183 # (any single argument exceeding 2000 bytes causes a buffer overrun
7184 # during glob expansion). Even if it were fixed, the result of this
7185 # check would be larger than it should be.
7186 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7190 # Under GNU Hurd, this test is not required because there is
7191 # no limit to the length of command line arguments.
7192 # Libtool will interpret -1 as no limit whatsoever
7193 lt_cv_sys_max_cmd_len
=-1;
7196 cygwin
* | mingw
* | cegcc
*)
7197 # On Win9x/ME, this test blows up -- it succeeds, but takes
7198 # about 5 minutes as the teststring grows exponentially.
7199 # Worse, since 9x/ME are not pre-emptively multitasking,
7200 # you end up with a "frozen" computer, even though with patience
7201 # the test eventually succeeds (with a max line length of 256k).
7202 # Instead, let's just punt: use the minimum linelength reported by
7203 # all of the supported platforms: 8192 (on NT/2K/XP).
7204 lt_cv_sys_max_cmd_len
=8192;
7208 # On MiNT this can take a long time and run out of memory.
7209 lt_cv_sys_max_cmd_len
=8192;
7213 # On AmigaOS with pdksh, this test takes hours, literally.
7214 # So we just punt and use a minimum line length of 8192.
7215 lt_cv_sys_max_cmd_len
=8192;
7218 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7219 # This has been around since 386BSD, at least. Likely further.
7220 if test -x /sbin
/sysctl
; then
7221 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7222 elif test -x /usr
/sbin
/sysctl
; then
7223 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7225 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7227 # And add a safety zone
7228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7229 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7233 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7234 lt_cv_sys_max_cmd_len
=196608
7238 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7239 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7240 # nice to cause kernel panics so lets avoid the loop below.
7241 # First set a reasonable default.
7242 lt_cv_sys_max_cmd_len
=16384
7244 if test -x /sbin
/sysconfig
; then
7245 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7246 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7251 lt_cv_sys_max_cmd_len
=102400
7253 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7254 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7255 if test -n "$kargmax"; then
7256 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7258 lt_cv_sys_max_cmd_len
=32768
7262 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7263 if test -n "$lt_cv_sys_max_cmd_len"; then
7264 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7265 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7267 # Make teststring a little bigger before we do anything with it.
7268 # a 1K string should be a reasonable start.
7269 for i
in 1 2 3 4 5 6 7 8 ; do
7270 teststring
=$teststring$teststring
7272 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7273 # If test is not a shell built-in, we'll probably end up computing a
7274 # maximum length that is only half of the actual maximum length, but
7276 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7277 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7278 test $i != 17 # 1/2 MB should be enough
7281 teststring
=$teststring$teststring
7283 # Only check the string length outside the loop.
7284 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7286 # Add a significant safety factor because C++ compilers can tack on
7287 # massive amounts of additional arguments before passing them to the
7288 # linker. It appears as though 1/2 is a usable value.
7289 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7296 if test -n $lt_cv_sys_max_cmd_len ; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7298 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7301 $as_echo "none" >&6; }
7303 max_cmd_len
=$lt_cv_sys_max_cmd_len
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7315 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7316 # Try some XSI features
7319 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7321 && eval 'test $(( 1 + 1 )) -eq 2 \
7322 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7325 $as_echo "$xsi_shell" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7329 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7331 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7333 && lt_shell_append=yes
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7335 $as_echo "$lt_shell_append" >&6; }
7338 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7348 # test EBCDIC or ASCII
7349 case `echo X|tr X '\101'` in
7350 A) # ASCII based system
7351 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7352 lt_SP2NL='tr \040 \012'
7353 lt_NL2SP='tr \015\012 \040\040'
7355 *) # EBCDIC based system
7356 lt_SP2NL='tr \100 \n'
7357 lt_NL2SP='tr \r\n \100\100'
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7370 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7371 if ${lt_cv_ld_reload_flag+:} false; then :
7372 $as_echo_n "(cached
) " >&6
7374 lt_cv_ld_reload_flag='-r'
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7377 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7378 reload_flag=$lt_cv_ld_reload_flag
7379 case $reload_flag in
7381 *) reload_flag=" $reload_flag" ;;
7383 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7386 if test "$GCC" = yes; then
7387 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7389 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7402 if test -n "$ac_tool_prefix"; then
7403 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7404 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7406 $as_echo_n "checking
for $ac_word...
" >&6; }
7407 if ${ac_cv_prog_OBJDUMP+:} false; then :
7408 $as_echo_n "(cached
) " >&6
7410 if test -n "$OBJDUMP"; then
7411 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir=.
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7420 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7430 OBJDUMP=$ac_cv_prog_OBJDUMP
7431 if test -n "$OBJDUMP"; then
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7433 $as_echo "$OBJDUMP" >&6; }
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7436 $as_echo "no
" >&6; }
7441 if test -z "$ac_cv_prog_OBJDUMP"; then
7442 ac_ct_OBJDUMP=$OBJDUMP
7443 # Extract the first word of "objdump
", so it can be a program name with args.
7444 set dummy objdump; ac_word=$2
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7446 $as_echo_n "checking
for $ac_word...
" >&6; }
7447 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7448 $as_echo_n "(cached
) " >&6
7450 if test -n "$ac_ct_OBJDUMP"; then
7451 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir=.
7458 for ac_exec_ext in '' $ac_executable_extensions; do
7459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7460 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7470 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7471 if test -n "$ac_ct_OBJDUMP"; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7473 $as_echo "$ac_ct_OBJDUMP" >&6; }
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7476 $as_echo "no
" >&6; }
7479 if test "x
$ac_ct_OBJDUMP" = x; then
7482 case $cross_compiling:$ac_tool_warned in
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7485 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7486 ac_tool_warned=yes ;;
7488 OBJDUMP=$ac_ct_OBJDUMP
7491 OBJDUMP="$ac_cv_prog_OBJDUMP"
7494 test -z "$OBJDUMP" && OBJDUMP=objdump
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7505 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7506 if ${lt_cv_deplibs_check_method+:} false; then :
7507 $as_echo_n "(cached
) " >&6
7509 lt_cv_file_magic_cmd='$MAGIC_CMD'
7510 lt_cv_file_magic_test_file=
7511 lt_cv_deplibs_check_method='unknown'
7512 # Need to set the preceding variable on all platforms that support
7513 # interlibrary dependencies.
7514 # 'none' -- dependencies not supported.
7515 # `unknown' -- same as none, but documents that we really don't know.
7516 # 'pass_all' -- all dependencies passed with no checks.
7517 # 'test_compile' -- check by making test program.
7518 # 'file_magic [[regex]]' -- check by looking for files in library path
7519 # which responds to the $file_magic_cmd with a given extended regex.
7520 # If you have `file' or equivalent on your system and you're not sure
7521 # whether `pass_all' will *always* work, you probably want this one.
7525 lt_cv_deplibs_check_method=pass_all
7529 lt_cv_deplibs_check_method=pass_all
7533 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7534 lt_cv_file_magic_cmd='/usr/bin/file -L'
7535 lt_cv_file_magic_test_file=/shlib/libc.so
7539 # func_win32_libid is a shell function defined in ltmain.sh
7540 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7541 lt_cv_file_magic_cmd='func_win32_libid'
7545 # Base MSYS/MinGW do not provide the 'file' command needed by
7546 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7547 # unless we find 'file', for example because we are cross-compiling.
7548 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7549 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7550 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7551 lt_cv_file_magic_cmd='func_win32_libid'
7553 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7554 lt_cv_file_magic_cmd='$OBJDUMP -f'
7559 # use the weaker test based on 'objdump'. See mingw*.
7560 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7561 lt_cv_file_magic_cmd='$OBJDUMP -f'
7564 darwin* | rhapsody*)
7565 lt_cv_deplibs_check_method=pass_all
7568 freebsd* | dragonfly*)
7569 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7572 # Not sure whether the presence of OpenBSD here was a mistake.
7573 # Let's accept both of them until this is cleared up.
7574 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7575 lt_cv_file_magic_cmd=/usr/bin/file
7576 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7580 lt_cv_deplibs_check_method=pass_all
7585 lt_cv_deplibs_check_method=pass_all
7589 lt_cv_deplibs_check_method=pass_all
7592 hpux10.20* | hpux11*)
7593 lt_cv_file_magic_cmd=/usr/bin/file
7596 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7597 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7600 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]'
7601 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7604 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7605 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7611 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7612 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7615 irix5* | irix6* | nonstopux*)
7617 *-32|*"-32 ") libmagic=32-bit;;
7618 *-n32|*"-n32 ") libmagic=N32;;
7619 *-64|*"-64 ") libmagic=64-bit;;
7620 *) libmagic=never-match;;
7622 lt_cv_deplibs_check_method=pass_all
7625 # This must be Linux ELF.
7626 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7627 lt_cv_deplibs_check_method=pass_all
7631 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7632 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7634 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7639 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7640 lt_cv_file_magic_cmd=/usr/bin/file
7641 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7645 lt_cv_deplibs_check_method=pass_all
7649 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7650 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7652 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7656 osf3* | osf4* | osf5*)
7657 lt_cv_deplibs_check_method=pass_all
7661 lt_cv_deplibs_check_method=pass_all
7665 lt_cv_deplibs_check_method=pass_all
7668 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7669 lt_cv_deplibs_check_method=pass_all
7673 case $host_vendor in
7675 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]'
7676 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7679 lt_cv_deplibs_check_method=pass_all
7682 lt_cv_file_magic_cmd='/bin/file'
7683 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7686 lt_cv_file_magic_cmd='/bin/file'
7687 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7688 lt_cv_file_magic_test_file=/lib/libc.so
7691 lt_cv_deplibs_check_method=pass_all
7694 lt_cv_deplibs_check_method=pass_all
7700 lt_cv_deplibs_check_method=pass_all
7703 # Assume VxWorks cross toolchains are built on Linux, possibly
7704 # as canadian for Windows hosts.
7705 lt_cv_deplibs_check_method=pass_all
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7711 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7712 file_magic_cmd=$lt_cv_file_magic_cmd
7713 deplibs_check_method=$lt_cv_deplibs_check_method
7714 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7728 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7729 for plugin in $plugin_names; do
7730 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7731 if test x$plugin_so = x$plugin; then
7732 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7734 if test x$plugin_so != x$plugin; then
7735 plugin_option="--plugin $plugin_so"
7740 if test -n "$ac_tool_prefix"; then
7741 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7742 set dummy ${ac_tool_prefix}ar; ac_word=$2
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7744 $as_echo_n "checking
for $ac_word...
" >&6; }
7745 if ${ac_cv_prog_AR+:} false; then :
7746 $as_echo_n "(cached
) " >&6
7748 if test -n "$AR"; then
7749 ac_cv_prog_AR="$AR" # Let the user override the test.
7751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir=.
7756 for ac_exec_ext in '' $ac_executable_extensions; do
7757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7758 ac_cv_prog_AR="${ac_tool_prefix}ar"
7759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7769 if test -n "$AR"; then
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7771 $as_echo "$AR" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7774 $as_echo "no
" >&6; }
7779 if test -z "$ac_cv_prog_AR"; then
7781 # Extract the first word of "ar", so it can be a program name with args.
7782 set dummy ar; ac_word=$2
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7784 $as_echo_n "checking
for $ac_word...
" >&6; }
7785 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7786 $as_echo_n "(cached
) " >&6
7788 if test -n "$ac_ct_AR"; then
7789 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 test -z "$as_dir" && as_dir=.
7796 for ac_exec_ext in '' $ac_executable_extensions; do
7797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7798 ac_cv_prog_ac_ct_AR="ar"
7799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7808 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7809 if test -n "$ac_ct_AR"; then
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7811 $as_echo "$ac_ct_AR" >&6; }
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7814 $as_echo "no
" >&6; }
7817 if test "x
$ac_ct_AR" = x; then
7820 case $cross_compiling:$ac_tool_warned in
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7823 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7824 ac_tool_warned=yes ;;
7832 test -z "$AR" && AR=ar
7833 if test -n "$plugin_option"; then
7834 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7836 $AR $plugin_option rc conftest.a conftest.c
7837 if test "$?
" != 0; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7839 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7841 AR="$AR $plugin_option"
7846 test -z "$AR_FLAGS" && AR_FLAGS=cru
7858 if test -n "$ac_tool_prefix"; then
7859 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7860 set dummy ${ac_tool_prefix}strip; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7862 $as_echo_n "checking
for $ac_word...
" >&6; }
7863 if ${ac_cv_prog_STRIP+:} false; then :
7864 $as_echo_n "(cached
) " >&6
7866 if test -n "$STRIP"; then
7867 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7886 STRIP=$ac_cv_prog_STRIP
7887 if test -n "$STRIP"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7889 $as_echo "$STRIP" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7892 $as_echo "no
" >&6; }
7897 if test -z "$ac_cv_prog_STRIP"; then
7899 # Extract the first word of "strip
", so it can be a program name with args.
7900 set dummy strip; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7902 $as_echo_n "checking
for $ac_word...
" >&6; }
7903 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7904 $as_echo_n "(cached
) " >&6
7906 if test -n "$ac_ct_STRIP"; then
7907 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_ac_ct_STRIP="strip
"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7926 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7927 if test -n "$ac_ct_STRIP"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7929 $as_echo "$ac_ct_STRIP" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7932 $as_echo "no
" >&6; }
7935 if test "x
$ac_ct_STRIP" = x; then
7938 case $cross_compiling:$ac_tool_warned in
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7941 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7942 ac_tool_warned=yes ;;
7947 STRIP="$ac_cv_prog_STRIP"
7950 test -z "$STRIP" && STRIP=:
7957 if test -n "$ac_tool_prefix"; then
7958 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7959 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7961 $as_echo_n "checking
for $ac_word...
" >&6; }
7962 if ${ac_cv_prog_RANLIB+:} false; then :
7963 $as_echo_n "(cached
) " >&6
7965 if test -n "$RANLIB"; then
7966 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7985 RANLIB=$ac_cv_prog_RANLIB
7986 if test -n "$RANLIB"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7988 $as_echo "$RANLIB" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7991 $as_echo "no
" >&6; }
7996 if test -z "$ac_cv_prog_RANLIB"; then
7997 ac_ct_RANLIB=$RANLIB
7998 # Extract the first word of "ranlib
", so it can be a program name with args.
7999 set dummy ranlib; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8001 $as_echo_n "checking
for $ac_word...
" >&6; }
8002 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8003 $as_echo_n "(cached
) " >&6
8005 if test -n "$ac_ct_RANLIB"; then
8006 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8025 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8026 if test -n "$ac_ct_RANLIB"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8028 $as_echo "$ac_ct_RANLIB" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8031 $as_echo "no
" >&6; }
8034 if test "x
$ac_ct_RANLIB" = x; then
8037 case $cross_compiling:$ac_tool_warned in
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8040 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8041 ac_tool_warned=yes ;;
8043 RANLIB=$ac_ct_RANLIB
8046 RANLIB="$ac_cv_prog_RANLIB"
8049 test -z "$RANLIB" && RANLIB=:
8050 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8051 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
8052 RANLIB="$RANLIB $plugin_option"
8061 # Determine commands to create old-style static archives.
8062 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8063 old_postinstall_cmds='chmod 644 $oldlib'
8064 old_postuninstall_cmds=
8066 if test -n "$RANLIB"; then
8069 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8072 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8075 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8080 lock_old_archive_extraction=yes ;;
8082 lock_old_archive_extraction=no ;;
8123 # If no C compiler was specified, use CC.
8126 # If no C compiler flags were specified, use CFLAGS.
8127 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8129 # Allow CC to be a program name with arguments.
8133 # Check for command to grab the raw symbol name followed by C symbol from nm.
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8135 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8136 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8137 $as_echo_n "(cached
) " >&6
8140 # These are sane defaults that work on at least a few old systems.
8141 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8143 # Character class describing NM global symbol codes.
8144 symcode='[BCDEGRST]'
8146 # Regexp to match symbols that can be accessed directly from C.
8147 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8149 # Define system-specific variables.
8154 cygwin* | mingw* | pw32* | cegcc*)
8155 symcode='[ABCDGISTW]'
8158 if test "$host_cpu" = ia64; then
8159 symcode='[ABCDEGRST]'
8163 symcode='[BCDEGRST]'
8166 symcode='[BCDEGQRST]'
8177 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8185 # If we're using GNU nm, then use its standard symbol codes.
8186 case `$NM -V 2>&1` in
8187 *GNU* | *'with BFD'*)
8188 symcode='[ABCDGIRSTW]' ;;
8191 # Transform an extracted symbol line into a proper C declaration.
8192 # Some systems (esp. on ia64) link data and code symbols differently,
8193 # so use this general approach.
8194 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8196 # Transform an extracted symbol line into symbol name and symbol address
8197 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8198 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'"
8200 # Handle CRLF in mingw tool chain
8204 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8208 # Try without a prefix underscore, then with it.
8209 for ac_symprfx in "" "_
"; do
8211 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8212 symxfrm="\\1 $ac_symprfx\\2 \\2"
8214 # Write the raw and C identifiers.
8215 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8216 # Fake it for dumpbin and say T for any non-static function
8217 # and D for any global variable.
8218 # Also find C++ and __fastcall symbols from MSVC++,
8219 # which start with @ or ?.
8220 lt_cv_sys_global_symbol_pipe="$AWK '"\
8221 " {last_section=section; section=\$ 3};"\
8222 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8223 " \$ 0!~/External *\|/{next};"\
8224 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8225 " {if(hide[section]) next};"\
8226 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8227 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8228 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8229 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8230 " ' prfx
=^
$ac_symprfx"
8232 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8235 # Check to see that the pipe works correctly.
8239 cat > conftest.$ac_ext <<_LT_EOF
8244 void nm_test_func(void);
8245 void nm_test_func(void){}
8249 int main(){nm_test_var='a';nm_test_func();return(0);}
8252 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8253 (eval $ac_compile) 2>&5
8255 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8256 test $ac_status = 0; }; then
8257 # Now try to grab the symbols.
8259 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8260 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8262 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8263 test $ac_status = 0; } && test -s "$nlist"; then
8264 # Try sorting and uniquifying the output.
8265 if sort "$nlist" | uniq > "$nlist"T; then
8266 mv -f "$nlist"T "$nlist"
8271 # Make sure that we snagged all the symbols we need.
8272 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8273 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8274 cat <<_LT_EOF > conftest.$ac_ext
8280 # Now generate the symbol file.
8281 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8283 cat <<_LT_EOF >> conftest.$ac_ext
8285 /* The mapping between symbol names and symbols. */
8290 lt__PROGRAM__LTX_preloaded_symbols[] =
8292 { "@PROGRAM@
", (void *) 0 },
8294 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8295 cat <<\_LT_EOF >> conftest.$ac_ext
8299 /* This works around a problem in FreeBSD linker */
8300 #ifdef FREEBSD_WORKAROUND
8301 static const void *lt_preloaded_setup() {
8302 return lt__PROGRAM__LTX_preloaded_symbols;
8310 # Now try linking the two files.
8311 mv conftest.$ac_objext conftstm.$ac_objext
8312 lt_save_LIBS="$LIBS"
8313 lt_save_CFLAGS="$CFLAGS"
8314 LIBS="conftstm.
$ac_objext"
8315 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8316 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8317 (eval $ac_link) 2>&5
8319 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8320 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8323 LIBS="$lt_save_LIBS"
8324 CFLAGS="$lt_save_CFLAGS"
8326 echo "cannot
find nm_test_func
in $nlist" >&5
8329 echo "cannot
find nm_test_var
in $nlist" >&5
8332 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8335 echo "$progname: failed program was
:" >&5
8336 cat conftest.$ac_ext >&5
8338 rm -rf conftest* conftst*
8340 # Do not use the global_symbol_pipe unless it works.
8341 if test "$pipe_works" = yes; then
8344 lt_cv_sys_global_symbol_pipe=
8350 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8351 lt_cv_sys_global_symbol_to_cdecl=
8353 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8355 $as_echo "failed
" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8358 $as_echo "ok
" >&6; }
8382 # Check whether --enable-libtool-lock was given.
8383 if test "${enable_libtool_lock+set}" = set; then :
8384 enableval=$enable_libtool_lock;
8387 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8389 # Some flags need to be propagated to the compiler or linker for good
8393 # Find out which ABI we are using.
8394 echo 'int i;' > conftest.$ac_ext
8395 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8396 (eval $ac_compile) 2>&5
8398 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8399 test $ac_status = 0; }; then
8400 case `/usr/bin/file conftest.$ac_objext` in
8412 # Find out which ABI we are using.
8413 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8414 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8415 (eval $ac_compile) 2>&5
8417 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8418 test $ac_status = 0; }; then
8419 if test "$lt_cv_prog_gnu_ld" = yes; then
8420 case `/usr/bin/file conftest.$ac_objext` in
8422 LD="${LD-ld} -melf32bsmip"
8425 LD="${LD-ld} -melf32bmipn32"
8428 LD="${LD-ld} -melf64bmip"
8432 case `/usr/bin/file conftest.$ac_objext` in
8448 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8449 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8450 # Find out which ABI we are using.
8451 echo 'int i;' > conftest.$ac_ext
8452 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8453 (eval $ac_compile) 2>&5
8455 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8456 test $ac_status = 0; }; then
8457 case `/usr/bin/file conftest.o` in
8460 x86_64-*kfreebsd*-gnu)
8461 LD="${LD-ld} -m elf_i386_fbsd
"
8464 case `/usr/bin/file conftest.o` in
8466 LD="${LD-ld} -m elf32_x86_64
"
8469 LD="${LD-ld} -m elf_i386
"
8473 powerpc64le-*linux*)
8474 LD="${LD-ld} -m elf32lppclinux
"
8477 LD="${LD-ld} -m elf32ppclinux
"
8480 LD="${LD-ld} -m elf_s390
"
8483 LD="${LD-ld} -m elf32_sparc
"
8489 x86_64-*kfreebsd*-gnu)
8490 LD="${LD-ld} -m elf_x86_64_fbsd
"
8493 LD="${LD-ld} -m elf_x86_64
"
8496 LD="${LD-ld} -m elf64lppc
"
8499 LD="${LD-ld} -m elf64ppc
"
8501 s390*-*linux*|s390*-*tpf*)
8502 LD="${LD-ld} -m elf64_s390
"
8505 LD="${LD-ld} -m elf64_sparc
"
8515 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8516 SAVE_CFLAGS="$CFLAGS"
8517 CFLAGS="$CFLAGS -belf"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8519 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8520 if ${lt_cv_cc_needs_belf+:} false; then :
8521 $as_echo_n "(cached
) " >&6
8524 ac_cpp='$CPP $CPPFLAGS'
8525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8529 if test x$gcc_no_link = xyes; then
8530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8543 if ac_fn_c_try_link "$LINENO"; then :
8544 lt_cv_cc_needs_belf=yes
8546 lt_cv_cc_needs_belf=no
8548 rm -f core conftest.err conftest.$ac_objext \
8549 conftest$ac_exeext conftest.$ac_ext
8551 ac_cpp='$CPP $CPPFLAGS'
8552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8558 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8559 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8560 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8561 CFLAGS="$SAVE_CFLAGS"
8565 # Find out which ABI we are using.
8566 echo 'int i;' > conftest.$ac_ext
8567 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8568 (eval $ac_compile) 2>&5
8570 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8571 test $ac_status = 0; }; then
8572 case `/usr/bin/file conftest.o` in
8574 case $lt_cv_prog_gnu_ld in
8575 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8577 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8589 need_locks="$enable_libtool_lock"
8593 rhapsody* | darwin*)
8594 if test -n "$ac_tool_prefix"; then
8595 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8596 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8598 $as_echo_n "checking
for $ac_word...
" >&6; }
8599 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8600 $as_echo_n "(cached
) " >&6
8602 if test -n "$DSYMUTIL"; then
8603 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8609 test -z "$as_dir" && as_dir=.
8610 for ac_exec_ext in '' $ac_executable_extensions; do
8611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8612 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8622 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8623 if test -n "$DSYMUTIL"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8625 $as_echo "$DSYMUTIL" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8628 $as_echo "no
" >&6; }
8633 if test -z "$ac_cv_prog_DSYMUTIL"; then
8634 ac_ct_DSYMUTIL=$DSYMUTIL
8635 # Extract the first word of "dsymutil
", so it can be a program name with args.
8636 set dummy dsymutil; ac_word=$2
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8638 $as_echo_n "checking
for $ac_word...
" >&6; }
8639 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8640 $as_echo_n "(cached
) " >&6
8642 if test -n "$ac_ct_DSYMUTIL"; then
8643 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8649 test -z "$as_dir" && as_dir=.
8650 for ac_exec_ext in '' $ac_executable_extensions; do
8651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8652 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8662 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8663 if test -n "$ac_ct_DSYMUTIL"; then
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8665 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8668 $as_echo "no
" >&6; }
8671 if test "x
$ac_ct_DSYMUTIL" = x; then
8674 case $cross_compiling:$ac_tool_warned in
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8677 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8678 ac_tool_warned=yes ;;
8680 DSYMUTIL=$ac_ct_DSYMUTIL
8683 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8686 if test -n "$ac_tool_prefix"; then
8687 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8688 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8690 $as_echo_n "checking
for $ac_word...
" >&6; }
8691 if ${ac_cv_prog_NMEDIT+:} false; then :
8692 $as_echo_n "(cached
) " >&6
8694 if test -n "$NMEDIT"; then
8695 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir=.
8702 for ac_exec_ext in '' $ac_executable_extensions; do
8703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8704 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8714 NMEDIT=$ac_cv_prog_NMEDIT
8715 if test -n "$NMEDIT"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8717 $as_echo "$NMEDIT" >&6; }
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8720 $as_echo "no
" >&6; }
8725 if test -z "$ac_cv_prog_NMEDIT"; then
8726 ac_ct_NMEDIT=$NMEDIT
8727 # Extract the first word of "nmedit
", so it can be a program name with args.
8728 set dummy nmedit; ac_word=$2
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8730 $as_echo_n "checking
for $ac_word...
" >&6; }
8731 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8732 $as_echo_n "(cached
) " >&6
8734 if test -n "$ac_ct_NMEDIT"; then
8735 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8741 test -z "$as_dir" && as_dir=.
8742 for ac_exec_ext in '' $ac_executable_extensions; do
8743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8744 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8754 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8755 if test -n "$ac_ct_NMEDIT"; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8757 $as_echo "$ac_ct_NMEDIT" >&6; }
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8760 $as_echo "no
" >&6; }
8763 if test "x
$ac_ct_NMEDIT" = x; then
8766 case $cross_compiling:$ac_tool_warned in
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8769 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8770 ac_tool_warned=yes ;;
8772 NMEDIT=$ac_ct_NMEDIT
8775 NMEDIT="$ac_cv_prog_NMEDIT"
8778 if test -n "$ac_tool_prefix"; then
8779 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8780 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8782 $as_echo_n "checking
for $ac_word...
" >&6; }
8783 if ${ac_cv_prog_LIPO+:} false; then :
8784 $as_echo_n "(cached
) " >&6
8786 if test -n "$LIPO"; then
8787 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8796 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8806 LIPO=$ac_cv_prog_LIPO
8807 if test -n "$LIPO"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8809 $as_echo "$LIPO" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8812 $as_echo "no
" >&6; }
8817 if test -z "$ac_cv_prog_LIPO"; then
8819 # Extract the first word of "lipo
", so it can be a program name with args.
8820 set dummy lipo; ac_word=$2
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8822 $as_echo_n "checking
for $ac_word...
" >&6; }
8823 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8824 $as_echo_n "(cached
) " >&6
8826 if test -n "$ac_ct_LIPO"; then
8827 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8833 test -z "$as_dir" && as_dir=.
8834 for ac_exec_ext in '' $ac_executable_extensions; do
8835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8836 ac_cv_prog_ac_ct_LIPO="lipo
"
8837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8846 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8847 if test -n "$ac_ct_LIPO"; then
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8849 $as_echo "$ac_ct_LIPO" >&6; }
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8852 $as_echo "no
" >&6; }
8855 if test "x
$ac_ct_LIPO" = x; then
8858 case $cross_compiling:$ac_tool_warned in
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8861 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8862 ac_tool_warned=yes ;;
8867 LIPO="$ac_cv_prog_LIPO"
8870 if test -n "$ac_tool_prefix"; then
8871 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8872 set dummy ${ac_tool_prefix}otool; ac_word=$2
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8874 $as_echo_n "checking
for $ac_word...
" >&6; }
8875 if ${ac_cv_prog_OTOOL+:} false; then :
8876 $as_echo_n "(cached
) " >&6
8878 if test -n "$OTOOL"; then
8879 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8885 test -z "$as_dir" && as_dir=.
8886 for ac_exec_ext in '' $ac_executable_extensions; do
8887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8888 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8898 OTOOL=$ac_cv_prog_OTOOL
8899 if test -n "$OTOOL"; then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8901 $as_echo "$OTOOL" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8904 $as_echo "no
" >&6; }
8909 if test -z "$ac_cv_prog_OTOOL"; then
8911 # Extract the first word of "otool
", so it can be a program name with args.
8912 set dummy otool; ac_word=$2
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8914 $as_echo_n "checking
for $ac_word...
" >&6; }
8915 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8916 $as_echo_n "(cached
) " >&6
8918 if test -n "$ac_ct_OTOOL"; then
8919 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8928 ac_cv_prog_ac_ct_OTOOL="otool
"
8929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8938 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8939 if test -n "$ac_ct_OTOOL"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8941 $as_echo "$ac_ct_OTOOL" >&6; }
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8944 $as_echo "no
" >&6; }
8947 if test "x
$ac_ct_OTOOL" = x; then
8950 case $cross_compiling:$ac_tool_warned in
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8953 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8954 ac_tool_warned=yes ;;
8959 OTOOL="$ac_cv_prog_OTOOL"
8962 if test -n "$ac_tool_prefix"; then
8963 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8964 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8966 $as_echo_n "checking
for $ac_word...
" >&6; }
8967 if ${ac_cv_prog_OTOOL64+:} false; then :
8968 $as_echo_n "(cached
) " >&6
8970 if test -n "$OTOOL64"; then
8971 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8977 test -z "$as_dir" && as_dir=.
8978 for ac_exec_ext in '' $ac_executable_extensions; do
8979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8980 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8990 OTOOL64=$ac_cv_prog_OTOOL64
8991 if test -n "$OTOOL64"; then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8993 $as_echo "$OTOOL64" >&6; }
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8996 $as_echo "no
" >&6; }
9001 if test -z "$ac_cv_prog_OTOOL64"; then
9002 ac_ct_OTOOL64=$OTOOL64
9003 # Extract the first word of "otool64
", so it can be a program name with args.
9004 set dummy otool64; ac_word=$2
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9006 $as_echo_n "checking
for $ac_word...
" >&6; }
9007 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9008 $as_echo_n "(cached
) " >&6
9010 if test -n "$ac_ct_OTOOL64"; then
9011 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9017 test -z "$as_dir" && as_dir=.
9018 for ac_exec_ext in '' $ac_executable_extensions; do
9019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9020 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9030 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9031 if test -n "$ac_ct_OTOOL64"; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9033 $as_echo "$ac_ct_OTOOL64" >&6; }
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9036 $as_echo "no
" >&6; }
9039 if test "x
$ac_ct_OTOOL64" = x; then
9042 case $cross_compiling:$ac_tool_warned in
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9045 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9046 ac_tool_warned=yes ;;
9048 OTOOL64=$ac_ct_OTOOL64
9051 OTOOL64="$ac_cv_prog_OTOOL64"
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9081 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9082 if ${lt_cv_apple_cc_single_mod+:} false; then :
9083 $as_echo_n "(cached
) " >&6
9085 lt_cv_apple_cc_single_mod=no
9086 if test -z "${LT_MULTI_MODULE}"; then
9087 # By default we will add the -single_module flag. You can override
9088 # by either setting the environment variable LT_MULTI_MODULE
9089 # non-empty at configure time, or by adding -multi_module to the
9091 rm -rf libconftest.dylib*
9092 echo "int foo
(void
){return 1;}" > conftest.c
9093 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9094 -dynamiclib -Wl,-single_module conftest.c
" >&5
9095 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9096 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9098 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9099 lt_cv_apple_cc_single_mod=yes
9101 cat conftest.err >&5
9103 rm -rf libconftest.dylib*
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9108 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9110 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9111 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9112 $as_echo_n "(cached
) " >&6
9114 lt_cv_ld_exported_symbols_list=no
9115 save_LDFLAGS=$LDFLAGS
9116 echo "_main
" > conftest.sym
9117 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9118 if test x$gcc_no_link = xyes; then
9119 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 lt_cv_ld_exported_symbols_list=yes
9135 lt_cv_ld_exported_symbols_list=no
9137 rm -f core conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 LDFLAGS="$save_LDFLAGS"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9143 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9145 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9146 if ${lt_cv_ld_force_load+:} false; then :
9147 $as_echo_n "(cached
) " >&6
9149 lt_cv_ld_force_load=no
9150 cat > conftest.c << _LT_EOF
9151 int forced_loaded() { return 2;}
9153 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9154 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9155 echo "$AR cru libconftest.a conftest.o
" >&5
9156 $AR cru libconftest.a conftest.o 2>&5
9157 cat > conftest.c << _LT_EOF
9158 int main() { return 0;}
9160 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9161 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9163 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9164 lt_cv_ld_force_load=yes
9166 cat conftest.err >&5
9168 rm -f conftest.err libconftest.a conftest conftest.c
9169 rm -rf conftest.dSYM
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9173 $as_echo "$lt_cv_ld_force_load" >&6; }
9174 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9175 # build without first building modern cctools / linker.
9176 case $host_cpu-$host_os in
9177 *-rhapsody* | *-darwin1.[012])
9178 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9180 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9182 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9183 # deployment target is forced to an earlier version.
9184 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9185 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
9188 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9195 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9196 _lt_dar_single_mod='$single_module'
9198 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9199 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9201 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9203 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9204 _lt_dsymutil='~$DSYMUTIL $lib || :'
9211 for ac_header in dlfcn.h
9213 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9215 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9216 cat >>confdefs.h <<_ACEOF
9217 #define HAVE_DLFCN_H 1
9239 # Check whether --enable-shared was given.
9240 if test "${enable_shared+set}" = set; then :
9241 enableval=$enable_shared; p=${PACKAGE-default}
9243 yes) enable_shared=yes ;;
9244 no) enable_shared=no ;;
9247 # Look at the argument we got. We use all the common list separators.
9248 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9249 for pkg in $enableval; do
9251 if test "X
$pkg" = "X
$p"; then
9270 # Check whether --enable-static was given.
9271 if test "${enable_static+set}" = set; then :
9272 enableval=$enable_static; p=${PACKAGE-default}
9274 yes) enable_static=yes ;;
9275 no) enable_static=no ;;
9278 # Look at the argument we got. We use all the common list separators.
9279 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9280 for pkg in $enableval; do
9282 if test "X
$pkg" = "X
$p"; then
9302 # Check whether --with-pic was given.
9303 if test "${with_pic+set}" = set; then :
9304 withval=$with_pic; pic_mode="$withval"
9310 test -z "$pic_mode" && pic_mode=default
9318 # Check whether --enable-fast-install was given.
9319 if test "${enable_fast_install+set}" = set; then :
9320 enableval=$enable_fast_install; p=${PACKAGE-default}
9322 yes) enable_fast_install=yes ;;
9323 no) enable_fast_install=no ;;
9325 enable_fast_install=no
9326 # Look at the argument we got. We use all the common list separators.
9327 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9328 for pkg in $enableval; do
9330 if test "X
$pkg" = "X
$p"; then
9331 enable_fast_install=yes
9338 enable_fast_install=yes
9351 # This can be used to rebuild libtool when needed
9352 LIBTOOL_DEPS="$ltmain"
9354 # Always use our own libtool.
9355 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9382 test -z "$LN_S" && LN_S="ln -s"
9397 if test -n "${ZSH_VERSION+set}" ; then
9398 setopt NO_GLOB_SUBST
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9402 $as_echo_n "checking
for objdir...
" >&6; }
9403 if ${lt_cv_objdir+:} false; then :
9404 $as_echo_n "(cached
) " >&6
9406 rm -f .libs 2>/dev/null
9407 mkdir .libs 2>/dev/null
9408 if test -d .libs; then
9411 # MS-DOS does not allow filenames that begin with a dot.
9414 rmdir .libs 2>/dev/null
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9417 $as_echo "$lt_cv_objdir" >&6; }
9418 objdir=$lt_cv_objdir
9424 cat >>confdefs.h <<_ACEOF
9425 #define LT_OBJDIR "$lt_cv_objdir/"
9433 # AIX sometimes has problems with the GCC collect2 program. For some
9434 # reason, if we set the COLLECT_NAMES environment variable, the problems
9435 # vanish in a puff of smoke.
9436 if test "X
${COLLECT_NAMES+set}" != Xset; then
9438 export COLLECT_NAMES
9445 can_build_shared=yes
9447 # All known linkers require a `.a' archive for static linking (except MSVC,
9448 # which needs '.lib').
9451 with_gnu_ld="$lt_cv_prog_gnu_ld"
9454 old_CFLAGS="$CFLAGS"
9456 # Set sane defaults for various variables
9457 test -z "$CC" && CC=cc
9458 test -z "$LTCC" && LTCC=$CC
9459 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9460 test -z "$LD" && LD=ld
9461 test -z "$ac_objext" && ac_objext=o
9463 for cc_temp in $compiler""; do
9465 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9466 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9471 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9474 # Only perform the check for file, if the check method requires it
9475 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9476 case $deplibs_check_method in
9478 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9480 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9481 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9482 $as_echo_n "(cached
) " >&6
9486 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9489 lt_save_MAGIC_CMD="$MAGIC_CMD"
9490 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9491 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9492 for ac_dir in $ac_dummy; do
9494 test -z "$ac_dir" && ac_dir=.
9495 if test -f $ac_dir/${ac_tool_prefix}file; then
9496 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9497 if test -n "$file_magic_test_file"; then
9498 case $deplibs_check_method in
9500 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9501 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9502 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9503 $EGREP "$file_magic_regex" > /dev/null; then
9508 *** Warning: the command libtool uses to detect shared libraries,
9509 *** $file_magic_cmd, produces output that libtool cannot recognize.
9510 *** The result is that libtool may fail to recognize shared libraries
9511 *** as such. This will affect the creation of libtool libraries that
9512 *** depend on shared libraries, but programs linked with such libtool
9513 *** libraries will work regardless of this problem. Nevertheless, you
9514 *** may want to report the problem to your system manager and/or to
9515 *** bug-libtool@gnu.org
9525 MAGIC_CMD="$lt_save_MAGIC_CMD"
9530 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9531 if test -n "$MAGIC_CMD"; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9533 $as_echo "$MAGIC_CMD" >&6; }
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9536 $as_echo "no
" >&6; }
9543 if test -z "$lt_cv_path_MAGIC_CMD"; then
9544 if test -n "$ac_tool_prefix"; then
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9546 $as_echo_n "checking
for file...
" >&6; }
9547 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9548 $as_echo_n "(cached
) " >&6
9552 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9555 lt_save_MAGIC_CMD="$MAGIC_CMD"
9556 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9557 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9558 for ac_dir in $ac_dummy; do
9560 test -z "$ac_dir" && ac_dir=.
9561 if test -f $ac_dir/file; then
9562 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9563 if test -n "$file_magic_test_file"; then
9564 case $deplibs_check_method in
9566 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9567 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9568 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9569 $EGREP "$file_magic_regex" > /dev/null; then
9574 *** Warning: the command libtool uses to detect shared libraries,
9575 *** $file_magic_cmd, produces output that libtool cannot recognize.
9576 *** The result is that libtool may fail to recognize shared libraries
9577 *** as such. This will affect the creation of libtool libraries that
9578 *** depend on shared libraries, but programs linked with such libtool
9579 *** libraries will work regardless of this problem. Nevertheless, you
9580 *** may want to report the problem to your system manager and/or to
9581 *** bug-libtool@gnu.org
9591 MAGIC_CMD="$lt_save_MAGIC_CMD"
9596 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9597 if test -n "$MAGIC_CMD"; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9599 $as_echo "$MAGIC_CMD" >&6; }
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9602 $as_echo "no
" >&6; }
9615 # Use C for the default configuration in the libtool script
9619 ac_cpp='$CPP $CPPFLAGS'
9620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9625 # Source file extension for C test sources.
9628 # Object file extension for compiled C test sources.
9632 # Code to be used in simple compile tests
9633 lt_simple_compile_test_code="int some_variable
= 0;"
9635 # Code to be used in simple link tests
9636 lt_simple_link_test_code='int main(){return(0);}'
9644 # If no C compiler was specified, use CC.
9647 # If no C compiler flags were specified, use CFLAGS.
9648 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9650 # Allow CC to be a program name with arguments.
9653 # Save the default compiler, since it gets overwritten when the other
9654 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9655 compiler_DEFAULT=$CC
9657 # save warnings/boilerplate of simple test code
9658 ac_outfile=conftest.$ac_objext
9659 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9660 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9661 _lt_compiler_boilerplate=`cat conftest.err`
9664 ac_outfile=conftest.$ac_objext
9665 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9666 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9667 _lt_linker_boilerplate=`cat conftest.err`
9672 ## There is no encapsulation within the following macros, do not change
9673 ## the running order or otherwise move them around unless you know exactly
9674 ## what you are doing...
9675 if test -n "$compiler"; then
9677 lt_prog_compiler_no_builtin_flag=
9679 if test "$GCC" = yes; then
9680 case $cc_basename in
9682 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9684 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9688 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9689 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9690 $as_echo_n "(cached
) " >&6
9692 lt_cv_prog_compiler_rtti_exceptions=no
9693 ac_outfile=conftest.$ac_objext
9694 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9695 lt_compiler_flag="-fno-rtti -fno-exceptions"
9696 # Insert the option either (1) after the last *FLAGS variable, or
9697 # (2) before a word containing "conftest.
", or (3) at the end.
9698 # Note that $ac_compile itself does not contain backslashes and begins
9699 # with a dollar sign (not a hyphen), so the echo should work correctly.
9700 # The option is referenced via a variable to avoid confusing sed.
9701 lt_compile=`echo "$ac_compile" | $SED \
9702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9704 -e 's:$: $lt_compiler_flag:'`
9705 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9706 (eval "$lt_compile" 2>conftest.err)
9708 cat conftest.err >&5
9709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9710 if (exit $ac_status) && test -s "$ac_outfile"; then
9711 # The compiler can only warn and ignore the option if not recognized
9712 # So say no if there are warnings other than the usual output.
9713 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9714 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9715 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9716 lt_cv_prog_compiler_rtti_exceptions=yes
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9723 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9725 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9726 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9738 lt_prog_compiler_wl=
9739 lt_prog_compiler_pic=
9740 lt_prog_compiler_static=
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9743 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9745 if test "$GCC" = yes; then
9746 lt_prog_compiler_wl='-Wl,'
9747 lt_prog_compiler_static='-static'
9751 # All AIX code is PIC.
9752 if test "$host_cpu" = ia64; then
9753 # AIX 5 now supports IA64 processor
9754 lt_prog_compiler_static='-Bstatic'
9756 lt_prog_compiler_pic='-fPIC'
9762 # see comment about AmigaOS4 .so support
9763 lt_prog_compiler_pic='-fPIC'
9766 # FIXME: we need at least 68020 code to build shared libraries, but
9767 # adding the `-m68020' flag to GCC prevents building anything better,
9769 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9774 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9775 # PIC is the default for these OSes.
9778 mingw* | cygwin* | pw32* | os2* | cegcc*)
9779 # This hack is so that the source file can tell whether it is being
9780 # built for inclusion in a dll (and should export symbols for example).
9781 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9782 # (--disable-auto-import) libraries
9783 lt_prog_compiler_pic='-DDLL_EXPORT'
9786 darwin* | rhapsody*)
9787 # PIC is the default on this platform
9788 # Common symbols not allowed in MH_DYLIB files
9789 lt_prog_compiler_pic='-fno-common'
9793 # PIC is the default for Haiku.
9794 # The "-static" flag exists, but is broken.
9795 lt_prog_compiler_static=
9799 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9800 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9801 # sets the default TLS model and affects inlining.
9807 lt_prog_compiler_pic='-fPIC'
9813 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9814 # Instead, we relocate shared libraries at runtime.
9818 # Just because we use GCC doesn't mean we suddenly get shared libraries
9819 # on systems that don't support them.
9820 lt_prog_compiler_can_build_shared=no
9825 # QNX uses GNU C++, but need to define -shared option too, otherwise
9827 lt_prog_compiler_pic='-fPIC -shared'
9831 if test -d /usr/nec; then
9832 lt_prog_compiler_pic=-Kconform_pic
9837 lt_prog_compiler_pic='-fPIC'
9841 case $cc_basename in
9842 nvcc*) # Cuda Compiler Driver 2.2
9843 lt_prog_compiler_wl='-Xlinker '
9844 lt_prog_compiler_pic='-Xcompiler -fPIC'
9848 # PORTME Check for flag to pass linker flags through the system compiler.
9851 lt_prog_compiler_wl='-Wl,'
9852 if test "$host_cpu" = ia64; then
9853 # AIX 5 now supports IA64 processor
9854 lt_prog_compiler_static='-Bstatic'
9856 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9860 mingw* | cygwin* | pw32* | os2* | cegcc*)
9861 # This hack is so that the source file can tell whether it is being
9862 # built for inclusion in a dll (and should export symbols for example).
9863 lt_prog_compiler_pic='-DDLL_EXPORT'
9866 hpux9* | hpux10* | hpux11*)
9867 lt_prog_compiler_wl='-Wl,'
9868 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9875 lt_prog_compiler_pic='+Z'
9878 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9879 lt_prog_compiler_static='${wl}-a ${wl}archive'
9882 irix5* | irix6* | nonstopux*)
9883 lt_prog_compiler_wl='-Wl,'
9884 # PIC (with -KPIC) is the default.
9885 lt_prog_compiler_static='-non_shared'
9888 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9889 case $cc_basename in
9890 # old Intel for x86_64 which still supported -KPIC.
9892 lt_prog_compiler_wl='-Wl,'
9893 lt_prog_compiler_pic='-KPIC'
9894 lt_prog_compiler_static='-static'
9896 # icc used to be incompatible with GCC.
9897 # ICC 10 doesn't accept -KPIC any more.
9899 lt_prog_compiler_wl='-Wl,'
9900 lt_prog_compiler_pic='-fPIC'
9901 lt_prog_compiler_static='-static'
9903 # Lahey Fortran 8.1.
9905 lt_prog_compiler_wl='-Wl,'
9906 lt_prog_compiler_pic='--shared'
9907 lt_prog_compiler_static='--static'
9909 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9910 # Portland Group compilers (*not* the Pentium gcc compiler,
9911 # which looks to be a dead project)
9912 lt_prog_compiler_wl='-Wl,'
9913 lt_prog_compiler_pic='-fpic'
9914 lt_prog_compiler_static='-Bstatic'
9917 lt_prog_compiler_wl='-Wl,'
9918 # All Alpha code is PIC.
9919 lt_prog_compiler_static='-non_shared'
9921 xl* | bgxl* | bgf* | mpixl*)
9922 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9923 lt_prog_compiler_wl='-Wl,'
9924 lt_prog_compiler_pic='-qpic'
9925 lt_prog_compiler_static='-qstaticlink'
9928 case `$CC -V 2>&1 | sed 5q` in
9929 *Sun\ F* | *Sun*Fortran*)
9930 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9931 lt_prog_compiler_pic='-KPIC'
9932 lt_prog_compiler_static='-Bstatic'
9933 lt_prog_compiler_wl=''
9937 lt_prog_compiler_pic='-KPIC'
9938 lt_prog_compiler_static='-Bstatic'
9939 lt_prog_compiler_wl='-Wl,'
9947 lt_prog_compiler_pic='-KPIC'
9948 lt_prog_compiler_static='-Bstatic'
9952 # QNX uses GNU C++, but need to define -shared option too, otherwise
9954 lt_prog_compiler_pic='-fPIC -shared'
9957 osf3* | osf4* | osf5*)
9958 lt_prog_compiler_wl='-Wl,'
9959 # All OSF/1 code is PIC.
9960 lt_prog_compiler_static='-non_shared'
9964 lt_prog_compiler_static='-non_shared'
9968 lt_prog_compiler_pic='-KPIC'
9969 lt_prog_compiler_static='-Bstatic'
9970 case $cc_basename in
9972 lt_prog_compiler_wl='-Qoption ld ';;
9974 lt_prog_compiler_wl='-Wl,';;
9979 lt_prog_compiler_wl='-Qoption ld '
9980 lt_prog_compiler_pic='-PIC'
9981 lt_prog_compiler_static='-Bstatic'
9984 sysv4 | sysv4.2uw2* | sysv4.3*)
9985 lt_prog_compiler_wl='-Wl,'
9986 lt_prog_compiler_pic='-KPIC'
9987 lt_prog_compiler_static='-Bstatic'
9991 if test -d /usr/nec ;then
9992 lt_prog_compiler_pic='-Kconform_pic'
9993 lt_prog_compiler_static='-Bstatic'
9997 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9998 lt_prog_compiler_wl='-Wl,'
9999 lt_prog_compiler_pic='-KPIC'
10000 lt_prog_compiler_static='-Bstatic'
10004 lt_prog_compiler_wl='-Wl,'
10005 lt_prog_compiler_can_build_shared=no
10009 lt_prog_compiler_pic='-pic'
10010 lt_prog_compiler_static='-Bstatic'
10014 lt_prog_compiler_can_build_shared=no
10020 # For platforms which do not support PIC, -DPIC is meaningless:
10022 lt_prog_compiler_pic=
10025 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
10029 $as_echo "$lt_prog_compiler_pic" >&6; }
10037 # Check to make sure the PIC flag actually works.
10039 if test -n "$lt_prog_compiler_pic"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10041 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10042 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10043 $as_echo_n "(cached
) " >&6
10045 lt_cv_prog_compiler_pic_works=no
10046 ac_outfile=conftest.$ac_objext
10047 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10048 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10049 # Insert the option either (1) after the last *FLAGS variable, or
10050 # (2) before a word containing "conftest.
", or (3) at the end.
10051 # Note that $ac_compile itself does not contain backslashes and begins
10052 # with a dollar sign (not a hyphen), so the echo should work correctly.
10053 # The option is referenced via a variable to avoid confusing sed.
10054 lt_compile=`echo "$ac_compile" | $SED \
10055 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10056 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10057 -e 's:$: $lt_compiler_flag:'`
10058 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10059 (eval "$lt_compile" 2>conftest.err)
10061 cat conftest.err >&5
10062 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10063 if (exit $ac_status) && test -s "$ac_outfile"; then
10064 # The compiler can only warn and ignore the option if not recognized
10065 # So say no if there are warnings other than the usual output.
10066 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10067 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10068 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10069 lt_cv_prog_compiler_pic_works=yes
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10076 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10078 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10079 case $lt_prog_compiler_pic in
10081 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10084 lt_prog_compiler_pic=
10085 lt_prog_compiler_can_build_shared=no
10096 # Check to make sure the static flag actually works.
10098 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10100 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10101 if ${lt_cv_prog_compiler_static_works+:} false; then :
10102 $as_echo_n "(cached
) " >&6
10104 lt_cv_prog_compiler_static_works=no
10105 save_LDFLAGS="$LDFLAGS"
10106 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10107 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10108 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10109 # The linker can only warn and ignore the option if not recognized
10110 # So say no if there are warnings
10111 if test -s conftest.err; then
10112 # Append any errors to the config.log.
10113 cat conftest.err 1>&5
10114 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10115 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10116 if diff conftest.exp conftest.er2 >/dev/null; then
10117 lt_cv_prog_compiler_static_works=yes
10120 lt_cv_prog_compiler_static_works=yes
10124 LDFLAGS="$save_LDFLAGS"
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10128 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10130 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10133 lt_prog_compiler_static=
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10143 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10144 if ${lt_cv_prog_compiler_c_o+:} false; then :
10145 $as_echo_n "(cached
) " >&6
10147 lt_cv_prog_compiler_c_o=no
10148 $RM -r conftest 2>/dev/null
10152 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10154 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10155 # Insert the option either (1) after the last *FLAGS variable, or
10156 # (2) before a word containing "conftest.
", or (3) at the end.
10157 # Note that $ac_compile itself does not contain backslashes and begins
10158 # with a dollar sign (not a hyphen), so the echo should work correctly.
10159 lt_compile=`echo "$ac_compile" | $SED \
10160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10162 -e 's:$: $lt_compiler_flag:'`
10163 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10164 (eval "$lt_compile" 2>out/conftest.err)
10166 cat out/conftest.err >&5
10167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10168 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10170 # The compiler can only warn and ignore the option if not recognized
10171 # So say no if there are warnings
10172 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10173 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10174 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10175 lt_cv_prog_compiler_c_o=yes
10180 # SGI C++ compiler will create directory out/ii_files/ for
10181 # template instantiation
10182 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10183 $RM out/* && rmdir out
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10190 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10198 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10199 if ${lt_cv_prog_compiler_c_o+:} false; then :
10200 $as_echo_n "(cached
) " >&6
10202 lt_cv_prog_compiler_c_o=no
10203 $RM -r conftest 2>/dev/null
10207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10209 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10210 # Insert the option either (1) after the last *FLAGS variable, or
10211 # (2) before a word containing "conftest.
", or (3) at the end.
10212 # Note that $ac_compile itself does not contain backslashes and begins
10213 # with a dollar sign (not a hyphen), so the echo should work correctly.
10214 lt_compile=`echo "$ac_compile" | $SED \
10215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10217 -e 's:$: $lt_compiler_flag:'`
10218 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10219 (eval "$lt_compile" 2>out/conftest.err)
10221 cat out/conftest.err >&5
10222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10223 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10225 # The compiler can only warn and ignore the option if not recognized
10226 # So say no if there are warnings
10227 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10228 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10229 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10230 lt_cv_prog_compiler_c_o=yes
10235 # SGI C++ compiler will create directory out/ii_files/ for
10236 # template instantiation
10237 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10238 $RM out/* && rmdir out
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10245 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10250 hard_links="nottested
"
10251 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10252 # do not overwrite the value of need_locks provided by the user
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10254 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10257 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10259 ln conftest.a conftest.b 2>&5 || hard_links=no
10260 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10262 $as_echo "$hard_links" >&6; }
10263 if test "$hard_links" = no; then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10265 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10278 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10281 allow_undefined_flag=
10282 always_export_symbols=no
10284 archive_expsym_cmds=
10285 compiler_needs_object=no
10286 enable_shared_with_static_runtimes=no
10287 export_dynamic_flag_spec=
10288 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10289 hardcode_automatic=no
10291 hardcode_direct_absolute=no
10292 hardcode_libdir_flag_spec=
10293 hardcode_libdir_flag_spec_ld=
10294 hardcode_libdir_separator=
10295 hardcode_minus_L=no
10296 hardcode_shlibpath_var=unsupported
10298 link_all_deplibs=unknown
10300 module_expsym_cmds=
10301 old_archive_from_new_cmds=
10302 old_archive_from_expsyms_cmds=
10303 thread_safe_flag_spec=
10304 whole_archive_flag_spec=
10305 # include_expsyms should be a list of space-separated symbols to be *always*
10306 # included in the symbol list
10308 # exclude_expsyms can be an extended regexp of symbols to exclude
10309 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10310 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10311 # as well as any symbol that contains `d'.
10312 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10313 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10314 # platforms (ab)use it in PIC code, but their linkers get confused if
10315 # the symbol is explicitly referenced. Since portable code cannot
10316 # rely on this symbol name, it's probably fine to never include it in
10317 # preloaded symbol tables.
10318 # Exclude shared library initialization/finalization symbols.
10319 extract_expsyms_cmds=
10322 cygwin* | mingw* | pw32* | cegcc*)
10323 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10324 # When not using gcc, we currently assume that we are using
10325 # Microsoft Visual C++.
10326 if test "$GCC" != yes; then
10331 # we just hope/assume this is gcc and not c89 (= MSVC++)
10341 # On some targets, GNU ld is compatible enough with the native linker
10342 # that we're better off using the native interface for both.
10343 lt_use_gnu_ld_interface=no
10344 if test "$with_gnu_ld" = yes; then
10347 # The AIX port of GNU ld has always aspired to compatibility
10348 # with the native linker. However, as the warning in the GNU ld
10349 # block says, versions before 2.19.5* couldn't really create working
10350 # shared libraries, regardless of the interface used.
10351 case `$LD -v 2>&1` in
10352 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10353 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10354 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10356 lt_use_gnu_ld_interface=yes
10361 lt_use_gnu_ld_interface=yes
10366 if test "$lt_use_gnu_ld_interface" = yes; then
10367 # If archive_cmds runs LD, not CC, wlarc should be empty
10370 # Set some defaults for GNU ld with shared library support. These
10371 # are reset later if shared libraries are not supported. Putting them
10372 # here allows them to be overridden if necessary.
10373 runpath_var=LD_RUN_PATH
10374 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10375 export_dynamic_flag_spec='${wl}--export-dynamic'
10376 # ancient GNU ld didn't support --whole-archive et. al.
10377 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10378 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10380 whole_archive_flag_spec=
10382 supports_anon_versioning=no
10383 case `$LD -v 2>&1` in
10384 *GNU\ gold*) supports_anon_versioning=yes ;;
10385 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10386 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10387 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10388 *\ 2.11.*) ;; # other 2.11 versions
10389 *) supports_anon_versioning=yes ;;
10392 # See if GNU ld supports shared libraries.
10395 # On AIX/PPC, the GNU linker is very broken
10396 if test "$host_cpu" != ia64; then
10400 *** Warning: the GNU linker, at least up to release 2.19, is reported
10401 *** to be unable to reliably create shared libraries on AIX.
10402 *** Therefore, libtool is disabling shared libraries support. If you
10403 *** really care for shared libraries, you may want to install binutils
10404 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10405 *** You will then need to restart the configuration process.
10414 # see comment about AmigaOS4 .so support
10415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10416 archive_expsym_cmds=''
10419 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)'
10420 hardcode_libdir_flag_spec
='-L$libdir'
10421 hardcode_minus_L
=yes
10427 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10428 allow_undefined_flag
=unsupported
10429 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10430 # support --undefined. This deserves some investigation. FIXME
10431 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10437 cygwin
* | mingw
* | pw32
* | cegcc
*)
10438 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10439 # as there is no search path for DLLs.
10440 hardcode_libdir_flag_spec
='-L$libdir'
10441 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10442 allow_undefined_flag
=unsupported
10443 always_export_symbols
=no
10444 enable_shared_with_static_runtimes
=yes
10445 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10447 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10448 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10449 # If the export-symbols file already is a .def file (1st line
10450 # is EXPORTS), use it as is; otherwise, prepend...
10451 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10452 cp $export_symbols $output_objdir/$soname.def;
10454 echo EXPORTS > $output_objdir/$soname.def;
10455 cat $export_symbols >> $output_objdir/$soname.def;
10457 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10464 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10465 link_all_deplibs
=yes
10470 hardcode_shlibpath_var
=no
10471 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10472 export_dynamic_flag_spec
='${wl}-E'
10473 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10474 # Instead, shared libraries are loaded at an image base (0x10000000 by
10475 # default) and relocated if they conflict, which is a slow very memory
10476 # consuming and fragmenting process. To avoid this, we pick a random,
10477 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10478 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10479 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10480 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'
10483 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10485 if test "$host_os" = linux-dietlibc
; then
10486 case $cc_basename in
10487 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10490 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10491 && test "$tmp_diet" = no
10493 tmp_addflag
=' $pic_flag'
10494 tmp_sharedflag
='-shared'
10495 case $cc_basename,$host_cpu in
10496 pgcc
*) # Portland Group C compiler
10497 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'
10498 tmp_addflag
=' $pic_flag'
10500 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10501 # Portland Group f77 and f90 compilers
10502 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'
10503 tmp_addflag
=' $pic_flag -Mnomain' ;;
10504 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10505 tmp_addflag
=' -i_dynamic' ;;
10506 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10507 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10508 ifc
* | ifort
*) # Intel Fortran compiler
10509 tmp_addflag
=' -nofor_main' ;;
10510 lf95
*) # Lahey Fortran 8.1
10511 whole_archive_flag_spec
=
10512 tmp_sharedflag
='--shared' ;;
10513 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10514 tmp_sharedflag
='-qmkshrobj'
10516 nvcc
*) # Cuda Compiler Driver 2.2
10517 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'
10518 compiler_needs_object
=yes
10521 case `$CC -V 2>&1 | sed 5q` in
10522 *Sun\ C
*) # Sun C 5.9
10523 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'
10524 compiler_needs_object
=yes
10525 tmp_sharedflag
='-G' ;;
10526 *Sun\ F
*) # Sun Fortran 8.3
10527 tmp_sharedflag
='-G' ;;
10529 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10531 if test "x$supports_anon_versioning" = xyes
; then
10532 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10533 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10534 echo "local: *; };" >> $output_objdir/$libname.ver~
10535 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10538 case $cc_basename in
10539 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10540 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10541 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10542 hardcode_libdir_flag_spec
=
10543 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10544 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10545 if test "x$supports_anon_versioning" = xyes
; then
10546 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10547 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10548 echo "local: *; };" >> $output_objdir/$libname.ver~
10549 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10559 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10560 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10563 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10564 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10569 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10573 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10574 *** create shared libraries on Solaris systems. Therefore, libtool
10575 *** is disabling shared libraries support. We urge you to upgrade GNU
10576 *** binutils to release 2.9.1 or newer. Another option is to modify
10577 *** your PATH or compiler configuration so that the native linker is
10578 *** used, and then restart.
10581 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10582 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10583 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10589 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10590 case `$LD -v 2>&1` in
10591 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10595 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10596 *** reliably create shared libraries on SCO systems. Therefore, libtool
10597 *** is disabling shared libraries support. We urge you to upgrade GNU
10598 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10599 *** your PATH or compiler configuration so that the native linker is
10600 *** used, and then restart.
10605 # For security reasons, it is highly recommended that you always
10606 # use absolute paths for naming shared libraries, and exclude the
10607 # DT_RUNPATH tag from executables and libraries. But doing so
10608 # requires that you compile everything twice, which is a pain.
10609 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10610 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10611 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10612 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10621 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_direct
=yes
10624 hardcode_shlibpath_var
=no
10628 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10629 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10630 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10637 if test "$ld_shlibs" = no
; then
10639 hardcode_libdir_flag_spec
=
10640 export_dynamic_flag_spec
=
10641 whole_archive_flag_spec
=
10644 # PORTME fill in a description of your system's linker (not GNU ld)
10647 allow_undefined_flag
=unsupported
10648 always_export_symbols
=yes
10649 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'
10650 # Note: this linker hardcodes the directories in LIBPATH if there
10651 # are no directories specified by -L.
10652 hardcode_minus_L
=yes
10653 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10654 # Neither direct hardcoding nor static linking is supported with a
10656 hardcode_direct
=unsupported
10661 if test "$host_cpu" = ia64
; then
10662 # On IA64, the linker does run time linking by default, so we don't
10663 # have to do anything special.
10664 aix_use_runtimelinking
=no
10665 exp_sym_flag
='-Bexport'
10668 # If we're using GNU nm, then we don't want the "-C" option.
10669 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10670 # Also, AIX nm treats weak defined symbols like other global
10671 # defined symbols, whereas GNU nm marks them as "W".
10672 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10673 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'
10675 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'
10677 aix_use_runtimelinking
=no
10679 # Test if we are trying to use run time linking or normal
10680 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10681 # need to do runtime linking.
10682 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10683 for ld_flag
in $LDFLAGS; do
10684 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10685 aix_use_runtimelinking
=yes
10692 exp_sym_flag
='-bexport'
10693 no_entry_flag
='-bnoentry'
10696 # When large executables or shared objects are built, AIX ld can
10697 # have problems creating the table of contents. If linking a library
10698 # or program results in "error TOC overflow" add -mminimal-toc to
10699 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10700 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10703 hardcode_direct
=yes
10704 hardcode_direct_absolute
=yes
10705 hardcode_libdir_separator
=':'
10706 link_all_deplibs
=yes
10707 file_list_spec
='${wl}-f,'
10709 if test "$GCC" = yes; then
10710 case $host_os in aix4.
[012]|aix4.
[012].
*)
10711 # We only want to do this on AIX 4.2 and lower, the check
10712 # below for broken collect2 doesn't work under 4.3+
10713 collect2name
=`${CC} -print-prog-name=collect2`
10714 if test -f "$collect2name" &&
10715 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10717 # We have reworked collect2
10720 # We have old collect2
10721 hardcode_direct
=unsupported
10722 # It fails to find uninstalled libraries when the uninstalled
10723 # path is not listed in the libpath. Setting hardcode_minus_L
10724 # to unsupported forces relinking
10725 hardcode_minus_L
=yes
10726 hardcode_libdir_flag_spec
='-L$libdir'
10727 hardcode_libdir_separator
=
10731 shared_flag
='-shared'
10732 if test "$aix_use_runtimelinking" = yes; then
10733 shared_flag
="$shared_flag "'${wl}-G'
10737 if test "$host_cpu" = ia64
; then
10738 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10739 # chokes on -Wl,-G. The following line is correct:
10742 if test "$aix_use_runtimelinking" = yes; then
10743 shared_flag
='${wl}-G'
10745 shared_flag
='${wl}-bM:SRE'
10750 export_dynamic_flag_spec
='${wl}-bexpall'
10751 # It seems that -bexpall does not export symbols beginning with
10752 # underscore (_), so it is better to generate a list of symbols to export.
10753 always_export_symbols
=yes
10754 if test "$aix_use_runtimelinking" = yes; then
10755 # Warning - without using the other runtime loading flags (-brtl),
10756 # -berok will link without error, but may produce a broken library.
10757 allow_undefined_flag
='-berok'
10758 # Determine the default libpath from the value encoded in an
10759 # empty executable.
10760 if test x
$gcc_no_link = xyes
; then
10761 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10774 if ac_fn_c_try_link
"$LINENO"; then :
10776 lt_aix_libpath_sed
='
10777 /Import File Strings/,/^$/ {
10783 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10784 # Check for a 64-bit object if we didn't find anything.
10785 if test -z "$aix_libpath"; then
10786 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10789 rm -f core conftest.err conftest.
$ac_objext \
10790 conftest
$ac_exeext conftest.
$ac_ext
10791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10793 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10794 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"
10796 if test "$host_cpu" = ia64
; then
10797 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10798 allow_undefined_flag
="-z nodefs"
10799 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"
10801 # Determine the default libpath from the value encoded in an
10802 # empty executable.
10803 if test x
$gcc_no_link = xyes
; then
10804 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10817 if ac_fn_c_try_link
"$LINENO"; then :
10819 lt_aix_libpath_sed
='
10820 /Import File Strings/,/^$/ {
10826 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10827 # Check for a 64-bit object if we didn't find anything.
10828 if test -z "$aix_libpath"; then
10829 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10832 rm -f core conftest.err conftest.
$ac_objext \
10833 conftest
$ac_exeext conftest.
$ac_ext
10834 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10836 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10837 # Warning - without using the other run time loading flags,
10838 # -berok will link without error, but may produce a broken library.
10839 no_undefined_flag
=' ${wl}-bernotok'
10840 allow_undefined_flag
=' ${wl}-berok'
10841 if test "$with_gnu_ld" = yes; then
10842 # We only use this code for GNU lds that support --whole-archive.
10843 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10845 # Exported symbols can be pulled into shared objects from archives
10846 whole_archive_flag_spec
='$convenience'
10848 archive_cmds_need_lc
=yes
10849 # This is similar to how AIX traditionally builds its shared libraries.
10850 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'
10858 # see comment about AmigaOS4 .so support
10859 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10860 archive_expsym_cmds
=''
10863 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)'
10864 hardcode_libdir_flag_spec
='-L$libdir'
10865 hardcode_minus_L
=yes
10871 export_dynamic_flag_spec
=-rdynamic
10874 cygwin
* | mingw
* | pw32
* | cegcc
*)
10875 # When not using gcc, we currently assume that we are using
10876 # Microsoft Visual C++.
10877 # hardcode_libdir_flag_spec is actually meaningless, as there is
10878 # no search path for DLLs.
10879 hardcode_libdir_flag_spec
=' '
10880 allow_undefined_flag
=unsupported
10881 # Tell ltmain to make .lib files, not .a files.
10883 # Tell ltmain to make .dll files, not .so files.
10885 # FIXME: Setting linknames here is a bad hack.
10886 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10887 # The linker will automatically build a .lib file if we build a DLL.
10888 old_archive_from_new_cmds
='true'
10889 # FIXME: Should let the user specify the lib program.
10890 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10891 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10892 enable_shared_with_static_runtimes
=yes
10895 darwin
* | rhapsody
*)
10899 # Publish an arg to allow the user to select that Darwin host (and target)
10900 # libraries should be given install-names like @rpath/libfoo.dylib. This
10901 # requires that the user of the library then adds an 'rpath' to the DSO that
10903 # NOTE: there are defaults below, for systems that support rpaths. The person
10904 # configuring can override the defaults for any system version that supports
10905 # them - they are, however, forced off for system versions without support.
10906 # Check whether --enable-darwin-at-rpath was given.
10907 if test "${enable_darwin_at_rpath+set}" = set; then :
10908 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10909 # This is not supported before macOS 10.5 / Darwin9.
10910 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10911 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10913 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10914 enable_darwin_at_rpath
=no
10919 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10920 # As above, before 10.5 / Darwin9 this does not work.
10921 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10922 enable_darwin_at_rpath
=no
10925 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10926 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10927 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10928 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10930 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10931 enable_darwin_at_rpath
=yes
10933 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10934 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10941 archive_cmds_need_lc
=no
10943 hardcode_automatic
=yes
10944 hardcode_shlibpath_var
=unsupported
10945 if test "$lt_cv_ld_force_load" = "yes"; then
10946 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\"`'
10948 whole_archive_flag_spec
=''
10950 link_all_deplibs
=yes
10951 allow_undefined_flag
="$_lt_dar_allow_undefined"
10952 case $cc_basename in
10953 ifort
*) _lt_dar_can_shared
=yes ;;
10954 *) _lt_dar_can_shared
=$GCC ;;
10956 if test "$_lt_dar_can_shared" = "yes"; then
10957 output_verbose_link_cmd
=func_echo_all
10958 _lt_install_name
='\$rpath/\$soname'
10959 if test "x$enable_darwin_at_rpath" = "xyes"; then
10960 _lt_install_name
='@rpath/\$soname'
10962 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10963 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10964 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}"
10965 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}"
10974 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10975 hardcode_libdir_flag_spec
='-L$libdir'
10976 hardcode_shlibpath_var
=no
10979 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10980 # support. Future versions do this automatically, but an explicit c++rt0.o
10981 # does not break anything, and helps significantly (at the cost of a little
10984 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10985 hardcode_libdir_flag_spec
='-R$libdir'
10986 hardcode_direct
=yes
10987 hardcode_shlibpath_var
=no
10990 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10992 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10993 hardcode_direct
=yes
10994 hardcode_minus_L
=yes
10995 hardcode_shlibpath_var
=no
10998 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10999 freebsd
* | dragonfly
*)
11000 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11001 hardcode_libdir_flag_spec
='-R$libdir'
11002 hardcode_direct
=yes
11003 hardcode_shlibpath_var
=no
11007 if test "$GCC" = yes; then
11008 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'
11010 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'
11012 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11013 hardcode_libdir_separator
=:
11014 hardcode_direct
=yes
11016 # hardcode_minus_L: Not really in the search PATH,
11017 # but as the default location of the library.
11018 hardcode_minus_L
=yes
11019 export_dynamic_flag_spec
='${wl}-E'
11023 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11024 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11026 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11028 if test "$with_gnu_ld" = no
; then
11029 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11030 hardcode_libdir_flag_spec_ld
='+b $libdir'
11031 hardcode_libdir_separator
=:
11032 hardcode_direct
=yes
11033 hardcode_direct_absolute
=yes
11034 export_dynamic_flag_spec
='${wl}-E'
11035 # hardcode_minus_L: Not really in the search PATH,
11036 # but as the default location of the library.
11037 hardcode_minus_L
=yes
11042 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11045 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11048 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11051 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11057 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11060 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11064 # Older versions of the 11.00 compiler do not understand -b yet
11065 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11067 $as_echo_n "checking if $CC understands -b... " >&6; }
11068 if ${lt_cv_prog_compiler__b+:} false
; then :
11069 $as_echo_n "(cached) " >&6
11071 lt_cv_prog_compiler__b
=no
11072 save_LDFLAGS
="$LDFLAGS"
11073 LDFLAGS
="$LDFLAGS -b"
11074 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11075 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11076 # The linker can only warn and ignore the option if not recognized
11077 # So say no if there are warnings
11078 if test -s conftest.err
; then
11079 # Append any errors to the config.log.
11080 cat conftest.err
1>&5
11081 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11082 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11083 if diff conftest.exp conftest.er2
>/dev
/null
; then
11084 lt_cv_prog_compiler__b
=yes
11087 lt_cv_prog_compiler__b
=yes
11091 LDFLAGS
="$save_LDFLAGS"
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11095 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11097 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11098 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11100 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11106 if test "$with_gnu_ld" = no
; then
11107 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11108 hardcode_libdir_separator
=:
11113 hardcode_shlibpath_var
=no
11116 hardcode_direct
=yes
11117 hardcode_direct_absolute
=yes
11118 export_dynamic_flag_spec
='${wl}-E'
11120 # hardcode_minus_L: Not really in the search PATH,
11121 # but as the default location of the library.
11122 hardcode_minus_L
=yes
11128 irix5
* | irix6
* | nonstopux
*)
11129 if test "$GCC" = yes; then
11130 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'
11131 # Try to use the -exported_symbol ld option, if it does not
11132 # work, assume that -exports_file does not work either and
11133 # implicitly export all symbols.
11134 save_LDFLAGS
="$LDFLAGS"
11135 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11136 if test x
$gcc_no_link = xyes
; then
11137 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11143 if ac_fn_c_try_link
"$LINENO"; then :
11144 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'
11147 rm -f core conftest.err conftest.
$ac_objext \
11148 conftest
$ac_exeext conftest.
$ac_ext
11149 LDFLAGS
="$save_LDFLAGS"
11151 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'
11152 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'
11154 archive_cmds_need_lc
='no'
11155 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11156 hardcode_libdir_separator
=:
11158 link_all_deplibs
=yes
11162 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11163 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11165 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11167 hardcode_libdir_flag_spec
='-R$libdir'
11168 hardcode_direct
=yes
11169 hardcode_shlibpath_var
=no
11173 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11174 hardcode_direct
=yes
11175 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11176 hardcode_libdir_separator
=:
11177 hardcode_shlibpath_var
=no
11184 if test -f /usr
/libexec
/ld.so
; then
11185 hardcode_direct
=yes
11186 hardcode_shlibpath_var
=no
11187 hardcode_direct_absolute
=yes
11188 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11189 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11190 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11191 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11192 export_dynamic_flag_spec
='${wl}-E'
11195 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11196 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11197 hardcode_libdir_flag_spec
='-R$libdir'
11200 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11201 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11211 hardcode_libdir_flag_spec
='-L$libdir'
11212 hardcode_minus_L
=yes
11213 allow_undefined_flag
=unsupported
11214 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'
11215 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11219 if test "$GCC" = yes; then
11220 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11221 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'
11223 allow_undefined_flag
=' -expect_unresolved \*'
11224 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'
11226 archive_cmds_need_lc
='no'
11227 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11228 hardcode_libdir_separator
=:
11231 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11232 if test "$GCC" = yes; then
11233 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11234 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'
11235 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11237 allow_undefined_flag
=' -expect_unresolved \*'
11238 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'
11239 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~
11240 $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'
11242 # Both c and cxx compiler support -rpath directly
11243 hardcode_libdir_flag_spec
='-rpath $libdir'
11245 archive_cmds_need_lc
='no'
11246 hardcode_libdir_separator
=:
11250 no_undefined_flag
=' -z defs'
11251 if test "$GCC" = yes; then
11253 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11254 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11255 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11257 case `$CC -V 2>&1` in
11260 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11261 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11262 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11266 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11267 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11268 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11272 hardcode_libdir_flag_spec
='-R$libdir'
11273 hardcode_shlibpath_var
=no
11275 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11277 # The compiler driver will combine and reorder linker options,
11278 # but understands `-z linker_flag'. GCC discards it without `$wl',
11279 # but is careful enough not to reorder.
11280 # Supported since Solaris 2.6 (maybe 2.5.1?)
11281 if test "$GCC" = yes; then
11282 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11284 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11288 link_all_deplibs
=yes
11292 if test "x$host_vendor" = xsequent
; then
11293 # Use $CC to link under sequent, because it throws in some extra .o
11294 # files that make .init and .fini sections work.
11295 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11297 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11299 hardcode_libdir_flag_spec
='-L$libdir'
11300 hardcode_direct
=yes
11301 hardcode_minus_L
=yes
11302 hardcode_shlibpath_var
=no
11306 case $host_vendor in
11308 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11309 hardcode_direct
=yes # is this really true???
11312 ## LD is ld it makes a PLAMLIB
11313 ## CC just makes a GrossModule.
11314 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11315 reload_cmds
='$CC -r -o $output$reload_objs'
11319 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11320 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11323 runpath_var
='LD_RUN_PATH'
11324 hardcode_shlibpath_var
=no
11328 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11329 hardcode_shlibpath_var
=no
11330 export_dynamic_flag_spec
='-Bexport'
11334 if test -d /usr
/nec
; then
11335 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11336 hardcode_shlibpath_var
=no
11337 runpath_var
=LD_RUN_PATH
11338 hardcode_runpath_var
=yes
11343 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11344 no_undefined_flag
='${wl}-z,text'
11345 archive_cmds_need_lc
=no
11346 hardcode_shlibpath_var
=no
11347 runpath_var
='LD_RUN_PATH'
11349 if test "$GCC" = yes; then
11350 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11351 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11353 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11354 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11358 sysv5
* | sco3.2v5
* | sco5v6
*)
11359 # Note: We can NOT use -z defs as we might desire, because we do not
11360 # link with -lc, and that would cause any symbols used from libc to
11361 # always be unresolved, which means just about no library would
11362 # ever link correctly. If we're not using GNU ld we use -z text
11363 # though, which does catch some bad symbols but isn't as heavy-handed
11365 no_undefined_flag
='${wl}-z,text'
11366 allow_undefined_flag
='${wl}-z,nodefs'
11367 archive_cmds_need_lc
=no
11368 hardcode_shlibpath_var
=no
11369 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11370 hardcode_libdir_separator
=':'
11371 link_all_deplibs
=yes
11372 export_dynamic_flag_spec
='${wl}-Bexport'
11373 runpath_var
='LD_RUN_PATH'
11375 if test "$GCC" = yes; then
11376 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11377 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11379 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11380 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11385 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11386 hardcode_libdir_flag_spec
='-L$libdir'
11387 hardcode_shlibpath_var
=no
11395 if test x
$host_vendor = xsni
; then
11397 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11398 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11405 $as_echo "$ld_shlibs" >&6; }
11406 test "$ld_shlibs" = no
&& can_build_shared
=no
11408 with_gnu_ld
=$with_gnu_ld
11425 # Do we need to explicitly link libc?
11427 case "x$archive_cmds_need_lc" in
11429 # Assume -lc should be added
11430 archive_cmds_need_lc
=yes
11432 if test "$enable_shared" = yes && test "$GCC" = yes; then
11433 case $archive_cmds in
11435 # FIXME: we may have to deal with multi-command sequences.
11438 # Test whether the compiler implicitly links with -lc since on some
11439 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11440 # to ld, don't add -lc before -lgcc.
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11442 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11443 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11444 $as_echo_n "(cached) " >&6
11447 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11450 (eval $ac_compile) 2>&5
11452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11453 test $ac_status = 0; } 2>conftest.err
; then
11456 libobjs
=conftest.
$ac_objext
11458 wl
=$lt_prog_compiler_wl
11459 pic_flag
=$lt_prog_compiler_pic
11465 lt_save_allow_undefined_flag
=$allow_undefined_flag
11466 allow_undefined_flag
=
11467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11468 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11471 test $ac_status = 0; }
11473 lt_cv_archive_cmds_need_lc
=no
11475 lt_cv_archive_cmds_need_lc
=yes
11477 allow_undefined_flag
=$lt_save_allow_undefined_flag
11479 cat conftest.err
1>&5
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11485 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11486 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11650 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11652 if test "$GCC" = yes; then
11654 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11655 *) lt_awk_arg
="/^libraries:/" ;;
11658 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11659 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11661 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11662 case $lt_search_path_spec in
11664 # if the path contains ";" then we assume it to be the separator
11665 # otherwise default to the standard path separator (i.e. ":") - it is
11666 # assumed that no part of a normal pathname contains ";" but that should
11667 # okay in the real world where ";" in dirpaths is itself problematic.
11668 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11671 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11674 # Ok, now we have the path, separated by spaces, we can step through it
11675 # and add multilib dir if necessary.
11676 lt_tmp_lt_search_path_spec
=
11677 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11678 for lt_sys_path
in $lt_search_path_spec; do
11679 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11680 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11682 test -d "$lt_sys_path" && \
11683 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11686 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11687 BEGIN {RS=" "; FS="/|\n";} {
11690 for (lt_i = NF; lt_i > 0; lt_i--) {
11691 if ($lt_i != "" && $lt_i != ".") {
11692 if ($lt_i == "..") {
11695 if (lt_count == 0) {
11696 lt_foo="/" $lt_i lt_foo;
11703 if (lt_foo != "") { lt_freq[lt_foo]++; }
11704 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11706 # AWK program above erroneously prepends '/' to C:/dos/paths
11709 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11710 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11712 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11714 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11716 library_names_spec
=
11717 libname_spec
='lib$name'
11721 postuninstall_cmds
=
11725 shlibpath_overrides_runpath
=unknown
11727 dynamic_linker
="$host_os ld.so"
11728 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11729 need_lib_prefix
=unknown
11730 hardcode_into_libs
=no
11732 # when you set need_version to no, make sure it does not cause -set_version
11733 # flags to be left without arguments
11734 need_version
=unknown
11739 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11740 shlibpath_var
=LIBPATH
11742 # AIX 3 has no versioning support, so we append a major version to the name.
11743 soname_spec
='${libname}${release}${shared_ext}$major'
11750 hardcode_into_libs
=yes
11751 if test "$host_cpu" = ia64
; then
11752 # AIX 5 supports IA64
11753 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11754 shlibpath_var
=LD_LIBRARY_PATH
11756 # With GCC up to 2.95.x, collect2 would create an import file
11757 # for dependence libraries. The import file would start with
11758 # the line `#! .'. This would cause the generated library to
11759 # depend on `.', always an invalid library. This was fixed in
11760 # development snapshots of GCC prior to 3.0.
11762 aix4 | aix4.
[01] | aix4.
[01].
*)
11763 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11765 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11768 can_build_shared
=no
11772 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11773 # soname into executable. Probably we can add versioning support to
11774 # collect2, so additional links can be useful in future.
11775 if test "$aix_use_runtimelinking" = yes; then
11776 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11777 # instead of lib<name>.a to let people know that these are not
11778 # typical AIX shared libraries.
11779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11781 # We preserve .a as extension for shared libraries through AIX4.2
11782 # and later when we are not doing run time linking.
11783 library_names_spec
='${libname}${release}.a $libname.a'
11784 soname_spec
='${libname}${release}${shared_ext}$major'
11786 shlibpath_var
=LIBPATH
11793 # Since July 2007 AmigaOS4 officially supports .so libraries.
11794 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11798 library_names_spec
='$libname.ixlibrary $libname.a'
11799 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11800 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'
11806 library_names_spec
='${libname}${shared_ext}'
11807 dynamic_linker
="$host_os ld.so"
11808 shlibpath_var
=LIBRARY_PATH
11814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11815 soname_spec
='${libname}${release}${shared_ext}$major'
11816 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11817 shlibpath_var
=LD_LIBRARY_PATH
11818 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11819 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11820 # the default ld.so.conf also contains /usr/contrib/lib and
11821 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11822 # libtool to hard-code these into programs
11825 cygwin
* | mingw
* | pw32
* | cegcc
*)
11826 version_type
=windows
11831 case $GCC,$host_os in
11832 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11833 library_names_spec
='$libname.dll.a'
11834 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11835 postinstall_cmds
='base_file=`basename \${file}`~
11836 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11837 dldir=$destdir/`dirname \$dlpath`~
11838 test -d \$dldir || mkdir -p \$dldir~
11839 $install_prog $dir/$dlname \$dldir/$dlname~
11840 chmod a+x \$dldir/$dlname~
11841 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11842 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11844 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11845 dlpath=$dir/\$dldll~
11847 shlibpath_overrides_runpath
=yes
11851 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11852 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11854 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11857 # MinGW DLLs use traditional 'lib' prefix
11858 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11861 # pw32 DLLs use 'pw' prefix rather than 'lib'
11862 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11868 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11871 dynamic_linker
='Win32 ld.exe'
11872 # FIXME: first we should search . and the directory the executable is in
11876 darwin
* | rhapsody
*)
11877 dynamic_linker
="$host_os dyld"
11878 version_type
=darwin
11881 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11882 soname_spec
='${libname}${release}${major}$shared_ext'
11883 shlibpath_overrides_runpath
=yes
11884 shlibpath_var
=DYLD_LIBRARY_PATH
11885 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11887 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11888 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11896 soname_spec
='${libname}${release}${shared_ext}$major'
11897 shlibpath_var
=LD_LIBRARY_PATH
11900 freebsd
* | dragonfly
*)
11901 # DragonFly does not have aout. When/if they implement a new
11902 # versioning mechanism, adjust this.
11903 if test -x /usr
/bin
/objformat
; then
11904 objformat
=`/usr/bin/objformat`
11907 freebsd
[23].
*) objformat
=aout
;;
11908 *) objformat
=elf
;;
11911 version_type
=freebsd-
$objformat
11912 case $version_type in
11914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11919 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11923 shlibpath_var
=LD_LIBRARY_PATH
11926 shlibpath_overrides_runpath
=yes
11928 freebsd3.
[01]* | freebsdelf3.
[01]*)
11929 shlibpath_overrides_runpath
=yes
11930 hardcode_into_libs
=yes
11932 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11933 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11934 shlibpath_overrides_runpath
=no
11935 hardcode_into_libs
=yes
11937 *) # from 4.6 on, and DragonFly
11938 shlibpath_overrides_runpath
=yes
11939 hardcode_into_libs
=yes
11948 dynamic_linker
="$host_os runtime_loader"
11949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11950 soname_spec
='${libname}${release}${shared_ext}$major'
11951 shlibpath_var
=LIBRARY_PATH
11952 shlibpath_overrides_runpath
=yes
11953 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11954 hardcode_into_libs
=yes
11957 hpux9
* | hpux10
* | hpux11
*)
11958 # Give a soname corresponding to the major version so that dld.sl refuses to
11959 # link against other versions.
11966 hardcode_into_libs
=yes
11967 dynamic_linker
="$host_os dld.so"
11968 shlibpath_var
=LD_LIBRARY_PATH
11969 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11971 soname_spec
='${libname}${release}${shared_ext}$major'
11972 if test "X$HPUX_IA64_MODE" = X32
; then
11973 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11975 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11977 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11981 hardcode_into_libs
=yes
11982 dynamic_linker
="$host_os dld.sl"
11983 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11984 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11986 soname_spec
='${libname}${release}${shared_ext}$major'
11987 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11988 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11992 dynamic_linker
="$host_os dld.sl"
11993 shlibpath_var
=SHLIB_PATH
11994 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11996 soname_spec
='${libname}${release}${shared_ext}$major'
11999 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12000 postinstall_cmds
='chmod 555 $lib'
12001 # or fails outright, so override atomically:
12002 install_override_mode
=555
12009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12010 soname_spec
='${libname}${release}${shared_ext}$major'
12011 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12012 shlibpath_var
=LD_LIBRARY_PATH
12013 shlibpath_overrides_runpath
=no
12014 hardcode_into_libs
=yes
12017 irix5
* | irix6
* | nonstopux
*)
12019 nonstopux
*) version_type
=nonstopux
;;
12021 if test "$lt_cv_prog_gnu_ld" = yes; then
12029 soname_spec
='${libname}${release}${shared_ext}$major'
12030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12032 irix5
* | nonstopux
*)
12033 libsuff
= shlibsuff
=
12036 case $LD in # libtool.m4 will add one of these switches to LD
12037 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12038 libsuff
= shlibsuff
= libmagic
=32-bit;;
12039 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12040 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12041 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12042 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12043 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12047 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12048 shlibpath_overrides_runpath
=no
12049 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12050 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12051 hardcode_into_libs
=yes
12054 # No shared lib support for Linux oldld, aout, or coff.
12055 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12059 # This must be Linux ELF.
12061 # uclinux* changes (here and below) have been submitted to the libtool
12062 # project, but have not yet been accepted: they are GCC-local changes
12063 # for the time being. (See
12064 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12065 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12070 soname_spec
='${libname}${release}${shared_ext}$major'
12071 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12072 shlibpath_var
=LD_LIBRARY_PATH
12073 shlibpath_overrides_runpath
=no
12075 # Some binutils ld are patched to set DT_RUNPATH
12076 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12077 $as_echo_n "(cached) " >&6
12079 lt_cv_shlibpath_overrides_runpath
=no
12080 save_LDFLAGS
=$LDFLAGS
12081 save_libdir
=$libdir
12082 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12083 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12084 if test x
$gcc_no_link = xyes
; then
12085 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12098 if ac_fn_c_try_link
"$LINENO"; then :
12099 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12100 lt_cv_shlibpath_overrides_runpath
=yes
12103 rm -f core conftest.err conftest.
$ac_objext \
12104 conftest
$ac_exeext conftest.
$ac_ext
12105 LDFLAGS
=$save_LDFLAGS
12106 libdir
=$save_libdir
12110 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12112 # This implies no fast_install, which is unacceptable.
12113 # Some rework will be needed to allow for fast_install
12114 # before this can be enabled.
12115 hardcode_into_libs
=yes
12117 # Append ld.so.conf contents to the search path
12118 if test -f /etc
/ld.so.conf
; then
12119 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' ' '`
12120 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12123 # We used to test for /lib/ld.so.1 and disable shared libraries on
12124 # powerpc, because MkLinux only supported shared libraries with the
12125 # GNU dynamic linker. Since this was broken with cross compilers,
12126 # most powerpc-linux boxes support dynamic linking these days and
12127 # people can always --disable-shared, the test was removed, and we
12128 # assume the GNU/Linux dynamic linker is in use.
12129 dynamic_linker
='GNU/Linux ld.so'
12136 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12139 dynamic_linker
='NetBSD (a.out) ld.so'
12141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12142 soname_spec
='${libname}${release}${shared_ext}$major'
12143 dynamic_linker
='NetBSD ld.elf_so'
12145 shlibpath_var
=LD_LIBRARY_PATH
12146 shlibpath_overrides_runpath
=yes
12147 hardcode_into_libs
=yes
12152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12153 shlibpath_var
=LD_LIBRARY_PATH
12154 shlibpath_overrides_runpath
=yes
12161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12162 soname_spec
='${libname}${release}${shared_ext}$major'
12163 shlibpath_var
=LD_LIBRARY_PATH
12164 shlibpath_overrides_runpath
=no
12165 hardcode_into_libs
=yes
12166 dynamic_linker
='ldqnx.so'
12171 sys_lib_dlsearch_path_spec
="/usr/lib"
12173 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12175 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12176 *) need_version
=no
;;
12178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12179 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12180 shlibpath_var
=LD_LIBRARY_PATH
12181 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12183 openbsd2.
[89] | openbsd2.
[89].
*)
12184 shlibpath_overrides_runpath
=no
12187 shlibpath_overrides_runpath
=yes
12191 shlibpath_overrides_runpath
=yes
12196 libname_spec
='$name'
12199 library_names_spec
='$libname${shared_ext} $libname.a'
12200 dynamic_linker
='OS/2 ld.exe'
12201 shlibpath_var
=LIBPATH
12204 osf3
* | osf4
* | osf5
*)
12208 soname_spec
='${libname}${release}${shared_ext}$major'
12209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12210 shlibpath_var
=LD_LIBRARY_PATH
12211 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12212 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12224 soname_spec
='${libname}${release}${shared_ext}$major'
12225 shlibpath_var
=LD_LIBRARY_PATH
12226 shlibpath_overrides_runpath
=yes
12227 hardcode_into_libs
=yes
12228 # ldd complains unless libraries are executable
12229 postinstall_cmds
='chmod +x $lib'
12234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12235 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12236 shlibpath_var
=LD_LIBRARY_PATH
12237 shlibpath_overrides_runpath
=yes
12238 if test "$with_gnu_ld" = yes; then
12246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12247 soname_spec
='${libname}${release}${shared_ext}$major'
12248 shlibpath_var
=LD_LIBRARY_PATH
12249 case $host_vendor in
12251 shlibpath_overrides_runpath
=no
12253 runpath_var
=LD_RUN_PATH
12261 shlibpath_overrides_runpath
=no
12262 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12268 if test -d /usr
/nec
;then
12270 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12271 soname_spec
='$libname${shared_ext}.$major'
12272 shlibpath_var
=LD_LIBRARY_PATH
12276 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12277 version_type
=freebsd-elf
12280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12281 soname_spec
='${libname}${release}${shared_ext}$major'
12282 shlibpath_var
=LD_LIBRARY_PATH
12283 shlibpath_overrides_runpath
=yes
12284 hardcode_into_libs
=yes
12285 if test "$with_gnu_ld" = yes; then
12286 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12288 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12291 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12295 sys_lib_dlsearch_path_spec
='/usr/lib'
12299 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12304 shlibpath_var
=LD_LIBRARY_PATH
12305 shlibpath_overrides_runpath
=no
12306 hardcode_into_libs
=yes
12311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12312 soname_spec
='${libname}${release}${shared_ext}$major'
12313 shlibpath_var
=LD_LIBRARY_PATH
12316 # Shared libraries for VwWorks, >= 7 only at this stage
12317 # and (fpic) still incompatible with "large" code models
12318 # in a few configurations. Only for RTP mode in any case,
12319 # and upon explicit request at configure time.
12322 case ${with_multisubdir}-${enable_shared} in
12329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12330 soname_spec
='${libname}${release}${shared_ext}$major'
12331 dynamic_linker
="$host_os module_loader"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12340 $as_echo "$dynamic_linker" >&6; }
12341 test "$dynamic_linker" = no
&& can_build_shared
=no
12343 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12344 if test "$GCC" = yes; then
12345 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12348 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12349 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12351 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12352 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12447 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12449 if test -n "$hardcode_libdir_flag_spec" ||
12450 test -n "$runpath_var" ||
12451 test "X$hardcode_automatic" = "Xyes" ; then
12453 # We can hardcode non-existent directories.
12454 if test "$hardcode_direct" != no
&&
12455 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12456 # have to relink, otherwise we might link with an installed library
12457 # when we should be linking with a yet-to-be-installed one
12458 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12459 test "$hardcode_minus_L" != no
; then
12460 # Linking always hardcodes the temporary library directory.
12461 hardcode_action
=relink
12463 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12464 hardcode_action
=immediate
12467 # We cannot hardcode anything, or else we can only hardcode existing
12469 hardcode_action
=unsupported
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12472 $as_echo "$hardcode_action" >&6; }
12474 if test "$hardcode_action" = relink ||
12475 test "$inherit_rpath" = yes; then
12476 # Fast installation is not supported
12477 enable_fast_install
=no
12478 elif test "$shlibpath_overrides_runpath" = yes ||
12479 test "$enable_shared" = no
; then
12480 # Fast installation is not necessary
12481 enable_fast_install
=needless
12489 if test "x$enable_dlopen" != xyes
; then
12490 enable_dlopen
=unknown
12491 enable_dlopen_self
=unknown
12492 enable_dlopen_self_static
=unknown
12499 lt_cv_dlopen
="load_add_on"
12501 lt_cv_dlopen_self
=yes
12504 mingw
* | pw32
* | cegcc
*)
12505 lt_cv_dlopen
="LoadLibrary"
12510 lt_cv_dlopen
="dlopen"
12515 # if libdl is installed we need to link against it
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12517 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12518 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12519 $as_echo_n "(cached) " >&6
12521 ac_check_lib_save_LIBS
=$LIBS
12523 if test x
$gcc_no_link = xyes
; then
12524 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12544 if ac_fn_c_try_link
"$LINENO"; then :
12545 ac_cv_lib_dl_dlopen
=yes
12547 ac_cv_lib_dl_dlopen
=no
12549 rm -f core conftest.err conftest.
$ac_objext \
12550 conftest
$ac_exeext conftest.
$ac_ext
12551 LIBS
=$ac_check_lib_save_LIBS
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12554 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12555 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12556 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12559 lt_cv_dlopen
="dyld"
12561 lt_cv_dlopen_self
=yes
12568 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12569 if test "x$ac_cv_func_shl_load" = xyes
; then :
12570 lt_cv_dlopen
="shl_load"
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12573 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12574 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 ac_check_lib_save_LIBS
=$LIBS
12579 if test x
$gcc_no_link = xyes
; then
12580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12585 /* Override any GCC internal prototype to avoid an error.
12586 Use char because int might match the return type of a GCC
12587 builtin and then its argument prototype would still apply. */
12595 return shl_load ();
12600 if ac_fn_c_try_link
"$LINENO"; then :
12601 ac_cv_lib_dld_shl_load
=yes
12603 ac_cv_lib_dld_shl_load
=no
12605 rm -f core conftest.err conftest.
$ac_objext \
12606 conftest
$ac_exeext conftest.
$ac_ext
12607 LIBS
=$ac_check_lib_save_LIBS
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12610 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12611 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12612 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12614 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12615 if test "x$ac_cv_func_dlopen" = xyes
; then :
12616 lt_cv_dlopen
="dlopen"
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12619 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12620 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12621 $as_echo_n "(cached) " >&6
12623 ac_check_lib_save_LIBS
=$LIBS
12625 if test x
$gcc_no_link = xyes
; then
12626 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12646 if ac_fn_c_try_link
"$LINENO"; then :
12647 ac_cv_lib_dl_dlopen
=yes
12649 ac_cv_lib_dl_dlopen
=no
12651 rm -f core conftest.err conftest.
$ac_objext \
12652 conftest
$ac_exeext conftest.
$ac_ext
12653 LIBS
=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12656 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12657 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12658 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12661 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12662 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12663 $as_echo_n "(cached) " >&6
12665 ac_check_lib_save_LIBS
=$LIBS
12666 LIBS
="-lsvld $LIBS"
12667 if test x
$gcc_no_link = xyes
; then
12668 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 /* Override any GCC internal prototype to avoid an error.
12674 Use char because int might match the return type of a GCC
12675 builtin and then its argument prototype would still apply. */
12688 if ac_fn_c_try_link
"$LINENO"; then :
12689 ac_cv_lib_svld_dlopen
=yes
12691 ac_cv_lib_svld_dlopen
=no
12693 rm -f core conftest.err conftest.
$ac_objext \
12694 conftest
$ac_exeext conftest.
$ac_ext
12695 LIBS
=$ac_check_lib_save_LIBS
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12698 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12699 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12700 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12703 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12704 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12705 $as_echo_n "(cached) " >&6
12707 ac_check_lib_save_LIBS
=$LIBS
12709 if test x
$gcc_no_link = xyes
; then
12710 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12725 return dld_link ();
12730 if ac_fn_c_try_link
"$LINENO"; then :
12731 ac_cv_lib_dld_dld_link
=yes
12733 ac_cv_lib_dld_dld_link
=no
12735 rm -f core conftest.err conftest.
$ac_objext \
12736 conftest
$ac_exeext conftest.
$ac_ext
12737 LIBS
=$ac_check_lib_save_LIBS
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12740 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12741 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12742 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12763 if test "x$lt_cv_dlopen" != xno
; then
12769 case $lt_cv_dlopen in
12771 save_CPPFLAGS
="$CPPFLAGS"
12772 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12774 save_LDFLAGS
="$LDFLAGS"
12775 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12778 LIBS
="$lt_cv_dlopen_libs $LIBS"
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12781 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12782 if ${lt_cv_dlopen_self+:} false
; then :
12783 $as_echo_n "(cached) " >&6
12785 if test "$cross_compiling" = yes; then :
12786 lt_cv_dlopen_self
=cross
12788 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12789 lt_status
=$lt_dlunknown
12790 cat > conftest.
$ac_ext <<_LT_EOF
12791 #line 12791 "configure"
12792 #include "confdefs.h"
12801 # define LT_DLGLOBAL RTLD_GLOBAL
12804 # define LT_DLGLOBAL DL_GLOBAL
12806 # define LT_DLGLOBAL 0
12810 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12811 find out it does not work in some platform. */
12812 #ifndef LT_DLLAZY_OR_NOW
12814 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12817 # define LT_DLLAZY_OR_NOW DL_LAZY
12820 # define LT_DLLAZY_OR_NOW RTLD_NOW
12823 # define LT_DLLAZY_OR_NOW DL_NOW
12825 # define LT_DLLAZY_OR_NOW 0
12832 /* When -fvisbility=hidden is used, assume the code has been annotated
12833 correspondingly for the symbols needed. */
12834 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12835 void fnord () __attribute__((visibility("default")));
12838 void fnord () { int i=42; }
12841 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12842 int status = $lt_dlunknown;
12846 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12849 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12850 else puts (dlerror ());
12852 /* dlclose (self); */
12860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12861 (eval $ac_link) 2>&5
12863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12864 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12865 (.
/conftest
; exit; ) >&5 2>/dev
/null
12867 case x
$lt_status in
12868 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12869 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12870 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12873 # compilation failed
12874 lt_cv_dlopen_self
=no
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12882 $as_echo "$lt_cv_dlopen_self" >&6; }
12884 if test "x$lt_cv_dlopen_self" = xyes
; then
12885 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12887 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12888 if ${lt_cv_dlopen_self_static+:} false
; then :
12889 $as_echo_n "(cached) " >&6
12891 if test "$cross_compiling" = yes; then :
12892 lt_cv_dlopen_self_static
=cross
12894 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12895 lt_status
=$lt_dlunknown
12896 cat > conftest.
$ac_ext <<_LT_EOF
12897 #line 12897 "configure"
12898 #include "confdefs.h"
12907 # define LT_DLGLOBAL RTLD_GLOBAL
12910 # define LT_DLGLOBAL DL_GLOBAL
12912 # define LT_DLGLOBAL 0
12916 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12917 find out it does not work in some platform. */
12918 #ifndef LT_DLLAZY_OR_NOW
12920 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12923 # define LT_DLLAZY_OR_NOW DL_LAZY
12926 # define LT_DLLAZY_OR_NOW RTLD_NOW
12929 # define LT_DLLAZY_OR_NOW DL_NOW
12931 # define LT_DLLAZY_OR_NOW 0
12938 /* When -fvisbility=hidden is used, assume the code has been annotated
12939 correspondingly for the symbols needed. */
12940 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12941 void fnord () __attribute__((visibility("default")));
12944 void fnord () { int i=42; }
12947 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12948 int status = $lt_dlunknown;
12952 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12955 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12956 else puts (dlerror ());
12958 /* dlclose (self); */
12966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12967 (eval $ac_link) 2>&5
12969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12971 (.
/conftest
; exit; ) >&5 2>/dev
/null
12973 case x
$lt_status in
12974 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12975 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12976 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12979 # compilation failed
12980 lt_cv_dlopen_self_static
=no
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12988 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12991 CPPFLAGS
="$save_CPPFLAGS"
12992 LDFLAGS
="$save_LDFLAGS"
12997 case $lt_cv_dlopen_self in
12998 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12999 *) enable_dlopen_self
=unknown
;;
13002 case $lt_cv_dlopen_self_static in
13003 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13004 *) enable_dlopen_self_static
=unknown
;;
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13027 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13028 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13029 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13030 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13032 $as_echo "yes" >&6; }
13034 # FIXME - insert some real tests, host_os isn't really good enough
13037 if test -n "$STRIP" ; then
13038 striplib
="$STRIP -x"
13039 old_striplib
="$STRIP -S"
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13041 $as_echo "yes" >&6; }
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13044 $as_echo "no" >&6; }
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 $as_echo "no" >&6; }
13065 # Report which library types will actually be built
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13067 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13069 $as_echo "$can_build_shared" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13072 $as_echo_n "checking whether to build shared libraries... " >&6; }
13073 test "$can_build_shared" = "no" && enable_shared
=no
13075 # On AIX, shared libraries and static libraries use the same namespace, and
13076 # are all built from PIC.
13079 test "$enable_shared" = yes && enable_static
=no
13080 if test -n "$RANLIB"; then
13081 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13082 postinstall_cmds
='$RANLIB $lib'
13087 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13088 test "$enable_shared" = yes && enable_static
=no
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13093 $as_echo "$enable_shared" >&6; }
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13096 $as_echo_n "checking whether to build static libraries... " >&6; }
13097 # Make sure either enable_shared or enable_static is yes.
13098 test "$enable_shared" = yes || enable_static
=yes
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13100 $as_echo "$enable_static" >&6; }
13107 ac_cpp
='$CPP $CPPFLAGS'
13108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13114 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13115 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13116 (test "X$CXX" != "Xg++"))) ; then
13118 ac_cpp
='$CXXCPP $CPPFLAGS'
13119 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13120 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13123 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13124 if test -z "$CXXCPP"; then
13125 if ${ac_cv_prog_CXXCPP+:} false
; then :
13126 $as_echo_n "(cached) " >&6
13128 # Double quotes because CXXCPP needs to be expanded
13129 for CXXCPP
in "$CXX -E" "/lib/cpp"
13131 ac_preproc_ok
=false
13132 for ac_cxx_preproc_warn_flag
in '' yes
13134 # Use a header file that comes with gcc, so configuring glibc
13135 # with a fresh cross-compiler works.
13136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13137 # <limits.h> exists even on freestanding compilers.
13138 # On the NeXT, cc -E runs the code through the compiler's parser,
13139 # not just through cpp. "Syntax error" is here to catch this case.
13140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 # include <limits.h>
13145 # include <assert.h>
13149 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13152 # Broken: fails on valid input.
13155 rm -f conftest.err conftest.i conftest.
$ac_ext
13157 # OK, works on sane cases. Now check whether nonexistent headers
13158 # can be detected and how.
13159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13161 #include <ac_nonexistent.h>
13163 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13164 # Broken: success on invalid input.
13167 # Passes both tests.
13171 rm -f conftest.err conftest.i conftest.
$ac_ext
13174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13175 rm -f conftest.i conftest.err conftest.
$ac_ext
13176 if $ac_preproc_ok; then :
13181 ac_cv_prog_CXXCPP
=$CXXCPP
13184 CXXCPP
=$ac_cv_prog_CXXCPP
13186 ac_cv_prog_CXXCPP
=$CXXCPP
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13189 $as_echo "$CXXCPP" >&6; }
13190 ac_preproc_ok
=false
13191 for ac_cxx_preproc_warn_flag
in '' yes
13193 # Use a header file that comes with gcc, so configuring glibc
13194 # with a fresh cross-compiler works.
13195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13196 # <limits.h> exists even on freestanding compilers.
13197 # On the NeXT, cc -E runs the code through the compiler's parser,
13198 # not just through cpp. "Syntax error" is here to catch this case.
13199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 # include <limits.h>
13204 # include <assert.h>
13208 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13211 # Broken: fails on valid input.
13214 rm -f conftest.err conftest.i conftest.
$ac_ext
13216 # OK, works on sane cases. Now check whether nonexistent headers
13217 # can be detected and how.
13218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13220 #include <ac_nonexistent.h>
13222 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13223 # Broken: success on invalid input.
13226 # Passes both tests.
13230 rm -f conftest.err conftest.i conftest.
$ac_ext
13233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13234 rm -f conftest.i conftest.err conftest.
$ac_ext
13235 if $ac_preproc_ok; then :
13238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13240 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13241 See \`config.log' for more details" "$LINENO" 5; }
13245 ac_cpp
='$CPP $CPPFLAGS'
13246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13251 _lt_caught_CXX_error
=yes
13255 ac_cpp
='$CXXCPP $CPPFLAGS'
13256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13260 archive_cmds_need_lc_CXX
=no
13261 allow_undefined_flag_CXX
=
13262 always_export_symbols_CXX
=no
13263 archive_expsym_cmds_CXX
=
13264 compiler_needs_object_CXX
=no
13265 export_dynamic_flag_spec_CXX
=
13266 hardcode_direct_CXX
=no
13267 hardcode_direct_absolute_CXX
=no
13268 hardcode_libdir_flag_spec_CXX
=
13269 hardcode_libdir_flag_spec_ld_CXX
=
13270 hardcode_libdir_separator_CXX
=
13271 hardcode_minus_L_CXX
=no
13272 hardcode_shlibpath_var_CXX
=unsupported
13273 hardcode_automatic_CXX
=no
13274 inherit_rpath_CXX
=no
13276 module_expsym_cmds_CXX
=
13277 link_all_deplibs_CXX
=unknown
13278 old_archive_cmds_CXX
=$old_archive_cmds
13279 reload_flag_CXX
=$reload_flag
13280 reload_cmds_CXX
=$reload_cmds
13281 no_undefined_flag_CXX
=
13282 whole_archive_flag_spec_CXX
=
13283 enable_shared_with_static_runtimes_CXX
=no
13285 # Source file extension for C++ test sources.
13288 # Object file extension for compiled C++ test sources.
13292 # No sense in running all these tests if we already determined that
13293 # the CXX compiler isn't working. Some variables (like enable_shared)
13294 # are currently assumed to apply to all compilers on this platform,
13295 # and will be corrupted by setting them based on a non-working compiler.
13296 if test "$_lt_caught_CXX_error" != yes; then
13297 # Code to be used in simple compile tests
13298 lt_simple_compile_test_code
="int some_variable = 0;"
13300 # Code to be used in simple link tests
13301 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13303 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13310 # If no C compiler was specified, use CC.
13313 # If no C compiler flags were specified, use CFLAGS.
13314 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13316 # Allow CC to be a program name with arguments.
13320 # save warnings/boilerplate of simple test code
13321 ac_outfile
=conftest.
$ac_objext
13322 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13323 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13324 _lt_compiler_boilerplate
=`cat conftest.err`
13327 ac_outfile
=conftest.
$ac_objext
13328 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13329 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13330 _lt_linker_boilerplate
=`cat conftest.err`
13334 # Allow CC to be a program name with arguments.
13339 lt_save_with_gnu_ld
=$with_gnu_ld
13340 lt_save_path_LD
=$lt_cv_path_LD
13341 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13342 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13344 $as_unset lt_cv_prog_gnu_ld
13346 if test -n "${lt_cv_path_LDCXX+set}"; then
13347 lt_cv_path_LD
=$lt_cv_path_LDCXX
13349 $as_unset lt_cv_path_LD
13351 test -z "${LDCXX+set}" || LD
=$LDCXX
13355 for cc_temp
in $compiler""; do
13357 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13358 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13363 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13366 if test -n "$compiler"; then
13367 # We don't want -fno-exception when compiling C++ code, so set the
13368 # no_builtin_flag separately
13369 if test "$GXX" = yes; then
13370 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13372 lt_prog_compiler_no_builtin_flag_CXX
=
13375 if test "$GXX" = yes; then
13376 # Set up default GNU C++ configuration
13380 # Check whether --with-gnu-ld was given.
13381 if test "${with_gnu_ld+set}" = set; then :
13382 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13388 if test "$GCC" = yes; then
13389 # Check if gcc -print-prog-name=ld gives a path.
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13391 $as_echo_n "checking for ld used by $CC... " >&6; }
13394 # gcc leaves a trailing carriage return which upsets mingw
13395 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13397 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13400 # Accept absolute paths.
13402 re_direlt
='/[^/][^/]*/\.\./'
13403 # Canonicalize the pathname of ld
13404 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13405 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13406 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13408 test -z "$LD" && LD
="$ac_prog"
13411 # If it fails, then pretend we aren't using GCC.
13415 # If it is relative, then search for the first ld in PATH.
13416 with_gnu_ld
=unknown
13419 elif test "$with_gnu_ld" = yes; then
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13421 $as_echo_n "checking for GNU ld... " >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13424 $as_echo_n "checking for non-GNU ld... " >&6; }
13426 if ${lt_cv_path_LD+:} false
; then :
13427 $as_echo_n "(cached) " >&6
13429 if test -z "$LD"; then
13430 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13431 for ac_dir
in $PATH; do
13433 test -z "$ac_dir" && ac_dir
=.
13434 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13435 lt_cv_path_LD
="$ac_dir/$ac_prog"
13436 # Check to see if the program is GNU ld. I'd rather use --version,
13437 # but apparently some variants of GNU ld only accept -v.
13438 # Break only if it was the GNU/non-GNU ld that we prefer.
13439 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13440 *GNU
* |
*'with BFD'*)
13441 test "$with_gnu_ld" != no
&& break
13444 test "$with_gnu_ld" != yes && break
13451 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13455 LD
="$lt_cv_path_LD"
13456 if test -n "$LD"; then
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13458 $as_echo "$LD" >&6; }
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13461 $as_echo "no" >&6; }
13463 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13465 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13466 if ${lt_cv_prog_gnu_ld+:} false
; then :
13467 $as_echo_n "(cached) " >&6
13469 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13470 case `$LD -v 2>&1 </dev/null` in
13471 *GNU
* |
*'with BFD'*)
13472 lt_cv_prog_gnu_ld
=yes
13475 lt_cv_prog_gnu_ld
=no
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13480 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13481 with_gnu_ld
=$lt_cv_prog_gnu_ld
13489 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13490 # archiving commands below assume that GNU ld is being used.
13491 if test "$with_gnu_ld" = yes; then
13492 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13493 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'
13495 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13496 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13498 # If archive_cmds runs LD, not CC, wlarc should be empty
13499 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13500 # investigate it a little bit more. (MM)
13503 # ancient GNU ld didn't support --whole-archive et. al.
13504 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13505 $GREP 'no-whole-archive' > /dev
/null
; then
13506 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13508 whole_archive_flag_spec_CXX
=
13514 # A generic and very simple default shared library creation
13515 # command for GNU C++ for the case where it uses the native
13516 # linker, instead of GNU ld. If possible, this setting should
13517 # overridden to take advantage of the native linker features on
13518 # the platform it is being used on.
13519 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13522 # Commands to make compiler produce verbose output that lists
13523 # what "hidden" libraries, object files and flags are used when
13524 # linking a shared library.
13525 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13533 # PORTME: fill in a description of your system's C++ link characteristics
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13535 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13539 # FIXME: insert proper C++ library support
13543 if test "$host_cpu" = ia64
; then
13544 # On IA64, the linker does run time linking by default, so we don't
13545 # have to do anything special.
13546 aix_use_runtimelinking
=no
13547 exp_sym_flag
='-Bexport'
13550 aix_use_runtimelinking
=no
13552 # Test if we are trying to use run time linking or normal
13553 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13554 # need to do runtime linking.
13555 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13556 for ld_flag
in $LDFLAGS; do
13559 aix_use_runtimelinking
=yes
13567 exp_sym_flag
='-bexport'
13568 no_entry_flag
='-bnoentry'
13571 # When large executables or shared objects are built, AIX ld can
13572 # have problems creating the table of contents. If linking a library
13573 # or program results in "error TOC overflow" add -mminimal-toc to
13574 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13575 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13577 archive_cmds_CXX
=''
13578 hardcode_direct_CXX
=yes
13579 hardcode_direct_absolute_CXX
=yes
13580 hardcode_libdir_separator_CXX
=':'
13581 link_all_deplibs_CXX
=yes
13582 file_list_spec_CXX
='${wl}-f,'
13584 if test "$GXX" = yes; then
13585 case $host_os in aix4.
[012]|aix4.
[012].
*)
13586 # We only want to do this on AIX 4.2 and lower, the check
13587 # below for broken collect2 doesn't work under 4.3+
13588 collect2name
=`${CC} -print-prog-name=collect2`
13589 if test -f "$collect2name" &&
13590 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13592 # We have reworked collect2
13595 # We have old collect2
13596 hardcode_direct_CXX
=unsupported
13597 # It fails to find uninstalled libraries when the uninstalled
13598 # path is not listed in the libpath. Setting hardcode_minus_L
13599 # to unsupported forces relinking
13600 hardcode_minus_L_CXX
=yes
13601 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13602 hardcode_libdir_separator_CXX
=
13605 shared_flag
='-shared'
13606 if test "$aix_use_runtimelinking" = yes; then
13607 shared_flag
="$shared_flag "'${wl}-G'
13611 if test "$host_cpu" = ia64
; then
13612 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13613 # chokes on -Wl,-G. The following line is correct:
13616 if test "$aix_use_runtimelinking" = yes; then
13617 shared_flag
='${wl}-G'
13619 shared_flag
='${wl}-bM:SRE'
13624 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13625 # It seems that -bexpall does not export symbols beginning with
13626 # underscore (_), so it is better to generate a list of symbols to
13628 always_export_symbols_CXX
=yes
13629 if test "$aix_use_runtimelinking" = yes; then
13630 # Warning - without using the other runtime loading flags (-brtl),
13631 # -berok will link without error, but may produce a broken library.
13632 allow_undefined_flag_CXX
='-berok'
13633 # Determine the default libpath from the value encoded in an empty
13635 if test x
$gcc_no_link = xyes
; then
13636 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13649 if ac_fn_cxx_try_link
"$LINENO"; then :
13651 lt_aix_libpath_sed
='
13652 /Import File Strings/,/^$/ {
13658 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13659 # Check for a 64-bit object if we didn't find anything.
13660 if test -z "$aix_libpath"; then
13661 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13664 rm -f core conftest.err conftest.
$ac_objext \
13665 conftest
$ac_exeext conftest.
$ac_ext
13666 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13668 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13670 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"
13672 if test "$host_cpu" = ia64
; then
13673 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13674 allow_undefined_flag_CXX
="-z nodefs"
13675 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"
13677 # Determine the default libpath from the value encoded in an
13678 # empty executable.
13679 if test x
$gcc_no_link = xyes
; then
13680 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13693 if ac_fn_cxx_try_link
"$LINENO"; then :
13695 lt_aix_libpath_sed
='
13696 /Import File Strings/,/^$/ {
13702 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13703 # Check for a 64-bit object if we didn't find anything.
13704 if test -z "$aix_libpath"; then
13705 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13708 rm -f core conftest.err conftest.
$ac_objext \
13709 conftest
$ac_exeext conftest.
$ac_ext
13710 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13712 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13713 # Warning - without using the other run time loading flags,
13714 # -berok will link without error, but may produce a broken library.
13715 no_undefined_flag_CXX
=' ${wl}-bernotok'
13716 allow_undefined_flag_CXX
=' ${wl}-berok'
13717 if test "$with_gnu_ld" = yes; then
13718 # We only use this code for GNU lds that support --whole-archive.
13719 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13721 # Exported symbols can be pulled into shared objects from archives
13722 whole_archive_flag_spec_CXX
='$convenience'
13724 archive_cmds_need_lc_CXX
=yes
13725 # This is similar to how AIX traditionally builds its shared
13727 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'
13733 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13734 allow_undefined_flag_CXX
=unsupported
13735 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13736 # support --undefined. This deserves some investigation. FIXME
13737 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13744 case $cc_basename in
13746 # FIXME: insert proper C++ library support
13752 cygwin
* | mingw
* | pw32
* | cegcc
*)
13753 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13754 # as there is no search path for DLLs.
13755 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13756 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13757 allow_undefined_flag_CXX
=unsupported
13758 always_export_symbols_CXX
=no
13759 enable_shared_with_static_runtimes_CXX
=yes
13761 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13762 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'
13763 # If the export-symbols file already is a .def file (1st line
13764 # is EXPORTS), use it as is; otherwise, prepend...
13765 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13766 cp $export_symbols $output_objdir/$soname.def;
13768 echo EXPORTS > $output_objdir/$soname.def;
13769 cat $export_symbols >> $output_objdir/$soname.def;
13771 $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'
13776 darwin
* | rhapsody
*)
13780 # Publish an arg to allow the user to select that Darwin host (and target)
13781 # libraries should be given install-names like @rpath/libfoo.dylib. This
13782 # requires that the user of the library then adds an 'rpath' to the DSO that
13784 # NOTE: there are defaults below, for systems that support rpaths. The person
13785 # configuring can override the defaults for any system version that supports
13786 # them - they are, however, forced off for system versions without support.
13787 # Check whether --enable-darwin-at-rpath was given.
13788 if test "${enable_darwin_at_rpath+set}" = set; then :
13789 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13790 # This is not supported before macOS 10.5 / Darwin9.
13791 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13792 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13794 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13795 enable_darwin_at_rpath
=no
13800 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13801 # As above, before 10.5 / Darwin9 this does not work.
13802 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13803 enable_darwin_at_rpath
=no
13806 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13807 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13808 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13809 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13811 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13812 enable_darwin_at_rpath
=yes
13814 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13815 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13822 archive_cmds_need_lc_CXX
=no
13823 hardcode_direct_CXX
=no
13824 hardcode_automatic_CXX
=yes
13825 hardcode_shlibpath_var_CXX
=unsupported
13826 if test "$lt_cv_ld_force_load" = "yes"; then
13827 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\"`'
13829 whole_archive_flag_spec_CXX
=''
13831 link_all_deplibs_CXX
=yes
13832 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13833 case $cc_basename in
13834 ifort
*) _lt_dar_can_shared
=yes ;;
13835 *) _lt_dar_can_shared
=$GCC ;;
13837 if test "$_lt_dar_can_shared" = "yes"; then
13838 output_verbose_link_cmd
=func_echo_all
13839 _lt_install_name
='\$rpath/\$soname'
13840 if test "x$enable_darwin_at_rpath" = "xyes"; then
13841 _lt_install_name
='@rpath/\$soname'
13843 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13844 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13845 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}"
13846 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}"
13847 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13848 _lt_install_name
='\$rpath/\$soname'
13849 if test "x$enable_darwin_at_rpath" = "xyes"; then
13850 _lt_install_name
='@rpath/\$soname'
13852 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}"
13853 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}"
13863 case $cc_basename in
13865 # FIXME: insert proper C++ library support
13869 # Green Hills C++ Compiler
13870 # FIXME: insert proper C++ library support
13874 # FIXME: insert proper C++ library support
13881 # C++ shared libraries reported to be fairly broken before
13887 archive_cmds_need_lc_CXX
=no
13890 freebsd
* | dragonfly
*)
13891 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13900 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13901 link_all_deplibs_CXX
=yes
13905 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13906 hardcode_libdir_separator_CXX
=:
13907 export_dynamic_flag_spec_CXX
='${wl}-E'
13908 hardcode_direct_CXX
=yes
13909 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13910 # but as the default
13911 # location of the library.
13913 case $cc_basename in
13915 # FIXME: insert proper C++ library support
13919 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'
13920 # Commands to make compiler produce verbose output that lists
13921 # what "hidden" libraries, object files and flags are used when
13922 # linking a shared library.
13924 # There doesn't appear to be a way to prevent this compiler from
13925 # explicitly linking system object files so we need to strip them
13926 # from the output so that they don't get included in the library
13928 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"'
13931 if test "$GXX" = yes; then
13932 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'
13934 # FIXME: insert proper C++ library support
13942 if test $with_gnu_ld = no
; then
13943 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13944 hardcode_libdir_separator_CXX
=:
13950 export_dynamic_flag_spec_CXX
='${wl}-E'
13956 hardcode_direct_CXX
=no
13957 hardcode_shlibpath_var_CXX
=no
13960 hardcode_direct_CXX
=yes
13961 hardcode_direct_absolute_CXX
=yes
13962 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13963 # but as the default
13964 # location of the library.
13968 case $cc_basename in
13970 # FIXME: insert proper C++ library support
13976 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13979 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13982 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13985 # Commands to make compiler produce verbose output that lists
13986 # what "hidden" libraries, object files and flags are used when
13987 # linking a shared library.
13989 # There doesn't appear to be a way to prevent this compiler from
13990 # explicitly linking system object files so we need to strip them
13991 # from the output so that they don't get included in the library
13993 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"'
13996 if test "$GXX" = yes; then
13997 if test $with_gnu_ld = no
; then
14000 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14003 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14006 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'
14011 # FIXME: insert proper C++ library support
14019 hardcode_direct_CXX
=no
14020 hardcode_shlibpath_var_CXX
=no
14021 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14022 export_dynamic_flag_spec_CXX
='${wl}-E'
14023 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14024 # Instead, shared libraries are loaded at an image base (0x10000000 by
14025 # default) and relocated if they conflict, which is a slow very memory
14026 # consuming and fragmenting process. To avoid this, we pick a random,
14027 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14028 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14029 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'
14030 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'
14033 case $cc_basename in
14036 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'
14038 # Archives containing C++ object files must be created using
14039 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14040 # necessary to make sure instantiated templates are included
14042 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14045 if test "$GXX" = yes; then
14046 if test "$with_gnu_ld" = no
; then
14047 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'
14049 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'
14052 link_all_deplibs_CXX
=yes
14055 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14056 hardcode_libdir_separator_CXX
=:
14057 inherit_rpath_CXX
=yes
14060 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14061 case $cc_basename in
14063 # Kuck and Associates, Inc. (KAI) C++ Compiler
14065 # KCC will only create a shared library if the output file
14066 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14067 # to its proper name (with version) after linking.
14068 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'
14069 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'
14070 # Commands to make compiler produce verbose output that lists
14071 # what "hidden" libraries, object files and flags are used when
14072 # linking a shared library.
14074 # There doesn't appear to be a way to prevent this compiler from
14075 # explicitly linking system object files so we need to strip them
14076 # from the output so that they don't get included in the library
14078 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"'
14080 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14081 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14083 # Archives containing C++ object files must be created using
14084 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14085 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14090 # version 8.0 and above of icpc choke on multiply defined symbols
14091 # if we add $predep_objects and $postdep_objects, however 7.1 and
14092 # earlier do not add the objects themselves.
14093 case `$CC -V 2>&1` in
14095 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14096 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'
14098 *) # Version 8.0 or newer
14101 ia64
*) tmp_idyn
=' -i_dynamic';;
14103 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14104 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'
14107 archive_cmds_need_lc_CXX
=no
14108 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14109 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14110 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14113 # Portland Group C++ compiler
14115 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14116 prelink_cmds_CXX
='tpldir=Template.dir~
14118 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14119 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14120 old_archive_cmds_CXX
='tpldir=Template.dir~
14122 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14123 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14125 archive_cmds_CXX
='tpldir=Template.dir~
14127 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14128 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14129 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14131 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14132 $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'
14134 *) # Version 6 and above use weak symbols
14135 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14136 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'
14140 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14141 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14142 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'
14146 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14147 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'
14149 runpath_var
=LD_RUN_PATH
14150 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14151 hardcode_libdir_separator_CXX
=:
14153 # Commands to make compiler produce verbose output that lists
14154 # what "hidden" libraries, object files and flags are used when
14155 # linking a shared library.
14157 # There doesn't appear to be a way to prevent this compiler from
14158 # explicitly linking system object files so we need to strip them
14159 # from the output so that they don't get included in the library
14161 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'
14163 xl
* | mpixl
* | bgxl
*)
14164 # IBM XL 8.0 on PPC, with GNU ld
14165 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14166 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14167 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14168 if test "x$supports_anon_versioning" = xyes
; then
14169 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14170 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14171 echo "local: *; };" >> $output_objdir/$libname.ver~
14172 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14176 case `$CC -V 2>&1 | sed 5q` in
14179 no_undefined_flag_CXX
=' -zdefs'
14180 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14181 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'
14182 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14183 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'
14184 compiler_needs_object_CXX
=yes
14186 # Not sure whether something based on
14187 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14189 output_verbose_link_cmd
='func_echo_all'
14191 # Archives containing C++ object files must be created using
14192 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14193 # necessary to make sure instantiated templates are included
14195 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14203 # FIXME: insert proper C++ library support
14208 # FIXME: insert proper C++ library support
14213 case $cc_basename in
14215 # FIXME: insert proper C++ library support
14219 # FIXME: insert proper C++ library support
14226 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14227 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14229 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14230 hardcode_direct_CXX
=yes
14231 hardcode_shlibpath_var_CXX
=no
14233 # Workaround some broken pre-1.5 toolchains
14234 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14242 # C++ shared libraries are fairly broken
14247 if test -f /usr
/libexec
/ld.so
; then
14248 hardcode_direct_CXX
=yes
14249 hardcode_shlibpath_var_CXX
=no
14250 hardcode_direct_absolute_CXX
=yes
14251 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14252 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14253 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14254 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14255 export_dynamic_flag_spec_CXX
='${wl}-E'
14256 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14258 output_verbose_link_cmd
=func_echo_all
14264 osf3
* | osf4
* | osf5
*)
14265 case $cc_basename in
14267 # Kuck and Associates, Inc. (KAI) C++ Compiler
14269 # KCC will only create a shared library if the output file
14270 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14271 # to its proper name (with version) after linking.
14272 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'
14274 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14275 hardcode_libdir_separator_CXX
=:
14277 # Archives containing C++ object files must be created using
14278 # the KAI C++ compiler.
14280 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14281 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14285 # Rational C++ 2.4.1
14286 # FIXME: insert proper C++ library support
14292 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14293 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'
14294 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14297 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14298 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'
14299 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14300 echo "-hidden">> $lib.exp~
14301 $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~
14303 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14307 hardcode_libdir_separator_CXX
=:
14309 # Commands to make compiler produce verbose output that lists
14310 # what "hidden" libraries, object files and flags are used when
14311 # linking a shared library.
14313 # There doesn't appear to be a way to prevent this compiler from
14314 # explicitly linking system object files so we need to strip them
14315 # from the output so that they don't get included in the library
14317 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"'
14320 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14321 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14324 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'
14327 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'
14331 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14332 hardcode_libdir_separator_CXX
=:
14334 # Commands to make compiler produce verbose output that lists
14335 # what "hidden" libraries, object files and flags are used when
14336 # linking a shared library.
14337 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14340 # FIXME: insert proper C++ library support
14348 # FIXME: insert proper C++ library support
14353 case $cc_basename in
14356 # FIXME: insert proper C++ library support
14361 # FIXME: insert proper C++ library support
14365 # FIXME: insert proper C++ library support
14372 case $cc_basename in
14374 # Sun C++ 4.2, 5.x and Centerline C++
14375 archive_cmds_need_lc_CXX
=yes
14376 no_undefined_flag_CXX
=' -zdefs'
14377 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14378 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14379 $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'
14381 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14382 hardcode_shlibpath_var_CXX
=no
14384 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14386 # The compiler driver will combine and reorder linker options,
14387 # but understands `-z linker_flag'.
14388 # Supported since Solaris 2.6 (maybe 2.5.1?)
14389 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14392 link_all_deplibs_CXX
=yes
14394 output_verbose_link_cmd
='func_echo_all'
14396 # Archives containing C++ object files must be created using
14397 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14398 # necessary to make sure instantiated templates are included
14400 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14403 # Green Hills C++ Compiler
14404 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14406 # The C++ compiler must be used to create the archive.
14407 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14410 # GNU C++ compiler with Solaris linker
14411 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14412 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14413 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14414 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14415 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14416 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14418 # Commands to make compiler produce verbose output that lists
14419 # what "hidden" libraries, object files and flags are used when
14420 # linking a shared library.
14421 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14423 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14425 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14426 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14427 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14429 # Commands to make compiler produce verbose output that lists
14430 # what "hidden" libraries, object files and flags are used when
14431 # linking a shared library.
14432 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14435 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14437 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14439 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14447 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14448 no_undefined_flag_CXX
='${wl}-z,text'
14449 archive_cmds_need_lc_CXX
=no
14450 hardcode_shlibpath_var_CXX
=no
14451 runpath_var
='LD_RUN_PATH'
14453 case $cc_basename in
14455 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14456 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14459 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14460 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14465 sysv5
* | sco3.2v5
* | sco5v6
*)
14466 # Note: We can NOT use -z defs as we might desire, because we do not
14467 # link with -lc, and that would cause any symbols used from libc to
14468 # always be unresolved, which means just about no library would
14469 # ever link correctly. If we're not using GNU ld we use -z text
14470 # though, which does catch some bad symbols but isn't as heavy-handed
14472 no_undefined_flag_CXX
='${wl}-z,text'
14473 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14474 archive_cmds_need_lc_CXX
=no
14475 hardcode_shlibpath_var_CXX
=no
14476 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14477 hardcode_libdir_separator_CXX
=':'
14478 link_all_deplibs_CXX
=yes
14479 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14480 runpath_var
='LD_RUN_PATH'
14482 case $cc_basename in
14484 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14485 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14486 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14487 '"$old_archive_cmds_CXX"
14488 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14489 '"$reload_cmds_CXX"
14492 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14493 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14499 case $cc_basename in
14501 # NonStop-UX NCC 3.20
14502 # FIXME: insert proper C++ library support
14506 # FIXME: insert proper C++ library support
14513 # For VxWorks ports, we assume the use of a GNU linker with
14514 # standard elf conventions.
14519 # FIXME: insert proper C++ library support
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14525 $as_echo "$ld_shlibs_CXX" >&6; }
14526 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14532 ## There is no encapsulation within the following macros, do not change
14533 ## the running order or otherwise move them around unless you know exactly
14534 ## what you are doing...
14535 # Dependencies to place before and after the object being linked:
14536 predep_objects_CXX
=
14537 postdep_objects_CXX
=
14540 compiler_lib_search_path_CXX
=
14542 cat > conftest.
$ac_ext <<_LT_EOF
14546 Foo (void) { a = 0; }
14552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14553 (eval $ac_compile) 2>&5
14555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14556 test $ac_status = 0; }; then
14557 # Parse the compiler output and extract the necessary
14558 # objects, libraries and library flags.
14560 # Sentinel used to keep track of whether or not we are before
14561 # the conftest object file.
14562 pre_test_object_deps_done
=no
14564 for p
in `eval "$output_verbose_link_cmd"`; do
14568 # Some compilers place space between "-{L,R}" and the path.
14569 # Remove the space.
14570 if test $p = "-L" ||
14571 test $p = "-R"; then
14578 if test "$pre_test_object_deps_done" = no
; then
14581 # Internal compiler library paths should come after those
14582 # provided the user. The postdeps already come after the
14583 # user supplied libs so there is no need to process them.
14584 if test -z "$compiler_lib_search_path_CXX"; then
14585 compiler_lib_search_path_CXX
="${prev}${p}"
14587 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14590 # The "-l" case would never come before the object being
14591 # linked, so don't bother handling this case.
14594 if test -z "$postdeps_CXX"; then
14595 postdeps_CXX
="${prev}${p}"
14597 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14603 # This assumes that the test object file only shows up
14604 # once in the compiler output.
14605 if test "$p" = "conftest.$objext"; then
14606 pre_test_object_deps_done
=yes
14610 if test "$pre_test_object_deps_done" = no
; then
14611 if test -z "$predep_objects_CXX"; then
14612 predep_objects_CXX
="$p"
14614 predep_objects_CXX
="$predep_objects_CXX $p"
14617 if test -z "$postdep_objects_CXX"; then
14618 postdep_objects_CXX
="$p"
14620 postdep_objects_CXX
="$postdep_objects_CXX $p"
14625 *) ;; # Ignore the rest.
14633 echo "libtool.m4: error: problem compiling CXX test program"
14636 $RM -f confest.
$objext
14638 # PORTME: override above test on systems where it is broken
14641 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14642 # hack all around it, let's just trust "g++" to DTRT.
14643 predep_objects_CXX
=
14644 postdep_objects_CXX
=
14649 case `$CC -V 2>&1 | sed 5q` in
14653 # The more standards-conforming stlport4 library is
14654 # incompatible with the Cstd library. Avoid specifying
14655 # it if it's in CXXFLAGS. Ignore libCrun as
14656 # -library=stlport4 depends on it.
14657 case " $CXX $CXXFLAGS " in
14658 *" -library=stlport4 "*)
14659 solaris_use_stlport4
=yes
14663 if test "$solaris_use_stlport4" != yes; then
14664 postdeps_CXX
='-library=Cstd -library=Crun'
14671 case $cc_basename in
14673 # The more standards-conforming stlport4 library is
14674 # incompatible with the Cstd library. Avoid specifying
14675 # it if it's in CXXFLAGS. Ignore libCrun as
14676 # -library=stlport4 depends on it.
14677 case " $CXX $CXXFLAGS " in
14678 *" -library=stlport4 "*)
14679 solaris_use_stlport4
=yes
14683 # Adding this requires a known-good setup of shared libraries for
14684 # Sun compiler versions before 5.6, else PIC objects from an old
14685 # archive will be linked into the output, leading to subtle bugs.
14686 if test "$solaris_use_stlport4" != yes; then
14687 postdeps_CXX
='-library=Cstd -library=Crun'
14695 case " $postdeps_CXX " in
14696 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14698 compiler_lib_search_dirs_CXX
=
14699 if test -n "${compiler_lib_search_path_CXX}"; then
14700 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14733 lt_prog_compiler_wl_CXX
=
14734 lt_prog_compiler_pic_CXX
=
14735 lt_prog_compiler_static_CXX
=
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14738 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14740 # C++ specific cases for pic, static, wl, etc.
14741 if test "$GXX" = yes; then
14742 lt_prog_compiler_wl_CXX
='-Wl,'
14743 lt_prog_compiler_static_CXX
='-static'
14747 # All AIX code is PIC.
14748 if test "$host_cpu" = ia64
; then
14749 # AIX 5 now supports IA64 processor
14750 lt_prog_compiler_static_CXX
='-Bstatic'
14752 lt_prog_compiler_pic_CXX
='-fPIC'
14758 # see comment about AmigaOS4 .so support
14759 lt_prog_compiler_pic_CXX
='-fPIC'
14762 # FIXME: we need at least 68020 code to build shared libraries, but
14763 # adding the `-m68020' flag to GCC prevents building anything better,
14765 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14770 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14771 # PIC is the default for these OSes.
14773 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14774 # This hack is so that the source file can tell whether it is being
14775 # built for inclusion in a dll (and should export symbols for example).
14776 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14777 # (--disable-auto-import) libraries
14778 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14780 darwin
* | rhapsody
*)
14781 # PIC is the default on this platform
14782 # Common symbols not allowed in MH_DYLIB files
14783 lt_prog_compiler_pic_CXX
='-fno-common'
14786 # DJGPP does not support shared libraries at all
14787 lt_prog_compiler_pic_CXX
=
14790 # PIC is the default for Haiku.
14791 # The "-static" flag exists, but is broken.
14792 lt_prog_compiler_static_CXX
=
14795 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14796 # Instead, we relocate shared libraries at runtime.
14799 if test -d /usr
/nec
; then
14800 lt_prog_compiler_pic_CXX
=-Kconform_pic
14804 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14805 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14806 # sets the default TLS model and affects inlining.
14811 lt_prog_compiler_pic_CXX
='-fPIC'
14816 # QNX uses GNU C++, but need to define -shared option too, otherwise
14817 # it will coredump.
14818 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14821 lt_prog_compiler_pic_CXX
='-fPIC'
14827 # All AIX code is PIC.
14828 if test "$host_cpu" = ia64
; then
14829 # AIX 5 now supports IA64 processor
14830 lt_prog_compiler_static_CXX
='-Bstatic'
14832 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14836 case $cc_basename in
14838 # Green Hills C++ Compiler
14839 # _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"
14844 case $cc_basename in
14846 lt_prog_compiler_pic_CXX
='-KPIC'
14849 # Green Hills C++ Compiler
14850 lt_prog_compiler_pic_CXX
='-pic'
14856 freebsd
* | dragonfly
*)
14857 # FreeBSD uses GNU C++
14859 hpux9
* | hpux10
* | hpux11
*)
14860 case $cc_basename in
14862 lt_prog_compiler_wl_CXX
='-Wl,'
14863 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14864 if test "$host_cpu" != ia64
; then
14865 lt_prog_compiler_pic_CXX
='+Z'
14869 lt_prog_compiler_wl_CXX
='-Wl,'
14870 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14876 lt_prog_compiler_pic_CXX
='+Z'
14885 # This is c89, which is MS Visual C++ (no shared libs)
14886 # Anyone wants to do a port?
14888 irix5
* | irix6
* | nonstopux
*)
14889 case $cc_basename in
14891 lt_prog_compiler_wl_CXX
='-Wl,'
14892 lt_prog_compiler_static_CXX
='-non_shared'
14893 # CC pic flag -KPIC is the default.
14899 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14900 case $cc_basename in
14903 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14904 lt_prog_compiler_pic_CXX
='-fPIC'
14907 # old Intel C++ for x86_64 which still supported -KPIC.
14908 lt_prog_compiler_wl_CXX
='-Wl,'
14909 lt_prog_compiler_pic_CXX
='-KPIC'
14910 lt_prog_compiler_static_CXX
='-static'
14913 # Intel C++, used to be incompatible with GCC.
14914 # ICC 10 doesn't accept -KPIC any more.
14915 lt_prog_compiler_wl_CXX
='-Wl,'
14916 lt_prog_compiler_pic_CXX
='-fPIC'
14917 lt_prog_compiler_static_CXX
='-static'
14920 # Portland Group C++ compiler
14921 lt_prog_compiler_wl_CXX
='-Wl,'
14922 lt_prog_compiler_pic_CXX
='-fpic'
14923 lt_prog_compiler_static_CXX
='-Bstatic'
14927 # Make sure the PIC flag is empty. It appears that all Alpha
14928 # Linux and Compaq Tru64 Unix objects are PIC.
14929 lt_prog_compiler_pic_CXX
=
14930 lt_prog_compiler_static_CXX
='-non_shared'
14932 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14933 # IBM XL 8.0, 9.0 on PPC and BlueGene
14934 lt_prog_compiler_wl_CXX
='-Wl,'
14935 lt_prog_compiler_pic_CXX
='-qpic'
14936 lt_prog_compiler_static_CXX
='-qstaticlink'
14939 case `$CC -V 2>&1 | sed 5q` in
14942 lt_prog_compiler_pic_CXX
='-KPIC'
14943 lt_prog_compiler_static_CXX
='-Bstatic'
14944 lt_prog_compiler_wl_CXX
='-Qoption ld '
14955 case $cc_basename in
14957 lt_prog_compiler_pic_CXX
='-W c,exportall'
14966 # QNX uses GNU C++, but need to define -shared option too, otherwise
14967 # it will coredump.
14968 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14970 osf3
* | osf4
* | osf5
*)
14971 case $cc_basename in
14973 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14976 # Rational C++ 2.4.1
14977 lt_prog_compiler_pic_CXX
='-pic'
14980 # Digital/Compaq C++
14981 lt_prog_compiler_wl_CXX
='-Wl,'
14982 # Make sure the PIC flag is empty. It appears that all Alpha
14983 # Linux and Compaq Tru64 Unix objects are PIC.
14984 lt_prog_compiler_pic_CXX
=
14985 lt_prog_compiler_static_CXX
='-non_shared'
14994 case $cc_basename in
14996 # Sun C++ 4.2, 5.x and Centerline C++
14997 lt_prog_compiler_pic_CXX
='-KPIC'
14998 lt_prog_compiler_static_CXX
='-Bstatic'
14999 lt_prog_compiler_wl_CXX
='-Qoption ld '
15002 # Green Hills C++ Compiler
15003 lt_prog_compiler_pic_CXX
='-PIC'
15010 case $cc_basename in
15013 lt_prog_compiler_pic_CXX
='-pic'
15014 lt_prog_compiler_static_CXX
='-Bstatic'
15018 lt_prog_compiler_pic_CXX
='-pic'
15024 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15025 case $cc_basename in
15027 lt_prog_compiler_wl_CXX
='-Wl,'
15028 lt_prog_compiler_pic_CXX
='-KPIC'
15029 lt_prog_compiler_static_CXX
='-Bstatic'
15034 case $cc_basename in
15036 # NonStop-UX NCC 3.20
15037 lt_prog_compiler_pic_CXX
='-KPIC'
15046 lt_prog_compiler_can_build_shared_CXX
=no
15052 # For platforms which do not support PIC, -DPIC is meaningless:
15054 lt_prog_compiler_pic_CXX
=
15057 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15061 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15066 # Check to make sure the PIC flag actually works.
15068 if test -n "$lt_prog_compiler_pic_CXX"; then
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15070 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15071 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15072 $as_echo_n "(cached) " >&6
15074 lt_cv_prog_compiler_pic_works_CXX
=no
15075 ac_outfile
=conftest.
$ac_objext
15076 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15077 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15078 # Insert the option either (1) after the last *FLAGS variable, or
15079 # (2) before a word containing "conftest.", or (3) at the end.
15080 # Note that $ac_compile itself does not contain backslashes and begins
15081 # with a dollar sign (not a hyphen), so the echo should work correctly.
15082 # The option is referenced via a variable to avoid confusing sed.
15083 lt_compile
=`echo "$ac_compile" | $SED \
15084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15086 -e 's:$: $lt_compiler_flag:'`
15087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15088 (eval "$lt_compile" 2>conftest.err
)
15090 cat conftest.err
>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 if (exit $ac_status) && test -s "$ac_outfile"; then
15093 # The compiler can only warn and ignore the option if not recognized
15094 # So say no if there are warnings other than the usual output.
15095 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15096 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15097 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15098 lt_cv_prog_compiler_pic_works_CXX
=yes
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15105 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15107 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15108 case $lt_prog_compiler_pic_CXX in
15110 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15113 lt_prog_compiler_pic_CXX
=
15114 lt_prog_compiler_can_build_shared_CXX
=no
15122 # Check to make sure the static flag actually works.
15124 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15126 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15127 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15128 $as_echo_n "(cached) " >&6
15130 lt_cv_prog_compiler_static_works_CXX
=no
15131 save_LDFLAGS
="$LDFLAGS"
15132 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15133 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15134 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15135 # The linker can only warn and ignore the option if not recognized
15136 # So say no if there are warnings
15137 if test -s conftest.err
; then
15138 # Append any errors to the config.log.
15139 cat conftest.err
1>&5
15140 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15142 if diff conftest.exp conftest.er2
>/dev
/null
; then
15143 lt_cv_prog_compiler_static_works_CXX
=yes
15146 lt_cv_prog_compiler_static_works_CXX
=yes
15150 LDFLAGS
="$save_LDFLAGS"
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15154 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15156 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15159 lt_prog_compiler_static_CXX
=
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15166 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15167 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15168 $as_echo_n "(cached) " >&6
15170 lt_cv_prog_compiler_c_o_CXX
=no
15171 $RM -r conftest
2>/dev
/null
15175 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15177 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15178 # Insert the option either (1) after the last *FLAGS variable, or
15179 # (2) before a word containing "conftest.", or (3) at the end.
15180 # Note that $ac_compile itself does not contain backslashes and begins
15181 # with a dollar sign (not a hyphen), so the echo should work correctly.
15182 lt_compile
=`echo "$ac_compile" | $SED \
15183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15185 -e 's:$: $lt_compiler_flag:'`
15186 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15187 (eval "$lt_compile" 2>out
/conftest.err
)
15189 cat out
/conftest.err
>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15193 # The compiler can only warn and ignore the option if not recognized
15194 # So say no if there are warnings
15195 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15196 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15197 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15198 lt_cv_prog_compiler_c_o_CXX
=yes
15203 # SGI C++ compiler will create directory out/ii_files/ for
15204 # template instantiation
15205 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15206 $RM out
/* && rmdir out
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15213 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15218 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15219 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15220 $as_echo_n "(cached) " >&6
15222 lt_cv_prog_compiler_c_o_CXX
=no
15223 $RM -r conftest
2>/dev
/null
15227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15229 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15230 # Insert the option either (1) after the last *FLAGS variable, or
15231 # (2) before a word containing "conftest.", or (3) at the end.
15232 # Note that $ac_compile itself does not contain backslashes and begins
15233 # with a dollar sign (not a hyphen), so the echo should work correctly.
15234 lt_compile
=`echo "$ac_compile" | $SED \
15235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15237 -e 's:$: $lt_compiler_flag:'`
15238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15239 (eval "$lt_compile" 2>out
/conftest.err
)
15241 cat out
/conftest.err
>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15245 # The compiler can only warn and ignore the option if not recognized
15246 # So say no if there are warnings
15247 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15248 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15249 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15250 lt_cv_prog_compiler_c_o_CXX
=yes
15255 # SGI C++ compiler will create directory out/ii_files/ for
15256 # template instantiation
15257 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15258 $RM out
/* && rmdir out
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15265 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15270 hard_links
="nottested"
15271 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15272 # do not overwrite the value of need_locks provided by the user
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15274 $as_echo_n "checking if we can lock with hard links... " >&6; }
15277 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15279 ln conftest.a conftest.b
2>&5 || hard_links
=no
15280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15282 $as_echo "$hard_links" >&6; }
15283 if test "$hard_links" = no
; then
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15285 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15295 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15297 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15300 # If we're using GNU nm, then we don't want the "-C" option.
15301 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15302 # Also, AIX nm treats weak defined symbols like other global defined
15303 # symbols, whereas GNU nm marks them as "W".
15304 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15305 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'
15307 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'
15311 export_symbols_cmds_CXX
="$ltdll_cmds"
15313 cygwin
* | mingw
* | cegcc
*)
15314 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'
15317 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15320 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15323 $as_echo "$ld_shlibs_CXX" >&6; }
15324 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15326 with_gnu_ld_CXX
=$with_gnu_ld
15334 # Do we need to explicitly link libc?
15336 case "x$archive_cmds_need_lc_CXX" in
15338 # Assume -lc should be added
15339 archive_cmds_need_lc_CXX
=yes
15341 if test "$enable_shared" = yes && test "$GCC" = yes; then
15342 case $archive_cmds_CXX in
15344 # FIXME: we may have to deal with multi-command sequences.
15347 # Test whether the compiler implicitly links with -lc since on some
15348 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15349 # to ld, don't add -lc before -lgcc.
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15351 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15352 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15353 $as_echo_n "(cached) " >&6
15356 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15359 (eval $ac_compile) 2>&5
15361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15362 test $ac_status = 0; } 2>conftest.err
; then
15365 libobjs
=conftest.
$ac_objext
15367 wl
=$lt_prog_compiler_wl_CXX
15368 pic_flag
=$lt_prog_compiler_pic_CXX
15374 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15375 allow_undefined_flag_CXX
=
15376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15377 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15380 test $ac_status = 0; }
15382 lt_cv_archive_cmds_need_lc_CXX
=no
15384 lt_cv_archive_cmds_need_lc_CXX
=yes
15386 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15388 cat conftest.err
1>&5
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15394 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15395 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15466 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15468 library_names_spec
=
15469 libname_spec
='lib$name'
15473 postuninstall_cmds
=
15477 shlibpath_overrides_runpath
=unknown
15479 dynamic_linker
="$host_os ld.so"
15480 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15481 need_lib_prefix
=unknown
15482 hardcode_into_libs
=no
15484 # when you set need_version to no, make sure it does not cause -set_version
15485 # flags to be left without arguments
15486 need_version
=unknown
15491 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15492 shlibpath_var
=LIBPATH
15494 # AIX 3 has no versioning support, so we append a major version to the name.
15495 soname_spec
='${libname}${release}${shared_ext}$major'
15502 hardcode_into_libs
=yes
15503 if test "$host_cpu" = ia64
; then
15504 # AIX 5 supports IA64
15505 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15506 shlibpath_var
=LD_LIBRARY_PATH
15508 # With GCC up to 2.95.x, collect2 would create an import file
15509 # for dependence libraries. The import file would start with
15510 # the line `#! .'. This would cause the generated library to
15511 # depend on `.', always an invalid library. This was fixed in
15512 # development snapshots of GCC prior to 3.0.
15514 aix4 | aix4.
[01] | aix4.
[01].
*)
15515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15517 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15520 can_build_shared
=no
15524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15525 # soname into executable. Probably we can add versioning support to
15526 # collect2, so additional links can be useful in future.
15527 if test "$aix_use_runtimelinking" = yes; then
15528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15529 # instead of lib<name>.a to let people know that these are not
15530 # typical AIX shared libraries.
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15533 # We preserve .a as extension for shared libraries through AIX4.2
15534 # and later when we are not doing run time linking.
15535 library_names_spec
='${libname}${release}.a $libname.a'
15536 soname_spec
='${libname}${release}${shared_ext}$major'
15538 shlibpath_var
=LIBPATH
15545 # Since July 2007 AmigaOS4 officially supports .so libraries.
15546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550 library_names_spec
='$libname.ixlibrary $libname.a'
15551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15552 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'
15558 library_names_spec
='${libname}${shared_ext}'
15559 dynamic_linker
="$host_os ld.so"
15560 shlibpath_var
=LIBRARY_PATH
15566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15567 soname_spec
='${libname}${release}${shared_ext}$major'
15568 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15569 shlibpath_var
=LD_LIBRARY_PATH
15570 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15571 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15572 # the default ld.so.conf also contains /usr/contrib/lib and
15573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15574 # libtool to hard-code these into programs
15577 cygwin
* | mingw
* | pw32
* | cegcc
*)
15578 version_type
=windows
15583 case $GCC,$host_os in
15584 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15585 library_names_spec
='$libname.dll.a'
15586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15587 postinstall_cmds
='base_file=`basename \${file}`~
15588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15589 dldir=$destdir/`dirname \$dlpath`~
15590 test -d \$dldir || mkdir -p \$dldir~
15591 $install_prog $dir/$dlname \$dldir/$dlname~
15592 chmod a+x \$dldir/$dlname~
15593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15596 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15597 dlpath=$dir/\$dldll~
15599 shlibpath_overrides_runpath
=yes
15603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15604 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15608 # MinGW DLLs use traditional 'lib' prefix
15609 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15612 # pw32 DLLs use 'pw' prefix rather than 'lib'
15613 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15619 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15622 dynamic_linker
='Win32 ld.exe'
15623 # FIXME: first we should search . and the directory the executable is in
15627 darwin
* | rhapsody
*)
15628 dynamic_linker
="$host_os dyld"
15629 version_type
=darwin
15632 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15633 soname_spec
='${libname}${release}${major}$shared_ext'
15634 shlibpath_overrides_runpath
=yes
15635 shlibpath_var
=DYLD_LIBRARY_PATH
15636 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15638 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15646 soname_spec
='${libname}${release}${shared_ext}$major'
15647 shlibpath_var
=LD_LIBRARY_PATH
15650 freebsd
* | dragonfly
*)
15651 # DragonFly does not have aout. When/if they implement a new
15652 # versioning mechanism, adjust this.
15653 if test -x /usr
/bin
/objformat
; then
15654 objformat
=`/usr/bin/objformat`
15657 freebsd
[23].
*) objformat
=aout
;;
15658 *) objformat
=elf
;;
15661 version_type
=freebsd-
$objformat
15662 case $version_type in
15664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15669 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15673 shlibpath_var
=LD_LIBRARY_PATH
15676 shlibpath_overrides_runpath
=yes
15678 freebsd3.
[01]* | freebsdelf3.
[01]*)
15679 shlibpath_overrides_runpath
=yes
15680 hardcode_into_libs
=yes
15682 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15683 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15684 shlibpath_overrides_runpath
=no
15685 hardcode_into_libs
=yes
15687 *) # from 4.6 on, and DragonFly
15688 shlibpath_overrides_runpath
=yes
15689 hardcode_into_libs
=yes
15698 dynamic_linker
="$host_os runtime_loader"
15699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15700 soname_spec
='${libname}${release}${shared_ext}$major'
15701 shlibpath_var
=LIBRARY_PATH
15702 shlibpath_overrides_runpath
=yes
15703 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15704 hardcode_into_libs
=yes
15707 hpux9
* | hpux10
* | hpux11
*)
15708 # Give a soname corresponding to the major version so that dld.sl refuses to
15709 # link against other versions.
15716 hardcode_into_libs
=yes
15717 dynamic_linker
="$host_os dld.so"
15718 shlibpath_var
=LD_LIBRARY_PATH
15719 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15721 soname_spec
='${libname}${release}${shared_ext}$major'
15722 if test "X$HPUX_IA64_MODE" = X32
; then
15723 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15725 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15727 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15731 hardcode_into_libs
=yes
15732 dynamic_linker
="$host_os dld.sl"
15733 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15734 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15736 soname_spec
='${libname}${release}${shared_ext}$major'
15737 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15738 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15742 dynamic_linker
="$host_os dld.sl"
15743 shlibpath_var
=SHLIB_PATH
15744 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15746 soname_spec
='${libname}${release}${shared_ext}$major'
15749 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15750 postinstall_cmds
='chmod 555 $lib'
15751 # or fails outright, so override atomically:
15752 install_override_mode
=555
15759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15760 soname_spec
='${libname}${release}${shared_ext}$major'
15761 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=no
15764 hardcode_into_libs
=yes
15767 irix5
* | irix6
* | nonstopux
*)
15769 nonstopux
*) version_type
=nonstopux
;;
15771 if test "$lt_cv_prog_gnu_ld" = yes; then
15779 soname_spec
='${libname}${release}${shared_ext}$major'
15780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15782 irix5
* | nonstopux
*)
15783 libsuff
= shlibsuff
=
15786 case $LD in # libtool.m4 will add one of these switches to LD
15787 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15788 libsuff
= shlibsuff
= libmagic
=32-bit;;
15789 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15790 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15791 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15792 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15793 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15797 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15798 shlibpath_overrides_runpath
=no
15799 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15800 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15801 hardcode_into_libs
=yes
15804 # No shared lib support for Linux oldld, aout, or coff.
15805 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15809 # This must be Linux ELF.
15811 # uclinux* changes (here and below) have been submitted to the libtool
15812 # project, but have not yet been accepted: they are GCC-local changes
15813 # for the time being. (See
15814 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15815 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15820 soname_spec
='${libname}${release}${shared_ext}$major'
15821 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15822 shlibpath_var
=LD_LIBRARY_PATH
15823 shlibpath_overrides_runpath
=no
15825 # Some binutils ld are patched to set DT_RUNPATH
15826 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15827 $as_echo_n "(cached) " >&6
15829 lt_cv_shlibpath_overrides_runpath
=no
15830 save_LDFLAGS
=$LDFLAGS
15831 save_libdir
=$libdir
15832 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15833 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15834 if test x
$gcc_no_link = xyes
; then
15835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15848 if ac_fn_cxx_try_link
"$LINENO"; then :
15849 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15850 lt_cv_shlibpath_overrides_runpath
=yes
15853 rm -f core conftest.err conftest.
$ac_objext \
15854 conftest
$ac_exeext conftest.
$ac_ext
15855 LDFLAGS
=$save_LDFLAGS
15856 libdir
=$save_libdir
15860 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15862 # This implies no fast_install, which is unacceptable.
15863 # Some rework will be needed to allow for fast_install
15864 # before this can be enabled.
15865 hardcode_into_libs
=yes
15867 # Append ld.so.conf contents to the search path
15868 if test -f /etc
/ld.so.conf
; then
15869 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' ' '`
15870 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15873 # We used to test for /lib/ld.so.1 and disable shared libraries on
15874 # powerpc, because MkLinux only supported shared libraries with the
15875 # GNU dynamic linker. Since this was broken with cross compilers,
15876 # most powerpc-linux boxes support dynamic linking these days and
15877 # people can always --disable-shared, the test was removed, and we
15878 # assume the GNU/Linux dynamic linker is in use.
15879 dynamic_linker
='GNU/Linux ld.so'
15886 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15888 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15889 dynamic_linker
='NetBSD (a.out) ld.so'
15891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15892 soname_spec
='${libname}${release}${shared_ext}$major'
15893 dynamic_linker
='NetBSD ld.elf_so'
15895 shlibpath_var
=LD_LIBRARY_PATH
15896 shlibpath_overrides_runpath
=yes
15897 hardcode_into_libs
=yes
15902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15903 shlibpath_var
=LD_LIBRARY_PATH
15904 shlibpath_overrides_runpath
=yes
15911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15912 soname_spec
='${libname}${release}${shared_ext}$major'
15913 shlibpath_var
=LD_LIBRARY_PATH
15914 shlibpath_overrides_runpath
=no
15915 hardcode_into_libs
=yes
15916 dynamic_linker
='ldqnx.so'
15921 sys_lib_dlsearch_path_spec
="/usr/lib"
15923 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15925 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15926 *) need_version
=no
;;
15928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15929 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15930 shlibpath_var
=LD_LIBRARY_PATH
15931 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15933 openbsd2.
[89] | openbsd2.
[89].
*)
15934 shlibpath_overrides_runpath
=no
15937 shlibpath_overrides_runpath
=yes
15941 shlibpath_overrides_runpath
=yes
15946 libname_spec
='$name'
15949 library_names_spec
='$libname${shared_ext} $libname.a'
15950 dynamic_linker
='OS/2 ld.exe'
15951 shlibpath_var
=LIBPATH
15954 osf3
* | osf4
* | osf5
*)
15958 soname_spec
='${libname}${release}${shared_ext}$major'
15959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15960 shlibpath_var
=LD_LIBRARY_PATH
15961 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15962 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15974 soname_spec
='${libname}${release}${shared_ext}$major'
15975 shlibpath_var
=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath
=yes
15977 hardcode_into_libs
=yes
15978 # ldd complains unless libraries are executable
15979 postinstall_cmds
='chmod +x $lib'
15984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15985 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15986 shlibpath_var
=LD_LIBRARY_PATH
15987 shlibpath_overrides_runpath
=yes
15988 if test "$with_gnu_ld" = yes; then
15996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15997 soname_spec
='${libname}${release}${shared_ext}$major'
15998 shlibpath_var
=LD_LIBRARY_PATH
15999 case $host_vendor in
16001 shlibpath_overrides_runpath
=no
16003 runpath_var
=LD_RUN_PATH
16011 shlibpath_overrides_runpath
=no
16012 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16018 if test -d /usr
/nec
;then
16020 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16021 soname_spec
='$libname${shared_ext}.$major'
16022 shlibpath_var
=LD_LIBRARY_PATH
16026 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16027 version_type
=freebsd-elf
16030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16031 soname_spec
='${libname}${release}${shared_ext}$major'
16032 shlibpath_var
=LD_LIBRARY_PATH
16033 shlibpath_overrides_runpath
=yes
16034 hardcode_into_libs
=yes
16035 if test "$with_gnu_ld" = yes; then
16036 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16038 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16041 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16045 sys_lib_dlsearch_path_spec
='/usr/lib'
16049 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16054 shlibpath_var
=LD_LIBRARY_PATH
16055 shlibpath_overrides_runpath
=no
16056 hardcode_into_libs
=yes
16061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16062 soname_spec
='${libname}${release}${shared_ext}$major'
16063 shlibpath_var
=LD_LIBRARY_PATH
16066 # Shared libraries for VwWorks, >= 7 only at this stage
16067 # and (fpic) still incompatible with "large" code models
16068 # in a few configurations. Only for RTP mode in any case,
16069 # and upon explicit request at configure time.
16072 case ${with_multisubdir}-${enable_shared} in
16079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16080 soname_spec
='${libname}${release}${shared_ext}$major'
16081 dynamic_linker
="$host_os module_loader"
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16090 $as_echo "$dynamic_linker" >&6; }
16091 test "$dynamic_linker" = no
&& can_build_shared
=no
16093 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16094 if test "$GCC" = yes; then
16095 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16098 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16099 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16101 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16102 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16143 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16144 hardcode_action_CXX
=
16145 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16146 test -n "$runpath_var_CXX" ||
16147 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16149 # We can hardcode non-existent directories.
16150 if test "$hardcode_direct_CXX" != no
&&
16151 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16152 # have to relink, otherwise we might link with an installed library
16153 # when we should be linking with a yet-to-be-installed one
16154 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16155 test "$hardcode_minus_L_CXX" != no
; then
16156 # Linking always hardcodes the temporary library directory.
16157 hardcode_action_CXX
=relink
16159 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16160 hardcode_action_CXX
=immediate
16163 # We cannot hardcode anything, or else we can only hardcode existing
16165 hardcode_action_CXX
=unsupported
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16168 $as_echo "$hardcode_action_CXX" >&6; }
16170 if test "$hardcode_action_CXX" = relink ||
16171 test "$inherit_rpath_CXX" = yes; then
16172 # Fast installation is not supported
16173 enable_fast_install
=no
16174 elif test "$shlibpath_overrides_runpath" = yes ||
16175 test "$enable_shared" = no
; then
16176 # Fast installation is not necessary
16177 enable_fast_install
=needless
16186 fi # test -n "$compiler"
16192 with_gnu_ld
=$lt_save_with_gnu_ld
16193 lt_cv_path_LDCXX
=$lt_cv_path_LD
16194 lt_cv_path_LD
=$lt_save_path_LD
16195 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16196 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16197 fi # test "$_lt_caught_CXX_error" != yes
16200 ac_cpp
='$CPP $CPPFLAGS'
16201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16217 ac_config_commands
="$ac_config_commands libtool"
16222 # Only expand once:
16231 if test x
$enable_darwin_at_rpath = xyes
; then
16232 ENABLE_DARWIN_AT_RPATH_TRUE
=
16233 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
16235 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
16236 ENABLE_DARWIN_AT_RPATH_FALSE
=
16243 if test "${multilib}" = "yes"; then
16244 multilib_arg
="--enable-multilib"
16249 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
16250 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
16252 cat >>confdefs.h
<<_ACEOF
16253 #define HAVE_STRUCT_TIMEZONE 1
16258 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
16259 if test "x$ac_cv_type_struct_stat" = xyes
; then :
16261 cat >>confdefs.h
<<_ACEOF
16262 #define HAVE_STRUCT_STAT 1
16267 ac_fn_c_check_type
"$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default"
16268 if test "x$ac_cv_type_struct_timespec" = xyes
; then :
16270 cat >>confdefs.h
<<_ACEOF
16271 #define HAVE_STRUCT_TIMESPEC 1
16276 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
16277 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
16279 cat >>confdefs.h
<<_ACEOF
16280 #define HAVE_STRUCT_TIMEVAL 1
16285 ac_fn_c_check_type
"$LINENO" "struct tm" "ac_cv_type_struct_tm" "$ac_includes_default"
16286 if test "x$ac_cv_type_struct_tm" = xyes
; then :
16288 cat >>confdefs.h
<<_ACEOF
16289 #define HAVE_STRUCT_TM 1
16296 # Check if struct tm contains the tm_gmtoff field.
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
16298 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
16299 if ${ac_cv_struct_tm_gmtoff+:} false
; then :
16300 $as_echo_n "(cached) " >&6
16302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16318 if ac_fn_c_try_compile
"$LINENO"; then :
16319 ac_cv_struct_tm_gmtoff
=yes
16321 ac_cv_struct_tm_gmtoff
=no
16324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
16328 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
16330 if (test "$ac_cv_struct_tm_gmtoff" = "yes"); then
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end detects struct tm with the tm_gmtoff field." >&5
16332 $as_echo_n "checking m2 front end detects struct tm with the tm_gmtoff field.... " >&6; }
16334 $as_echo "#define HAVE_TM_TM_GMTOFF 1" >>confdefs.h
16339 ac_cpp
='$CPP $CPPFLAGS'
16340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16344 # Check the compiler.
16345 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
16346 # We must force CC to /not/ be precious variables; otherwise
16347 # the wrong, non-multilib-adjusted value will be used in multilibs.
16348 # As a side effect, we have to subst CFLAGS ourselves.
16353 ac_cpp
='$CPP $CPPFLAGS'
16354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16357 if test -n "$ac_tool_prefix"; then
16358 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16359 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16361 $as_echo_n "checking for $ac_word... " >&6; }
16362 if ${ac_cv_prog_CC+:} false
; then :
16363 $as_echo_n "(cached) " >&6
16365 if test -n "$CC"; then
16366 ac_cv_prog_CC
="$CC" # Let the user override the test.
16368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16369 for as_dir
in $PATH
16372 test -z "$as_dir" && as_dir
=.
16373 for ac_exec_ext
in '' $ac_executable_extensions; do
16374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16375 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16386 if test -n "$CC"; then
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16388 $as_echo "$CC" >&6; }
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16391 $as_echo "no" >&6; }
16396 if test -z "$ac_cv_prog_CC"; then
16398 # Extract the first word of "gcc", so it can be a program name with args.
16399 set dummy gcc
; ac_word
=$2
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16401 $as_echo_n "checking for $ac_word... " >&6; }
16402 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16403 $as_echo_n "(cached) " >&6
16405 if test -n "$ac_ct_CC"; then
16406 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16409 for as_dir
in $PATH
16412 test -z "$as_dir" && as_dir
=.
16413 for ac_exec_ext
in '' $ac_executable_extensions; do
16414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16415 ac_cv_prog_ac_ct_CC
="gcc"
16416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16425 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16426 if test -n "$ac_ct_CC"; then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16428 $as_echo "$ac_ct_CC" >&6; }
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16431 $as_echo "no" >&6; }
16434 if test "x$ac_ct_CC" = x
; then
16437 case $cross_compiling:$ac_tool_warned in
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16441 ac_tool_warned
=yes ;;
16446 CC
="$ac_cv_prog_CC"
16449 if test -z "$CC"; then
16450 if test -n "$ac_tool_prefix"; then
16451 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16452 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16454 $as_echo_n "checking for $ac_word... " >&6; }
16455 if ${ac_cv_prog_CC+:} false
; then :
16456 $as_echo_n "(cached) " >&6
16458 if test -n "$CC"; then
16459 ac_cv_prog_CC
="$CC" # Let the user override the test.
16461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16462 for as_dir
in $PATH
16465 test -z "$as_dir" && as_dir
=.
16466 for ac_exec_ext
in '' $ac_executable_extensions; do
16467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16468 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16479 if test -n "$CC"; then
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16481 $as_echo "$CC" >&6; }
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16484 $as_echo "no" >&6; }
16490 if test -z "$CC"; then
16491 # Extract the first word of "cc", so it can be a program name with args.
16492 set dummy cc
; ac_word
=$2
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16494 $as_echo_n "checking for $ac_word... " >&6; }
16495 if ${ac_cv_prog_CC+:} false
; then :
16496 $as_echo_n "(cached) " >&6
16498 if test -n "$CC"; then
16499 ac_cv_prog_CC
="$CC" # Let the user override the test.
16501 ac_prog_rejected
=no
16502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16503 for as_dir
in $PATH
16506 test -z "$as_dir" && as_dir
=.
16507 for ac_exec_ext
in '' $ac_executable_extensions; do
16508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16509 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16510 ac_prog_rejected
=yes
16514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16521 if test $ac_prog_rejected = yes; then
16522 # We found a bogon in the path, so make sure we never use it.
16523 set dummy
$ac_cv_prog_CC
16525 if test $# != 0; then
16526 # We chose a different compiler from the bogus one.
16527 # However, it has the same basename, so the bogon will be chosen
16528 # first if we set CC to just the basename; use the full file name.
16530 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16536 if test -n "$CC"; then
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16538 $as_echo "$CC" >&6; }
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16541 $as_echo "no" >&6; }
16546 if test -z "$CC"; then
16547 if test -n "$ac_tool_prefix"; then
16548 for ac_prog
in cl.exe
16550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16551 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16553 $as_echo_n "checking for $ac_word... " >&6; }
16554 if ${ac_cv_prog_CC+:} false
; then :
16555 $as_echo_n "(cached) " >&6
16557 if test -n "$CC"; then
16558 ac_cv_prog_CC
="$CC" # Let the user override the test.
16560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16561 for as_dir
in $PATH
16564 test -z "$as_dir" && as_dir
=.
16565 for ac_exec_ext
in '' $ac_executable_extensions; do
16566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16567 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16578 if test -n "$CC"; then
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16580 $as_echo "$CC" >&6; }
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16583 $as_echo "no" >&6; }
16587 test -n "$CC" && break
16590 if test -z "$CC"; then
16592 for ac_prog
in cl.exe
16594 # Extract the first word of "$ac_prog", so it can be a program name with args.
16595 set dummy
$ac_prog; ac_word
=$2
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16597 $as_echo_n "checking for $ac_word... " >&6; }
16598 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16599 $as_echo_n "(cached) " >&6
16601 if test -n "$ac_ct_CC"; then
16602 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16605 for as_dir
in $PATH
16608 test -z "$as_dir" && as_dir
=.
16609 for ac_exec_ext
in '' $ac_executable_extensions; do
16610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16611 ac_cv_prog_ac_ct_CC
="$ac_prog"
16612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16621 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16622 if test -n "$ac_ct_CC"; then
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16624 $as_echo "$ac_ct_CC" >&6; }
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16627 $as_echo "no" >&6; }
16631 test -n "$ac_ct_CC" && break
16634 if test "x$ac_ct_CC" = x
; then
16637 case $cross_compiling:$ac_tool_warned in
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16641 ac_tool_warned
=yes ;;
16650 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16652 as_fn_error $?
"no acceptable C compiler found in \$PATH
16653 See \`config.log' for more details" "$LINENO" 5; }
16655 # Provide some information about the compiler.
16656 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16659 for ac_option
in --version -v -V -qversion; do
16660 { { ac_try
="$ac_compiler $ac_option >&5"
16661 case "(($ac_try" in
16662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16666 $as_echo "$ac_try_echo"; } >&5
16667 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16669 if test -s conftest.err; then
16671 ... rest of stderr output deleted ...
16672 10q' conftest.err >conftest.er1
16673 cat conftest.er1 >&5
16675 rm -f conftest.er1 conftest.err
16676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16677 test $ac_status = 0; }
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16681 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16682 if ${ac_cv_c_compiler_gnu+:} false; then :
16683 $as_echo_n "(cached) " >&6
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16699 if ac_fn_c_try_compile "$LINENO"; then :
16700 ac_compiler_gnu=yes
16704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16709 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16710 if test $ac_compiler_gnu = yes; then
16715 ac_test_CFLAGS=${CFLAGS+set}
16716 ac_save_CFLAGS=$CFLAGS
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16718 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16719 if ${ac_cv_prog_cc_g+:} false; then :
16720 $as_echo_n "(cached) " >&6
16722 ac_save_c_werror_flag=$ac_c_werror_flag
16723 ac_c_werror_flag=yes
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16737 if ac_fn_c_try_compile "$LINENO"; then :
16738 ac_cv_prog_cc_g=yes
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16752 if ac_fn_c_try_compile "$LINENO"; then :
16755 ac_c_werror_flag=$ac_save_c_werror_flag
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16768 if ac_fn_c_try_compile "$LINENO"; then :
16769 ac_cv_prog_cc_g=yes
16771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16776 ac_c_werror_flag=$ac_save_c_werror_flag
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16779 $as_echo "$ac_cv_prog_cc_g" >&6; }
16780 if test "$ac_test_CFLAGS" = set; then
16781 CFLAGS=$ac_save_CFLAGS
16782 elif test $ac_cv_prog_cc_g = yes; then
16783 if test "$GCC" = yes; then
16789 if test "$GCC" = yes; then
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16796 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16797 if ${ac_cv_prog_cc_c89+:} false; then :
16798 $as_echo_n "(cached) " >&6
16800 ac_cv_prog_cc_c89=no
16802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16804 #include <stdarg.h>
16807 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16808 struct buf { int x; };
16809 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16810 static char *e (p, i)
16816 static char *f (char * (*g) (char **, int), char **p, ...)
16821 s = g (p, va_arg (v,int));
16826 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16827 function prototypes and stuff, but not '\xHH' hex character constants.
16828 These don't provoke an error unfortunately, instead are silently treated
16829 as 'x'. The following induces an error, until -std is added to get
16830 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16831 array size at least. It's necessary to write '\x00'==0 to get something
16832 that's true only with -std. */
16833 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16835 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16836 inside strings and character constants. */
16838 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16840 int test (int i, double x);
16841 struct s1 {int (*f) (int a);};
16842 struct s2 {int (*f) (double a);};
16843 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16849 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16854 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16855 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16857 CC="$ac_save_CC $ac_arg"
16858 if ac_fn_c_try_compile "$LINENO"; then :
16859 ac_cv_prog_cc_c89=$ac_arg
16861 rm -f core conftest.err conftest.$ac_objext
16862 test "x$ac_cv_prog_cc_c89" != "xno" && break
16864 rm -f conftest.$ac_ext
16869 case "x$ac_cv_prog_cc_c89" in
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16872 $as_echo "none needed" >&6; } ;;
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16875 $as_echo "unsupported" >&6; } ;;
16877 CC="$CC $ac_cv_prog_cc_c89"
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16879 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16881 if test "x$ac_cv_prog_cc_c89" != xno; then :
16886 ac_cpp='$CPP $CPPFLAGS'
16887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16892 ac_cpp='$CPP $CPPFLAGS'
16893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16897 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16898 if ${am_cv_prog_cc_c_o+:} false; then :
16899 $as_echo_n "(cached) " >&6
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16912 # Make sure it works both with $CC and with simple cc.
16913 # Following AC_PROG_CC_C_O, we do the test twice because some
16914 # compilers refuse to overwrite an existing .o file with -o,
16915 # though they will create one.
16916 am_cv_prog_cc_c_o=yes
16917 for am_i in 1 2; do
16918 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16919 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } \
16923 && test -f conftest2.$ac_objext; then
16926 am_cv_prog_cc_c_o=no
16930 rm -f core conftest*
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16934 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16935 if test "$am_cv_prog_cc_c_o" != yes; then
16936 # Losing compiler, so override with the script.
16937 # FIXME: It is wrong to rewrite CC.
16938 # But if we don't then we get into trouble of one sort or another.
16939 # A longer-term fix would be to have automake use am__CC in this case,
16940 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16941 CC="$am_aux_dir/compile $CC"
16944 ac_cpp='$CPP $CPPFLAGS'
16945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
16960 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
16961 if test x$gcc_no_link != xyes; then
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
16963 $as_echo_n "checking for access in -lc... " >&6; }
16964 if ${ac_cv_lib_c_access+:} false; then :
16965 $as_echo_n "(cached) " >&6
16967 ac_check_lib_save_LIBS=$LIBS
16969 if test x$gcc_no_link = xyes; then
16970 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16975 /* Override any GCC internal prototype to avoid an error.
16976 Use char because int might match the return type of a GCC
16977 builtin and then its argument prototype would still apply. */
16990 if ac_fn_c_try_link "$LINENO"; then :
16991 ac_cv_lib_c_access=yes
16993 ac_cv_lib_c_access=no
16995 rm -f core conftest.err conftest.$ac_objext \
16996 conftest$ac_exeext conftest.$ac_ext
16997 LIBS=$ac_check_lib_save_LIBS
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
17000 $as_echo "$ac_cv_lib_c_access" >&6; }
17001 if test "x$ac_cv_lib_c_access" = xyes; then :
17003 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
17007 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
17012 if test "x$ac_cv_lib_c_access" = xyes; then
17014 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
17016 elif test "x$ac_cv_func_access" = xyes; then
17018 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
17022 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
17029 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
17030 if test x$gcc_no_link != xyes; then
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
17032 $as_echo_n "checking for brk in -lc... " >&6; }
17033 if ${ac_cv_lib_c_brk+:} false; then :
17034 $as_echo_n "(cached) " >&6
17036 ac_check_lib_save_LIBS=$LIBS
17038 if test x$gcc_no_link = xyes; then
17039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17044 /* Override any GCC internal prototype to avoid an error.
17045 Use char because int might match the return type of a GCC
17046 builtin and then its argument prototype would still apply. */
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 ac_cv_lib_c_brk=yes
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17066 LIBS=$ac_check_lib_save_LIBS
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
17069 $as_echo "$ac_cv_lib_c_brk" >&6; }
17070 if test "x$ac_cv_lib_c_brk" = xyes; then :
17072 $as_echo "#define HAVE_BRK 1" >>confdefs.h
17076 $as_echo "#undef HAVE_BRK" >>confdefs.h
17081 if test "x$ac_cv_lib_c_brk" = xyes; then
17083 $as_echo "#define HAVE_BRK 1" >>confdefs.h
17085 elif test "x$ac_cv_func_brk" = xyes; then
17087 $as_echo "#define HAVE_BRK 1" >>confdefs.h
17091 $as_echo "#undef HAVE_BRK" >>confdefs.h
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
17098 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
17099 if test x$gcc_no_link != xyes; then
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
17101 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
17102 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
17103 $as_echo_n "(cached) " >&6
17105 ac_check_lib_save_LIBS=$LIBS
17107 if test x$gcc_no_link = xyes; then
17108 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17113 /* Override any GCC internal prototype to avoid an error.
17114 Use char because int might match the return type of a GCC
17115 builtin and then its argument prototype would still apply. */
17123 return cfmakeraw ();
17128 if ac_fn_c_try_link "$LINENO"; then :
17129 ac_cv_lib_c_cfmakeraw=yes
17131 ac_cv_lib_c_cfmakeraw=no
17133 rm -f core conftest.err conftest.$ac_objext \
17134 conftest$ac_exeext conftest.$ac_ext
17135 LIBS=$ac_check_lib_save_LIBS
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
17138 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
17139 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
17141 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17145 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
17150 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
17152 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17154 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
17156 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17160 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_gettime" >&5
17167 $as_echo_n "checking m2 front end checking c library for clock_gettime... " >&6; }
17168 if test x$gcc_no_link != xyes; then
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
17170 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
17171 if ${ac_cv_lib_c_clock_gettime+:} false; then :
17172 $as_echo_n "(cached) " >&6
17174 ac_check_lib_save_LIBS=$LIBS
17176 if test x$gcc_no_link = xyes; then
17177 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17182 /* Override any GCC internal prototype to avoid an error.
17183 Use char because int might match the return type of a GCC
17184 builtin and then its argument prototype would still apply. */
17188 char clock_gettime ();
17192 return clock_gettime ();
17197 if ac_fn_c_try_link "$LINENO"; then :
17198 ac_cv_lib_c_clock_gettime=yes
17200 ac_cv_lib_c_clock_gettime=no
17202 rm -f core conftest.err conftest.$ac_objext \
17203 conftest$ac_exeext conftest.$ac_ext
17204 LIBS=$ac_check_lib_save_LIBS
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
17207 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
17208 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
17210 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17214 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
17219 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then
17221 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17223 elif test "x$ac_cv_func_clock_gettime" = xyes; then
17225 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17229 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_settime" >&5
17236 $as_echo_n "checking m2 front end checking c library for clock_settime... " >&6; }
17237 if test x$gcc_no_link != xyes; then
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lc" >&5
17239 $as_echo_n "checking for clock_settime in -lc... " >&6; }
17240 if ${ac_cv_lib_c_clock_settime+:} false; then :
17241 $as_echo_n "(cached) " >&6
17243 ac_check_lib_save_LIBS=$LIBS
17245 if test x$gcc_no_link = xyes; then
17246 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h. */
17251 /* Override any GCC internal prototype to avoid an error.
17252 Use char because int might match the return type of a GCC
17253 builtin and then its argument prototype would still apply. */
17257 char clock_settime ();
17261 return clock_settime ();
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 ac_cv_lib_c_clock_settime=yes
17269 ac_cv_lib_c_clock_settime=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17273 LIBS=$ac_check_lib_save_LIBS
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_settime" >&5
17276 $as_echo "$ac_cv_lib_c_clock_settime" >&6; }
17277 if test "x$ac_cv_lib_c_clock_settime" = xyes; then :
17279 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17283 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
17288 if test "x$ac_cv_lib_c_clock_settime" = xyes; then
17290 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17292 elif test "x$ac_cv_func_clock_settime" = xyes; then
17294 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17298 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
17305 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
17306 if test x$gcc_no_link != xyes; then
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
17308 $as_echo_n "checking for close in -lc... " >&6; }
17309 if ${ac_cv_lib_c_close+:} false; then :
17310 $as_echo_n "(cached) " >&6
17312 ac_check_lib_save_LIBS=$LIBS
17314 if test x$gcc_no_link = xyes; then
17315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17320 /* Override any GCC internal prototype to avoid an error.
17321 Use char because int might match the return type of a GCC
17322 builtin and then its argument prototype would still apply. */
17335 if ac_fn_c_try_link "$LINENO"; then :
17336 ac_cv_lib_c_close=yes
17338 ac_cv_lib_c_close=no
17340 rm -f core conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17342 LIBS=$ac_check_lib_save_LIBS
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
17345 $as_echo "$ac_cv_lib_c_close" >&6; }
17346 if test "x$ac_cv_lib_c_close" = xyes; then :
17348 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17352 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17357 if test "x$ac_cv_lib_c_close" = xyes; then
17359 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17361 elif test "x$ac_cv_func_close" = xyes; then
17363 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17367 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
17374 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
17375 if test x$gcc_no_link != xyes; then
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
17377 $as_echo_n "checking for ctime in -lc... " >&6; }
17378 if ${ac_cv_lib_c_ctime+:} false; then :
17379 $as_echo_n "(cached) " >&6
17381 ac_check_lib_save_LIBS=$LIBS
17383 if test x$gcc_no_link = xyes; then
17384 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17389 /* Override any GCC internal prototype to avoid an error.
17390 Use char because int might match the return type of a GCC
17391 builtin and then its argument prototype would still apply. */
17404 if ac_fn_c_try_link "$LINENO"; then :
17405 ac_cv_lib_c_ctime=yes
17407 ac_cv_lib_c_ctime=no
17409 rm -f core conftest.err conftest.$ac_objext \
17410 conftest$ac_exeext conftest.$ac_ext
17411 LIBS=$ac_check_lib_save_LIBS
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
17414 $as_echo "$ac_cv_lib_c_ctime" >&6; }
17415 if test "x$ac_cv_lib_c_ctime" = xyes; then :
17417 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17421 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17426 if test "x$ac_cv_lib_c_ctime" = xyes; then
17428 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17430 elif test "x$ac_cv_func_ctime" = xyes; then
17432 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17436 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
17443 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
17444 if test x$gcc_no_link != xyes; then
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
17446 $as_echo_n "checking for creat in -lc... " >&6; }
17447 if ${ac_cv_lib_c_creat+:} false; then :
17448 $as_echo_n "(cached) " >&6
17450 ac_check_lib_save_LIBS=$LIBS
17452 if test x$gcc_no_link = xyes; then
17453 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17458 /* Override any GCC internal prototype to avoid an error.
17459 Use char because int might match the return type of a GCC
17460 builtin and then its argument prototype would still apply. */
17473 if ac_fn_c_try_link "$LINENO"; then :
17474 ac_cv_lib_c_creat=yes
17476 ac_cv_lib_c_creat=no
17478 rm -f core conftest.err conftest.$ac_objext \
17479 conftest$ac_exeext conftest.$ac_ext
17480 LIBS=$ac_check_lib_save_LIBS
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
17483 $as_echo "$ac_cv_lib_c_creat" >&6; }
17484 if test "x$ac_cv_lib_c_creat" = xyes; then :
17486 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17490 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17495 if test "x$ac_cv_lib_c_creat" = xyes; then
17497 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17499 elif test "x$ac_cv_func_creat" = xyes; then
17501 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17505 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for daylight" >&5
17512 $as_echo_n "checking m2 front end checking c library for daylight... " >&6; }
17513 if test x$gcc_no_link != xyes; then
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight in -lc" >&5
17515 $as_echo_n "checking for daylight in -lc... " >&6; }
17516 if ${ac_cv_lib_c_daylight+:} false; then :
17517 $as_echo_n "(cached) " >&6
17519 ac_check_lib_save_LIBS=$LIBS
17521 if test x$gcc_no_link = xyes; then
17522 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17527 /* Override any GCC internal prototype to avoid an error.
17528 Use char because int might match the return type of a GCC
17529 builtin and then its argument prototype would still apply. */
17537 return daylight ();
17542 if ac_fn_c_try_link "$LINENO"; then :
17543 ac_cv_lib_c_daylight=yes
17545 ac_cv_lib_c_daylight=no
17547 rm -f core conftest.err conftest.$ac_objext \
17548 conftest$ac_exeext conftest.$ac_ext
17549 LIBS=$ac_check_lib_save_LIBS
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_daylight" >&5
17552 $as_echo "$ac_cv_lib_c_daylight" >&6; }
17553 if test "x$ac_cv_lib_c_daylight" = xyes; then :
17555 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17559 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
17564 if test "x$ac_cv_lib_c_daylight" = xyes; then
17566 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17568 elif test "x$ac_cv_func_daylight" = xyes; then
17570 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17574 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
17581 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
17582 if test x$gcc_no_link != xyes; then
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
17584 $as_echo_n "checking for dup in -lc... " >&6; }
17585 if ${ac_cv_lib_c_dup+:} false; then :
17586 $as_echo_n "(cached) " >&6
17588 ac_check_lib_save_LIBS=$LIBS
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. */
17596 /* Override any GCC internal prototype to avoid an error.
17597 Use char because int might match the return type of a GCC
17598 builtin and then its argument prototype would still apply. */
17611 if ac_fn_c_try_link "$LINENO"; then :
17612 ac_cv_lib_c_dup=yes
17616 rm -f core conftest.err conftest.$ac_objext \
17617 conftest$ac_exeext conftest.$ac_ext
17618 LIBS=$ac_check_lib_save_LIBS
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
17621 $as_echo "$ac_cv_lib_c_dup" >&6; }
17622 if test "x$ac_cv_lib_c_dup" = xyes; then :
17624 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17628 $as_echo "#undef HAVE_DUP" >>confdefs.h
17633 if test "x$ac_cv_lib_c_dup" = xyes; then
17635 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17637 elif test "x$ac_cv_func_dup" = xyes; then
17639 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17643 $as_echo "#undef HAVE_DUP" >>confdefs.h
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
17650 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
17651 if test x$gcc_no_link != xyes; then
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
17653 $as_echo_n "checking for execve in -lc... " >&6; }
17654 if ${ac_cv_lib_c_execve+:} false; then :
17655 $as_echo_n "(cached) " >&6
17657 ac_check_lib_save_LIBS=$LIBS
17659 if test x$gcc_no_link = xyes; then
17660 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17665 /* Override any GCC internal prototype to avoid an error.
17666 Use char because int might match the return type of a GCC
17667 builtin and then its argument prototype would still apply. */
17680 if ac_fn_c_try_link "$LINENO"; then :
17681 ac_cv_lib_c_execve=yes
17683 ac_cv_lib_c_execve=no
17685 rm -f core conftest.err conftest.$ac_objext \
17686 conftest$ac_exeext conftest.$ac_ext
17687 LIBS=$ac_check_lib_save_LIBS
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
17690 $as_echo "$ac_cv_lib_c_execve" >&6; }
17691 if test "x$ac_cv_lib_c_execve" = xyes; then :
17693 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17697 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17702 if test "x$ac_cv_lib_c_execve" = xyes; then
17704 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17706 elif test "x$ac_cv_func_execve" = xyes; then
17708 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17712 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
17719 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
17720 if test x$gcc_no_link != xyes; then
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
17722 $as_echo_n "checking for exit in -lc... " >&6; }
17723 if ${ac_cv_lib_c_exit+:} false; then :
17724 $as_echo_n "(cached) " >&6
17726 ac_check_lib_save_LIBS=$LIBS
17728 if test x$gcc_no_link = xyes; then
17729 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17732 /* end confdefs.h. */
17734 /* Override any GCC internal prototype to avoid an error.
17735 Use char because int might match the return type of a GCC
17736 builtin and then its argument prototype would still apply. */
17749 if ac_fn_c_try_link "$LINENO"; then :
17750 ac_cv_lib_c_exit=yes
17752 ac_cv_lib_c_exit=no
17754 rm -f core conftest.err conftest.$ac_objext \
17755 conftest$ac_exeext conftest.$ac_ext
17756 LIBS=$ac_check_lib_save_LIBS
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
17759 $as_echo "$ac_cv_lib_c_exit" >&6; }
17760 if test "x$ac_cv_lib_c_exit" = xyes; then :
17762 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17766 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17771 if test "x$ac_cv_lib_c_exit" = xyes; then
17773 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17775 elif test "x$ac_cv_func_exit" = xyes; then
17777 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17781 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
17788 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
17789 if test x$gcc_no_link != xyes; then
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
17791 $as_echo_n "checking for fcntl in -lc... " >&6; }
17792 if ${ac_cv_lib_c_fcntl+:} false; then :
17793 $as_echo_n "(cached) " >&6
17795 ac_check_lib_save_LIBS=$LIBS
17797 if test x$gcc_no_link = xyes; then
17798 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17803 /* Override any GCC internal prototype to avoid an error.
17804 Use char because int might match the return type of a GCC
17805 builtin and then its argument prototype would still apply. */
17818 if ac_fn_c_try_link "$LINENO"; then :
17819 ac_cv_lib_c_fcntl=yes
17821 ac_cv_lib_c_fcntl=no
17823 rm -f core conftest.err conftest.$ac_objext \
17824 conftest$ac_exeext conftest.$ac_ext
17825 LIBS=$ac_check_lib_save_LIBS
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
17828 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
17829 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
17831 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17835 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17840 if test "x$ac_cv_lib_c_fcntl" = xyes; then
17842 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17844 elif test "x$ac_cv_func_fcntl" = xyes; then
17846 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17850 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
17857 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
17858 if test x$gcc_no_link != xyes; then
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
17860 $as_echo_n "checking for fstat in -lc... " >&6; }
17861 if ${ac_cv_lib_c_fstat+:} false; then :
17862 $as_echo_n "(cached) " >&6
17864 ac_check_lib_save_LIBS=$LIBS
17866 if test x$gcc_no_link = xyes; then
17867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17872 /* Override any GCC internal prototype to avoid an error.
17873 Use char because int might match the return type of a GCC
17874 builtin and then its argument prototype would still apply. */
17887 if ac_fn_c_try_link "$LINENO"; then :
17888 ac_cv_lib_c_fstat=yes
17890 ac_cv_lib_c_fstat=no
17892 rm -f core conftest.err conftest.$ac_objext \
17893 conftest$ac_exeext conftest.$ac_ext
17894 LIBS=$ac_check_lib_save_LIBS
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
17897 $as_echo "$ac_cv_lib_c_fstat" >&6; }
17898 if test "x$ac_cv_lib_c_fstat" = xyes; then :
17900 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17904 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17909 if test "x$ac_cv_lib_c_fstat" = xyes; then
17911 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17913 elif test "x$ac_cv_func_fstat" = xyes; then
17915 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17919 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
17926 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
17927 if test x$gcc_no_link != xyes; then
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
17929 $as_echo_n "checking for getdents in -lc... " >&6; }
17930 if ${ac_cv_lib_c_getdents+:} false; then :
17931 $as_echo_n "(cached) " >&6
17933 ac_check_lib_save_LIBS=$LIBS
17935 if test x$gcc_no_link = xyes; then
17936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 /* Override any GCC internal prototype to avoid an error.
17942 Use char because int might match the return type of a GCC
17943 builtin and then its argument prototype would still apply. */
17951 return getdents ();
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 ac_cv_lib_c_getdents=yes
17959 ac_cv_lib_c_getdents=no
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext conftest.$ac_ext
17963 LIBS=$ac_check_lib_save_LIBS
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
17966 $as_echo "$ac_cv_lib_c_getdents" >&6; }
17967 if test "x$ac_cv_lib_c_getdents" = xyes; then :
17969 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17973 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17978 if test "x$ac_cv_lib_c_getdents" = xyes; then
17980 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17982 elif test "x$ac_cv_func_getdents" = xyes; then
17984 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17988 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
17995 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
17996 if test x$gcc_no_link != xyes; then
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
17998 $as_echo_n "checking for getgid in -lc... " >&6; }
17999 if ${ac_cv_lib_c_getgid+:} false; then :
18000 $as_echo_n "(cached) " >&6
18002 ac_check_lib_save_LIBS=$LIBS
18004 if test x$gcc_no_link = xyes; then
18005 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18010 /* Override any GCC internal prototype to avoid an error.
18011 Use char because int might match the return type of a GCC
18012 builtin and then its argument prototype would still apply. */
18025 if ac_fn_c_try_link "$LINENO"; then :
18026 ac_cv_lib_c_getgid=yes
18028 ac_cv_lib_c_getgid=no
18030 rm -f core conftest.err conftest.$ac_objext \
18031 conftest$ac_exeext conftest.$ac_ext
18032 LIBS=$ac_check_lib_save_LIBS
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
18035 $as_echo "$ac_cv_lib_c_getgid" >&6; }
18036 if test "x$ac_cv_lib_c_getgid" = xyes; then :
18038 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
18042 $as_echo "#undef HAVE_GETGID" >>confdefs.h
18047 if test "x$ac_cv_lib_c_getgid" = xyes; then
18049 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
18051 elif test "x$ac_cv_func_getgid" = xyes; then
18053 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
18057 $as_echo "#undef HAVE_GETGID" >>confdefs.h
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long" >&5
18064 $as_echo_n "checking m2 front end checking c library for getopt_long... " >&6; }
18065 if test x$gcc_no_link != xyes; then
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lc" >&5
18067 $as_echo_n "checking for getopt_long in -lc... " >&6; }
18068 if ${ac_cv_lib_c_getopt_long+:} false; then :
18069 $as_echo_n "(cached) " >&6
18071 ac_check_lib_save_LIBS=$LIBS
18073 if test x$gcc_no_link = xyes; then
18074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18085 char getopt_long ();
18089 return getopt_long ();
18094 if ac_fn_c_try_link "$LINENO"; then :
18095 ac_cv_lib_c_getopt_long=yes
18097 ac_cv_lib_c_getopt_long=no
18099 rm -f core conftest.err conftest.$ac_objext \
18100 conftest$ac_exeext conftest.$ac_ext
18101 LIBS=$ac_check_lib_save_LIBS
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long" >&5
18104 $as_echo "$ac_cv_lib_c_getopt_long" >&6; }
18105 if test "x$ac_cv_lib_c_getopt_long" = xyes; then :
18107 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
18111 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
18116 if test "x$ac_cv_lib_c_getopt_long" = xyes; then
18118 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
18120 elif test "x$ac_cv_func_getopt_long" = xyes; then
18122 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
18126 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long_only" >&5
18133 $as_echo_n "checking m2 front end checking c library for getopt_long_only... " >&6; }
18134 if test x$gcc_no_link != xyes; then
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long_only in -lc" >&5
18136 $as_echo_n "checking for getopt_long_only in -lc... " >&6; }
18137 if ${ac_cv_lib_c_getopt_long_only+:} false; then :
18138 $as_echo_n "(cached) " >&6
18140 ac_check_lib_save_LIBS=$LIBS
18142 if test x$gcc_no_link = xyes; then
18143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18146 /* end confdefs.h. */
18148 /* Override any GCC internal prototype to avoid an error.
18149 Use char because int might match the return type of a GCC
18150 builtin and then its argument prototype would still apply. */
18154 char getopt_long_only ();
18158 return getopt_long_only ();
18163 if ac_fn_c_try_link "$LINENO"; then :
18164 ac_cv_lib_c_getopt_long_only=yes
18166 ac_cv_lib_c_getopt_long_only=no
18168 rm -f core conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18170 LIBS=$ac_check_lib_save_LIBS
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long_only" >&5
18173 $as_echo "$ac_cv_lib_c_getopt_long_only" >&6; }
18174 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then :
18176 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
18180 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
18185 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then
18187 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
18189 elif test "x$ac_cv_func_getopt_long_only" = xyes; then
18191 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
18195 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
18202 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
18203 if test x$gcc_no_link != xyes; then
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
18205 $as_echo_n "checking for getpid in -lc... " >&6; }
18206 if ${ac_cv_lib_c_getpid+:} false; then :
18207 $as_echo_n "(cached) " >&6
18209 ac_check_lib_save_LIBS=$LIBS
18211 if test x$gcc_no_link = xyes; then
18212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18215 /* end confdefs.h. */
18217 /* Override any GCC internal prototype to avoid an error.
18218 Use char because int might match the return type of a GCC
18219 builtin and then its argument prototype would still apply. */
18232 if ac_fn_c_try_link "$LINENO"; then :
18233 ac_cv_lib_c_getpid=yes
18235 ac_cv_lib_c_getpid=no
18237 rm -f core conftest.err conftest.$ac_objext \
18238 conftest$ac_exeext conftest.$ac_ext
18239 LIBS=$ac_check_lib_save_LIBS
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
18242 $as_echo "$ac_cv_lib_c_getpid" >&6; }
18243 if test "x$ac_cv_lib_c_getpid" = xyes; then :
18245 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
18249 $as_echo "#undef HAVE_GETPID" >>confdefs.h
18254 if test "x$ac_cv_lib_c_getpid" = xyes; then
18256 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
18258 elif test "x$ac_cv_func_getpid" = xyes; then
18260 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
18264 $as_echo "#undef HAVE_GETPID" >>confdefs.h
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
18271 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
18272 if test x$gcc_no_link != xyes; then
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
18274 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
18275 if ${ac_cv_lib_c_gettimeofday+:} false; then :
18276 $as_echo_n "(cached) " >&6
18278 ac_check_lib_save_LIBS=$LIBS
18280 if test x$gcc_no_link = xyes; then
18281 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18286 /* Override any GCC internal prototype to avoid an error.
18287 Use char because int might match the return type of a GCC
18288 builtin and then its argument prototype would still apply. */
18292 char gettimeofday ();
18296 return gettimeofday ();
18301 if ac_fn_c_try_link "$LINENO"; then :
18302 ac_cv_lib_c_gettimeofday=yes
18304 ac_cv_lib_c_gettimeofday=no
18306 rm -f core conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext conftest.$ac_ext
18308 LIBS=$ac_check_lib_save_LIBS
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
18311 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
18312 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
18314 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18318 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
18323 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
18325 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18327 elif test "x$ac_cv_func_gettimeofday" = xyes; then
18329 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18333 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
18340 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
18341 if test x$gcc_no_link != xyes; then
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
18343 $as_echo_n "checking for getuid in -lc... " >&6; }
18344 if ${ac_cv_lib_c_getuid+:} false; then :
18345 $as_echo_n "(cached) " >&6
18347 ac_check_lib_save_LIBS=$LIBS
18349 if test x$gcc_no_link = xyes; then
18350 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18355 /* Override any GCC internal prototype to avoid an error.
18356 Use char because int might match the return type of a GCC
18357 builtin and then its argument prototype would still apply. */
18370 if ac_fn_c_try_link "$LINENO"; then :
18371 ac_cv_lib_c_getuid=yes
18373 ac_cv_lib_c_getuid=no
18375 rm -f core conftest.err conftest.$ac_objext \
18376 conftest$ac_exeext conftest.$ac_ext
18377 LIBS=$ac_check_lib_save_LIBS
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
18380 $as_echo "$ac_cv_lib_c_getuid" >&6; }
18381 if test "x$ac_cv_lib_c_getuid" = xyes; then :
18383 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18387 $as_echo "#undef HAVE_GETUID" >>confdefs.h
18392 if test "x$ac_cv_lib_c_getuid" = xyes; then
18394 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18396 elif test "x$ac_cv_func_getuid" = xyes; then
18398 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18402 $as_echo "#undef HAVE_GETUID" >>confdefs.h
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
18409 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
18410 if test x$gcc_no_link != xyes; then
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
18412 $as_echo_n "checking for ioctl in -lc... " >&6; }
18413 if ${ac_cv_lib_c_ioctl+:} false; then :
18414 $as_echo_n "(cached) " >&6
18416 ac_check_lib_save_LIBS=$LIBS
18418 if test x$gcc_no_link = xyes; then
18419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18424 /* Override any GCC internal prototype to avoid an error.
18425 Use char because int might match the return type of a GCC
18426 builtin and then its argument prototype would still apply. */
18439 if ac_fn_c_try_link "$LINENO"; then :
18440 ac_cv_lib_c_ioctl=yes
18442 ac_cv_lib_c_ioctl=no
18444 rm -f core conftest.err conftest.$ac_objext \
18445 conftest$ac_exeext conftest.$ac_ext
18446 LIBS=$ac_check_lib_save_LIBS
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
18449 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
18450 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
18452 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18456 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
18461 if test "x$ac_cv_lib_c_ioctl" = xyes; then
18463 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18465 elif test "x$ac_cv_func_ioctl" = xyes; then
18467 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18471 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
18478 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
18479 if test x$gcc_no_link != xyes; then
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
18481 $as_echo_n "checking for kill in -lc... " >&6; }
18482 if ${ac_cv_lib_c_kill+:} false; then :
18483 $as_echo_n "(cached) " >&6
18485 ac_check_lib_save_LIBS=$LIBS
18487 if test x$gcc_no_link = xyes; then
18488 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18493 /* Override any GCC internal prototype to avoid an error.
18494 Use char because int might match the return type of a GCC
18495 builtin and then its argument prototype would still apply. */
18508 if ac_fn_c_try_link "$LINENO"; then :
18509 ac_cv_lib_c_kill=yes
18511 ac_cv_lib_c_kill=no
18513 rm -f core conftest.err conftest.$ac_objext \
18514 conftest$ac_exeext conftest.$ac_ext
18515 LIBS=$ac_check_lib_save_LIBS
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
18518 $as_echo "$ac_cv_lib_c_kill" >&6; }
18519 if test "x$ac_cv_lib_c_kill" = xyes; then :
18521 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18525 $as_echo "#undef HAVE_KILL" >>confdefs.h
18530 if test "x$ac_cv_lib_c_kill" = xyes; then
18532 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18534 elif test "x$ac_cv_func_kill" = xyes; then
18536 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18540 $as_echo "#undef HAVE_KILL" >>confdefs.h
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
18547 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
18548 if test x$gcc_no_link != xyes; then
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
18550 $as_echo_n "checking for link in -lc... " >&6; }
18551 if ${ac_cv_lib_c_link+:} false; then :
18552 $as_echo_n "(cached) " >&6
18554 ac_check_lib_save_LIBS=$LIBS
18556 if test x$gcc_no_link = xyes; then
18557 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18562 /* Override any GCC internal prototype to avoid an error.
18563 Use char because int might match the return type of a GCC
18564 builtin and then its argument prototype would still apply. */
18577 if ac_fn_c_try_link "$LINENO"; then :
18578 ac_cv_lib_c_link=yes
18580 ac_cv_lib_c_link=no
18582 rm -f core conftest.err conftest.$ac_objext \
18583 conftest$ac_exeext conftest.$ac_ext
18584 LIBS=$ac_check_lib_save_LIBS
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
18587 $as_echo "$ac_cv_lib_c_link" >&6; }
18588 if test "x$ac_cv_lib_c_link" = xyes; then :
18590 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18594 $as_echo "#undef HAVE_LINK" >>confdefs.h
18599 if test "x$ac_cv_lib_c_link" = xyes; then
18601 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18603 elif test "x$ac_cv_func_link" = xyes; then
18605 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18609 $as_echo "#undef HAVE_LINK" >>confdefs.h
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
18616 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
18617 if test x$gcc_no_link != xyes; then
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
18619 $as_echo_n "checking for lseek in -lc... " >&6; }
18620 if ${ac_cv_lib_c_lseek+:} false; then :
18621 $as_echo_n "(cached) " >&6
18623 ac_check_lib_save_LIBS=$LIBS
18625 if test x$gcc_no_link = xyes; then
18626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18631 /* Override any GCC internal prototype to avoid an error.
18632 Use char because int might match the return type of a GCC
18633 builtin and then its argument prototype would still apply. */
18646 if ac_fn_c_try_link "$LINENO"; then :
18647 ac_cv_lib_c_lseek=yes
18649 ac_cv_lib_c_lseek=no
18651 rm -f core conftest.err conftest.$ac_objext \
18652 conftest$ac_exeext conftest.$ac_ext
18653 LIBS=$ac_check_lib_save_LIBS
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
18656 $as_echo "$ac_cv_lib_c_lseek" >&6; }
18657 if test "x$ac_cv_lib_c_lseek" = xyes; then :
18659 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18663 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18668 if test "x$ac_cv_lib_c_lseek" = xyes; then
18670 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18672 elif test "x$ac_cv_func_lseek" = xyes; then
18674 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18678 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
18685 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
18686 if test x$gcc_no_link != xyes; then
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
18688 $as_echo_n "checking for open in -lc... " >&6; }
18689 if ${ac_cv_lib_c_open+:} false; then :
18690 $as_echo_n "(cached) " >&6
18692 ac_check_lib_save_LIBS=$LIBS
18694 if test x$gcc_no_link = xyes; then
18695 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18700 /* Override any GCC internal prototype to avoid an error.
18701 Use char because int might match the return type of a GCC
18702 builtin and then its argument prototype would still apply. */
18715 if ac_fn_c_try_link "$LINENO"; then :
18716 ac_cv_lib_c_open=yes
18718 ac_cv_lib_c_open=no
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18722 LIBS=$ac_check_lib_save_LIBS
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
18725 $as_echo "$ac_cv_lib_c_open" >&6; }
18726 if test "x$ac_cv_lib_c_open" = xyes; then :
18728 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18732 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18737 if test "x$ac_cv_lib_c_open" = xyes; then
18739 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18741 elif test "x$ac_cv_func_open" = xyes; then
18743 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18747 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
18754 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
18755 if test x$gcc_no_link != xyes; then
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
18757 $as_echo_n "checking for pause in -lc... " >&6; }
18758 if ${ac_cv_lib_c_pause+:} false; then :
18759 $as_echo_n "(cached) " >&6
18761 ac_check_lib_save_LIBS=$LIBS
18763 if test x$gcc_no_link = xyes; then
18764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18769 /* Override any GCC internal prototype to avoid an error.
18770 Use char because int might match the return type of a GCC
18771 builtin and then its argument prototype would still apply. */
18784 if ac_fn_c_try_link "$LINENO"; then :
18785 ac_cv_lib_c_pause=yes
18787 ac_cv_lib_c_pause=no
18789 rm -f core conftest.err conftest.$ac_objext \
18790 conftest$ac_exeext conftest.$ac_ext
18791 LIBS=$ac_check_lib_save_LIBS
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
18794 $as_echo "$ac_cv_lib_c_pause" >&6; }
18795 if test "x$ac_cv_lib_c_pause" = xyes; then :
18797 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18801 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18806 if test "x$ac_cv_lib_c_pause" = xyes; then
18808 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18810 elif test "x$ac_cv_func_pause" = xyes; then
18812 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18816 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
18823 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
18824 if test x$gcc_no_link != xyes; then
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
18826 $as_echo_n "checking for pipe in -lc... " >&6; }
18827 if ${ac_cv_lib_c_pipe+:} false; then :
18828 $as_echo_n "(cached) " >&6
18830 ac_check_lib_save_LIBS=$LIBS
18832 if test x$gcc_no_link = xyes; then
18833 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18838 /* Override any GCC internal prototype to avoid an error.
18839 Use char because int might match the return type of a GCC
18840 builtin and then its argument prototype would still apply. */
18853 if ac_fn_c_try_link "$LINENO"; then :
18854 ac_cv_lib_c_pipe=yes
18856 ac_cv_lib_c_pipe=no
18858 rm -f core conftest.err conftest.$ac_objext \
18859 conftest$ac_exeext conftest.$ac_ext
18860 LIBS=$ac_check_lib_save_LIBS
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
18863 $as_echo "$ac_cv_lib_c_pipe" >&6; }
18864 if test "x$ac_cv_lib_c_pipe" = xyes; then :
18866 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18870 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18875 if test "x$ac_cv_lib_c_pipe" = xyes; then
18877 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18879 elif test "x$ac_cv_func_pipe" = xyes; then
18881 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18885 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
18892 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
18893 if test x$gcc_no_link != xyes; then
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
18895 $as_echo_n "checking for rand in -lc... " >&6; }
18896 if ${ac_cv_lib_c_rand+:} false; then :
18897 $as_echo_n "(cached) " >&6
18899 ac_check_lib_save_LIBS=$LIBS
18901 if test x$gcc_no_link = xyes; then
18902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18907 /* Override any GCC internal prototype to avoid an error.
18908 Use char because int might match the return type of a GCC
18909 builtin and then its argument prototype would still apply. */
18922 if ac_fn_c_try_link "$LINENO"; then :
18923 ac_cv_lib_c_rand=yes
18925 ac_cv_lib_c_rand=no
18927 rm -f core conftest.err conftest.$ac_objext \
18928 conftest$ac_exeext conftest.$ac_ext
18929 LIBS=$ac_check_lib_save_LIBS
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
18932 $as_echo "$ac_cv_lib_c_rand" >&6; }
18933 if test "x$ac_cv_lib_c_rand" = xyes; then :
18935 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18939 $as_echo "#undef HAVE_RAND" >>confdefs.h
18944 if test "x$ac_cv_lib_c_rand" = xyes; then
18946 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18948 elif test "x$ac_cv_func_rand" = xyes; then
18950 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18954 $as_echo "#undef HAVE_RAND" >>confdefs.h
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
18961 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
18962 if test x$gcc_no_link != xyes; then
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
18964 $as_echo_n "checking for read in -lc... " >&6; }
18965 if ${ac_cv_lib_c_read+:} false; then :
18966 $as_echo_n "(cached) " >&6
18968 ac_check_lib_save_LIBS=$LIBS
18970 if test x$gcc_no_link = xyes; then
18971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18976 /* Override any GCC internal prototype to avoid an error.
18977 Use char because int might match the return type of a GCC
18978 builtin and then its argument prototype would still apply. */
18991 if ac_fn_c_try_link "$LINENO"; then :
18992 ac_cv_lib_c_read=yes
18994 ac_cv_lib_c_read=no
18996 rm -f core conftest.err conftest.$ac_objext \
18997 conftest$ac_exeext conftest.$ac_ext
18998 LIBS=$ac_check_lib_save_LIBS
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
19001 $as_echo "$ac_cv_lib_c_read" >&6; }
19002 if test "x$ac_cv_lib_c_read" = xyes; then :
19004 $as_echo "#define HAVE_READ 1" >>confdefs.h
19008 $as_echo "#undef HAVE_READ" >>confdefs.h
19013 if test "x$ac_cv_lib_c_read" = xyes; then
19015 $as_echo "#define HAVE_READ 1" >>confdefs.h
19017 elif test "x$ac_cv_func_read" = xyes; then
19019 $as_echo "#define HAVE_READ 1" >>confdefs.h
19023 $as_echo "#undef HAVE_READ" >>confdefs.h
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
19030 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
19031 if test x$gcc_no_link != xyes; then
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
19033 $as_echo_n "checking for select in -lc... " >&6; }
19034 if ${ac_cv_lib_c_select+:} false; then :
19035 $as_echo_n "(cached) " >&6
19037 ac_check_lib_save_LIBS=$LIBS
19039 if test x$gcc_no_link = xyes; then
19040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19043 /* end confdefs.h. */
19045 /* Override any GCC internal prototype to avoid an error.
19046 Use char because int might match the return type of a GCC
19047 builtin and then its argument prototype would still apply. */
19060 if ac_fn_c_try_link "$LINENO"; then :
19061 ac_cv_lib_c_select=yes
19063 ac_cv_lib_c_select=no
19065 rm -f core conftest.err conftest.$ac_objext \
19066 conftest$ac_exeext conftest.$ac_ext
19067 LIBS=$ac_check_lib_save_LIBS
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
19070 $as_echo "$ac_cv_lib_c_select" >&6; }
19071 if test "x$ac_cv_lib_c_select" = xyes; then :
19073 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
19077 $as_echo "#undef HAVE_SELECT" >>confdefs.h
19082 if test "x$ac_cv_lib_c_select" = xyes; then
19084 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
19086 elif test "x$ac_cv_func_select" = xyes; then
19088 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
19092 $as_echo "#undef HAVE_SELECT" >>confdefs.h
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
19099 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
19100 if test x$gcc_no_link != xyes; then
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
19102 $as_echo_n "checking for setitimer in -lc... " >&6; }
19103 if ${ac_cv_lib_c_setitimer+:} false; then :
19104 $as_echo_n "(cached) " >&6
19106 ac_check_lib_save_LIBS=$LIBS
19108 if test x$gcc_no_link = xyes; then
19109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19114 /* Override any GCC internal prototype to avoid an error.
19115 Use char because int might match the return type of a GCC
19116 builtin and then its argument prototype would still apply. */
19124 return setitimer ();
19129 if ac_fn_c_try_link "$LINENO"; then :
19130 ac_cv_lib_c_setitimer=yes
19132 ac_cv_lib_c_setitimer=no
19134 rm -f core conftest.err conftest.$ac_objext \
19135 conftest$ac_exeext conftest.$ac_ext
19136 LIBS=$ac_check_lib_save_LIBS
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
19139 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
19140 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
19142 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
19146 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
19151 if test "x$ac_cv_lib_c_setitimer" = xyes; then
19153 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
19155 elif test "x$ac_cv_func_setitimer" = xyes; then
19157 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
19161 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
19168 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
19169 if test x$gcc_no_link != xyes; then
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
19171 $as_echo_n "checking for setgid in -lc... " >&6; }
19172 if ${ac_cv_lib_c_setgid+:} false; then :
19173 $as_echo_n "(cached) " >&6
19175 ac_check_lib_save_LIBS=$LIBS
19177 if test x$gcc_no_link = xyes; then
19178 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19183 /* Override any GCC internal prototype to avoid an error.
19184 Use char because int might match the return type of a GCC
19185 builtin and then its argument prototype would still apply. */
19198 if ac_fn_c_try_link "$LINENO"; then :
19199 ac_cv_lib_c_setgid=yes
19201 ac_cv_lib_c_setgid=no
19203 rm -f core conftest.err conftest.$ac_objext \
19204 conftest$ac_exeext conftest.$ac_ext
19205 LIBS=$ac_check_lib_save_LIBS
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
19208 $as_echo "$ac_cv_lib_c_setgid" >&6; }
19209 if test "x$ac_cv_lib_c_setgid" = xyes; then :
19211 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
19215 $as_echo "#undef HAVE_SETGID" >>confdefs.h
19220 if test "x$ac_cv_lib_c_setgid" = xyes; then
19222 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
19224 elif test "x$ac_cv_func_setgid" = xyes; then
19226 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
19230 $as_echo "#undef HAVE_SETGID" >>confdefs.h
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
19237 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
19238 if test x$gcc_no_link != xyes; then
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
19240 $as_echo_n "checking for setuid in -lc... " >&6; }
19241 if ${ac_cv_lib_c_setuid+:} false; then :
19242 $as_echo_n "(cached) " >&6
19244 ac_check_lib_save_LIBS=$LIBS
19246 if test x$gcc_no_link = xyes; then
19247 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19250 /* end confdefs.h. */
19252 /* Override any GCC internal prototype to avoid an error.
19253 Use char because int might match the return type of a GCC
19254 builtin and then its argument prototype would still apply. */
19267 if ac_fn_c_try_link "$LINENO"; then :
19268 ac_cv_lib_c_setuid=yes
19270 ac_cv_lib_c_setuid=no
19272 rm -f core conftest.err conftest.$ac_objext \
19273 conftest$ac_exeext conftest.$ac_ext
19274 LIBS=$ac_check_lib_save_LIBS
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
19277 $as_echo "$ac_cv_lib_c_setuid" >&6; }
19278 if test "x$ac_cv_lib_c_setuid" = xyes; then :
19280 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19284 $as_echo "#undef HAVE_SETUID" >>confdefs.h
19289 if test "x$ac_cv_lib_c_setuid" = xyes; then
19291 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19293 elif test "x$ac_cv_func_setuid" = xyes; then
19295 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19299 $as_echo "#undef HAVE_SETUID" >>confdefs.h
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
19306 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
19307 if test x$gcc_no_link != xyes; then
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
19309 $as_echo_n "checking for stat in -lc... " >&6; }
19310 if ${ac_cv_lib_c_stat+:} false; then :
19311 $as_echo_n "(cached) " >&6
19313 ac_check_lib_save_LIBS=$LIBS
19315 if test x$gcc_no_link = xyes; then
19316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h. */
19321 /* Override any GCC internal prototype to avoid an error.
19322 Use char because int might match the return type of a GCC
19323 builtin and then its argument prototype would still apply. */
19336 if ac_fn_c_try_link "$LINENO"; then :
19337 ac_cv_lib_c_stat=yes
19339 ac_cv_lib_c_stat=no
19341 rm -f core conftest.err conftest.$ac_objext \
19342 conftest$ac_exeext conftest.$ac_ext
19343 LIBS=$ac_check_lib_save_LIBS
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
19346 $as_echo "$ac_cv_lib_c_stat" >&6; }
19347 if test "x$ac_cv_lib_c_stat" = xyes; then :
19349 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19353 $as_echo "#undef HAVE_STAT" >>confdefs.h
19358 if test "x$ac_cv_lib_c_stat" = xyes; then
19360 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19362 elif test "x$ac_cv_func_stat" = xyes; then
19364 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19368 $as_echo "#undef HAVE_STAT" >>confdefs.h
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
19375 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
19376 if test x$gcc_no_link != xyes; then
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
19378 $as_echo_n "checking for strsignal in -lc... " >&6; }
19379 if ${ac_cv_lib_c_strsignal+:} false; then :
19380 $as_echo_n "(cached) " >&6
19382 ac_check_lib_save_LIBS=$LIBS
19384 if test x$gcc_no_link = xyes; then
19385 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19388 /* end confdefs.h. */
19390 /* Override any GCC internal prototype to avoid an error.
19391 Use char because int might match the return type of a GCC
19392 builtin and then its argument prototype would still apply. */
19400 return strsignal ();
19405 if ac_fn_c_try_link "$LINENO"; then :
19406 ac_cv_lib_c_strsignal=yes
19408 ac_cv_lib_c_strsignal=no
19410 rm -f core conftest.err conftest.$ac_objext \
19411 conftest$ac_exeext conftest.$ac_ext
19412 LIBS=$ac_check_lib_save_LIBS
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
19415 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
19416 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
19418 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19422 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
19427 if test "x$ac_cv_lib_c_strsignal" = xyes; then
19429 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19431 elif test "x$ac_cv_func_strsignal" = xyes; then
19433 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19437 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
19444 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
19445 if test x$gcc_no_link != xyes; then
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
19447 $as_echo_n "checking for strtod in -lc... " >&6; }
19448 if ${ac_cv_lib_c_strtod+:} false; then :
19449 $as_echo_n "(cached) " >&6
19451 ac_check_lib_save_LIBS=$LIBS
19453 if test x$gcc_no_link = xyes; then
19454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19459 /* Override any GCC internal prototype to avoid an error.
19460 Use char because int might match the return type of a GCC
19461 builtin and then its argument prototype would still apply. */
19474 if ac_fn_c_try_link "$LINENO"; then :
19475 ac_cv_lib_c_strtod=yes
19477 ac_cv_lib_c_strtod=no
19479 rm -f core conftest.err conftest.$ac_objext \
19480 conftest$ac_exeext conftest.$ac_ext
19481 LIBS=$ac_check_lib_save_LIBS
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
19484 $as_echo "$ac_cv_lib_c_strtod" >&6; }
19485 if test "x$ac_cv_lib_c_strtod" = xyes; then :
19487 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19491 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
19496 if test "x$ac_cv_lib_c_strtod" = xyes; then
19498 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19500 elif test "x$ac_cv_func_strtod" = xyes; then
19502 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19506 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
19513 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
19514 if test x$gcc_no_link != xyes; then
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
19516 $as_echo_n "checking for strtold in -lc... " >&6; }
19517 if ${ac_cv_lib_c_strtold+:} false; then :
19518 $as_echo_n "(cached) " >&6
19520 ac_check_lib_save_LIBS=$LIBS
19522 if test x$gcc_no_link = xyes; then
19523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19528 /* Override any GCC internal prototype to avoid an error.
19529 Use char because int might match the return type of a GCC
19530 builtin and then its argument prototype would still apply. */
19543 if ac_fn_c_try_link "$LINENO"; then :
19544 ac_cv_lib_c_strtold=yes
19546 ac_cv_lib_c_strtold=no
19548 rm -f core conftest.err conftest.$ac_objext \
19549 conftest$ac_exeext conftest.$ac_ext
19550 LIBS=$ac_check_lib_save_LIBS
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
19553 $as_echo "$ac_cv_lib_c_strtold" >&6; }
19554 if test "x$ac_cv_lib_c_strtold" = xyes; then :
19556 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19560 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19565 if test "x$ac_cv_lib_c_strtold" = xyes; then
19567 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19569 elif test "x$ac_cv_func_strtold" = xyes; then
19571 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19575 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
19582 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
19583 if test x$gcc_no_link != xyes; then
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
19585 $as_echo_n "checking for times in -lc... " >&6; }
19586 if ${ac_cv_lib_c_times+:} false; then :
19587 $as_echo_n "(cached) " >&6
19589 ac_check_lib_save_LIBS=$LIBS
19591 if test x$gcc_no_link = xyes; then
19592 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19597 /* Override any GCC internal prototype to avoid an error.
19598 Use char because int might match the return type of a GCC
19599 builtin and then its argument prototype would still apply. */
19612 if ac_fn_c_try_link "$LINENO"; then :
19613 ac_cv_lib_c_times=yes
19615 ac_cv_lib_c_times=no
19617 rm -f core conftest.err conftest.$ac_objext \
19618 conftest$ac_exeext conftest.$ac_ext
19619 LIBS=$ac_check_lib_save_LIBS
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
19622 $as_echo "$ac_cv_lib_c_times" >&6; }
19623 if test "x$ac_cv_lib_c_times" = xyes; then :
19625 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19629 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19634 if test "x$ac_cv_lib_c_times" = xyes; then
19636 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19638 elif test "x$ac_cv_func_times" = xyes; then
19640 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19644 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for timezone" >&5
19651 $as_echo_n "checking m2 front end checking c library for timezone... " >&6; }
19652 if test x$gcc_no_link != xyes; then
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone in -lc" >&5
19654 $as_echo_n "checking for timezone in -lc... " >&6; }
19655 if ${ac_cv_lib_c_timezone+:} false; then :
19656 $as_echo_n "(cached) " >&6
19658 ac_check_lib_save_LIBS=$LIBS
19660 if test x$gcc_no_link = xyes; then
19661 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 /* Override any GCC internal prototype to avoid an error.
19667 Use char because int might match the return type of a GCC
19668 builtin and then its argument prototype would still apply. */
19676 return timezone ();
19681 if ac_fn_c_try_link "$LINENO"; then :
19682 ac_cv_lib_c_timezone=yes
19684 ac_cv_lib_c_timezone=no
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19688 LIBS=$ac_check_lib_save_LIBS
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_timezone" >&5
19691 $as_echo "$ac_cv_lib_c_timezone" >&6; }
19692 if test "x$ac_cv_lib_c_timezone" = xyes; then :
19694 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19698 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
19703 if test "x$ac_cv_lib_c_timezone" = xyes; then
19705 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19707 elif test "x$ac_cv_func_timezone" = xyes; then
19709 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19713 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for tzname" >&5
19720 $as_echo_n "checking m2 front end checking c library for tzname... " >&6; }
19721 if test x$gcc_no_link != xyes; then
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname in -lc" >&5
19723 $as_echo_n "checking for tzname in -lc... " >&6; }
19724 if ${ac_cv_lib_c_tzname+:} false; then :
19725 $as_echo_n "(cached) " >&6
19727 ac_check_lib_save_LIBS=$LIBS
19729 if test x$gcc_no_link = xyes; then
19730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19735 /* Override any GCC internal prototype to avoid an error.
19736 Use char because int might match the return type of a GCC
19737 builtin and then its argument prototype would still apply. */
19750 if ac_fn_c_try_link "$LINENO"; then :
19751 ac_cv_lib_c_tzname=yes
19753 ac_cv_lib_c_tzname=no
19755 rm -f core conftest.err conftest.$ac_objext \
19756 conftest$ac_exeext conftest.$ac_ext
19757 LIBS=$ac_check_lib_save_LIBS
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_tzname" >&5
19760 $as_echo "$ac_cv_lib_c_tzname" >&6; }
19761 if test "x$ac_cv_lib_c_tzname" = xyes; then :
19763 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19767 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
19772 if test "x$ac_cv_lib_c_tzname" = xyes; then
19774 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19776 elif test "x$ac_cv_func_tzname" = xyes; then
19778 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19782 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
19789 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
19790 if test x$gcc_no_link != xyes; then
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
19792 $as_echo_n "checking for unlink in -lc... " >&6; }
19793 if ${ac_cv_lib_c_unlink+:} false; then :
19794 $as_echo_n "(cached) " >&6
19796 ac_check_lib_save_LIBS=$LIBS
19798 if test x$gcc_no_link = xyes; then
19799 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19804 /* Override any GCC internal prototype to avoid an error.
19805 Use char because int might match the return type of a GCC
19806 builtin and then its argument prototype would still apply. */
19819 if ac_fn_c_try_link "$LINENO"; then :
19820 ac_cv_lib_c_unlink=yes
19822 ac_cv_lib_c_unlink=no
19824 rm -f core conftest.err conftest.$ac_objext \
19825 conftest$ac_exeext conftest.$ac_ext
19826 LIBS=$ac_check_lib_save_LIBS
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
19829 $as_echo "$ac_cv_lib_c_unlink" >&6; }
19830 if test "x$ac_cv_lib_c_unlink" = xyes; then :
19832 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19836 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19841 if test "x$ac_cv_lib_c_unlink" = xyes; then
19843 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19845 elif test "x$ac_cv_func_unlink" = xyes; then
19847 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19851 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
19858 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
19859 if test x$gcc_no_link != xyes; then
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
19861 $as_echo_n "checking for wait in -lc... " >&6; }
19862 if ${ac_cv_lib_c_wait+:} false; then :
19863 $as_echo_n "(cached) " >&6
19865 ac_check_lib_save_LIBS=$LIBS
19867 if test x$gcc_no_link = xyes; then
19868 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871 /* end confdefs.h. */
19873 /* Override any GCC internal prototype to avoid an error.
19874 Use char because int might match the return type of a GCC
19875 builtin and then its argument prototype would still apply. */
19888 if ac_fn_c_try_link "$LINENO"; then :
19889 ac_cv_lib_c_wait=yes
19891 ac_cv_lib_c_wait=no
19893 rm -f core conftest.err conftest.$ac_objext \
19894 conftest$ac_exeext conftest.$ac_ext
19895 LIBS=$ac_check_lib_save_LIBS
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
19898 $as_echo "$ac_cv_lib_c_wait" >&6; }
19899 if test "x$ac_cv_lib_c_wait" = xyes; then :
19901 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19905 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19910 if test "x$ac_cv_lib_c_wait" = xyes; then
19912 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19914 elif test "x$ac_cv_func_wait" = xyes; then
19916 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19920 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
19927 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
19928 if test x$gcc_no_link != xyes; then
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
19930 $as_echo_n "checking for write in -lc... " >&6; }
19931 if ${ac_cv_lib_c_write+:} false; then :
19932 $as_echo_n "(cached) " >&6
19934 ac_check_lib_save_LIBS=$LIBS
19936 if test x$gcc_no_link = xyes; then
19937 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19940 /* end confdefs.h. */
19942 /* Override any GCC internal prototype to avoid an error.
19943 Use char because int might match the return type of a GCC
19944 builtin and then its argument prototype would still apply. */
19957 if ac_fn_c_try_link "$LINENO"; then :
19958 ac_cv_lib_c_write=yes
19960 ac_cv_lib_c_write=no
19962 rm -f core conftest.err conftest.$ac_objext \
19963 conftest$ac_exeext conftest.$ac_ext
19964 LIBS=$ac_check_lib_save_LIBS
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
19967 $as_echo "$ac_cv_lib_c_write" >&6; }
19968 if test "x$ac_cv_lib_c_write" = xyes; then :
19970 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19974 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19979 if test "x$ac_cv_lib_c_write" = xyes; then
19981 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19983 elif test "x$ac_cv_func_write" = xyes; then
19985 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19989 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
19997 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
19998 if test x$gcc_no_link != xyes; then
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
20000 $as_echo_n "checking for signbit in -lm... " >&6; }
20001 if ${ac_cv_lib_m_signbit+:} false; then :
20002 $as_echo_n "(cached) " >&6
20004 ac_check_lib_save_LIBS=$LIBS
20006 if test x$gcc_no_link = xyes; then
20007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20012 /* Override any GCC internal prototype to avoid an error.
20013 Use char because int might match the return type of a GCC
20014 builtin and then its argument prototype would still apply. */
20027 if ac_fn_c_try_link "$LINENO"; then :
20028 ac_cv_lib_m_signbit=yes
20030 ac_cv_lib_m_signbit=no
20032 rm -f core conftest.err conftest.$ac_objext \
20033 conftest$ac_exeext conftest.$ac_ext
20034 LIBS=$ac_check_lib_save_LIBS
20036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
20037 $as_echo "$ac_cv_lib_m_signbit" >&6; }
20038 if test "x$ac_cv_lib_m_signbit" = xyes; then :
20040 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
20044 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
20049 if test "x$ac_cv_lib_m_signbit" = xyes; then
20051 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
20053 elif test "x$ac_cv_func_signbit" = xyes; then
20055 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
20059 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
20065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
20066 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
20067 if test x$gcc_no_link != xyes; then
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
20069 $as_echo_n "checking for signbitf in -lm... " >&6; }
20070 if ${ac_cv_lib_m_signbitf+:} false; then :
20071 $as_echo_n "(cached) " >&6
20073 ac_check_lib_save_LIBS=$LIBS
20075 if test x$gcc_no_link = xyes; then
20076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20081 /* Override any GCC internal prototype to avoid an error.
20082 Use char because int might match the return type of a GCC
20083 builtin and then its argument prototype would still apply. */
20091 return signbitf ();
20096 if ac_fn_c_try_link "$LINENO"; then :
20097 ac_cv_lib_m_signbitf=yes
20099 ac_cv_lib_m_signbitf=no
20101 rm -f core conftest.err conftest.$ac_objext \
20102 conftest$ac_exeext conftest.$ac_ext
20103 LIBS=$ac_check_lib_save_LIBS
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
20106 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
20107 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
20109 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
20113 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
20118 if test "x$ac_cv_lib_m_signbitf" = xyes; then
20120 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
20122 elif test "x$ac_cv_func_signbitf" = xyes; then
20124 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
20128 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
20135 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
20136 if test x$gcc_no_link != xyes; then
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
20138 $as_echo_n "checking for signbitl in -lm... " >&6; }
20139 if ${ac_cv_lib_m_signbitl+:} false; then :
20140 $as_echo_n "(cached) " >&6
20142 ac_check_lib_save_LIBS=$LIBS
20144 if test x$gcc_no_link = xyes; then
20145 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20148 /* end confdefs.h. */
20150 /* Override any GCC internal prototype to avoid an error.
20151 Use char because int might match the return type of a GCC
20152 builtin and then its argument prototype would still apply. */
20160 return signbitl ();
20165 if ac_fn_c_try_link "$LINENO"; then :
20166 ac_cv_lib_m_signbitl=yes
20168 ac_cv_lib_m_signbitl=no
20170 rm -f core conftest.err conftest.$ac_objext \
20171 conftest$ac_exeext conftest.$ac_ext
20172 LIBS=$ac_check_lib_save_LIBS
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
20175 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
20176 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
20178 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
20182 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
20187 if test "x$ac_cv_lib_m_signbitl" = xyes; then
20189 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
20191 elif test "x$ac_cv_func_signbitl" = xyes; then
20193 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
20197 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
20204 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
20206 # We test the host here and later on check the target.
20208 # All known M2_HOST_OS values. This is the union of all host operating systems
20209 # supported by gm2.
20211 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows darwin"
20216 *-*-darwin*) M2_HOST_OS=darwin ;;
20217 *-*-freebsd*) M2_HOST_OS=freebsd ;;
20218 *-*-linux*) M2_HOST_OS=linux ;;
20219 *-*-netbsd*) M2_HOST_OS=netbsd ;;
20220 *-*-openbsd*) M2_HOST_OS=openbsd ;;
20221 *-*-solaris2*) M2_HOST_OS=solaris ;;
20222 *-*-aix*) M2_HOST_OS=aix ;;
20223 *-*-gnu*) M2_HOST_OS=hurd ;;
20226 M2_TARGET_OS=unknown
20229 *-*-darwin*) M2_TARGET_OS=darwin ;;
20230 *-*-freebsd*) M2_TARGET_OS=freebsd ;;
20231 *-*-linux*) M2_TARGET_OS=linux ;;
20232 *-*-netbsd*) M2_TARGET_OS=netbsd ;;
20233 *-*-openbsd*) M2_TARGET_OS=openbsd ;;
20234 *-*-solaris2*) M2_TARGET_OS=solaris ;;
20235 *-*-aix*) M2_TARGET_OS=aix ;;
20236 *-*-gnu*) M2_TARGET_OS=hurd ;;
20239 # M2_HOST_OS=unknown
20240 if test x${M2_HOST_OS} = xunknown; then
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
20242 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
20249 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
20256 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
20259 # Propagate GM2_FOR_TARGET into Makefiles
20260 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
20263 # Now we check the target as long as it is a supported host.
20264 # For some embedded targets we choose minimal runtime system which is
20265 # just enough to satisfy the linker targetting raw metal.
20266 if test x${M2_HOST_OS} != xunknown; then
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
20268 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
20271 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
20278 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
20301 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
20302 # in the second parameter is printed as a "yes" or "no".
20306 if test x${M2_HOST_OS} = xunknown; then
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
20308 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
20312 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
20313 if test x${BUILD_PIMLIB} = xtrue; then
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20315 $as_echo "yes" >&6; }
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20318 $as_echo "no" >&6; }
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
20323 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
20324 if test x${BUILD_ISOLIB} = xtrue; then
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20326 $as_echo "yes" >&6; }
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20329 $as_echo "no" >&6; }
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
20334 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
20335 if test x${BUILD_CORLIB} = xtrue; then
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20337 $as_echo "yes" >&6; }
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20340 $as_echo "no" >&6; }
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
20345 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
20346 if test x${BUILD_LOGLIB} = xtrue; then
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20348 $as_echo "yes" >&6; }
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20351 $as_echo "no" >&6; }
20356 if test x$BUILD_PIMLIB = xtrue; then
20358 BUILD_PIMLIB_FALSE='#'
20360 BUILD_PIMLIB_TRUE='#'
20361 BUILD_PIMLIB_FALSE=
20364 if test x$BUILD_ISOLIB = xtrue; then
20366 BUILD_ISOLIB_FALSE='#'
20368 BUILD_ISOLIB_TRUE='#'
20369 BUILD_ISOLIB_FALSE=
20372 if test x$BUILD_CORLIB = xtrue; then
20374 BUILD_CORLIB_FALSE='#'
20376 BUILD_CORLIB_TRUE='#'
20377 BUILD_CORLIB_FALSE=
20380 if test x$BUILD_LOGLIB = xtrue; then
20382 BUILD_LOGLIB_FALSE='#'
20384 BUILD_LOGLIB_TRUE='#'
20385 BUILD_LOGLIB_FALSE=
20388 if test x$M2_TARGET_OS = xdarwin; then
20389 TARGET_DARWIN_TRUE=
20390 TARGET_DARWIN_FALSE='#'
20392 TARGET_DARWIN_TRUE='#'
20393 TARGET_DARWIN_FALSE=
20397 # Determine what GCC version number to use in filesystem paths.
20399 get_gcc_base_ver="cat"
20401 # Check whether --with-gcc-major-version-only was given.
20402 if test "${with_gcc_major_version_only+set}" = set; then :
20403 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
20404 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
20413 ac_config_files="$ac_config_files Makefile"
20416 ac_config_files="$ac_config_files libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
20420 $as_echo "$as_me: libgm2 has been configured." >&6;}
20422 cat >confcache <<\_ACEOF
20423 # This file is a shell script that caches the results of configure
20424 # tests run on this system so they can be shared between configure
20425 # scripts and configure runs, see configure's option --config-cache.
20426 # It is not useful on other systems. If it contains results you don't
20427 # want to keep, you may remove or edit it.
20429 # config.status only pays attention to the cache file if you give it
20430 # the --recheck option to rerun configure.
20432 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20434 # following values.
20438 # The following way of writing the cache mishandles newlines in values,
20439 # but we know of no workaround that is simple, portable, and efficient.
20440 # So, we kill variables containing newlines.
20441 # Ultrix sh set writes to stderr and can't be redirected directly,
20442 # and sets the high bit in the cache file unless we assign to the vars.
20444 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20445 eval ac_val
=\$
$ac_var
20449 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20453 _ | IFS | as_nl
) ;; #(
20454 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20455 *) { eval $ac_var=; unset $ac_var;} ;;
20461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20462 *${as_nl}ac_space
=\
*)
20463 # `set' does not quote correctly, so add quotes: double-quote
20464 # substitution turns \\\\ into \\, and sed turns \\ into \.
20467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20470 # `set' quotes correctly as required by POSIX, so do not add quotes.
20471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20484 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20485 if test -w "$cache_file"; then
20486 if test "x$cache_file" != "x/dev/null"; then
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20488 $as_echo "$as_me: updating cache $cache_file" >&6;}
20489 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
20490 cat confcache
>"$cache_file"
20492 case $cache_file in #(
20494 mv -f confcache
"$cache_file"$$
&&
20495 mv -f "$cache_file"$$
"$cache_file" ;; #(
20497 mv -f confcache
"$cache_file" ;;
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20508 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20509 # Let make expand exec_prefix.
20510 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20512 DEFS
=-DHAVE_CONFIG_H
20517 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20518 # 1. Remove the extension, and $U if already installed.
20519 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20520 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20521 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20522 # will be set to the directory where LIBOBJS objects are built.
20523 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20524 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20526 LIBOBJS
=$ac_libobjs
20528 LTLIBOBJS
=$ac_ltlibobjs
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20532 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20533 if test -n "$am_sleep_pid"; then
20534 # Hide warnings about reused PIDs.
20535 wait $am_sleep_pid 2>/dev
/null
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20538 $as_echo "done" >&6; }
20539 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20540 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20543 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20544 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20547 if test -n "$EXEEXT"; then
20549 am__EXEEXT_FALSE
='#'
20551 am__EXEEXT_TRUE
='#'
20555 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20556 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20559 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20560 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20563 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
20564 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
20565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20567 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
20568 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
20569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20571 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
20572 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
20573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20575 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
20576 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
20577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20579 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
20580 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
20581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20583 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
20584 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
20585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20587 if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
20588 as_fn_error $?
"conditional \"TARGET_DARWIN\" was never defined.
20589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20592 : "${CONFIG_STATUS=./config.status}"
20594 ac_clean_files_save
=$ac_clean_files
20595 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20597 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20599 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20601 # Generated by $as_me.
20602 # Run this file to recreate the current configuration.
20603 # Compiler output produced by configure, useful for debugging
20604 # configure, is in config.log if it exists.
20607 ac_cs_recheck=false
20610 SHELL=\${CONFIG_SHELL-$SHELL}
20613 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20614 ## -------------------- ##
20615 ## M4sh Initialization. ##
20616 ## -------------------- ##
20618 # Be more Bourne compatible
20619 DUALCASE
=1; export DUALCASE
# for MKS sh
20620 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20623 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20624 # is contrary to our usage. Disable this feature.
20625 alias -g '${1+"$@"}'='"$@"'
20626 setopt NO_GLOB_SUBST
20628 case `(set -o) 2>/dev/null` in #(
20640 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20641 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20643 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20644 # Prefer a ksh shell builtin over an external printf program on Solaris,
20645 # but without wasting forks for bash or zsh.
20646 if test -z "$BASH_VERSION$ZSH_VERSION" \
20647 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20648 as_echo='print
-r --'
20649 as_echo_n='print
-rn --'
20650 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20651 as_echo='printf %s
\n'
20652 as_echo_n='printf %s
'
20654 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20655 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20656 as_echo_n='/usr
/ucb
/echo -n'
20658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20659 as_echo_n_body='eval
20663 expr "X$arg" : "X\\(.*\\)$as_nl";
20664 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20666 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20668 export as_echo_n_body
20669 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20671 export as_echo_body
20672 as_echo='sh
-c $as_echo_body as_echo
'
20675 # The user is always right.
20676 if test "${PATH_SEPARATOR+set}" != set; then
20678 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20679 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20686 # We need space, tab and new line, in precisely that order. Quoting is
20687 # there to prevent editors from complaining about space-tab.
20688 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20689 # splitting by setting IFS to empty value.)
20692 # Find who we are. Look in the path if we contain no directory separator.
20695 *[\\/]* ) as_myself=$0 ;;
20696 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20697 for as_dir in $PATH
20700 test -z "$as_dir" && as_dir=.
20701 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20707 # We did not find ourselves, most probably we were run as `sh COMMAND'
20708 # in which case we are not to be found in the path.
20709 if test "x$as_myself" = x
; then
20712 if test ! -f "$as_myself"; then
20713 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20717 # Unset variables that we do not need and which cause bugs (e.g. in
20718 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20719 # suppresses any "Segmentation fault" message there. '((' could
20720 # trigger a bug in pdksh 5.2.14.
20721 for as_var
in BASH_ENV ENV MAIL MAILPATH
20722 do eval test x\
${$as_var+set} = xset \
20723 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20736 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20739 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20740 # ----------------------------------------
20741 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20742 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20743 # script with STATUS, using 1 if that was 0.
20746 as_status
=$1; test $as_status -eq 0 && as_status
=1
20748 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20749 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20751 $as_echo "$as_me: error: $2" >&2
20752 as_fn_exit
$as_status
20756 # as_fn_set_status STATUS
20757 # -----------------------
20758 # Set $? to STATUS, without forking.
20759 as_fn_set_status
()
20762 } # as_fn_set_status
20764 # as_fn_exit STATUS
20765 # -----------------
20766 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20770 as_fn_set_status
$1
20776 # Portably unset VAR.
20779 { eval $1=; unset $1;}
20781 as_unset
=as_fn_unset
20782 # as_fn_append VAR VALUE
20783 # ----------------------
20784 # Append the text in VALUE to the end of the definition contained in VAR. Take
20785 # advantage of any shell optimizations that allow amortized linear growth over
20786 # repeated appends, instead of the typical quadratic growth present in naive
20788 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20789 eval 'as_fn_append ()
20800 # as_fn_arith ARG...
20801 # ------------------
20802 # Perform arithmetic evaluation on the ARGs, and store the result in the
20803 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20804 # must be portable across $(()) and expr.
20805 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20806 eval 'as_fn_arith ()
20813 as_val
=`expr "$@" || test $? -eq 1`
20818 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20819 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20825 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20826 as_basename
=basename
20831 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20837 as_me
=`$as_basename -- "$0" ||
20838 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20839 X"$0" : 'X\(//\)$' \| \
20840 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20842 sed '/^.*\/\([^/][^/]*\)\/*$/{
20856 # Avoid depending upon Character Ranges.
20857 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20858 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20859 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20860 as_cr_digits
='0123456789'
20861 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20863 ECHO_C
= ECHO_N
= ECHO_T
=
20864 case `echo -n x` in #(((((
20866 case `echo 'xy\c'` in
20867 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20869 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20876 rm -f conf$$ conf$$.exe conf$$.
file
20877 if test -d conf$$.dir
; then
20878 rm -f conf$$.dir
/conf$$.
file
20881 mkdir conf$$.dir
2>/dev
/null
20883 if (echo >conf$$.
file) 2>/dev
/null
; then
20884 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20886 # ... but there are two gotchas:
20887 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20888 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20889 # In both cases, we have to default to `cp -pR'.
20890 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20892 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20900 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20901 rmdir conf$$.dir
2>/dev
/null
20906 # Create "$as_dir" as a directory, including parents if necessary.
20911 -*) as_dir
=.
/$as_dir;;
20913 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20917 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20918 *) as_qdir
=$as_dir;;
20920 as_dirs
="'$as_qdir' $as_dirs"
20921 as_dir
=`$as_dirname -- "$as_dir" ||
20922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20923 X"$as_dir" : 'X\(//\)[^/]' \| \
20924 X"$as_dir" : 'X\(//\)$' \| \
20925 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20926 $as_echo X"$as_dir" |
20927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20931 /^X\(\/\/\)[^/].*/{
20944 test -d "$as_dir" && break
20946 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20947 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20951 if mkdir
-p .
2>/dev
/null
; then
20952 as_mkdir_p
='mkdir -p "$as_dir"'
20954 test -d .
/-p && rmdir .
/-p
20959 # as_fn_executable_p FILE
20960 # -----------------------
20961 # Test if FILE is an executable regular file.
20962 as_fn_executable_p
()
20964 test -f "$1" && test -x "$1"
20965 } # as_fn_executable_p
20966 as_test_x
='test -x'
20967 as_executable_p
=as_fn_executable_p
20969 # Sed expression to map a string onto a valid CPP name.
20970 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20972 # Sed expression to map a string onto a valid variable name.
20973 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20977 ## ----------------------------------- ##
20978 ## Main body of $CONFIG_STATUS script. ##
20979 ## ----------------------------------- ##
20981 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20984 # Save the log message, to keep $0 and so on meaningful, and to
20985 # report actual input values of CONFIG_FILES etc. instead of their
20986 # values after options handling.
20988 This file was extended by package-unused $as_me version-unused, which was
20989 generated by GNU Autoconf 2.69. Invocation command line was
20991 CONFIG_FILES = $CONFIG_FILES
20992 CONFIG_HEADERS = $CONFIG_HEADERS
20993 CONFIG_LINKS = $CONFIG_LINKS
20994 CONFIG_COMMANDS = $CONFIG_COMMANDS
20997 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21002 case $ac_config_files in *"
21003 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21006 case $ac_config_headers in *"
21007 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21012 # Files that config.status was made for.
21013 config_files="$ac_config_files"
21014 config_headers="$ac_config_headers"
21015 config_commands="$ac_config_commands"
21019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21021 \`$as_me' instantiates files and other configuration actions
21022 from templates according to the current configuration. Unless the files
21023 and actions are specified as TAGs, all are instantiated by default.
21025 Usage: $0 [OPTION]... [TAG]...
21027 -h, --help print this help, then exit
21028 -V, --version print version number and configuration settings, then exit
21029 --config print configuration, then exit
21030 -q, --quiet, --silent
21031 do not print progress messages
21032 -d, --debug don't remove temporary files
21033 --recheck update $as_me by reconfiguring in the same conditions
21034 --file=FILE[:TEMPLATE]
21035 instantiate the configuration file FILE
21036 --header=FILE[:TEMPLATE]
21037 instantiate the configuration header FILE
21039 Configuration files:
21042 Configuration headers:
21045 Configuration commands:
21048 Report bugs to the package provider."
21051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21052 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21054 package-unused config.status version-unused
21055 configured by $0, generated by GNU Autoconf 2.69,
21056 with options \\"\$ac_cs_config\\"
21058 Copyright (C) 2012 Free Software Foundation, Inc.
21059 This config.status script is free software; the Free Software Foundation
21060 gives unlimited permission to copy, distribute and modify it."
21067 test -n "\$AWK" || AWK=awk
21070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21071 # The default lists apply if the user does not specify any file.
21077 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21078 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21082 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21094 # Handling of the options.
21095 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21097 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21098 $as_echo "$ac_cs_version"; exit ;;
21099 --config |
--confi |
--conf |
--con |
--co |
--c )
21100 $as_echo "$ac_cs_config"; exit ;;
21101 --debug |
--debu |
--deb |
--de |
--d |
-d )
21103 --file |
--fil |
--fi |
--f )
21106 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21107 '') as_fn_error $?
"missing file argument" ;;
21109 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21110 ac_need_defaults
=false
;;
21111 --header |
--heade |
--head |
--hea )
21114 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21116 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21117 ac_need_defaults
=false
;;
21119 # Conflict between --help and --header
21120 as_fn_error $?
"ambiguous option: \`$1'
21121 Try \`$0 --help' for more information.";;
21122 --help |
--hel |
-h )
21123 $as_echo "$ac_cs_usage"; exit ;;
21124 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21125 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21128 # This is an error.
21129 -*) as_fn_error $?
"unrecognized option: \`$1'
21130 Try \`$0 --help' for more information." ;;
21132 *) as_fn_append ac_config_targets
" $1"
21133 ac_need_defaults
=false
;;
21139 ac_configure_extra_args
=
21141 if $ac_cs_silent; then
21143 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21148 if \$ac_cs_recheck; then
21149 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21151 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21152 CONFIG_SHELL='$SHELL'
21153 export CONFIG_SHELL
21158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21162 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21163 ## Running $as_me. ##
21169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21177 with_multisubdir="$with_multisubdir"
21178 with_multisrctop="$with_multisrctop"
21179 with_target_subdir="$with_target_subdir"
21180 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21181 multi_basedir="$multi_basedir"
21182 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21185 GFORTRAN="$GFORTRAN"
21187 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21190 # The HP-UX ksh and POSIX shell print the target directory to stdout
21191 # if CDPATH is set.
21192 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21194 sed_quote_subst='$sed_quote_subst'
21195 double_quote_subst='$double_quote_subst'
21196 delay_variable_subst='$delay_variable_subst'
21197 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21198 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21199 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21200 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21201 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21202 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21203 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21204 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21205 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21206 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21207 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21208 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21209 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21210 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21211 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21212 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21213 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21214 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21215 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21216 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21217 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21218 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21219 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21220 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21221 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21222 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21223 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21224 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21225 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21226 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21227 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21228 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21229 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21230 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21231 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21232 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21233 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21234 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21235 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21236 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21237 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21238 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21239 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21240 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21241 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21242 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21243 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21244 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21245 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"`'
21246 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21247 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21248 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21249 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21250 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21251 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21252 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21253 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21254 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21255 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21256 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21257 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21258 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21259 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21260 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21261 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21262 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21263 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21264 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21265 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21266 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21267 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21268 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21269 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21270 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21271 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21272 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21273 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21274 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21275 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21276 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21277 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21278 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21279 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21280 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21281 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21282 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21283 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21284 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21285 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21286 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
21287 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21288 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21289 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21290 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21291 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21292 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21293 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21294 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21295 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21296 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21297 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21298 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21299 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21300 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21301 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21302 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21303 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21304 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21305 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21306 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21307 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21308 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21309 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21310 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21311 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21312 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21313 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21314 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21315 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21316 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21317 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21318 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21319 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21320 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21321 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21322 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21323 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21324 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21325 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21326 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21327 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21328 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21329 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21330 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21331 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21332 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21333 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21334 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21335 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21336 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21337 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21338 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21339 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21340 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21341 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21342 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21343 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21344 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21345 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21346 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21347 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21348 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21349 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21350 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21351 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21352 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21353 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21354 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21355 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21356 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21357 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21358 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
21359 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21360 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21361 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21362 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21363 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21364 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21365 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21366 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21367 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21368 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21369 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21370 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21371 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21374 LTCFLAGS='$LTCFLAGS'
21375 compiler='$compiler_DEFAULT'
21377 # A function that is used when there is no print builtin or printf.
21378 func_fallback_echo ()
21380 eval 'cat <<_LTECHO_EOF
21385 # Quote evaled strings.
21399 deplibs_check_method \
21408 lt_cv_sys_global_symbol_pipe \
21409 lt_cv_sys_global_symbol_to_cdecl \
21410 lt_cv_sys_global_symbol_to_c_name_address \
21411 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21412 lt_prog_compiler_no_builtin_flag \
21413 lt_prog_compiler_wl \
21414 lt_prog_compiler_pic \
21415 lt_prog_compiler_static \
21416 lt_cv_prog_compiler_c_o \
21424 export_dynamic_flag_spec \
21425 whole_archive_flag_spec \
21426 compiler_needs_object \
21428 allow_undefined_flag \
21429 no_undefined_flag \
21430 hardcode_libdir_flag_spec \
21431 hardcode_libdir_flag_spec_ld \
21432 hardcode_libdir_separator \
21437 variables_saved_for_relink \
21439 library_names_spec \
21441 install_override_mode \
21445 compiler_lib_search_dirs \
21450 compiler_lib_search_path \
21454 lt_prog_compiler_no_builtin_flag_CXX \
21455 lt_prog_compiler_wl_CXX \
21456 lt_prog_compiler_pic_CXX \
21457 lt_prog_compiler_static_CXX \
21458 lt_cv_prog_compiler_c_o_CXX \
21459 export_dynamic_flag_spec_CXX \
21460 whole_archive_flag_spec_CXX \
21461 compiler_needs_object_CXX \
21463 allow_undefined_flag_CXX \
21464 no_undefined_flag_CXX \
21465 hardcode_libdir_flag_spec_CXX \
21466 hardcode_libdir_flag_spec_ld_CXX \
21467 hardcode_libdir_separator_CXX \
21468 fix_srcfile_path_CXX \
21469 exclude_expsyms_CXX \
21470 include_expsyms_CXX \
21471 file_list_spec_CXX \
21472 compiler_lib_search_dirs_CXX \
21473 predep_objects_CXX \
21474 postdep_objects_CXX \
21477 compiler_lib_search_path_CXX; do
21478 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21479 *[\\\\\\\`\\"\\\$]*)
21480 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21483 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21488 # Double-quote double-evaled strings.
21489 for var in reload_cmds \
21490 old_postinstall_cmds \
21491 old_postuninstall_cmds \
21493 extract_expsyms_cmds \
21494 old_archive_from_new_cmds \
21495 old_archive_from_expsyms_cmds \
21497 archive_expsym_cmds \
21499 module_expsym_cmds \
21500 export_symbols_cmds \
21503 postuninstall_cmds \
21505 sys_lib_search_path_spec \
21506 sys_lib_dlsearch_path_spec \
21508 old_archive_cmds_CXX \
21509 old_archive_from_new_cmds_CXX \
21510 old_archive_from_expsyms_cmds_CXX \
21512 archive_expsym_cmds_CXX \
21514 module_expsym_cmds_CXX \
21515 export_symbols_cmds_CXX \
21516 prelink_cmds_CXX; do
21517 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21518 *[\\\\\\\`\\"\\\$]*)
21519 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21522 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21527 ac_aux_dir='$ac_aux_dir'
21528 xsi_shell='$xsi_shell'
21529 lt_shell_append='$lt_shell_append'
21531 # See if we are running on zsh, and set the options which allow our
21532 # commands through without removal of \ escapes INIT.
21533 if test -n "\${ZSH_VERSION+set}" ; then
21534 setopt NO_GLOB_SUBST
21540 TIMESTAMP='$TIMESTAMP'
21551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21553 # Handling of arguments.
21554 for ac_config_target
in $ac_config_targets
21556 case $ac_config_target in
21557 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21558 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21559 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21560 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21561 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21562 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
21563 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
21564 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
21565 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
21566 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
21568 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21573 # If the user did not use the arguments to specify the items to instantiate,
21574 # then the envvar interface is used. Set only those that are not.
21575 # We use the long form for the default assignment because of an extremely
21576 # bizarre bug on SunOS 4.1.3.
21577 if $ac_need_defaults; then
21578 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21579 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21580 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21583 # Have a temporary directory for convenience. Make it in the build tree
21584 # simply because there is no reason against having it here, and in addition,
21585 # creating and moving files from /tmp can sometimes cause problems.
21586 # Hook for its removal unless debugging.
21587 # Note that there is a small window in which the directory will not be cleaned:
21588 # after its creation but before its name has been assigned to `$tmp'.
21592 trap 'exit_status=$?
21593 : "${ac_tmp:=$tmp}"
21594 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21596 trap 'as_fn_exit 1' 1 2 13 15
21598 # Create a (secure) tmp directory for tmp files.
21601 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21605 tmp
=.
/conf$$
-$RANDOM
21606 (umask 077 && mkdir
"$tmp")
21607 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21610 # Set up the scripts for CONFIG_FILES section.
21611 # No need to generate them if there are no CONFIG_FILES.
21612 # This happens for instance with `./config.status config.h'.
21613 if test -n "$CONFIG_FILES"; then
21616 ac_cr
=`echo X | tr X '\015'`
21617 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21618 # But we know of no other shell where ac_cr would be empty at this
21619 # point, so we can use a bashism as a fallback.
21620 if test "x$ac_cr" = x
; then
21621 eval ac_cr
=\$
\'\\r
\'
21623 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21624 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21627 ac_cs_awk_cr
=$ac_cr
21630 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21635 echo "cat >conf$$subs.awk <<_ACEOF" &&
21636 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21638 } >conf$$subs.sh ||
21639 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21640 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21642 for ac_last_try in false false false false false :; do
21643 . ./conf$$subs.sh ||
21644 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21646 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21647 if test $ac_delim_n = $ac_delim_num; then
21649 elif $ac_last_try; then
21650 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21652 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21655 rm -f conf$$subs.sh
21657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21658 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21662 s/^/S["/; s
/!.
*/"]=/
21672 s/\(.\{148\}\)..*/\1/
21674 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21679 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21686 s/\(.\{148\}\)..*/\1/
21688 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21692 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21697 ' <conf$$subs.awk | sed '
21702 ' >>$CONFIG_STATUS || ac_write_fail=1
21703 rm -f conf$$subs.awk
21704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21706 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21707 for (key in S) S_is_set[key] = 1
21713 nfields = split(line, field, "@
")
21715 len = length(field[1])
21716 for (i = 2; i < nfields; i++) {
21718 keylen = length(key)
21719 if (S_is_set[key]) {
21721 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21722 len += length(value) + length(field[++i])
21733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21734 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21735 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21738 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21739 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21742 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21743 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21744 # trailing colons and then remove the whole line if VPATH becomes empty
21745 # (actually we leave an empty line to preserve line numbers).
21746 if test "x
$srcdir" = x.; then
21747 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21766 fi # test -n "$CONFIG_FILES"
21768 # Set up the scripts for CONFIG_HEADERS section.
21769 # No need to generate them if there are no CONFIG_HEADERS.
21770 # This happens for instance with `./config.status Makefile'.
21771 if test -n "$CONFIG_HEADERS"; then
21772 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21776 # Transform confdefs.h into an awk script `defines.awk', embedded as
21777 # here-document in config.status, that substitutes the proper values into
21778 # config.h.in to produce config.h.
21780 # Create a delimiter string that does not exist in confdefs.h, to ease
21781 # handling of long lines.
21783 for ac_last_try in false false :; do
21784 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21785 if test -z "$ac_tt"; then
21787 elif $ac_last_try; then
21788 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21790 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21794 # For the awk script, D is an array of macro values keyed by name,
21795 # likewise P contains macro parameters if any. Preserve backslash
21796 # newline sequences.
21798 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21800 s/.\{148\}/&'"$ac_delim"'/g
21803 s/^[ ]*#[ ]*define[ ][ ]*/ /
21810 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21812 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21816 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21817 D["\
1"]=" \
3\\\\\\n
"\\/p
21819 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21824 s/.\{148\}/&'"$ac_delim"'/g
21829 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21832 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21834 ' <confdefs.h | sed '
21835 s/'"$ac_delim"'/"\\\
21836 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21839 for (key in D) D_is_set[key] = 1
21842 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21844 split(line, arg, " ")
21845 if (arg[1] == "#") {
21849 defundef
= substr
(arg
[1], 2)
21852 split(mac1
, mac2
, "(") #)
21854 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21855 if (D_is_set
[macro
]) {
21856 # Preserve the white space surrounding the "#".
21857 print prefix
"define", macro P
[macro
] D
[macro
]
21860 # Replace #undef with comments. This is necessary, for example,
21861 # in the case of _POSIX_SOURCE, which is predefined and required
21862 # on some systems where configure will not decide to define it.
21863 if (defundef
== "undef") {
21864 print
"/*", prefix defundef
, macro
, "*/"
21872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21873 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21874 fi # test -n "$CONFIG_HEADERS"
21877 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21882 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21884 case $ac_mode$ac_tag in
21886 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21887 :[FH
]-) ac_tag
=-:-;;
21888 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21905 -) ac_f
="$ac_tmp/stdin";;
21906 *) # Look for the file first in the build tree, then in the source tree
21907 # (if the path is not absolute). The absolute path cannot be DOS-style,
21908 # because $ac_f cannot contain `:'.
21912 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21914 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21916 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21917 as_fn_append ac_file_inputs
" '$ac_f'"
21920 # Let's still pretend it is `configure' which instantiates (i.e., don't
21921 # use $as_me), people would be surprised to read:
21922 # /* config.h. Generated by config.status. */
21923 configure_input
='Generated from '`
21924 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21926 if test x
"$ac_file" != x-
; then
21927 configure_input
="$ac_file. $configure_input"
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21929 $as_echo "$as_me: creating $ac_file" >&6;}
21931 # Neutralize special characters interpreted by sed in replacement strings.
21932 case $configure_input in #(
21933 *\
&* |
*\|
* |
*\\* )
21934 ac_sed_conf_input
=`$as_echo "$configure_input" |
21935 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21936 *) ac_sed_conf_input
=$configure_input;;
21940 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21941 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21946 ac_dir
=`$as_dirname -- "$ac_file" ||
21947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21948 X"$ac_file" : 'X\(//\)[^/]' \| \
21949 X"$ac_file" : 'X\(//\)$' \| \
21950 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21951 $as_echo X"$ac_file" |
21952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21956 /^X\(\/\/\)[^/].*/{
21969 as_dir
="$ac_dir"; as_fn_mkdir_p
21973 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21975 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21976 # A ".." for each directory in $ac_dir_suffix.
21977 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21978 case $ac_top_builddir_sub in
21979 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21980 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21983 ac_abs_top_builddir
=$ac_pwd
21984 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21985 # for backward compatibility:
21986 ac_top_builddir
=$ac_top_build_prefix
21989 .
) # We are building in place.
21991 ac_top_srcdir
=$ac_top_builddir_sub
21992 ac_abs_top_srcdir
=$ac_pwd ;;
21993 [\\/]* | ?
:[\\/]* ) # Absolute name.
21994 ac_srcdir
=$srcdir$ac_dir_suffix;
21995 ac_top_srcdir
=$srcdir
21996 ac_abs_top_srcdir
=$srcdir ;;
21997 *) # Relative name.
21998 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21999 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22000 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22002 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22012 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22013 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22015 ac_MKDIR_P
=$MKDIR_P
22017 [\\/$
]* | ?
:[\\/]* ) ;;
22018 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22023 # If the template does not know about datarootdir, expand it.
22024 # FIXME: This hack should be removed a few years after 2.60.
22025 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22036 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22037 *datarootdir
*) ac_datarootdir_seen
=yes;;
22038 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22040 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22043 ac_datarootdir_hack='
22044 s&@datadir@&$datadir&g
22045 s&@docdir@&$docdir&g
22046 s&@infodir@&$infodir&g
22047 s&@localedir@&$localedir&g
22048 s&@mandir@&$mandir&g
22049 s&\\\${datarootdir}&$datarootdir&g' ;;
22053 # Neutralize VPATH when `$srcdir' = `.'.
22054 # Shell code in configure.ac might set extrasub.
22055 # FIXME: do we really want to maintain this feature?
22056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22057 ac_sed_extra="$ac_vpsub
22060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22062 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22063 s|@configure_input@|
$ac_sed_conf_input|
;t t
22064 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22065 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22066 s
&@srcdir@
&$ac_srcdir&;t t
22067 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22068 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22069 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22070 s
&@builddir@
&$ac_builddir&;t t
22071 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22072 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22073 s
&@INSTALL@
&$ac_INSTALL&;t t
22074 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22075 $ac_datarootdir_hack
22077 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22078 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22080 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22081 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22082 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22083 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22085 which seems to be undefined. Please make sure it is defined" >&5
22086 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22087 which seems to be undefined. Please make sure it is defined" >&2;}
22089 rm -f "$ac_tmp/stdin"
22091 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22092 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22100 if test x"$ac_file" != x-; then
22102 $as_echo "/* $configure_input */" \
22103 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22104 } >"$ac_tmp/config.h" \
22105 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22106 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22108 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22111 mv "$ac_tmp/config.h" "$ac_file" \
22112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22115 $as_echo "/* $configure_input */" \
22116 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22117 || as_fn_error $? "could not create -" "$LINENO" 5
22119 # Compute "$ac_file"'s index
in $config_headers.
22122 for _am_header
in $config_headers :; do
22123 case $_am_header in
22124 $_am_arg |
$_am_arg:* )
22127 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22130 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22131 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22132 X"$_am_arg" : 'X\(//\)[^/]' \| \
22133 X"$_am_arg" : 'X\(//\)$' \| \
22134 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22135 $as_echo X"$_am_arg" |
22136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22140 /^X\(\/\/\)[^/].*/{
22152 s/.*/./; q'`/stamp-h
$_am_stamp_count
22155 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22156 $as_echo "$as_me: executing $ac_file commands" >&6;}
22161 case $ac_file$ac_mode in
22163 # Only add multilib support code if we just rebuilt the top-level
22165 case " $CONFIG_FILES " in
22167 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
22170 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
22171 # Older Autoconf quotes --file arguments for eval, but not when files
22172 # are listed without --file. Let's play safe and only enable the eval
22173 # if we detect the quoting.
22174 case $CONFIG_FILES in
22175 *\'*) eval set x
"$CONFIG_FILES" ;;
22176 *) set x
$CONFIG_FILES ;;
22181 # Strip MF so we end up with the name of the file.
22182 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22183 # Check whether this is an Automake generated Makefile or not.
22184 # We used to match only the files named 'Makefile.in', but
22185 # some people rename them; so instead we look at the file content.
22186 # Grep'ing the first line is not enough: some people post-process
22187 # each Makefile.in and add a new line on top of each file to say so.
22188 # Grep'ing the whole file is not good either: AIX grep has a line
22189 # limit of 2048, but all sed's we know have understand at least 4000.
22190 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22191 dirpart
=`$as_dirname -- "$mf" ||
22192 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22193 X"$mf" : 'X\(//\)[^/]' \| \
22194 X"$mf" : 'X\(//\)$' \| \
22195 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22201 /^X\(\/\/\)[^/].*/{
22217 # Extract the definition of DEPDIR, am__include, and am__quote
22218 # from the Makefile without running 'make'.
22219 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22220 test -z "$DEPDIR" && continue
22221 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22222 test -z "$am__include" && continue
22223 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22224 # Find all dependency output files, they are included files with
22225 # $(DEPDIR) in their names. We invoke sed twice because it is the
22226 # simplest approach to changing $(DEPDIR) to its actual value in the
22228 for file in `sed -n "
22229 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22230 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22231 # Make sure the directory exists.
22232 test -f "$dirpart/$file" && continue
22233 fdir
=`$as_dirname -- "$file" ||
22234 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22235 X"$file" : 'X\(//\)[^/]' \| \
22236 X"$file" : 'X\(//\)$' \| \
22237 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22238 $as_echo X"$file" |
22239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22243 /^X\(\/\/\)[^/].*/{
22256 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22257 # echo "creating $dirpart/$file"
22258 echo '# dummy' > "$dirpart/$file"
22265 # See if we are running on zsh, and set the options which allow our
22266 # commands through without removal of \ escapes.
22267 if test -n "${ZSH_VERSION+set}" ; then
22268 setopt NO_GLOB_SUBST
22271 cfgfile
="${ofile}T"
22272 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22275 cat <<_LT_EOF >> "$cfgfile"
22278 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22279 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22280 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22281 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22283 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22284 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
22285 # Written by Gordon Matzigkeit, 1996
22287 # This file is part of GNU Libtool.
22289 # GNU Libtool is free software; you can redistribute it and/or
22290 # modify it under the terms of the GNU General Public License as
22291 # published by the Free Software Foundation; either version 2 of
22292 # the License, or (at your option) any later version.
22294 # As a special exception to the GNU General Public License,
22295 # if you distribute this file as part of a program or library that
22296 # is built using GNU Libtool, you may include this file under the
22297 # same distribution terms that you use for the rest of that program.
22299 # GNU Libtool is distributed in the hope that it will be useful,
22300 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22301 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22302 # GNU General Public License for more details.
22304 # You should have received a copy of the GNU General Public License
22305 # along with GNU Libtool; see the file COPYING. If not, a copy
22306 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22307 # obtained by writing to the Free Software Foundation, Inc.,
22308 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22311 # The names of the tagged configurations supported by this script.
22312 available_tags="CXX "
22314 # ### BEGIN LIBTOOL CONFIG
22316 # Which release of libtool.m4 was used?
22317 macro_version=$macro_version
22318 macro_revision=$macro_revision
22320 # Whether or not to build shared libraries.
22321 build_libtool_libs=$enable_shared
22323 # Whether or not to build static libraries.
22324 build_old_libs=$enable_static
22326 # What type of objects to build.
22329 # Whether or not to optimize for fast installation.
22330 fast_install=$enable_fast_install
22332 # Shell to use when invoking shell scripts.
22335 # An echo program that protects backslashes.
22339 host_alias=$host_alias
22343 # The build system.
22344 build_alias=$build_alias
22348 # A sed program that does not truncate output.
22351 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22352 Xsed="\$SED -e 1s/^X//"
22354 # A grep program that handles long lines.
22360 # A literal string matcher.
22363 # A BSD- or MS-compatible name lister.
22366 # Whether we need soft or hard links.
22369 # What is the maximum length of a command?
22370 max_cmd_len=$max_cmd_len
22372 # Object file suffix (normally "o").
22375 # Executable file suffix (normally "").
22378 # whether the shell understands "unset".
22381 # turn spaces into newlines.
22384 # turn newlines into spaces.
22387 # An object symbol dumper.
22388 OBJDUMP=$lt_OBJDUMP
22390 # Method to check whether dependent libraries are shared objects.
22391 deplibs_check_method=$lt_deplibs_check_method
22393 # Command to use when deplibs_check_method == "file_magic".
22394 file_magic_cmd=$lt_file_magic_cmd
22398 AR_FLAGS=$lt_AR_FLAGS
22400 # A symbol stripping program.
22403 # Commands used to install an old-style archive.
22405 old_postinstall_cmds=$lt_old_postinstall_cmds
22406 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22408 # Whether to use a lock for old archive extraction.
22409 lock_old_archive_extraction=$lock_old_archive_extraction
22414 # LTCC compiler flags.
22415 LTCFLAGS=$lt_CFLAGS
22417 # Take the output of nm and produce a listing of raw symbols and C names.
22418 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22420 # Transform the output of nm in a proper C declaration.
22421 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22423 # Transform the output of nm in a C name address pair.
22424 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22426 # Transform the output of nm in a C name address pair when lib prefix is needed.
22427 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22429 # The name of the directory that contains temporary libtool files.
22432 # Used to examine libraries when file_magic_cmd begins with "file".
22433 MAGIC_CMD=$MAGIC_CMD
22435 # Must we lock files when doing compilation?
22436 need_locks=$lt_need_locks
22438 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22439 DSYMUTIL=$lt_DSYMUTIL
22441 # Tool to change global to local symbols on Mac OS X.
22444 # Tool to manipulate fat objects and archives on Mac OS X.
22447 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22450 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22451 OTOOL64=$lt_OTOOL64
22453 # Old archive suffix (normally "a").
22456 # Shared library suffix (normally ".so").
22457 shrext_cmds=$lt_shrext_cmds
22459 # The commands to extract the exported symbol list from a shared archive.
22460 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22462 # Variables whose values should be saved in libtool wrapper scripts and
22463 # restored at link time.
22464 variables_saved_for_relink=$lt_variables_saved_for_relink
22466 # Do we need the "lib" prefix for modules?
22467 need_lib_prefix=$need_lib_prefix
22469 # Do we need a version for libraries?
22470 need_version=$need_version
22472 # Library versioning type.
22473 version_type=$version_type
22475 # Shared library runtime path variable.
22476 runpath_var=$runpath_var
22478 # Shared library path variable.
22479 shlibpath_var=$shlibpath_var
22481 # Is shlibpath searched before the hard-coded library search path?
22482 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22484 # Format of library name prefix.
22485 libname_spec=$lt_libname_spec
22487 # List of archive names. First name is the real one, the rest are links.
22488 # The last name is the one that the linker finds with -lNAME
22489 library_names_spec=$lt_library_names_spec
22491 # The coded name of the library, if different from the real name.
22492 soname_spec=$lt_soname_spec
22494 # Permission mode override for installation of shared libraries.
22495 install_override_mode=$lt_install_override_mode
22497 # Command to use after installation of a shared archive.
22498 postinstall_cmds=$lt_postinstall_cmds
22500 # Command to use after uninstallation of a shared archive.
22501 postuninstall_cmds=$lt_postuninstall_cmds
22503 # Commands used to finish a libtool library installation in a directory.
22504 finish_cmds=$lt_finish_cmds
22506 # As "finish_cmds", except a single script fragment to be evaled but
22508 finish_eval=$lt_finish_eval
22510 # Whether we should hardcode library paths into libraries.
22511 hardcode_into_libs=$hardcode_into_libs
22513 # Compile-time system search path for libraries.
22514 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22516 # Run-time system search path for libraries.
22517 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22519 # Whether dlopen is supported.
22520 dlopen_support=$enable_dlopen
22522 # Whether dlopen of programs is supported.
22523 dlopen_self=$enable_dlopen_self
22525 # Whether dlopen of statically linked programs is supported.
22526 dlopen_self_static=$enable_dlopen_self_static
22528 # Commands to strip libraries.
22529 old_striplib=$lt_old_striplib
22530 striplib=$lt_striplib
22533 # The linker used to build libraries.
22536 # How to create reloadable object files.
22537 reload_flag=$lt_reload_flag
22538 reload_cmds=$lt_reload_cmds
22540 # Commands used to build an old-style archive.
22541 old_archive_cmds=$lt_old_archive_cmds
22543 # A language specific compiler.
22546 # Is the compiler the GNU compiler?
22549 # Compiler flag to turn off builtin functions.
22550 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22552 # How to pass a linker flag through the compiler.
22553 wl=$lt_lt_prog_compiler_wl
22555 # Additional compiler flags for building library objects.
22556 pic_flag=$lt_lt_prog_compiler_pic
22558 # Compiler flag to prevent dynamic linking.
22559 link_static_flag=$lt_lt_prog_compiler_static
22561 # Does compiler simultaneously support -c and -o options?
22562 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22564 # Whether or not to add -lc for building shared libraries.
22565 build_libtool_need_lc=$archive_cmds_need_lc
22567 # Whether or not to disallow shared libs when runtime libs are static.
22568 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22570 # Compiler flag to allow reflexive dlopens.
22571 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22573 # Compiler flag to generate shared objects directly from archives.
22574 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22576 # Whether the compiler copes with passing no objects directly.
22577 compiler_needs_object=$lt_compiler_needs_object
22579 # Create an old-style archive from a shared archive.
22580 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22582 # Create a temporary old-style archive to link instead of a shared archive.
22583 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22585 # Commands used to build a shared archive.
22586 archive_cmds=$lt_archive_cmds
22587 archive_expsym_cmds=$lt_archive_expsym_cmds
22589 # Commands used to build a loadable module if different from building
22590 # a shared archive.
22591 module_cmds=$lt_module_cmds
22592 module_expsym_cmds=$lt_module_expsym_cmds
22594 # Whether we are building with GNU ld or not.
22595 with_gnu_ld=$lt_with_gnu_ld
22597 # Flag that allows shared libraries with undefined symbols to be built.
22598 allow_undefined_flag=$lt_allow_undefined_flag
22600 # Flag that enforces no undefined symbols.
22601 no_undefined_flag=$lt_no_undefined_flag
22603 # Flag to hardcode \$libdir into a binary during linking.
22604 # This must work even if \$libdir does not exist
22605 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22607 # If ld is used when linking, flag to hardcode \$libdir into a binary
22608 # during linking. This must work even if \$libdir does not exist.
22609 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22611 # Whether we need a single "-rpath" flag with a separated argument.
22612 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22614 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22615 # DIR into the resulting binary.
22616 hardcode_direct=$hardcode_direct
22618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22619 # DIR into the resulting binary and the resulting library dependency is
22620 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22621 # library is relocated.
22622 hardcode_direct_absolute=$hardcode_direct_absolute
22624 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22625 # into the resulting binary.
22626 hardcode_minus_L=$hardcode_minus_L
22628 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22629 # into the resulting binary.
22630 hardcode_shlibpath_var=$hardcode_shlibpath_var
22632 # Set to "yes" if building a shared library automatically hardcodes DIR
22633 # into the library and all subsequent libraries and executables linked
22635 hardcode_automatic=$hardcode_automatic
22637 # Set to yes if linker adds runtime paths of dependent libraries
22638 # to runtime path list.
22639 inherit_rpath=$inherit_rpath
22641 # Whether libtool must link a program against all its dependency libraries.
22642 link_all_deplibs=$link_all_deplibs
22644 # Fix the shell variable \$srcfile for the compiler.
22645 fix_srcfile_path=$lt_fix_srcfile_path
22647 # Set to "yes" if exported symbols are required.
22648 always_export_symbols=$always_export_symbols
22650 # The commands to list exported symbols.
22651 export_symbols_cmds=$lt_export_symbols_cmds
22653 # Symbols that should not be listed in the preloaded symbols.
22654 exclude_expsyms=$lt_exclude_expsyms
22656 # Symbols that must always be exported.
22657 include_expsyms=$lt_include_expsyms
22659 # Commands necessary for linking programs (against libraries) with templates.
22660 prelink_cmds=$lt_prelink_cmds
22662 # Specify filename containing input files.
22663 file_list_spec=$lt_file_list_spec
22665 # How to hardcode a shared library path into an executable.
22666 hardcode_action=$hardcode_action
22668 # The directories searched by this compiler when creating a shared library.
22669 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22671 # Dependencies to place before and after the objects being linked to
22672 # create a shared library.
22673 predep_objects=$lt_predep_objects
22674 postdep_objects=$lt_postdep_objects
22675 predeps=$lt_predeps
22676 postdeps=$lt_postdeps
22678 # The library search path used internally by the compiler when linking
22679 # a shared library.
22680 compiler_lib_search_path=$lt_compiler_lib_search_path
22682 # ### END LIBTOOL CONFIG
22688 cat <<\_LT_EOF
>> "$cfgfile"
22689 # AIX sometimes has problems with the GCC collect2 program. For some
22690 # reason, if we set the COLLECT_NAMES environment variable, the problems
22691 # vanish in a puff of smoke.
22692 if test "X${COLLECT_NAMES+set}" != Xset
; then
22694 export COLLECT_NAMES
22701 ltmain
="$ac_aux_dir/ltmain.sh"
22704 # We use sed instead of cat because bash on DJGPP gets confused if
22705 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22706 # text mode, it properly converts lines to CR/LF. This bash problem
22707 # is reportedly fixed, but why not run on old versions too?
22708 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22709 ||
(rm -f "$cfgfile"; exit 1)
22713 cat << \_LT_EOF
>> "$cfgfile"
22715 # func_dirname file append nondir_replacement
22716 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22717 # otherwise set result to NONDIR_REPLACEMENT.
22721 */*) func_dirname_result
="${1%/*}${2}" ;;
22722 * ) func_dirname_result
="${3}" ;;
22726 # func_basename file
22729 func_basename_result
="${1##*/}"
22732 # func_dirname_and_basename file append nondir_replacement
22733 # perform func_basename and func_dirname in a single function
22735 # dirname: Compute the dirname of FILE. If nonempty,
22736 # add APPEND to the result, otherwise set result
22737 # to NONDIR_REPLACEMENT.
22738 # value returned in "$func_dirname_result"
22739 # basename: Compute filename of FILE.
22740 # value retuned in "$func_basename_result"
22741 # Implementation must be kept synchronized with func_dirname
22742 # and func_basename. For efficiency, we do not delegate to
22743 # those functions but instead duplicate the functionality here.
22744 func_dirname_and_basename
()
22747 */*) func_dirname_result
="${1%/*}${2}" ;;
22748 * ) func_dirname_result
="${3}" ;;
22750 func_basename_result
="${1##*/}"
22753 # func_stripname prefix suffix name
22754 # strip PREFIX and SUFFIX off of NAME.
22755 # PREFIX and SUFFIX must not contain globbing or regex special
22756 # characters, hashes, percent signs, but SUFFIX may contain a leading
22757 # dot (in which case that matches only a dot).
22760 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22761 # positional parameters, so assign one to ordinary parameter first.
22762 func_stripname_result
=${3}
22763 func_stripname_result
=${func_stripname_result#"${1}"}
22764 func_stripname_result
=${func_stripname_result%"${2}"}
22770 func_opt_split_opt
=${1%%=*}
22771 func_opt_split_arg
=${1#*=}
22778 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22779 *) func_lo2o_result
=${1} ;;
22783 # func_xform libobj-or-source
22786 func_xform_result
=${1%.*}.lo
22789 # func_arith arithmetic-term...
22792 func_arith_result
=$
(( $
* ))
22796 # STRING may not start with a hyphen.
22799 func_len_result
=${#1}
22804 *) # Bourne compatible functions.
22805 cat << \_LT_EOF
>> "$cfgfile"
22807 # func_dirname file append nondir_replacement
22808 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22809 # otherwise set result to NONDIR_REPLACEMENT.
22812 # Extract subdirectory from the argument.
22813 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
22814 if test "X$func_dirname_result" = "X${1}"; then
22815 func_dirname_result
="${3}"
22817 func_dirname_result
="$func_dirname_result${2}"
22821 # func_basename file
22824 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
22828 # func_stripname prefix suffix name
22829 # strip PREFIX and SUFFIX off of NAME.
22830 # PREFIX and SUFFIX must not contain globbing or regex special
22831 # characters, hashes, percent signs, but SUFFIX may contain a leading
22832 # dot (in which case that matches only a dot).
22833 # func_strip_suffix prefix name
22837 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
22838 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
22843 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22844 my_sed_long_arg
='1s/^-[^=]*=//'
22849 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
22850 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
22856 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
22859 # func_xform libobj-or-source
22862 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
22865 # func_arith arithmetic-term...
22868 func_arith_result
=`expr "$@"`
22872 # STRING may not start with a hyphen.
22875 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22881 case $lt_shell_append in
22883 cat << \_LT_EOF
>> "$cfgfile"
22885 # func_append var value
22886 # Append VALUE to the end of shell variable VAR.
22894 cat << \_LT_EOF
>> "$cfgfile"
22896 # func_append var value
22897 # Append VALUE to the end of shell variable VAR.
22908 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22909 ||
(rm -f "$cfgfile"; exit 1)
22911 mv -f "$cfgfile" "$ofile" ||
22912 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22916 cat <<_LT_EOF >> "$ofile"
22918 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22920 # The linker used to build libraries.
22923 # How to create reloadable object files.
22924 reload_flag=$lt_reload_flag_CXX
22925 reload_cmds=$lt_reload_cmds_CXX
22927 # Commands used to build an old-style archive.
22928 old_archive_cmds=$lt_old_archive_cmds_CXX
22930 # A language specific compiler.
22931 CC=$lt_compiler_CXX
22933 # Is the compiler the GNU compiler?
22936 # Compiler flag to turn off builtin functions.
22937 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22939 # How to pass a linker flag through the compiler.
22940 wl=$lt_lt_prog_compiler_wl_CXX
22942 # Additional compiler flags for building library objects.
22943 pic_flag=$lt_lt_prog_compiler_pic_CXX
22945 # Compiler flag to prevent dynamic linking.
22946 link_static_flag=$lt_lt_prog_compiler_static_CXX
22948 # Does compiler simultaneously support -c and -o options?
22949 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22951 # Whether or not to add -lc for building shared libraries.
22952 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22954 # Whether or not to disallow shared libs when runtime libs are static.
22955 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22957 # Compiler flag to allow reflexive dlopens.
22958 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22960 # Compiler flag to generate shared objects directly from archives.
22961 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22963 # Whether the compiler copes with passing no objects directly.
22964 compiler_needs_object=$lt_compiler_needs_object_CXX
22966 # Create an old-style archive from a shared archive.
22967 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22969 # Create a temporary old-style archive to link instead of a shared archive.
22970 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22972 # Commands used to build a shared archive.
22973 archive_cmds=$lt_archive_cmds_CXX
22974 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22976 # Commands used to build a loadable module if different from building
22977 # a shared archive.
22978 module_cmds=$lt_module_cmds_CXX
22979 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22981 # Whether we are building with GNU ld or not.
22982 with_gnu_ld=$lt_with_gnu_ld_CXX
22984 # Flag that allows shared libraries with undefined symbols to be built.
22985 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22987 # Flag that enforces no undefined symbols.
22988 no_undefined_flag=$lt_no_undefined_flag_CXX
22990 # Flag to hardcode \$libdir into a binary during linking.
22991 # This must work even if \$libdir does not exist
22992 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22994 # If ld is used when linking, flag to hardcode \$libdir into a binary
22995 # during linking. This must work even if \$libdir does not exist.
22996 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22998 # Whether we need a single "-rpath" flag with a separated argument.
22999 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23001 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23002 # DIR into the resulting binary.
23003 hardcode_direct=$hardcode_direct_CXX
23005 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23006 # DIR into the resulting binary and the resulting library dependency is
23007 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23008 # library is relocated.
23009 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23011 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23012 # into the resulting binary.
23013 hardcode_minus_L=$hardcode_minus_L_CXX
23015 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23016 # into the resulting binary.
23017 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23019 # Set to "yes" if building a shared library automatically hardcodes DIR
23020 # into the library and all subsequent libraries and executables linked
23022 hardcode_automatic=$hardcode_automatic_CXX
23024 # Set to yes if linker adds runtime paths of dependent libraries
23025 # to runtime path list.
23026 inherit_rpath=$inherit_rpath_CXX
23028 # Whether libtool must link a program against all its dependency libraries.
23029 link_all_deplibs=$link_all_deplibs_CXX
23031 # Fix the shell variable \$srcfile for the compiler.
23032 fix_srcfile_path=$lt_fix_srcfile_path_CXX
23034 # Set to "yes" if exported symbols are required.
23035 always_export_symbols=$always_export_symbols_CXX
23037 # The commands to list exported symbols.
23038 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23040 # Symbols that should not be listed in the preloaded symbols.
23041 exclude_expsyms=$lt_exclude_expsyms_CXX
23043 # Symbols that must always be exported.
23044 include_expsyms=$lt_include_expsyms_CXX
23046 # Commands necessary for linking programs (against libraries) with templates.
23047 prelink_cmds=$lt_prelink_cmds_CXX
23049 # Specify filename containing input files.
23050 file_list_spec=$lt_file_list_spec_CXX
23052 # How to hardcode a shared library path into an executable.
23053 hardcode_action=$hardcode_action_CXX
23055 # The directories searched by this compiler when creating a shared library.
23056 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23058 # Dependencies to place before and after the objects being linked to
23059 # create a shared library.
23060 predep_objects=$lt_predep_objects_CXX
23061 postdep_objects=$lt_postdep_objects_CXX
23062 predeps=$lt_predeps_CXX
23063 postdeps=$lt_postdeps_CXX
23065 # The library search path used internally by the compiler when linking
23066 # a shared library.
23067 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23069 # ### END LIBTOOL TAG CONFIG: CXX
23073 "libm2min/Makefile":F
) cat > vpsed$$
<< \_EOF
23074 s
!`test -f '$<' || echo '$(srcdir)/'`!!
23076 sed -f vpsed$$
$ac_file > tmp$$
23079 echo 'MULTISUBDIR =' >> $ac_file
23081 .
${multi_basedir}/config-ml.
in
23082 { ml_norecursion
=; unset ml_norecursion
;}
23084 "libm2pim/Makefile":F
) cat > vpsed$$
<< \_EOF
23085 s
!`test -f '$<' || echo '$(srcdir)/'`!!
23087 sed -f vpsed$$
$ac_file > tmp$$
23090 echo 'MULTISUBDIR =' >> $ac_file
23092 .
${multi_basedir}/config-ml.
in
23093 { ml_norecursion
=; unset ml_norecursion
;}
23095 "libm2iso/Makefile":F
) cat > vpsed$$
<< \_EOF
23096 s
!`test -f '$<' || echo '$(srcdir)/'`!!
23098 sed -f vpsed$$
$ac_file > tmp$$
23101 echo 'MULTISUBDIR =' >> $ac_file
23103 .
${multi_basedir}/config-ml.
in
23104 { ml_norecursion
=; unset ml_norecursion
;}
23106 "libm2cor/Makefile":F
) cat > vpsed$$
<< \_EOF
23107 s
!`test -f '$<' || echo '$(srcdir)/'`!!
23109 sed -f vpsed$$
$ac_file > tmp$$
23112 echo 'MULTISUBDIR =' >> $ac_file
23114 .
${multi_basedir}/config-ml.
in
23115 { ml_norecursion
=; unset ml_norecursion
;}
23117 "libm2log/Makefile":F
) cat > vpsed$$
<< \_EOF
23118 s
!`test -f '$<' || echo '$(srcdir)/'`!!
23120 sed -f vpsed$$
$ac_file > tmp$$
23123 echo 'MULTISUBDIR =' >> $ac_file
23125 .
${multi_basedir}/config-ml.
in
23126 { ml_norecursion
=; unset ml_norecursion
;}
23135 ac_clean_files
=$ac_clean_files_save
23137 test $ac_write_fail = 0 ||
23138 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23141 # configure is writing to config.log, and then calls config.status.
23142 # config.status does its own redirection, appending to config.log.
23143 # Unfortunately, on DOS this fails, as config.log is still kept open
23144 # by configure, so config.status won't be able to write to it; its
23145 # output is simply discarded. So we exec the FD to /dev/null,
23146 # effectively closing config.log, so it can be properly (re)opened and
23147 # appended to by config.status. When coming back to configure, we
23148 # need to make the FD available again.
23149 if test "$no_create" != yes; then
23151 ac_config_status_args
=
23152 test "$silent" = yes &&
23153 ac_config_status_args
="$ac_config_status_args --quiet"
23155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23158 # would make configure fail if this is the last instruction.
23159 $ac_cs_success || as_fn_exit
1
23161 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23163 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}