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
669 am__fastdepCCAS_FALSE
680 MAINTAINER_MODE_FALSE
714 INSTALL_STRIP_PROGRAM
780 program_transform_name
793 enable_option_checking
795 enable_dependency_tracking
799 enable_version_specific_runtime_libs
801 enable_maintainer_mode
808 with_gcc_major_version_only
810 ac_precious_vars
='build_alias
822 # Initialize some variables set by options.
824 ac_init_version
=false
825 ac_unrecognized_opts
=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
887 # Accept the important Cygnus configure options, so we can diagnose typos.
889 case $ac_dashdash$ac_option in
893 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
895 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
898 -build |
--build |
--buil |
--bui |
--bu)
899 ac_prev
=build_alias
;;
900 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
901 build_alias
=$ac_optarg ;;
903 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
904 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
905 ac_prev
=cache_file
;;
906 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
907 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
908 cache_file
=$ac_optarg ;;
911 cache_file
=config.cache
;;
913 -datadir |
--datadir |
--datadi |
--datad)
915 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
916 datadir
=$ac_optarg ;;
918 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
919 |
--dataroo |
--dataro |
--datar)
920 ac_prev
=datarootdir
;;
921 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
922 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
923 datarootdir
=$ac_optarg ;;
925 -disable-* |
--disable-*)
926 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
929 as_fn_error $?
"invalid feature name: $ac_useropt"
930 ac_useropt_orig
=$ac_useropt
931 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
937 ac_unrecognized_sep
=', ';;
939 eval enable_
$ac_useropt=no
;;
941 -docdir |
--docdir |
--docdi |
--doc |
--do)
943 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
946 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
948 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
951 -enable-* |
--enable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 as_fn_error $?
"invalid feature name: $ac_useropt"
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=\
$ac_optarg ;;
967 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
968 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
969 |
--exec |
--exe |
--ex)
970 ac_prev
=exec_prefix
;;
971 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
972 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
973 |
--exec=* |
--exe=* |
--ex=*)
974 exec_prefix
=$ac_optarg ;;
976 -gas |
--gas |
--ga |
--g)
977 # Obsolete; use --with-gas.
980 -help |
--help |
--hel |
--he |
-h)
982 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
983 ac_init_help
=recursive
;;
984 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
985 ac_init_help
=short
;;
987 -host |
--host |
--hos |
--ho)
988 ac_prev
=host_alias
;;
989 -host=* |
--host=* |
--hos=* |
--ho=*)
990 host_alias
=$ac_optarg ;;
992 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
994 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
996 htmldir
=$ac_optarg ;;
998 -includedir |
--includedir |
--includedi |
--included |
--include \
999 |
--includ |
--inclu |
--incl |
--inc)
1000 ac_prev
=includedir
;;
1001 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1002 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1003 includedir
=$ac_optarg ;;
1005 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1007 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1008 infodir
=$ac_optarg ;;
1010 -libdir |
--libdir |
--libdi |
--libd)
1012 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1013 libdir
=$ac_optarg ;;
1015 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1016 |
--libexe |
--libex |
--libe)
1017 ac_prev
=libexecdir
;;
1018 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1019 |
--libexe=* |
--libex=* |
--libe=*)
1020 libexecdir
=$ac_optarg ;;
1022 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1023 ac_prev
=localedir
;;
1024 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1025 localedir
=$ac_optarg ;;
1027 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1028 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1029 ac_prev
=localstatedir
;;
1030 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1031 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1032 localstatedir
=$ac_optarg ;;
1034 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1036 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1037 mandir
=$ac_optarg ;;
1039 -nfp |
--nfp |
--nf)
1040 # Obsolete; use --without-fp.
1043 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1044 |
--no-cr |
--no-c |
-n)
1047 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1048 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1051 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1052 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1053 |
--oldin |
--oldi |
--old |
--ol |
--o)
1054 ac_prev
=oldincludedir
;;
1055 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1056 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1057 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1058 oldincludedir
=$ac_optarg ;;
1060 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1062 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1063 prefix
=$ac_optarg ;;
1065 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1066 |
--program-pre |
--program-pr |
--program-p)
1067 ac_prev
=program_prefix
;;
1068 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1069 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1070 program_prefix
=$ac_optarg ;;
1072 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1073 |
--program-suf |
--program-su |
--program-s)
1074 ac_prev
=program_suffix
;;
1075 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1076 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1077 program_suffix
=$ac_optarg ;;
1079 -program-transform-name |
--program-transform-name \
1080 |
--program-transform-nam |
--program-transform-na \
1081 |
--program-transform-n |
--program-transform- \
1082 |
--program-transform |
--program-transfor \
1083 |
--program-transfo |
--program-transf \
1084 |
--program-trans |
--program-tran \
1085 |
--progr-tra |
--program-tr |
--program-t)
1086 ac_prev
=program_transform_name
;;
1087 -program-transform-name=* |
--program-transform-name=* \
1088 |
--program-transform-nam=* |
--program-transform-na=* \
1089 |
--program-transform-n=* |
--program-transform-=* \
1090 |
--program-transform=* |
--program-transfor=* \
1091 |
--program-transfo=* |
--program-transf=* \
1092 |
--program-trans=* |
--program-tran=* \
1093 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1094 program_transform_name
=$ac_optarg ;;
1096 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1098 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1099 pdfdir
=$ac_optarg ;;
1101 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1103 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1106 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1107 |
-silent |
--silent |
--silen |
--sile |
--sil)
1110 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1112 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1114 sbindir
=$ac_optarg ;;
1116 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1117 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1118 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1120 ac_prev
=sharedstatedir
;;
1121 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1122 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1123 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1125 sharedstatedir
=$ac_optarg ;;
1127 -site |
--site |
--sit)
1129 -site=* |
--site=* |
--sit=*)
1132 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1134 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1135 srcdir
=$ac_optarg ;;
1137 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1138 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1139 ac_prev
=sysconfdir
;;
1140 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1141 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1142 sysconfdir
=$ac_optarg ;;
1144 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1145 ac_prev
=target_alias
;;
1146 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1147 target_alias
=$ac_optarg ;;
1149 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1152 -version |
--version |
--versio |
--versi |
--vers |
-V)
1153 ac_init_version
=: ;;
1156 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1159 as_fn_error $?
"invalid package name: $ac_useropt"
1160 ac_useropt_orig
=$ac_useropt
1161 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1167 ac_unrecognized_sep
=', ';;
1169 eval with_
$ac_useropt=\
$ac_optarg ;;
1171 -without-* |
--without-*)
1172 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1175 as_fn_error $?
"invalid package name: $ac_useropt"
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=no
;;
1188 # Obsolete; use --with-x.
1191 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1192 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1193 ac_prev
=x_includes
;;
1194 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1195 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1196 x_includes
=$ac_optarg ;;
1198 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1199 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1200 ac_prev
=x_libraries
;;
1201 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1202 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1203 x_libraries
=$ac_optarg ;;
1205 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1206 Try \`$0 --help' for more information"
1210 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1211 # Reject names that are not valid shell variable names.
1212 case $ac_envvar in #(
1213 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1214 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1216 eval $ac_envvar=\
$ac_optarg
1217 export $ac_envvar ;;
1220 # FIXME: should be removed in autoconf 3.0.
1221 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1224 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1230 if test -n "$ac_prev"; then
1231 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1232 as_fn_error $?
"missing argument to $ac_option"
1235 if test -n "$ac_unrecognized_opts"; then
1236 case $enable_option_checking in
1238 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1239 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1243 # Check all directory arguments for consistency.
1244 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1245 datadir sysconfdir sharedstatedir localstatedir includedir \
1246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1247 libdir localedir mandir
1249 eval ac_val
=\$
$ac_var
1250 # Remove trailing slashes.
1253 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1254 eval $ac_var=\
$ac_val;;
1256 # Be sure to have absolute directory names.
1258 [\\/$
]* | ?
:[\\/]* ) continue;;
1259 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1261 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1264 # There might be people who depend on the old broken behavior: `$host'
1265 # used to hold the argument of --host etc.
1266 # FIXME: To remove some day.
1269 target
=$target_alias
1271 # FIXME: To remove some day.
1272 if test "x$host_alias" != x
; then
1273 if test "x$build_alias" = x
; then
1274 cross_compiling
=maybe
1275 elif test "x$build_alias" != "x$host_alias"; then
1281 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1283 test "$silent" = yes && exec 6>/dev
/null
1286 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1287 ac_ls_di
=`ls -di .` &&
1288 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1289 as_fn_error $?
"working directory cannot be determined"
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 as_fn_error $?
"pwd does not report name of working directory"
1294 # Find the source files, if location was not specified.
1295 if test -z "$srcdir"; then
1296 ac_srcdir_defaulted
=yes
1297 # Try the directory containing this script, then the parent directory.
1298 ac_confdir
=`$as_dirname -- "$as_myself" ||
1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300 X"$as_myself" : 'X\(//\)[^/]' \| \
1301 X"$as_myself" : 'X\(//\)$' \| \
1302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303 $as_echo X"$as_myself" |
1304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1326 ac_srcdir_defaulted
=no
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1330 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1332 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1344 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346 for ac_var
in $ac_precious_vars; do
1347 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1349 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking ...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/libgm2]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --program-prefix=PREFIX prepend PREFIX to installed program names
1419 --program-suffix=SUFFIX append SUFFIX to installed program names
1420 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1423 --build=BUILD configure
for building on BUILD
[guessed
]
1424 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1425 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1429 if test -n "$ac_init_help"; then
1430 case $ac_init_help in
1431 short | recursive
) echo "Configuration of package-unused version-unused:";;
1436 --disable-option-checking ignore unrecognized
--enable/--with options
1437 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1438 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1439 --enable-multilib build many library versions
(default
)
1440 --enable-dependency-tracking
1441 do not reject slow dependency extractors
1442 --disable-dependency-tracking
1443 speeds up one-time build
1444 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1445 --disable-silent-rules verbose build output
(undo
: "make V=0")
1446 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1447 --enable-maintainer-mode
1448 enable make rules and dependencies not useful
(and
1449 sometimes confusing
) to the casual installer
1450 --enable-maintainer-mode
1451 enable make rules and dependencies not useful
(and
1452 sometimes confusing
) to the casual installer
1453 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1454 --enable-static[=PKGS
] build static libraries
[default
=yes]
1455 --enable-fast-install[=PKGS
]
1456 optimize
for fast installation
[default
=yes]
1457 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1460 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1461 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1462 --with-cross-host=HOST Configuring with a cross compiler
1463 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1464 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1465 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1467 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1468 --with-gcc-major-version-only
1469 use only GCC major number
in filesystem paths
1471 Some influential environment variables
:
1472 CC C compiler
command
1473 CFLAGS C compiler flags
1474 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1475 nonstandard directory
<lib dir
>
1476 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1477 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1478 you have headers
in a nonstandard directory
<include dir
>
1480 CXX C
++ compiler
command
1481 CXXFLAGS C
++ compiler flags
1482 CCAS assembler compiler
command (defaults to CC
)
1483 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1484 CXXCPP C
++ preprocessor
1486 Use these variables to override the choices made by
`configure' or to help
1487 it to find libraries and programs with nonstandard names/locations.
1489 Report bugs to the package provider.
1494 if test "$ac_init_help" = "recursive"; then
1495 # If there are subdirs, report their specific --help.
1496 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1497 test -d "$ac_dir" ||
1498 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1506 # A ".." for each directory in $ac_dir_suffix.
1507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1508 case $ac_top_builddir_sub in
1509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1513 ac_abs_top_builddir=$ac_pwd
1514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1515 # for backward compatibility:
1516 ac_top_builddir=$ac_top_build_prefix
1519 .) # We are building in place.
1521 ac_top_srcdir=$ac_top_builddir_sub
1522 ac_abs_top_srcdir=$ac_pwd ;;
1523 [\\/]* | ?:[\\/]* ) # Absolute name.
1524 ac_srcdir=$srcdir$ac_dir_suffix;
1525 ac_top_srcdir=$srcdir
1526 ac_abs_top_srcdir=$srcdir ;;
1528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529 ac_top_srcdir=$ac_top_build_prefix$srcdir
1530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1534 cd "$ac_dir" || { ac_status=$?; continue; }
1535 # Check for guested configure.
1536 if test -f "$ac_srcdir/configure.gnu"; then
1538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539 elif test -f "$ac_srcdir/configure"; then
1541 $SHELL "$ac_srcdir/configure" --help=recursive
1543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545 cd "$ac_pwd" || { ac_status=$?; break; }
1549 test -n "$ac_init_help" && exit $ac_status
1550 if $ac_init_version; then
1552 package-unused configure version-unused
1553 generated by GNU Autoconf 2.69
1555 Copyright (C) 2012 Free Software Foundation, Inc.
1556 This configure script is free software; the Free Software Foundation
1557 gives unlimited permission to copy, distribute and modify it.
1562 ## ------------------------ ##
1563 ## Autoconf initialization. ##
1564 ## ------------------------ ##
1566 # ac_fn_c_try_compile LINENO
1567 # --------------------------
1568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 rm -f conftest.$ac_objext
1573 if { { ac_try="$ac_compile"
1575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1576 *) ac_try_echo
=$ac_try;;
1578 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_compile") 2>conftest.err
1582 if test -s conftest.err
; then
1583 grep -v '^ *+' conftest.err
>conftest.er1
1584 cat conftest.er1
>&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest.
$ac_objext; then :
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.
$ac_ext >&5
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status
$ac_retval
1602 } # ac_fn_c_try_compile
1604 # ac_fn_c_try_cpp LINENO
1605 # ----------------------
1606 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1610 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } > conftest.i && {
1626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1641 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1644 # the include files in INCLUDES and setting the cache variable VAR
1646 ac_fn_c_check_header_mongrel ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if eval \${$3+:} false; then :
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if eval \${$3+:} false; then :
1653 $as_echo_n "(cached) " >&6
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1657 $as_echo "$ac_res" >&6; }
1659 # Is the header compilable?
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1661 $as_echo_n "checking $2 usability... " >&6; }
1662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1667 if ac_fn_c_try_compile "$LINENO"; then :
1668 ac_header_compiler=yes
1670 ac_header_compiler=no
1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1674 $as_echo "$ac_header_compiler" >&6; }
1676 # Is the header present?
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1678 $as_echo_n "checking $2 presence... " >&6; }
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1683 if ac_fn_c_try_cpp "$LINENO"; then :
1684 ac_header_preproc=yes
1686 ac_header_preproc=no
1688 rm -f conftest.err conftest.i conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1690 $as_echo "$ac_header_preproc" >&6; }
1692 # So? What about this header?
1693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1696 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1698 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1702 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1704 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1706 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1708 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1710 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716 $as_echo_n "(cached) " >&6
1718 eval "$3=\$ac_header_compiler"
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 } # ac_fn_c_check_header_mongrel
1728 # ac_fn_c_try_run LINENO
1729 # ----------------------
1730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1731 # that executables *can* be run.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 if { { ac_try="$ac_link"
1737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1738 *) ac_try_echo
=$ac_try;;
1740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_link") 2>&5
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1746 { { case "(($ac_try" in
1747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1748 *) ac_try_echo=$ac_try;;
1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 $as_echo "$ac_try_echo"; } >&5
1752 (eval "$ac_try") 2>&5
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; }; }; then :
1758 $as_echo "$as_me: program exited with status $ac_status" >&5
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.$ac_ext >&5
1762 ac_retval=$ac_status
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1771 # -------------------------------------------------------
1772 # Tests whether HEADER exists and can be compiled using the include files in
1773 # INCLUDES, setting the cache variable VAR accordingly.
1774 ac_fn_c_check_header_compile ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1787 if ac_fn_c_try_compile "$LINENO"; then :
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 } # ac_fn_c_check_header_compile
1801 # ac_fn_cxx_try_compile LINENO
1802 # ----------------------------
1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_cxx_try_compile ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 rm -f conftest.$ac_objext
1808 if { { ac_try="$ac_compile"
1810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1811 *) ac_try_echo
=$ac_try;;
1813 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_compile") 2>conftest.err
1817 if test -s conftest.err
; then
1818 grep -v '^ *+' conftest.err
>conftest.er1
1819 cat conftest.er1
>&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } && {
1824 test -z "$ac_cxx_werror_flag" ||
1825 test ! -s conftest.err
1826 } && test -s conftest.
$ac_objext; then :
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status
$ac_retval
1837 } # ac_fn_cxx_try_compile
1839 # ac_fn_c_try_link LINENO
1840 # -----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded.
1844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1845 rm -f conftest.
$ac_objext conftest
$ac_exeext
1846 if { { ac_try
="$ac_link"
1848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>conftest.err
1855 if test -s conftest.err; then
1856 grep -v '^ *+' conftest.err >conftest.er1
1857 cat conftest.er1 >&5
1858 mv -f conftest.er1 conftest.err
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && {
1862 test -z "$ac_c_werror_flag" ||
1863 test ! -s conftest.err
1864 } && test -s conftest$ac_exeext && {
1865 test "$cross_compiling" = yes ||
1866 test -x conftest$ac_exeext
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1875 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1876 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1877 # interfere with the next link command; also delete a directory that is
1878 # left behind by Apple's compiler. We do this before executing the actions.
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1883 } # ac_fn_c_try_link
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 if test x$gcc_no_link = xyes; then
1897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1901 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1903 #define $2 innocuous_$2
1905 /* System header to define __stub macros and hopefully few prototypes,
1906 which can conflict with char $2 (); below.
1907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1908 <limits.h> exists even on freestanding compilers. */
1911 # include <limits.h>
1913 # include <assert.h>
1918 /* Override any GCC internal prototype to avoid an error.
1919 Use char because int might match the return type of a GCC
1920 builtin and then its argument prototype would still apply. */
1925 /* The GNU C library defines this for functions which it implements
1926 to always fail with ENOSYS. Some functions are actually named
1927 something starting with __ and the normal name is an alias. */
1928 #if defined __stub_$2 || defined __stub___$2
1940 if ac_fn_c_try_link "$LINENO"; then :
1945 rm -f core conftest.err conftest.$ac_objext \
1946 conftest$ac_exeext conftest.$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 } # ac_fn_c_check_func
1955 # ac_fn_cxx_try_cpp LINENO
1956 # ------------------------
1957 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_cxx_try_cpp ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if { { ac_try="$ac_cpp conftest.$ac_ext"
1963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1964 *) ac_try_echo
=$ac_try;;
1966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1970 if test -s conftest.err
; then
1971 grep -v '^ *+' conftest.err
>conftest.er1
1972 cat conftest.er1
>&5
1973 mv -f conftest.er1 conftest.err
1975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976 test $ac_status = 0; } > conftest.i
&& {
1977 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1978 test ! -s conftest.err
1982 $as_echo "$as_me: failed program was:" >&5
1983 sed 's/^/| /' conftest.
$ac_ext >&5
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 as_fn_set_status
$ac_retval
1990 } # ac_fn_cxx_try_cpp
1992 # ac_fn_cxx_try_link LINENO
1993 # -------------------------
1994 # Try to link conftest.$ac_ext, and return whether this succeeded.
1995 ac_fn_cxx_try_link
()
1997 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1998 rm -f conftest.
$ac_objext conftest
$ac_exeext
1999 if { { ac_try
="$ac_link"
2001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_link") 2>conftest.err
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } && {
2015 test -z "$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 } && test -s conftest$ac_exeext && {
2018 test "$cross_compiling" = yes ||
2019 test -x conftest$ac_exeext
2023 $as_echo "$as_me: failed program was:" >&5
2024 sed 's/^/| /' conftest.$ac_ext >&5
2028 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2029 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2030 # interfere with the next link command; also delete a directory that is
2031 # left behind by Apple's compiler. We do this before executing the actions.
2032 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034 as_fn_set_status $ac_retval
2036 } # ac_fn_cxx_try_link
2038 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2039 # -------------------------------------------
2040 # Tests whether TYPE exists after having included INCLUDES, setting cache
2041 # variable VAR accordingly.
2042 ac_fn_c_check_type ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2046 $as_echo_n "checking for $2... " >&6; }
2047 if eval \${$3+:} false; then :
2048 $as_echo_n "(cached) " >&6
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2063 if ac_fn_c_try_compile "$LINENO"; then :
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2076 if ac_fn_c_try_compile "$LINENO"; then :
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090 } # ac_fn_c_check_type
2091 cat >config.log <<_ACEOF
2092 This file contains any messages produced by compilers while
2093 running configure, to aid debugging if configure makes a mistake.
2095 It was created by package-unused $as_me version-unused, which was
2096 generated by GNU Autoconf 2.69. Invocation command line was
2108 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2109 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2110 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2111 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2112 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2114 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2115 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2117 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2118 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2119 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2120 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2121 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2122 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2123 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir=.
2132 $as_echo "PATH: $as_dir"
2148 # Keep a trace of the command line.
2149 # Strip out --no-create and --no-recursion so they do not pile up.
2150 # Strip out --silent because we don't want to record it for future runs.
2151 # Also quote any args containing shell meta-characters.
2152 # Make two passes to allow for proper duplicate-argument suppression.
2156 ac_must_keep_next=false
2162 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2164 | -silent | --silent | --silen | --sile | --sil)
2167 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2170 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2172 as_fn_append ac_configure_args1 " '$ac_arg'"
2173 if test $ac_must_keep_next = true; then
2174 ac_must_keep_next=false # Got value, back to normal.
2177 *=* | --config-cache | -C | -disable-* | --disable-* \
2178 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2179 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2180 | -with-* | --with-* | -without-* | --without-* | --x)
2181 case "$ac_configure_args0 " in
2182 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2185 -* ) ac_must_keep_next=true ;;
2188 as_fn_append ac_configure_args " '$ac_arg'"
2193 { ac_configure_args0=; unset ac_configure_args0;}
2194 { ac_configure_args1=; unset ac_configure_args1;}
2196 # When interrupted or exit'd, cleanup temporary files, and complete
2197 # config.log. We remove comments because anyway the quotes in there
2198 # would cause problems or look ugly.
2199 # WARNING: Use '\'' to represent an apostrophe within the trap.
2200 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2201 trap 'exit_status=$?
2202 # Save into config.log some information that might help in debugging.
2206 $as_echo "## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##"
2210 # The following way of writing the cache mishandles newlines in values,
2212 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2213 eval ac_val=\$$ac_var
2217 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2218 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2221 _ | IFS | as_nl) ;; #(
2222 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2223 *) { eval $ac_var=; unset $ac_var;} ;;
2228 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2242 $as_echo "## ----------------- ##
2243 ## Output variables. ##
2244 ## ----------------- ##"
2246 for ac_var in $ac_subst_vars
2248 eval ac_val=\$$ac_var
2250 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2252 $as_echo "$ac_var='\''$ac_val'\''"
2256 if test -n "$ac_subst_files"; then
2257 $as_echo "## ------------------- ##
2258 ## File substitutions. ##
2259 ## ------------------- ##"
2261 for ac_var in $ac_subst_files
2263 eval ac_val=\$$ac_var
2265 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2267 $as_echo "$ac_var='\''$ac_val'\''"
2272 if test -s confdefs.h; then
2273 $as_echo "## ----------- ##
2280 test "$ac_signal" != 0 &&
2281 $as_echo "$as_me: caught signal $ac_signal"
2282 $as_echo "$as_me: exit $exit_status"
2284 rm -f core *.core core.conftest.* &&
2285 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2288 for ac_signal in 1 2 13 15; do
2289 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2293 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2294 rm -f -r conftest* confdefs.h
2296 $as_echo "/* confdefs.h */" > confdefs.h
2298 # Predefined preprocessor variables.
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_NAME "$PACKAGE_NAME"
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2308 cat >>confdefs.h <<_ACEOF
2309 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_STRING "$PACKAGE_STRING"
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_URL "$PACKAGE_URL"
2325 # Let the site file select an alternate cache file if it wants to.
2326 # Prefer an explicitly selected file to automatically selected ones.
2329 if test -n "$CONFIG_SITE"; then
2330 # We do not want a PATH search for config.site.
2331 case $CONFIG_SITE in #((
2332 -*) ac_site_file1=./$CONFIG_SITE;;
2333 */*) ac_site_file1=$CONFIG_SITE;;
2334 *) ac_site_file1=./$CONFIG_SITE;;
2336 elif test "x$prefix" != xNONE; then
2337 ac_site_file1=$prefix/share/config.site
2338 ac_site_file2=$prefix/etc/config.site
2340 ac_site_file1=$ac_default_prefix/share/config.site
2341 ac_site_file2=$ac_default_prefix/etc/config.site
2343 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2345 test "x$ac_site_file" = xNONE && continue
2346 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2348 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2349 sed 's/^/| /' "$ac_site_file" >&5
2351 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 as_fn_error $? "failed to load site
script $ac_site_file
2354 See \
`config.log' for more details" "$LINENO" 5; }
2358 if test -r "$cache_file"; then
2359 # Some versions of bash will fail to source /dev/null (special files
2360 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2361 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2363 $as_echo "$as_me: loading cache $cache_file" >&6;}
2365 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2366 *) . "./$cache_file";;
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2371 $as_echo "$as_me: creating cache $cache_file" >&6;}
2375 # Check that the precious variables saved in the cache have kept the same
2377 ac_cache_corrupted=false
2378 for ac_var in $ac_precious_vars; do
2379 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2380 eval ac_new_set=\$ac_env_${ac_var}_set
2381 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2382 eval ac_new_val=\$ac_env_${ac_var}_value
2383 case $ac_old_set,$ac_new_set in
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2386 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2387 ac_cache_corrupted=: ;;
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2390 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2391 ac_cache_corrupted=: ;;
2394 if test "x$ac_old_val" != "x$ac_new_val"; then
2395 # differences in whitespace do not lead to failure.
2396 ac_old_val_w=`echo x
$ac_old_val`
2397 ac_new_val_w=`echo x
$ac_new_val`
2398 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2400 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2401 ac_cache_corrupted=:
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2404 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2405 eval $ac_var=\$ac_old_val
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2408 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2410 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2413 # Pass precious variables to config.status.
2414 if test "$ac_new_set" = set; then
2416 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2417 *) ac_arg=$ac_var=$ac_new_val ;;
2419 case " $ac_configure_args " in
2420 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2421 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2425 if $ac_cache_corrupted; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2429 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2430 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2432 ## -------------------- ##
2433 ## Main body of script. ##
2434 ## -------------------- ##
2437 ac_cpp='$CPP $CPPFLAGS'
2438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2447 # AC_CONFIG_MACRO_DIR([config])
2448 ac_config_headers="$ac_config_headers config.h"
2451 libtool_VERSION=18:0:0
2454 # Default to --enable-multilib
2455 # Check whether --enable-multilib was given.
2456 if test "${enable_multilib+set}" = set; then :
2457 enableval=$enable_multilib; case "$enableval" in
2458 yes) multilib=yes ;;
2460 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2467 # We may get other options which we leave undocumented:
2468 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2469 # See config-ml.in if you want the gory details.
2471 if test "$srcdir" = "."; then
2472 if test "$with_target_subdir" != "."; then
2473 multi_basedir="$srcdir/$with_multisrctop../.."
2475 multi_basedir="$srcdir/$with_multisrctop.."
2478 multi_basedir="$srcdir/.."
2482 # Even if the default multilib is not a cross compilation,
2483 # it may be that some of the other multilibs are.
2484 if test $cross_compiling = no && test $multilib = yes \
2485 && test "x${with_multisubdir}" != x ; then
2486 cross_compiling=maybe
2489 ac_config_commands="$ac_config_commands default-1"
2495 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2496 if test -f "$ac_dir/install-sh"; then
2498 ac_install_sh="$ac_aux_dir/install-sh -c"
2500 elif test -f "$ac_dir/install.sh"; then
2502 ac_install_sh="$ac_aux_dir/install.sh -c"
2504 elif test -f "$ac_dir/shtool"; then
2506 ac_install_sh="$ac_aux_dir/shtool install -c"
2510 if test -z "$ac_aux_dir"; then
2511 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2514 # These three variables are undocumented and unsupported,
2515 # and are intended to be withdrawn in a future Autoconf release.
2516 # They can cause serious problems if a builder's source tree is in a directory
2517 # whose full name contains unusual characters.
2518 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2519 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2520 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2523 # Expand $ac_aux_dir to an absolute path.
2524 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2527 ac_cpp='$CPP $CPPFLAGS'
2528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2533 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535 $as_echo_n "checking for $ac_word... " >&6; }
2536 if ${ac_cv_prog_CC+:} false; then :
2537 $as_echo_n "(cached) " >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC="$CC" # Let the user override the test.
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2549 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2562 $as_echo "$CC" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565 $as_echo "no" >&6; }
2570 if test -z "$ac_cv_prog_CC"; then
2572 # Extract the first word of "gcc", so it can be a program name with args.
2573 set dummy gcc; ac_word=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$ac_ct_CC"; then
2580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2589 ac_cv_prog_ac_ct_CC="gcc"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2600 if test -n "$ac_ct_CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2602 $as_echo "$ac_ct_CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2608 if test "x$ac_ct_CC" = x; then
2611 case $cross_compiling:$ac_tool_warned in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2615 ac_tool_warned=yes ;;
2623 if test -z "$CC"; then
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2626 set dummy ${ac_tool_prefix}cc; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if ${ac_cv_prog_CC+:} false; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC="$CC" # Let the user override the test.
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642 ac_cv_prog_CC="${ac_tool_prefix}cc"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2664 if test -z "$CC"; then
2665 # Extract the first word of "cc", so it can be a program name with args.
2666 set dummy cc; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_CC+:} false; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2684 ac_prog_rejected=yes
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test $ac_prog_rejected = yes; then
2696 # We found a bogon in the path, so make sure we never use it.
2697 set dummy $ac_cv_prog_CC
2699 if test $# != 0; then
2700 # We chose a different compiler from the bogus one.
2701 # However, it has the same basename, so the bogon will be chosen
2702 # first if we set CC to just the basename; use the full file name.
2704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 for ac_prog in cl.exe
2724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if ${ac_cv_prog_CC+:} false; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC="$CC" # Let the user override the test.
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2754 $as_echo "$CC" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2761 test -n "$CC" && break
2764 if test -z "$CC"; then
2766 for ac_prog in cl.exe
2768 # Extract the first word of "$ac_prog", so it can be a program name with args.
2769 set dummy $ac_prog; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2785 ac_cv_prog_ac_ct_CC="$ac_prog"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2805 test -n "$ac_ct_CC" && break
2808 if test "x$ac_ct_CC" = x; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815 ac_tool_warned=yes ;;
2824 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2827 See \
`config.log' for more details" "$LINENO" 5; }
2829 # Provide some information about the compiler.
2830 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2833 for ac_option in --version -v -V -qversion; do
2834 { { ac_try="$ac_compiler $ac_option >&5"
2836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2837 *) ac_try_echo
=$ac_try;;
2839 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2843 if test -s conftest.err
; then
2845 ... rest of stderr output deleted ...
2846 10q' conftest.err
>conftest.er1
2847 cat conftest.er1
>&5
2849 rm -f conftest.er1 conftest.err
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }
2854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2860 printf ("hello world\n");
2866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2867 (eval $ac_link) 2>&5
2869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2870 test $ac_status = 0; }; then :
2875 if test x
$gcc_no_link = xyes
; then
2876 # Setting cross_compile will disable run tests; it will
2877 # also disable AC_CHECK_FILE but that's generally
2878 # correct if we can't link.
2882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2893 ac_clean_files_save
=$ac_clean_files
2894 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2895 # Try to create an executable without -o first, disregard a.out.
2896 # It will help us diagnose broken compilers, and finding out an intuition
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2899 $as_echo_n "checking whether the C compiler works... " >&6; }
2900 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2902 # The possible output files:
2903 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2906 for ac_file
in $ac_files
2909 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2910 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2915 if { { ac_try
="$ac_link_default"
2917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_link_default") 2>&5
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; }; then :
2926 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2927 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2928 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2929 # so that the user can short-circuit this test for compilers unknown to
2931 for ac_file in $ac_files ''
2933 test -f "$ac_file" || continue
2935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2938 # We found the default executable, but exeext='' is most
2942 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2944 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2946 # We set ac_cv_exeext here because the later test for it is not
2947 # safe: cross compilers may not add the suffix if given an `-o'
2948 # argument, so we may need to know it at that point already.
2949 # Even if this section looks crufty: it has the advantage of
2956 test "$ac_cv_exeext" = no && ac_cv_exeext=
2961 if test -z "$ac_file"; then :
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2964 $as_echo "$as_me: failed program was:" >&5
2965 sed 's
/^
/|
/' conftest.$ac_ext >&5
2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2969 as_fn_error 77 "C compiler cannot create executables
2970 See \`config.log
' for more details" "$LINENO" 5; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2973 $as_echo "yes" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2976 $as_echo_n "checking for C compiler default output file name... " >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2978 $as_echo "$ac_file" >&6; }
2979 ac_exeext=$ac_cv_exeext
2981 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2982 ac_clean_files=$ac_clean_files_save
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2984 $as_echo_n "checking for suffix of executables... " >&6; }
2985 if { { ac_try="$ac_link"
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2991 $as_echo "$ac_try_echo"; } >&5
2992 (eval "$ac_link") 2>&5
2994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; }; then :
2996 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2997 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2998 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3000 for ac_file
in conftest.exe conftest conftest.
*; do
3001 test -f "$ac_file" ||
continue
3003 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3004 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3013 See \`config.log' for more details" "$LINENO" 5; }
3015 rm -f conftest conftest
$ac_cv_exeext
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3017 $as_echo "$ac_cv_exeext" >&6; }
3019 rm -f conftest.
$ac_ext
3020 EXEEXT
=$ac_cv_exeext
3022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3028 FILE *f = fopen ("conftest.out", "w");
3029 return ferror (f) || fclose (f) != 0;
3035 ac_clean_files
="$ac_clean_files conftest.out"
3036 # Check that the compiler produces executables we can run. If not, either
3037 # the compiler is broken, or we cross compile.
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3039 $as_echo_n "checking whether we are cross compiling... " >&6; }
3040 if test "$cross_compiling" != yes; then
3041 { { ac_try
="$ac_link"
3043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link") 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }
3052 if { ac_try='./conftest$ac_cv_exeext'
3053 { { case "(($ac_try" in
3054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3055 *) ac_try_echo
=$ac_try;;
3057 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_try") 2>&5
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; }; }; then
3065 if test "$cross_compiling" = maybe
; then
3068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 as_fn_error $?
"cannot run C compiled programs.
3071 If you meant to cross compile, use \`--host'.
3072 See \`config.log' for more details" "$LINENO" 5; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3077 $as_echo "$cross_compiling" >&6; }
3079 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3080 ac_clean_files
=$ac_clean_files_save
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3083 $as_echo_n "checking for suffix of object files... " >&6; }
3084 if ${ac_cv_objext+:} false
; then :
3085 $as_echo_n "(cached) " >&6
3087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3098 rm -f conftest.o conftest.obj
3099 if { { ac_try
="$ac_compile"
3101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_compile") 2>&5
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; then :
3110 for ac_file in conftest.o conftest.obj conftest.*; do
3111 test -f "$ac_file" || continue;
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3119 $as_echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5
3122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3125 See \
`config.log' for more details" "$LINENO" 5; }
3127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3130 $as_echo "$ac_cv_objext" >&6; }
3131 OBJEXT=$ac_cv_objext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3135 if ${ac_cv_c_compiler_gnu+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3152 if ac_fn_c_try_compile "$LINENO"; then :
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3163 if test $ac_compiler_gnu = yes; then
3168 ac_test_CFLAGS=${CFLAGS+set}
3169 ac_save_CFLAGS=$CFLAGS
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3172 if ${ac_cv_prog_cc_g+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 ac_save_c_werror_flag=$ac_c_werror_flag
3176 ac_c_werror_flag=yes
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3190 if ac_fn_c_try_compile "$LINENO"; then :
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3205 if ac_fn_c_try_compile "$LINENO"; then :
3208 ac_c_werror_flag=$ac_save_c_werror_flag
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3221 if ac_fn_c_try_compile "$LINENO"; then :
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 ac_c_werror_flag=$ac_save_c_werror_flag
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3232 $as_echo "$ac_cv_prog_cc_g" >&6; }
3233 if test "$ac_test_CFLAGS" = set; then
3234 CFLAGS=$ac_save_CFLAGS
3235 elif test $ac_cv_prog_cc_g = yes; then
3236 if test "$GCC" = yes; then
3242 if test "$GCC" = yes; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3250 if ${ac_cv_prog_cc_c89+:} false; then :
3251 $as_echo_n "(cached) " >&6
3253 ac_cv_prog_cc_c89=no
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3261 struct buf { int x; };
3262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3263 static char *e (p, i)
3269 static char *f (char * (*g) (char **, int), char **p, ...)
3274 s = g (p, va_arg (v,int));
3279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3280 function prototypes and stuff, but not '\xHH' hex character constants.
3281 These don't provoke an error unfortunately, instead are silently treated
3282 as 'x'. The following induces an error, until -std is added to get
3283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3284 array size at least. It's necessary to write '\x00'==0 to get something
3285 that's true only with -std. */
3286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3289 inside strings and character constants. */
3291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3293 int test (int i, double x);
3294 struct s1 {int (*f) (int a);};
3295 struct s2 {int (*f) (double a);};
3296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3310 CC="$ac_save_CC $ac_arg"
3311 if ac_fn_c_try_compile "$LINENO"; then :
3312 ac_cv_prog_cc_c89=$ac_arg
3314 rm -f core conftest.err conftest.$ac_objext
3315 test "x$ac_cv_prog_cc_c89" != "xno" && break
3317 rm -f conftest.$ac_ext
3322 case "x$ac_cv_prog_cc_c89" in
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3325 $as_echo "none needed" >&6; } ;;
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3328 $as_echo "unsupported" >&6; } ;;
3330 CC="$CC $ac_cv_prog_cc_c89"
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3334 if test "x$ac_cv_prog_cc_c89" != xno; then :
3339 ac_cpp='$CPP $CPPFLAGS'
3340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3350 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3351 if ${am_cv_prog_cc_c_o+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3365 # Make sure it works both with $CC and with simple cc.
3366 # Following AC_PROG_CC_C_O, we do the test twice because some
3367 # compilers refuse to overwrite an existing .o file with -o,
3368 # though they will create one.
3369 am_cv_prog_cc_c_o=yes
3371 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3372 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } \
3376 && test -f conftest2.$ac_objext; then
3379 am_cv_prog_cc_c_o=no
3383 rm -f core conftest*
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3387 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3388 if test "$am_cv_prog_cc_c_o" != yes; then
3389 # Losing compiler, so override with the script.
3390 # FIXME: It is wrong to rewrite CC.
3391 # But if we don't then we get into trouble of one sort or another.
3392 # A longer-term fix would be to have automake use am__CC in this case,
3393 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3394 CC="$am_aux_dir/compile $CC"
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3405 ac_cpp='$CPP $CPPFLAGS'
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3410 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3411 # On Suns, sometimes $CPP names a directory.
3412 if test -n "$CPP" && test -d "$CPP"; then
3415 if test -z "$CPP"; then
3416 if ${ac_cv_prog_CPP+:} false; then :
3417 $as_echo_n "(cached) " >&6
3419 # Double quotes because CPP needs to be expanded
3420 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3423 for ac_c_preproc_warn_flag in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3434 # include <limits.h>
3436 # include <assert.h>
3440 if ac_fn_c_try_cpp "$LINENO"; then :
3443 # Broken: fails on valid input.
3446 rm -f conftest.err conftest.i conftest.$ac_ext
3448 # OK, works on sane cases. Now check whether nonexistent headers
3449 # can be detected and how.
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3452 #include <ac_nonexistent.h>
3454 if ac_fn_c_try_cpp "$LINENO"; then :
3455 # Broken: success on invalid input.
3458 # Passes both tests.
3462 rm -f conftest.err conftest.i conftest.$ac_ext
3465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3466 rm -f conftest.i conftest.err conftest.
$ac_ext
3467 if $ac_preproc_ok; then :
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3480 $as_echo "$CPP" >&6; }
3482 for ac_c_preproc_warn_flag
in '' yes
3484 # Use a header file that comes with gcc, so configuring glibc
3485 # with a fresh cross-compiler works.
3486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3487 # <limits.h> exists even on freestanding compilers.
3488 # On the NeXT, cc -E runs the code through the compiler's parser,
3489 # not just through cpp. "Syntax error" is here to catch this case.
3490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3493 # include <limits.h>
3495 # include <assert.h>
3499 if ac_fn_c_try_cpp
"$LINENO"; then :
3502 # Broken: fails on valid input.
3505 rm -f conftest.err conftest.i conftest.
$ac_ext
3507 # OK, works on sane cases. Now check whether nonexistent headers
3508 # can be detected and how.
3509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3511 #include <ac_nonexistent.h>
3513 if ac_fn_c_try_cpp
"$LINENO"; then :
3514 # Broken: success on invalid input.
3517 # Passes both tests.
3521 rm -f conftest.err conftest.i conftest.
$ac_ext
3524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3525 rm -f conftest.i conftest.err conftest.
$ac_ext
3526 if $ac_preproc_ok; then :
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3532 See \`config.log' for more details" "$LINENO" 5; }
3536 ac_cpp
='$CPP $CPPFLAGS'
3537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3543 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3544 if ${ac_cv_path_GREP+:} false
; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -z "$GREP"; then
3548 ac_path_GREP_found
=false
3549 # Loop through the user's path and test for each of PROGNAME-LIST
3550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3551 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3554 test -z "$as_dir" && as_dir
=.
3555 for ac_prog
in grep ggrep
; do
3556 for ac_exec_ext
in '' $ac_executable_extensions; do
3557 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3558 as_fn_executable_p
"$ac_path_GREP" ||
continue
3559 # Check for GNU ac_path_GREP and select it if it is found.
3560 # Check for GNU $ac_path_GREP
3561 case `"$ac_path_GREP" --version 2>&1` in
3563 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3566 $as_echo_n 0123456789 >"conftest.in"
3569 cat "conftest.in" "conftest.in" >"conftest.tmp"
3570 mv "conftest.tmp" "conftest.in"
3571 cp "conftest.in" "conftest.nl"
3572 $as_echo 'GREP' >> "conftest.nl"
3573 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3574 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3575 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3576 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3577 # Best one so far, save it but keep looking for a better one
3578 ac_cv_path_GREP
="$ac_path_GREP"
3579 ac_path_GREP_max
=$ac_count
3581 # 10*(2^10) chars as input seems more than enough
3582 test $ac_count -gt 10 && break
3584 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3587 $ac_path_GREP_found && break 3
3592 if test -z "$ac_cv_path_GREP"; then
3593 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3596 ac_cv_path_GREP
=$GREP
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3601 $as_echo "$ac_cv_path_GREP" >&6; }
3602 GREP
="$ac_cv_path_GREP"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3606 $as_echo_n "checking for egrep... " >&6; }
3607 if ${ac_cv_path_EGREP+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3611 then ac_cv_path_EGREP
="$GREP -E"
3613 if test -z "$EGREP"; then
3614 ac_path_EGREP_found
=false
3615 # Loop through the user's path and test for each of PROGNAME-LIST
3616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3620 test -z "$as_dir" && as_dir
=.
3621 for ac_prog
in egrep; do
3622 for ac_exec_ext
in '' $ac_executable_extensions; do
3623 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3624 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3625 # Check for GNU ac_path_EGREP and select it if it is found.
3626 # Check for GNU $ac_path_EGREP
3627 case `"$ac_path_EGREP" --version 2>&1` in
3629 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3632 $as_echo_n 0123456789 >"conftest.in"
3635 cat "conftest.in" "conftest.in" >"conftest.tmp"
3636 mv "conftest.tmp" "conftest.in"
3637 cp "conftest.in" "conftest.nl"
3638 $as_echo 'EGREP' >> "conftest.nl"
3639 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3640 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3641 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3642 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3643 # Best one so far, save it but keep looking for a better one
3644 ac_cv_path_EGREP
="$ac_path_EGREP"
3645 ac_path_EGREP_max
=$ac_count
3647 # 10*(2^10) chars as input seems more than enough
3648 test $ac_count -gt 10 && break
3650 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3653 $ac_path_EGREP_found && break 3
3658 if test -z "$ac_cv_path_EGREP"; then
3659 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3662 ac_cv_path_EGREP
=$EGREP
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3668 $as_echo "$ac_cv_path_EGREP" >&6; }
3669 EGREP
="$ac_cv_path_EGREP"
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3673 $as_echo_n "checking for ANSI C header files... " >&6; }
3674 if ${ac_cv_header_stdc+:} false
; then :
3675 $as_echo_n "(cached) " >&6
3677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3692 if ac_fn_c_try_compile
"$LINENO"; then :
3693 ac_cv_header_stdc
=yes
3695 ac_cv_header_stdc
=no
3697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3699 if test $ac_cv_header_stdc = yes; then
3700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3707 $EGREP "memchr" >/dev
/null
2>&1; then :
3710 ac_cv_header_stdc
=no
3716 if test $ac_cv_header_stdc = yes; then
3717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3724 $EGREP "free" >/dev
/null
2>&1; then :
3727 ac_cv_header_stdc
=no
3733 if test $ac_cv_header_stdc = yes; then
3734 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3735 if test "$cross_compiling" = yes; then :
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3742 #if ((' ' & 0x0FF) == 0x020)
3743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3746 # define ISLOWER(c) \
3747 (('a' <= (c) && (c) <= 'i') \
3748 || ('j' <= (c) && (c) <= 'r') \
3749 || ('s' <= (c) && (c) <= 'z'))
3750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3758 for (i = 0; i < 256; i++)
3759 if (XOR (islower (i), ISLOWER (i))
3760 || toupper (i) != TOUPPER (i))
3765 if ac_fn_c_try_run
"$LINENO"; then :
3768 ac_cv_header_stdc
=no
3770 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3771 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3777 $as_echo "$ac_cv_header_stdc" >&6; }
3778 if test $ac_cv_header_stdc = yes; then
3780 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3784 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3785 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3786 inttypes.h stdint.h unistd.h
3788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3789 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3791 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3792 cat >>confdefs.h
<<_ACEOF
3793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3802 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3803 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3810 if test "$MINIX" = yes; then
3812 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3815 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3818 $as_echo "#define _MINIX 1" >>confdefs.h
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3824 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3825 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3826 $as_echo_n "(cached) " >&6
3828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3831 # define __EXTENSIONS__ 1
3832 $ac_includes_default
3841 if ac_fn_c_try_compile
"$LINENO"; then :
3842 ac_cv_safe_to_define___extensions__
=yes
3844 ac_cv_safe_to_define___extensions__
=no
3846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3849 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3850 test $ac_cv_safe_to_define___extensions__ = yes &&
3851 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3853 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3855 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3857 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3859 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3863 # Do not delete or change the following two lines. For why, see
3864 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3865 # Make sure we can run config.sub.
3866 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3867 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3870 $as_echo_n "checking build system type... " >&6; }
3871 if ${ac_cv_build+:} false
; then :
3872 $as_echo_n "(cached) " >&6
3874 ac_build_alias
=$build_alias
3875 test "x$ac_build_alias" = x
&&
3876 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3877 test "x$ac_build_alias" = x
&&
3878 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3879 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3880 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3884 $as_echo "$ac_cv_build" >&6; }
3885 case $ac_cv_build in
3887 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3890 ac_save_IFS
=$IFS; IFS
='-'
3896 # Remember, the first character of IFS is used to create $*,
3897 # except with old shells:
3900 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3904 $as_echo_n "checking host system type... " >&6; }
3905 if ${ac_cv_host+:} false
; then :
3906 $as_echo_n "(cached) " >&6
3908 if test "x$host_alias" = x
; then
3909 ac_cv_host
=$ac_cv_build
3911 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3912 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3917 $as_echo "$ac_cv_host" >&6; }
3920 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3923 ac_save_IFS
=$IFS; IFS
='-'
3929 # Remember, the first character of IFS is used to create $*,
3930 # except with old shells:
3933 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3937 $as_echo_n "checking target system type... " >&6; }
3938 if ${ac_cv_target+:} false
; then :
3939 $as_echo_n "(cached) " >&6
3941 if test "x$target_alias" = x
; then
3942 ac_cv_target
=$ac_cv_host
3944 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3945 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3950 $as_echo "$ac_cv_target" >&6; }
3951 case $ac_cv_target in
3953 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3955 target
=$ac_cv_target
3956 ac_save_IFS
=$IFS; IFS
='-'
3962 # Remember, the first character of IFS is used to create $*,
3963 # except with old shells:
3966 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3969 # The aliases save the names the user supplied, while $host etc.
3970 # will get canonicalized.
3971 test -n "$target_alias" &&
3972 test "$program_prefix$program_suffix$program_transform_name" = \
3974 program_prefix
=${target_alias}-
3976 target_alias
=${target_alias-$host_alias}
3979 am__api_version
='1.15'
3981 # Find a good install program. We prefer a C program (faster),
3982 # so one script is as good as another. But avoid the broken or
3983 # incompatible versions:
3984 # SysV /etc/install, /usr/sbin/install
3985 # SunOS /usr/etc/install
3986 # IRIX /sbin/install
3988 # AmigaOS /C/install, which installs bootblocks on floppy discs
3989 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3990 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3991 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3992 # OS/2's system install, which has a completely different semantic
3993 # ./install, which can be erroneously created by make from ./install.sh.
3994 # Reject install programs that cannot install multiple files.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3996 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3997 if test -z "$INSTALL"; then
3998 if ${ac_cv_path_install+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 # Account for people who put trailing slashes in PATH elements.
4007 case $as_dir/ in #((
4008 .
/ | .
// |
/[cC
]/* | \
4009 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4010 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4013 # OSF1 and SCO ODT 3.0 have their own names for install.
4014 # Don't use installbsd from OSF since it installs stuff as root
4016 for ac_prog
in ginstall scoinst
install; do
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4019 if test $ac_prog = install &&
4020 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4021 # AIX install. It has an incompatible calling convention.
4023 elif test $ac_prog = install &&
4024 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4025 # program-specific install script used by HP pwplus--don't use.
4028 rm -rf conftest.one conftest.two conftest.dir
4029 echo one
> conftest.one
4030 echo two
> conftest.two
4032 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4033 test -s conftest.one
&& test -s conftest.two
&&
4034 test -s conftest.dir
/conftest.one
&&
4035 test -s conftest.dir
/conftest.two
4037 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4050 rm -rf conftest.one conftest.two conftest.dir
4053 if test "${ac_cv_path_install+set}" = set; then
4054 INSTALL
=$ac_cv_path_install
4056 # As a last resort, use the slow shell script. Don't cache a
4057 # value for INSTALL within a source directory, because that will
4058 # break other packages using the cache if that directory is
4059 # removed, or if the value is a relative name.
4060 INSTALL
=$ac_install_sh
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4064 $as_echo "$INSTALL" >&6; }
4066 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4067 # It thinks the first close brace ends the variable substitution.
4068 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4070 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4072 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4075 $as_echo_n "checking whether build environment is sane... " >&6; }
4076 # Reject unsafe characters in $srcdir or the absolute working directory
4077 # name. Accept space and tab only in the latter.
4081 *[\\\"\
#\$\&\'\`$am_lf]*)
4082 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4085 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4086 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4089 # Do 'set' in a subshell so we don't clobber the current shell's
4090 # arguments. Must try -L first in case configure is actually a
4091 # symlink; some systems play weird games with the mod time of symlinks
4092 # (eg FreeBSD returns the mod time of the symlink's containing
4096 for am_try
in 1 2; do
4097 echo "timestamp, slept: $am_has_slept" > conftest.
file
4098 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4099 if test "$*" = "X"; then
4101 set X
`ls -t "$srcdir/configure" conftest.file`
4103 if test "$*" != "X $srcdir/configure conftest.file" \
4104 && test "$*" != "X conftest.file $srcdir/configure"; then
4106 # If neither matched, then we have a broken ls. This can happen
4107 # if, for instance, CONFIG_SHELL is bash and it inherits a
4108 # broken ls alias from the environment. This has actually
4109 # happened. Such a system could not be considered "sane".
4110 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4111 alias in your environment" "$LINENO" 5
4113 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4120 test "$2" = conftest.
file
4126 as_fn_error $?
"newly created file is older than distributed files!
4127 Check your system clock" "$LINENO" 5
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4130 $as_echo "yes" >&6; }
4131 # If we didn't sleep, we still need to ensure time stamps of config.status and
4132 # generated files are strictly newer.
4134 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4141 test "$program_prefix" != NONE
&&
4142 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4143 # Use a double $ so make ignores it.
4144 test "$program_suffix" != NONE
&&
4145 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4146 # Double any \ or $.
4147 # By default was `s,x,x', remove it if useless.
4148 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4149 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4151 if test x
"${MISSING+set}" != xset
; then
4154 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4156 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4159 # Use eval to expand $SHELL
4160 if eval "$MISSING --is-lightweight"; then
4161 am_missing_run
="$MISSING "
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4165 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4168 if test x
"${install_sh+set}" != xset
; then
4171 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4173 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4177 # Installed binaries are usually stripped using 'strip' when the user
4178 # run "make install-strip". However 'strip' might not be the right
4179 # tool to use in cross-compilation environments, therefore Automake
4180 # will honor the 'STRIP' environment variable to overrule this program.
4181 if test "$cross_compiling" != no
; then
4182 if test -n "$ac_tool_prefix"; then
4183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4184 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if ${ac_cv_prog_STRIP+:} false
; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -n "$STRIP"; then
4191 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 STRIP
=$ac_cv_prog_STRIP
4211 if test -n "$STRIP"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4213 $as_echo "$STRIP" >&6; }
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4221 if test -z "$ac_cv_prog_STRIP"; then
4223 # Extract the first word of "strip", so it can be a program name with args.
4224 set dummy strip
; ac_word
=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$ac_ct_STRIP"; then
4231 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_ac_ct_STRIP
="strip"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4251 if test -n "$ac_ct_STRIP"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4253 $as_echo "$ac_ct_STRIP" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4259 if test "x$ac_ct_STRIP" = x
; then
4262 case $cross_compiling:$ac_tool_warned in
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4266 ac_tool_warned
=yes ;;
4271 STRIP
="$ac_cv_prog_STRIP"
4275 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4278 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4279 if test -z "$MKDIR_P"; then
4280 if ${ac_cv_path_mkdir+:} false
; then :
4281 $as_echo_n "(cached) " >&6
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4284 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_prog
in mkdir gmkdir
; do
4289 for ac_exec_ext
in '' $ac_executable_extensions; do
4290 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4291 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4292 'mkdir (GNU coreutils) '* | \
4293 'mkdir (coreutils) '* | \
4294 'mkdir (fileutils) '4.1*)
4295 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4305 test -d .
/--version && rmdir .
/--version
4306 if test "${ac_cv_path_mkdir+set}" = set; then
4307 MKDIR_P
="$ac_cv_path_mkdir -p"
4309 # As a last resort, use the slow shell script. Don't cache a
4310 # value for MKDIR_P within a source directory, because that will
4311 # break other packages using the cache if that directory is
4312 # removed, or if the value is a relative name.
4313 MKDIR_P
="$ac_install_sh -d"
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4317 $as_echo "$MKDIR_P" >&6; }
4319 for ac_prog
in gawk mawk nawk
awk
4321 # Extract the first word of "$ac_prog", so it can be a program name with args.
4322 set dummy
$ac_prog; ac_word
=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_AWK+:} false
; then :
4326 $as_echo_n "(cached) " >&6
4328 if test -n "$AWK"; then
4329 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4335 test -z "$as_dir" && as_dir
=.
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_AWK
="$ac_prog"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 if test -n "$AWK"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4351 $as_echo "$AWK" >&6; }
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4358 test -n "$AWK" && break
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4362 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4364 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4365 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 cat >conftest.
make <<\_ACEOF
4371 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4373 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4374 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4376 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4378 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4382 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4384 $as_echo "yes" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4389 SET_MAKE
="MAKE=${MAKE-make}"
4392 rm -rf .tst
2>/dev
/null
4393 mkdir .tst
2>/dev
/null
4394 if test -d .tst
; then
4399 rmdir .tst
2>/dev
/null
4401 DEPDIR
="${am__leading_dot}deps"
4403 ac_config_commands
="$ac_config_commands depfiles"
4406 am_make
=${MAKE-make}
4407 cat > confinc
<< 'END'
4409 @
echo this is the am__doit target
4412 # If we don't find an include directive, just comment out the code.
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4414 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4418 # First try GNU make style include.
4419 echo "include confinc" > confmf
4420 # Ignore all kinds of additional output from 'make'.
4421 case `$am_make -s -f confmf 2> /dev/null` in #(
4422 *the\ am__doit\ target
*)
4428 # Now try BSD make style include.
4429 if test "$am__include" = "#"; then
4430 echo '.include "confinc"' > confmf
4431 case `$am_make -s -f confmf 2> /dev/null` in #(
4432 *the\ am__doit\ target
*)
4433 am__include
=.include
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4442 $as_echo "$_am_result" >&6; }
4443 rm -f confinc confmf
4445 # Check whether --enable-dependency-tracking was given.
4446 if test "${enable_dependency_tracking+set}" = set; then :
4447 enableval
=$enable_dependency_tracking;
4450 if test "x$enable_dependency_tracking" != xno
; then
4451 am_depcomp
="$ac_aux_dir/depcomp"
4455 if test "x$enable_dependency_tracking" != xno; then
4464 # Check whether --enable-silent-rules was given.
4465 if test "${enable_silent_rules+set}" = set; then :
4466 enableval
=$enable_silent_rules;
4469 case $enable_silent_rules in # (((
4470 yes) AM_DEFAULT_VERBOSITY
=0;;
4471 no
) AM_DEFAULT_VERBOSITY
=1;;
4472 *) AM_DEFAULT_VERBOSITY
=1;;
4474 am_make
=${MAKE-make}
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4476 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4477 if ${am_cv_make_support_nested_variables+:} false
; then :
4478 $as_echo_n "(cached) " >&6
4480 if $as_echo 'TRUE=$(BAR$(V))
4486 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4487 am_cv_make_support_nested_variables
=yes
4489 am_cv_make_support_nested_variables
=no
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4493 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4494 if test $am_cv_make_support_nested_variables = yes; then
4496 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4498 AM_V
=$AM_DEFAULT_VERBOSITY
4499 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4503 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4504 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4505 # is not polluted with repeated "-I."
4506 am__isrc
=' -I$(srcdir)'
4507 # test to see if srcdir already configured
4508 if test -f $srcdir/config.status
; then
4509 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4513 # test whether we have cygpath
4514 if test -z "$CYGPATH_W"; then
4515 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4516 CYGPATH_W
='cygpath -w'
4523 # Define the identity of the package.
4525 VERSION
='version-unused'
4528 # Some tools Automake needs.
4530 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4533 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4536 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4539 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4542 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4544 # For better backward compatibility. To be removed once Automake 1.9.x
4545 # dies out for good. For more background, see:
4546 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4547 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4548 mkdir_p
='$(MKDIR_P)'
4550 # We need awk for the "check" target (and possibly the TAP driver). The
4551 # system "awk" is bad on some platforms.
4552 # Always define AMTAR for backward compatibility. Yes, it's still used
4553 # in the wild :-( We should find a proper way to deprecate it ...
4557 # We'll loop over all known methods to create a tar archive until one works.
4558 _am_tools
='gnutar pax cpio none'
4560 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4566 depcc
="$CC" am_compiler_list
=
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4569 $as_echo_n "checking dependency style of $depcc... " >&6; }
4570 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4571 $as_echo_n "(cached) " >&6
4573 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4574 # We make a subdir and do the tests there. Otherwise we can end up
4575 # making bogus files that we don't know about and never remove. For
4576 # instance it was reported that on HP-UX the gcc test will end up
4577 # making a dummy file named 'D' -- because '-MD' means "put the output
4581 # Copy depcomp to subdir because otherwise we won't find it if we're
4582 # using a relative directory.
4583 cp "$am_depcomp" conftest.dir
4585 # We will build objects and dependencies in a subdirectory because
4586 # it helps to detect inapplicable dependency modes. For instance
4587 # both Tru64's cc and ICC support -MD to output dependencies as a
4588 # side effect of compilation, but ICC will put the dependencies in
4589 # the current directory while Tru64 will put them in the object
4593 am_cv_CC_dependencies_compiler_type
=none
4594 if test "$am_compiler_list" = ""; then
4595 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4598 case " $depcc " in #(
4599 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4602 for depmode
in $am_compiler_list; do
4603 # Setup a source with many dependencies, because some compilers
4604 # like to wrap large dependency lists on column 80 (with \), and
4605 # we should not choose a depcomp mode which is confused by this.
4607 # We need to recreate these files for each test, as the compiler may
4608 # overwrite some of them when testing with obscure command lines.
4609 # This happens at least with the AIX C compiler.
4611 for i
in 1 2 3 4 5 6; do
4612 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4613 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4614 # Solaris 10 /bin/sh.
4615 echo '/* dummy */' > sub
/conftst
$i.h
4617 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4619 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4620 # mode. It turns out that the SunPro C++ compiler does not properly
4621 # handle '-M -o', and we need to detect this. Also, some Intel
4622 # versions had trouble with output in subdirs.
4623 am__obj
=sub
/conftest.
${OBJEXT-o}
4624 am__minus_obj
="-o $am__obj"
4627 # This depmode causes a compiler race in universal mode.
4628 test "$am__universal" = false ||
continue
4631 # After this tag, mechanisms are not by side-effect, so they'll
4632 # only be used when explicitly requested.
4633 if test "x$enable_dependency_tracking" = xyes
; then
4639 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4640 # This compiler won't grok '-c -o', but also, the minuso test has
4641 # not run yet. These depmodes are late enough in the game, and
4642 # so weak that their functioning should not be impacted.
4643 am__obj
=conftest.
${OBJEXT-o}
4648 if depmode
=$depmode \
4649 source=sub
/conftest.c object
=$am__obj \
4650 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4651 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4652 >/dev
/null
2>conftest.err
&&
4653 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4654 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4655 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4656 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4657 # icc doesn't choke on unknown options, it will just issue warnings
4658 # or remarks (even with -Werror). So we grep stderr for any message
4659 # that says an option was ignored or not supported.
4660 # When given -MP, icc 7.0 and 7.1 complain thusly:
4661 # icc: Command line warning: ignoring option '-M'; no argument required
4662 # The diagnosis changed in icc 8.0:
4663 # icc: Command line remark: option '-MP' not supported
4664 if (grep 'ignoring option' conftest.err ||
4665 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4666 am_cv_CC_dependencies_compiler_type
=$depmode
4675 am_cv_CC_dependencies_compiler_type
=none
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4680 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4681 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4684 test "x$enable_dependency_tracking" != xno \
4685 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4687 am__fastdepCC_FALSE
='#'
4689 am__fastdepCC_TRUE
='#'
4690 am__fastdepCC_FALSE
=
4695 # POSIX will say in a future version that running "rm -f" with no argument
4696 # is OK; and we want to be able to make that assumption in our Makefile
4697 # recipes. So use an aggressive probe to check that the usage we want is
4698 # actually supported "in the wild" to an acceptable degree.
4699 # See automake bug#10828.
4700 # To make any issue more visible, cause the running configure to be aborted
4701 # by default if the 'rm' program in use doesn't match our expectations; the
4702 # user can still override this though.
4703 if rm -f && rm -fr && rm -rf; then : OK
; else
4707 Your 'rm' program seems unable to run without file operands specified
4708 on the command line, even when the '-f' option is present. This is contrary
4709 to the behaviour of most rm programs out there, and not conforming with
4710 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4712 Please tell bug-automake@gnu.org about your system, including the value
4713 of your $PATH and any error possibly output before this message. This
4714 can help us improve future automake versions.
4717 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4718 echo 'Configuration will proceed anyway, since you have set the' >&2
4719 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4723 Aborting the configuration process, to ensure you take notice of the issue.
4725 You can download and install GNU coreutils to get an 'rm' implementation
4726 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4728 If you want to complete the configuration process using your problematic
4729 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4730 to "yes", and re-run configure.
4733 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4742 # Check whether --with-cross-host was given.
4743 if test "${with_cross_host+set}" = set; then :
4744 withval
=$with_cross_host;
4748 # Checks for header files.
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4750 $as_echo_n "checking for ANSI C header files... " >&6; }
4751 if ${ac_cv_header_stdc+:} false
; then :
4752 $as_echo_n "(cached) " >&6
4754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4769 if ac_fn_c_try_compile
"$LINENO"; then :
4770 ac_cv_header_stdc
=yes
4772 ac_cv_header_stdc
=no
4774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 if test $ac_cv_header_stdc = yes; then
4777 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4784 $EGREP "memchr" >/dev
/null
2>&1; then :
4787 ac_cv_header_stdc
=no
4793 if test $ac_cv_header_stdc = yes; then
4794 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4801 $EGREP "free" >/dev
/null
2>&1; then :
4804 ac_cv_header_stdc
=no
4810 if test $ac_cv_header_stdc = yes; then
4811 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4812 if test "$cross_compiling" = yes; then :
4815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4819 #if ((' ' & 0x0FF) == 0x020)
4820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4823 # define ISLOWER(c) \
4824 (('a' <= (c) && (c) <= 'i') \
4825 || ('j' <= (c) && (c) <= 'r') \
4826 || ('s' <= (c) && (c) <= 'z'))
4827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4835 for (i = 0; i < 256; i++)
4836 if (XOR (islower (i), ISLOWER (i))
4837 || toupper (i) != TOUPPER (i))
4842 if ac_fn_c_try_run
"$LINENO"; then :
4845 ac_cv_header_stdc
=no
4847 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4848 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4854 $as_echo "$ac_cv_header_stdc" >&6; }
4855 if test $ac_cv_header_stdc = yes; then
4857 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4862 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4863 if ${ac_cv_header_sys_wait_h+:} false
; then :
4864 $as_echo_n "(cached) " >&6
4866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4868 #include <sys/types.h>
4869 #include <sys/wait.h>
4871 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4874 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4882 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4887 if ac_fn_c_try_compile
"$LINENO"; then :
4888 ac_cv_header_sys_wait_h
=yes
4890 ac_cv_header_sys_wait_h
=no
4892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4895 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4896 if test $ac_cv_header_sys_wait_h = yes; then
4898 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4902 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
4903 if test "x$ac_cv_header_math_h" = xyes
; then :
4905 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
4911 for ac_header
in limits.h stddef.h string.h
strings.h stdlib.h \
4913 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
4914 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
4916 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
4917 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
4918 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
4919 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
4921 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4922 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4923 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4924 cat >>confdefs.h
<<_ACEOF
4925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4935 case ${build_alias} in
4936 "") build_noncanonical
=${build} ;;
4937 *) build_noncanonical
=${build_alias} ;;
4940 case ${host_alias} in
4941 "") host_noncanonical
=${build_noncanonical} ;;
4942 *) host_noncanonical
=${host_alias} ;;
4947 case ${target_alias} in
4948 "") target_noncanonical
=${host_noncanonical} ;;
4949 *) target_noncanonical
=${target_alias} ;;
4955 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
4956 # have matching libraries, they should use host libraries: Makefile.tpl
4957 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
4958 # However, they still use the build modules, because the corresponding
4959 # host modules (e.g. bison) are only built for the host when bootstrap
4961 # - build_subdir is where we find build modules, and never changes.
4962 # - build_libsubdir is where we find build libraries, and can be overridden.
4964 # Prefix 'build-' so this never conflicts with target_subdir.
4965 build_subdir
="build-${build_noncanonical}"
4967 # Check whether --with-build-libsubdir was given.
4968 if test "${with_build_libsubdir+set}" = set; then :
4969 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
4971 build_libsubdir
="$build_subdir"
4974 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
4975 if ( test $srcdir = .
&& test -d gcc
) \
4976 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
4977 host_subdir
="host-${host_noncanonical}"
4982 target_subdir
=${target_noncanonical}
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4986 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4987 # Check whether --enable-version-specific-runtime-libs was given.
4988 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4989 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4990 yes) version_specific_libs
=yes ;;
4991 no
) version_specific_libs
=no
;;
4992 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
4995 version_specific_libs
=no
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
4999 $as_echo "$version_specific_libs" >&6; }
5002 # Check whether --with-slibdir was given.
5003 if test "${with_slibdir+set}" = set; then :
5004 withval
=$with_slibdir; slibdir
="$with_slibdir"
5006 if test "${version_specific_libs}" = yes; then
5007 slibdir
='$(libsubdir)'
5008 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
5009 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
5017 # Command-line options.
5018 # Very limited version of AC_MAINTAINER_MODE.
5019 # Check whether --enable-maintainer-mode was given.
5020 if test "${enable_maintainer_mode+set}" = set; then :
5021 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
5024 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
5026 maintainer_mode
=${enableval}
5035 # Calculate toolexeclibdir
5036 # Also toolexecdir, though it's only used in toolexeclibdir
5037 case ${version_specific_libs} in
5039 # Need the gcc compiler version to know where to install libraries
5040 # and header files if --enable-version-specific-runtime-libs option
5042 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
5043 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5046 if test -n "$with_cross_host" &&
5047 test x
"$with_cross_host" != x
"no"; then
5048 # Install a library built with a cross compiler in tooldir, not libdir.
5049 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
5050 toolexeclibdir
='$(toolexecdir)/lib'
5052 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
5053 toolexeclibdir
='$(libdir)'
5055 multi_os_directory
=`$CC -print-multi-os-directory`
5056 case $multi_os_directory in
5057 .
) ;; # Avoid trailing /.
5058 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5071 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5072 # Check whether --enable-maintainer-mode was given.
5073 if test "${enable_maintainer_mode+set}" = set; then :
5074 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5076 USE_MAINTAINER_MODE
=no
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5080 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5081 if test $USE_MAINTAINER_MODE = yes; then
5082 MAINTAINER_MODE_TRUE
=
5083 MAINTAINER_MODE_FALSE
='#'
5085 MAINTAINER_MODE_TRUE
='#'
5086 MAINTAINER_MODE_FALSE
=
5089 MAINT
=$MAINTAINER_MODE_TRUE
5093 # Check the compiler.
5094 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5095 # We must force CC to /not/ be precious variables; otherwise
5096 # the wrong, non-multilib-adjusted value will be used in multilibs.
5097 # As a side effect, we have to subst CFLAGS ourselves.
5102 ac_cpp
='$CPP $CPPFLAGS'
5103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5106 if test -n "$ac_tool_prefix"; then
5107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5108 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_CC+:} false
; then :
5112 $as_echo_n "(cached) " >&6
5114 if test -n "$CC"; then
5115 ac_cv_prog_CC
="$CC" # Let the user override the test.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 if test -n "$CC"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5137 $as_echo "$CC" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5145 if test -z "$ac_cv_prog_CC"; then
5147 # Extract the first word of "gcc", so it can be a program name with args.
5148 set dummy gcc
; ac_word
=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5152 $as_echo_n "(cached) " >&6
5154 if test -n "$ac_ct_CC"; then
5155 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir
=.
5162 for ac_exec_ext
in '' $ac_executable_extensions; do
5163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_ac_ct_CC
="gcc"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5175 if test -n "$ac_ct_CC"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5177 $as_echo "$ac_ct_CC" >&6; }
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5183 if test "x$ac_ct_CC" = x
; then
5186 case $cross_compiling:$ac_tool_warned in
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5190 ac_tool_warned
=yes ;;
5198 if test -z "$CC"; then
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5201 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_CC+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5207 if test -n "$CC"; then
5208 ac_cv_prog_CC
="$CC" # Let the user override the test.
5210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir
=.
5215 for ac_exec_ext
in '' $ac_executable_extensions; do
5216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 if test -n "$CC"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5230 $as_echo "$CC" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5239 if test -z "$CC"; then
5240 # Extract the first word of "cc", so it can be a program name with args.
5241 set dummy cc
; ac_word
=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_CC+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 if test -n "$CC"; then
5248 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5259 ac_prog_rejected
=yes
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 if test $ac_prog_rejected = yes; then
5271 # We found a bogon in the path, so make sure we never use it.
5272 set dummy
$ac_cv_prog_CC
5274 if test $# != 0; then
5275 # We chose a different compiler from the bogus one.
5276 # However, it has the same basename, so the bogon will be chosen
5277 # first if we set CC to just the basename; use the full file name.
5279 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5285 if test -n "$CC"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5287 $as_echo "$CC" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5295 if test -z "$CC"; then
5296 if test -n "$ac_tool_prefix"; then
5297 for ac_prog
in cl.exe
5299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5300 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_CC+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$CC"; then
5307 ac_cv_prog_CC
="$CC" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 if test -n "$CC"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5329 $as_echo "$CC" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5336 test -n "$CC" && break
5339 if test -z "$CC"; then
5341 for ac_prog
in cl.exe
5343 # Extract the first word of "$ac_prog", so it can be a program name with args.
5344 set dummy
$ac_prog; ac_word
=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5348 $as_echo_n "(cached) " >&6
5350 if test -n "$ac_ct_CC"; then
5351 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir
=.
5358 for ac_exec_ext
in '' $ac_executable_extensions; do
5359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_ac_ct_CC
="$ac_prog"
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5371 if test -n "$ac_ct_CC"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5373 $as_echo "$ac_ct_CC" >&6; }
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5380 test -n "$ac_ct_CC" && break
5383 if test "x$ac_ct_CC" = x
; then
5386 case $cross_compiling:$ac_tool_warned in
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5390 ac_tool_warned
=yes ;;
5399 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5401 as_fn_error $?
"no acceptable C compiler found in \$PATH
5402 See \`config.log' for more details" "$LINENO" 5; }
5404 # Provide some information about the compiler.
5405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5408 for ac_option
in --version -v -V -qversion; do
5409 { { ac_try
="$ac_compiler $ac_option >&5"
5411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5412 *) ac_try_echo=$ac_try;;
5414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5415 $as_echo "$ac_try_echo"; } >&5
5416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5418 if test -s conftest.err; then
5420 ... rest of stderr output deleted ...
5421 10q' conftest.err >conftest.er1
5422 cat conftest.er1 >&5
5424 rm -f conftest.er1 conftest.err
5425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5426 test $ac_status = 0; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5430 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5431 if ${ac_cv_c_compiler_gnu+:} false; then :
5432 $as_echo_n "(cached) " >&6
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5448 if ac_fn_c_try_compile "$LINENO"; then :
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5458 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5459 if test $ac_compiler_gnu = yes; then
5464 ac_test_CFLAGS=${CFLAGS+set}
5465 ac_save_CFLAGS=$CFLAGS
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5467 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5468 if ${ac_cv_prog_cc_g+:} false; then :
5469 $as_echo_n "(cached) " >&6
5471 ac_save_c_werror_flag=$ac_c_werror_flag
5472 ac_c_werror_flag=yes
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5486 if ac_fn_c_try_compile "$LINENO"; then :
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5501 if ac_fn_c_try_compile "$LINENO"; then :
5504 ac_c_werror_flag=$ac_save_c_werror_flag
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5517 if ac_fn_c_try_compile "$LINENO"; then :
5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5525 ac_c_werror_flag=$ac_save_c_werror_flag
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5528 $as_echo "$ac_cv_prog_cc_g" >&6; }
5529 if test "$ac_test_CFLAGS" = set; then
5530 CFLAGS=$ac_save_CFLAGS
5531 elif test $ac_cv_prog_cc_g = yes; then
5532 if test "$GCC" = yes; then
5538 if test "$GCC" = yes; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5545 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5546 if ${ac_cv_prog_cc_c89+:} false; then :
5547 $as_echo_n "(cached) " >&6
5549 ac_cv_prog_cc_c89=no
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5556 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5557 struct buf { int x; };
5558 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5559 static char *e (p, i)
5565 static char *f (char * (*g) (char **, int), char **p, ...)
5570 s = g (p, va_arg (v,int));
5575 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5576 function prototypes and stuff, but not '\xHH' hex character constants.
5577 These don't provoke an error unfortunately, instead are silently treated
5578 as 'x'. The following induces an error, until -std is added to get
5579 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5580 array size at least. It's necessary to write '\x00'==0 to get something
5581 that's true only with -std. */
5582 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5584 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5585 inside strings and character constants. */
5587 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5589 int test (int i, double x);
5590 struct s1 {int (*f) (int a);};
5591 struct s2 {int (*f) (double a);};
5592 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5598 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5604 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5606 CC="$ac_save_CC $ac_arg"
5607 if ac_fn_c_try_compile "$LINENO"; then :
5608 ac_cv_prog_cc_c89=$ac_arg
5610 rm -f core conftest.err conftest.$ac_objext
5611 test "x$ac_cv_prog_cc_c89" != "xno" && break
5613 rm -f conftest.$ac_ext
5618 case "x$ac_cv_prog_cc_c89" in
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5621 $as_echo "none needed" >&6; } ;;
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5624 $as_echo "unsupported" >&6; } ;;
5626 CC="$CC $ac_cv_prog_cc_c89"
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5628 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5630 if test "x$ac_cv_prog_cc_c89" != xno; then :
5635 ac_cpp='$CPP $CPPFLAGS'
5636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641 ac_cpp='$CPP $CPPFLAGS'
5642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5646 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5647 if ${am_cv_prog_cc_c_o+:} false; then :
5648 $as_echo_n "(cached) " >&6
5650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5661 # Make sure it works both with $CC and with simple cc.
5662 # Following AC_PROG_CC_C_O, we do the test twice because some
5663 # compilers refuse to overwrite an existing .o file with -o,
5664 # though they will create one.
5665 am_cv_prog_cc_c_o=yes
5667 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5668 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } \
5672 && test -f conftest2.$ac_objext; then
5675 am_cv_prog_cc_c_o=no
5679 rm -f core conftest*
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5683 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5684 if test "$am_cv_prog_cc_c_o" != yes; then
5685 # Losing compiler, so override with the script.
5686 # FIXME: It is wrong to rewrite CC.
5687 # But if we don't then we get into trouble of one sort or another.
5688 # A longer-term fix would be to have automake use am__CC in this case,
5689 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5690 CC="$am_aux_dir/compile $CC"
5693 ac_cpp='$CPP $CPPFLAGS'
5694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5700 ac_cpp='$CXXCPP $CPPFLAGS'
5701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5704 if test -z "$CXX"; then
5705 if test -n "$CCC"; then
5708 if test -n "$ac_tool_prefix"; then
5709 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5712 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_CXX+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$CXX"; then
5719 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 if test -n "$CXX"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5741 $as_echo "$CXX" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$CXX" && break
5751 if test -z "$CXX"; then
5753 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5755 # Extract the first word of "$ac_prog", so it can be a program name with args.
5756 set dummy $ac_prog; ac_word=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5760 $as_echo_n "(cached) " >&6
5762 if test -n "$ac_ct_CXX"; then
5763 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir=.
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_prog_ac_ct_CXX="$ac_prog"
5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5783 if test -n "$ac_ct_CXX"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5785 $as_echo "$ac_ct_CXX" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5792 test -n "$ac_ct_CXX" && break
5795 if test "x$ac_ct_CXX" = x; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5810 # Provide some information about the compiler.
5811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5814 for ac_option in --version -v -V -qversion; do
5815 { { ac_try="$ac_compiler $ac_option >&5"
5817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5818 *) ac_try_echo
=$ac_try;;
5820 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5821 $as_echo "$ac_try_echo"; } >&5
5822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5824 if test -s conftest.err
; then
5826 ... rest of stderr output deleted ...
5827 10q' conftest.err
>conftest.er1
5828 cat conftest.er1
>&5
5830 rm -f conftest.er1 conftest.err
5831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5832 test $ac_status = 0; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5836 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5837 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5854 if ac_fn_cxx_try_compile
"$LINENO"; then :
5859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5860 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5864 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5865 if test $ac_compiler_gnu = yes; then
5870 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5871 ac_save_CXXFLAGS
=$CXXFLAGS
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5873 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5874 if ${ac_cv_prog_cxx_g+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5877 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5878 ac_cxx_werror_flag
=yes
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5892 if ac_fn_cxx_try_compile
"$LINENO"; then :
5893 ac_cv_prog_cxx_g
=yes
5896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5907 if ac_fn_cxx_try_compile
"$LINENO"; then :
5910 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5923 if ac_fn_cxx_try_compile
"$LINENO"; then :
5924 ac_cv_prog_cxx_g
=yes
5926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5931 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5934 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5935 if test "$ac_test_CXXFLAGS" = set; then
5936 CXXFLAGS
=$ac_save_CXXFLAGS
5937 elif test $ac_cv_prog_cxx_g = yes; then
5938 if test "$GXX" = yes; then
5944 if test "$GXX" = yes; then
5951 ac_cpp
='$CPP $CPPFLAGS'
5952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5956 depcc
="$CXX" am_compiler_list
=
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5959 $as_echo_n "checking dependency style of $depcc... " >&6; }
5960 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5961 $as_echo_n "(cached) " >&6
5963 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5964 # We make a subdir and do the tests there. Otherwise we can end up
5965 # making bogus files that we don't know about and never remove. For
5966 # instance it was reported that on HP-UX the gcc test will end up
5967 # making a dummy file named 'D' -- because '-MD' means "put the output
5971 # Copy depcomp to subdir because otherwise we won't find it if we're
5972 # using a relative directory.
5973 cp "$am_depcomp" conftest.dir
5975 # We will build objects and dependencies in a subdirectory because
5976 # it helps to detect inapplicable dependency modes. For instance
5977 # both Tru64's cc and ICC support -MD to output dependencies as a
5978 # side effect of compilation, but ICC will put the dependencies in
5979 # the current directory while Tru64 will put them in the object
5983 am_cv_CXX_dependencies_compiler_type
=none
5984 if test "$am_compiler_list" = ""; then
5985 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5988 case " $depcc " in #(
5989 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5992 for depmode
in $am_compiler_list; do
5993 # Setup a source with many dependencies, because some compilers
5994 # like to wrap large dependency lists on column 80 (with \), and
5995 # we should not choose a depcomp mode which is confused by this.
5997 # We need to recreate these files for each test, as the compiler may
5998 # overwrite some of them when testing with obscure command lines.
5999 # This happens at least with the AIX C compiler.
6001 for i
in 1 2 3 4 5 6; do
6002 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6003 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6004 # Solaris 10 /bin/sh.
6005 echo '/* dummy */' > sub
/conftst
$i.h
6007 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6009 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6010 # mode. It turns out that the SunPro C++ compiler does not properly
6011 # handle '-M -o', and we need to detect this. Also, some Intel
6012 # versions had trouble with output in subdirs.
6013 am__obj
=sub
/conftest.
${OBJEXT-o}
6014 am__minus_obj
="-o $am__obj"
6017 # This depmode causes a compiler race in universal mode.
6018 test "$am__universal" = false ||
continue
6021 # After this tag, mechanisms are not by side-effect, so they'll
6022 # only be used when explicitly requested.
6023 if test "x$enable_dependency_tracking" = xyes
; then
6029 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6030 # This compiler won't grok '-c -o', but also, the minuso test has
6031 # not run yet. These depmodes are late enough in the game, and
6032 # so weak that their functioning should not be impacted.
6033 am__obj
=conftest.
${OBJEXT-o}
6038 if depmode
=$depmode \
6039 source=sub
/conftest.c object
=$am__obj \
6040 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6041 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6042 >/dev
/null
2>conftest.err
&&
6043 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6044 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6045 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6046 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6047 # icc doesn't choke on unknown options, it will just issue warnings
6048 # or remarks (even with -Werror). So we grep stderr for any message
6049 # that says an option was ignored or not supported.
6050 # When given -MP, icc 7.0 and 7.1 complain thusly:
6051 # icc: Command line warning: ignoring option '-M'; no argument required
6052 # The diagnosis changed in icc 8.0:
6053 # icc: Command line remark: option '-MP' not supported
6054 if (grep 'ignoring option' conftest.err ||
6055 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6056 am_cv_CXX_dependencies_compiler_type
=$depmode
6065 am_cv_CXX_dependencies_compiler_type
=none
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6070 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6071 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6074 test "x$enable_dependency_tracking" != xno \
6075 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6076 am__fastdepCXX_TRUE
=
6077 am__fastdepCXX_FALSE
='#'
6079 am__fastdepCXX_TRUE
='#'
6080 am__fastdepCXX_FALSE
=
6084 # By default we simply use the C compiler to build assembly code.
6086 test "${CCAS+set}" = set || CCAS
=$CC
6087 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6091 depcc
="$CCAS" am_compiler_list
=
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6094 $as_echo_n "checking dependency style of $depcc... " >&6; }
6095 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6096 $as_echo_n "(cached) " >&6
6098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6099 # We make a subdir and do the tests there. Otherwise we can end up
6100 # making bogus files that we don't know about and never remove. For
6101 # instance it was reported that on HP-UX the gcc test will end up
6102 # making a dummy file named 'D' -- because '-MD' means "put the output
6106 # Copy depcomp to subdir because otherwise we won't find it if we're
6107 # using a relative directory.
6108 cp "$am_depcomp" conftest.dir
6110 # We will build objects and dependencies in a subdirectory because
6111 # it helps to detect inapplicable dependency modes. For instance
6112 # both Tru64's cc and ICC support -MD to output dependencies as a
6113 # side effect of compilation, but ICC will put the dependencies in
6114 # the current directory while Tru64 will put them in the object
6118 am_cv_CCAS_dependencies_compiler_type
=none
6119 if test "$am_compiler_list" = ""; then
6120 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6125 for depmode
in $am_compiler_list; do
6126 # Setup a source with many dependencies, because some compilers
6127 # like to wrap large dependency lists on column 80 (with \), and
6128 # we should not choose a depcomp mode which is confused by this.
6130 # We need to recreate these files for each test, as the compiler may
6131 # overwrite some of them when testing with obscure command lines.
6132 # This happens at least with the AIX C compiler.
6134 for i
in 1 2 3 4 5 6; do
6135 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6136 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6137 # Solaris 10 /bin/sh.
6138 echo '/* dummy */' > sub
/conftst
$i.h
6140 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6142 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6143 # mode. It turns out that the SunPro C++ compiler does not properly
6144 # handle '-M -o', and we need to detect this. Also, some Intel
6145 # versions had trouble with output in subdirs.
6146 am__obj
=sub
/conftest.
${OBJEXT-o}
6147 am__minus_obj
="-o $am__obj"
6150 # This depmode causes a compiler race in universal mode.
6151 test "$am__universal" = false ||
continue
6154 # After this tag, mechanisms are not by side-effect, so they'll
6155 # only be used when explicitly requested.
6156 if test "x$enable_dependency_tracking" = xyes
; then
6162 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6163 # This compiler won't grok '-c -o', but also, the minuso test has
6164 # not run yet. These depmodes are late enough in the game, and
6165 # so weak that their functioning should not be impacted.
6166 am__obj
=conftest.
${OBJEXT-o}
6171 if depmode
=$depmode \
6172 source=sub
/conftest.c object
=$am__obj \
6173 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6174 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6175 >/dev
/null
2>conftest.err
&&
6176 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6177 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6178 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6179 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6180 # icc doesn't choke on unknown options, it will just issue warnings
6181 # or remarks (even with -Werror). So we grep stderr for any message
6182 # that says an option was ignored or not supported.
6183 # When given -MP, icc 7.0 and 7.1 complain thusly:
6184 # icc: Command line warning: ignoring option '-M'; no argument required
6185 # The diagnosis changed in icc 8.0:
6186 # icc: Command line remark: option '-MP' not supported
6187 if (grep 'ignoring option' conftest.err ||
6188 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6189 am_cv_CCAS_dependencies_compiler_type
=$depmode
6198 am_cv_CCAS_dependencies_compiler_type
=none
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6203 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6204 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6207 test "x$enable_dependency_tracking" != xno \
6208 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6209 am__fastdepCCAS_TRUE
=
6210 am__fastdepCCAS_FALSE
='#'
6212 am__fastdepCCAS_TRUE
='#'
6213 am__fastdepCCAS_FALSE
=
6221 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
6222 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
6223 # in both places for now and restore CFLAGS at the end of config.
6224 save_CFLAGS
="$CFLAGS"
6226 # Find other programs we need.
6227 if test -n "$ac_tool_prefix"; then
6228 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6229 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if ${ac_cv_prog_AR+:} false
; then :
6233 $as_echo_n "(cached) " >&6
6235 if test -n "$AR"; then
6236 ac_cv_prog_AR
="$AR" # Let the user override the test.
6238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6242 test -z "$as_dir" && as_dir
=.
6243 for ac_exec_ext
in '' $ac_executable_extensions; do
6244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 if test -n "$AR"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6258 $as_echo "$AR" >&6; }
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6266 if test -z "$ac_cv_prog_AR"; then
6268 # Extract the first word of "ar", so it can be a program name with args.
6269 set dummy
ar; ac_word
=$2
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271 $as_echo_n "checking for $ac_word... " >&6; }
6272 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6273 $as_echo_n "(cached) " >&6
6275 if test -n "$ac_ct_AR"; then
6276 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6282 test -z "$as_dir" && as_dir
=.
6283 for ac_exec_ext
in '' $ac_executable_extensions; do
6284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6285 ac_cv_prog_ac_ct_AR
="ar"
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6296 if test -n "$ac_ct_AR"; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6298 $as_echo "$ac_ct_AR" >&6; }
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301 $as_echo "no" >&6; }
6304 if test "x$ac_ct_AR" = x
; then
6307 case $cross_compiling:$ac_tool_warned in
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6311 ac_tool_warned
=yes ;;
6319 if test -n "$ac_tool_prefix"; then
6320 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6321 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_NM+:} false
; then :
6325 $as_echo_n "(cached) " >&6
6327 if test -n "$NM"; then
6328 ac_cv_prog_NM
="$NM" # Let the user override the test.
6330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6334 test -z "$as_dir" && as_dir
=.
6335 for ac_exec_ext
in '' $ac_executable_extensions; do
6336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 if test -n "$NM"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
6350 $as_echo "$NM" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6358 if test -z "$ac_cv_prog_NM"; then
6360 # Extract the first word of "nm", so it can be a program name with args.
6361 set dummy nm
; ac_word
=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
6365 $as_echo_n "(cached) " >&6
6367 if test -n "$ac_ct_NM"; then
6368 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6374 test -z "$as_dir" && as_dir
=.
6375 for ac_exec_ext
in '' $ac_executable_extensions; do
6376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6377 ac_cv_prog_ac_ct_NM
="nm"
6378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6388 if test -n "$ac_ct_NM"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
6390 $as_echo "$ac_ct_NM" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6396 if test "x$ac_ct_NM" = x
; then
6399 case $cross_compiling:$ac_tool_warned in
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6403 ac_tool_warned
=yes ;;
6411 if test -n "$ac_tool_prefix"; then
6412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6413 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_RANLIB+:} false
; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$RANLIB"; then
6420 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir
=.
6427 for ac_exec_ext
in '' $ac_executable_extensions; do
6428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6429 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 RANLIB
=$ac_cv_prog_RANLIB
6440 if test -n "$RANLIB"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6442 $as_echo "$RANLIB" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6450 if test -z "$ac_cv_prog_RANLIB"; then
6451 ac_ct_RANLIB
=$RANLIB
6452 # Extract the first word of "ranlib", so it can be a program name with args.
6453 set dummy ranlib
; ac_word
=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$ac_ct_RANLIB"; then
6460 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir
=.
6467 for ac_exec_ext
in '' $ac_executable_extensions; do
6468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6480 if test -n "$ac_ct_RANLIB"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6482 $as_echo "$ac_ct_RANLIB" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6488 if test "x$ac_ct_RANLIB" = x
; then
6489 RANLIB
="ranlib-not-found-in-path-error"
6491 case $cross_compiling:$ac_tool_warned in
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495 ac_tool_warned
=yes ;;
6497 RANLIB
=$ac_ct_RANLIB
6500 RANLIB
="$ac_cv_prog_RANLIB"
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6504 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6506 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6507 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6508 $as_echo_n "(cached) " >&6
6510 cat >conftest.
make <<\_ACEOF
6513 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6515 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6516 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6518 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6520 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6524 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6526 $as_echo "yes" >&6; }
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6531 SET_MAKE
="MAKE=${MAKE-make}"
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6543 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6548 macro_version
='2.2.7a'
6549 macro_revision
='1.3134'
6563 ltmain
="$ac_aux_dir/ltmain.sh"
6565 # Backslashify metacharacters that are still active within
6566 # double-quoted strings.
6567 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6569 # Same as above, but do not quote variable references.
6570 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6572 # Sed substitution to delay expansion of an escaped shell variable in a
6573 # double_quote_subst'ed string.
6574 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6576 # Sed substitution to delay expansion of an escaped single quote.
6577 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6579 # Sed substitution to avoid accidental globbing in evaled expressions
6580 no_glob_subst
='s/\*/\\\*/g'
6582 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6583 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6584 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6587 $as_echo_n "checking how to print strings... " >&6; }
6588 # Test print first, because it will be a builtin if present.
6589 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6590 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6592 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6595 # Use this function as a fallback that always works.
6596 func_fallback_echo ()
6598 eval 'cat <<_LTECHO_EOF
6602 ECHO='func_fallback_echo
'
6605 # func_echo_all arg...
6606 # Invoke $ECHO with all args, space-separated.
6613 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6614 $as_echo "printf" >&6; } ;;
6615 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6616 $as_echo "print -r" >&6; } ;;
6617 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6618 $as_echo "cat" >&6; } ;;
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6635 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6636 if ${ac_cv_path_SED+:} false; then :
6637 $as_echo_n "(cached) " >&6
6639 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6640 for ac_i in 1 2 3 4 5 6 7; do
6641 ac_script="$ac_script$as_nl$ac_script"
6643 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6644 { ac_script=; unset ac_script;}
6645 if test -z "$SED"; then
6646 ac_path_SED_found=false
6647 # Loop through the user's path and
test for each of PROGNAME-LIST
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir
=.
6653 for ac_prog
in sed gsed
; do
6654 for ac_exec_ext
in '' $ac_executable_extensions; do
6655 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6656 as_fn_executable_p
"$ac_path_SED" ||
continue
6657 # Check for GNU ac_path_SED and select it if it is found.
6658 # Check for GNU $ac_path_SED
6659 case `"$ac_path_SED" --version 2>&1` in
6661 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6664 $as_echo_n 0123456789 >"conftest.in"
6667 cat "conftest.in" "conftest.in" >"conftest.tmp"
6668 mv "conftest.tmp" "conftest.in"
6669 cp "conftest.in" "conftest.nl"
6670 $as_echo '' >> "conftest.nl"
6671 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6672 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6673 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6674 if test $ac_count -gt ${ac_path_SED_max-0}; then
6675 # Best one so far, save it but keep looking for a better one
6676 ac_cv_path_SED
="$ac_path_SED"
6677 ac_path_SED_max
=$ac_count
6679 # 10*(2^10) chars as input seems more than enough
6680 test $ac_count -gt 10 && break
6682 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6685 $ac_path_SED_found && break 3
6690 if test -z "$ac_cv_path_SED"; then
6691 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6699 $as_echo "$ac_cv_path_SED" >&6; }
6700 SED
="$ac_cv_path_SED"
6703 test -z "$SED" && SED
=sed
6704 Xsed
="$SED -e 1s/^X//"
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6717 $as_echo_n "checking for fgrep... " >&6; }
6718 if ${ac_cv_path_FGREP+:} false
; then :
6719 $as_echo_n "(cached) " >&6
6721 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6722 then ac_cv_path_FGREP
="$GREP -F"
6724 if test -z "$FGREP"; then
6725 ac_path_FGREP_found
=false
6726 # Loop through the user's path and test for each of PROGNAME-LIST
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6728 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_prog
in fgrep
; do
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6735 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6736 # Check for GNU ac_path_FGREP and select it if it is found.
6737 # Check for GNU $ac_path_FGREP
6738 case `"$ac_path_FGREP" --version 2>&1` in
6740 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6743 $as_echo_n 0123456789 >"conftest.in"
6746 cat "conftest.in" "conftest.in" >"conftest.tmp"
6747 mv "conftest.tmp" "conftest.in"
6748 cp "conftest.in" "conftest.nl"
6749 $as_echo 'FGREP' >> "conftest.nl"
6750 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6751 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6752 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6753 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6754 # Best one so far, save it but keep looking for a better one
6755 ac_cv_path_FGREP
="$ac_path_FGREP"
6756 ac_path_FGREP_max
=$ac_count
6758 # 10*(2^10) chars as input seems more than enough
6759 test $ac_count -gt 10 && break
6761 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6764 $ac_path_FGREP_found && break 3
6769 if test -z "$ac_cv_path_FGREP"; then
6770 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6773 ac_cv_path_FGREP
=$FGREP
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6779 $as_echo "$ac_cv_path_FGREP" >&6; }
6780 FGREP
="$ac_cv_path_FGREP"
6783 test -z "$GREP" && GREP
=grep
6803 # Check whether --with-gnu-ld was given.
6804 if test "${with_gnu_ld+set}" = set; then :
6805 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6811 if test "$GCC" = yes; then
6812 # Check if gcc -print-prog-name=ld gives a path.
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6814 $as_echo_n "checking for ld used by $CC... " >&6; }
6817 # gcc leaves a trailing carriage return which upsets mingw
6818 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6820 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6823 # Accept absolute paths.
6825 re_direlt
='/[^/][^/]*/\.\./'
6826 # Canonicalize the pathname of ld
6827 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6828 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6829 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6831 test -z "$LD" && LD
="$ac_prog"
6834 # If it fails, then pretend we aren't using GCC.
6838 # If it is relative, then search for the first ld in PATH.
6842 elif test "$with_gnu_ld" = yes; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6844 $as_echo_n "checking for GNU ld... " >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6847 $as_echo_n "checking for non-GNU ld... " >&6; }
6849 if ${lt_cv_path_LD+:} false
; then :
6850 $as_echo_n "(cached) " >&6
6852 if test -z "$LD"; then
6853 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6854 for ac_dir
in $PATH; do
6856 test -z "$ac_dir" && ac_dir
=.
6857 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6858 lt_cv_path_LD
="$ac_dir/$ac_prog"
6859 # Check to see if the program is GNU ld. I'd rather use --version,
6860 # but apparently some variants of GNU ld only accept -v.
6861 # Break only if it was the GNU/non-GNU ld that we prefer.
6862 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6863 *GNU
* |
*'with BFD'*)
6864 test "$with_gnu_ld" != no
&& break
6867 test "$with_gnu_ld" != yes && break
6874 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6879 if test -n "$LD"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6881 $as_echo "$LD" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 $as_echo "no" >&6; }
6886 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6888 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6889 if ${lt_cv_prog_gnu_ld+:} false
; then :
6890 $as_echo_n "(cached) " >&6
6892 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6893 case `$LD -v 2>&1 </dev/null` in
6894 *GNU
* |
*'with BFD'*)
6895 lt_cv_prog_gnu_ld
=yes
6898 lt_cv_prog_gnu_ld
=no
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6903 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6904 with_gnu_ld
=$lt_cv_prog_gnu_ld
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6915 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6916 if ${lt_cv_path_NM+:} false
; then :
6917 $as_echo_n "(cached) " >&6
6919 if test -n "$NM"; then
6920 # Let the user override the nm to test.
6921 lt_nm_to_check
="$NM"
6923 lt_nm_to_check
="${ac_tool_prefix}nm"
6924 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6925 lt_nm_to_check
="$lt_nm_to_check nm"
6928 for lt_tmp_nm
in "$lt_nm_to_check"; do
6929 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6930 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6932 test -z "$ac_dir" && ac_dir
=.
6933 # Strip out any user-provided options from the nm to test twice,
6934 # the first time to test to see if nm (rather than its options) has
6935 # an explicit path, the second time to yield a file which can be
6937 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6938 case "$tmp_nm_path" in
6939 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6940 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6942 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6943 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6944 # Check to see if the nm accepts a BSD-compat flag.
6945 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6946 # nm: unknown option "B" ignored
6947 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6948 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6952 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6954 lt_cv_path_NM
="$tmp_nm -p"
6958 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6959 continue # so that we can try to find one that supports BSD flags
6968 : ${lt_cv_path_NM=no}
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6971 $as_echo "$lt_cv_path_NM" >&6; }
6972 if test "$lt_cv_path_NM" != "no"; then
6975 # Didn't find any BSD compatible name lister, look for dumpbin.
6976 if test -n "$DUMPBIN"; then :
6977 # Let the user override the test.
6979 if test -n "$ac_tool_prefix"; then
6980 for ac_prog
in dumpbin
"link -dump"
6982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6983 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985 $as_echo_n "checking for $ac_word... " >&6; }
6986 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6987 $as_echo_n "(cached) " >&6
6989 if test -n "$DUMPBIN"; then
6990 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir
=.
6997 for ac_exec_ext
in '' $ac_executable_extensions; do
6998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6999 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7009 DUMPBIN
=$ac_cv_prog_DUMPBIN
7010 if test -n "$DUMPBIN"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7012 $as_echo "$DUMPBIN" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7019 test -n "$DUMPBIN" && break
7022 if test -z "$DUMPBIN"; then
7023 ac_ct_DUMPBIN
=$DUMPBIN
7024 for ac_prog
in dumpbin
"link -dump"
7026 # Extract the first word of "$ac_prog", so it can be a program name with args.
7027 set dummy
$ac_prog; ac_word
=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$ac_ct_DUMPBIN"; then
7034 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir
=.
7041 for ac_exec_ext
in '' $ac_executable_extensions; do
7042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7054 if test -n "$ac_ct_DUMPBIN"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7056 $as_echo "$ac_ct_DUMPBIN" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7063 test -n "$ac_ct_DUMPBIN" && break
7066 if test "x$ac_ct_DUMPBIN" = x
; then
7069 case $cross_compiling:$ac_tool_warned in
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7073 ac_tool_warned
=yes ;;
7075 DUMPBIN
=$ac_ct_DUMPBIN
7079 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7081 DUMPBIN
="$DUMPBIN -symbols"
7089 if test "$DUMPBIN" != ":"; then
7093 test -z "$NM" && NM
=nm
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7101 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7102 if ${lt_cv_nm_interface+:} false
; then :
7103 $as_echo_n "(cached) " >&6
7105 lt_cv_nm_interface
="BSD nm"
7106 echo "int some_variable = 0;" > conftest.
$ac_ext
7107 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7108 (eval "$ac_compile" 2>conftest.err
)
7109 cat conftest.err
>&5
7110 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7111 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7112 cat conftest.err
>&5
7113 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7114 cat conftest.out
>&5
7115 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7116 lt_cv_nm_interface
="MS dumpbin"
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7121 $as_echo "$lt_cv_nm_interface" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7124 $as_echo_n "checking whether ln -s works... " >&6; }
7126 if test "$LN_S" = "ln -s"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7128 $as_echo "yes" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7131 $as_echo "no, using $LN_S" >&6; }
7134 # find the maximum length of command line arguments
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7136 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7137 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7138 $as_echo_n "(cached) " >&6
7145 # On DJGPP, this test can blow up pretty badly due to problems in libc
7146 # (any single argument exceeding 2000 bytes causes a buffer overrun
7147 # during glob expansion). Even if it were fixed, the result of this
7148 # check would be larger than it should be.
7149 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7153 # Under GNU Hurd, this test is not required because there is
7154 # no limit to the length of command line arguments.
7155 # Libtool will interpret -1 as no limit whatsoever
7156 lt_cv_sys_max_cmd_len
=-1;
7159 cygwin
* | mingw
* | cegcc
*)
7160 # On Win9x/ME, this test blows up -- it succeeds, but takes
7161 # about 5 minutes as the teststring grows exponentially.
7162 # Worse, since 9x/ME are not pre-emptively multitasking,
7163 # you end up with a "frozen" computer, even though with patience
7164 # the test eventually succeeds (with a max line length of 256k).
7165 # Instead, let's just punt: use the minimum linelength reported by
7166 # all of the supported platforms: 8192 (on NT/2K/XP).
7167 lt_cv_sys_max_cmd_len
=8192;
7171 # On MiNT this can take a long time and run out of memory.
7172 lt_cv_sys_max_cmd_len
=8192;
7176 # On AmigaOS with pdksh, this test takes hours, literally.
7177 # So we just punt and use a minimum line length of 8192.
7178 lt_cv_sys_max_cmd_len
=8192;
7181 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7182 # This has been around since 386BSD, at least. Likely further.
7183 if test -x /sbin
/sysctl
; then
7184 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7185 elif test -x /usr
/sbin
/sysctl
; then
7186 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7188 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7190 # And add a safety zone
7191 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7192 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7196 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7197 lt_cv_sys_max_cmd_len
=196608
7201 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7202 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7203 # nice to cause kernel panics so lets avoid the loop below.
7204 # First set a reasonable default.
7205 lt_cv_sys_max_cmd_len
=16384
7207 if test -x /sbin
/sysconfig
; then
7208 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7209 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7214 lt_cv_sys_max_cmd_len
=102400
7216 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7217 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7218 if test -n "$kargmax"; then
7219 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7221 lt_cv_sys_max_cmd_len
=32768
7225 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7226 if test -n "$lt_cv_sys_max_cmd_len"; then
7227 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7230 # Make teststring a little bigger before we do anything with it.
7231 # a 1K string should be a reasonable start.
7232 for i
in 1 2 3 4 5 6 7 8 ; do
7233 teststring
=$teststring$teststring
7235 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7236 # If test is not a shell built-in, we'll probably end up computing a
7237 # maximum length that is only half of the actual maximum length, but
7239 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7240 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7241 test $i != 17 # 1/2 MB should be enough
7244 teststring
=$teststring$teststring
7246 # Only check the string length outside the loop.
7247 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7249 # Add a significant safety factor because C++ compilers can tack on
7250 # massive amounts of additional arguments before passing them to the
7251 # linker. It appears as though 1/2 is a usable value.
7252 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7259 if test -n $lt_cv_sys_max_cmd_len ; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7261 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7264 $as_echo "none" >&6; }
7266 max_cmd_len
=$lt_cv_sys_max_cmd_len
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7278 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7279 # Try some XSI features
7282 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7284 && eval 'test $(( 1 + 1 )) -eq 2 \
7285 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7288 $as_echo "$xsi_shell" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7292 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7294 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7296 && lt_shell_append=yes
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7298 $as_echo "$lt_shell_append" >&6; }
7301 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7311 # test EBCDIC or ASCII
7312 case `echo X|tr X '\101'` in
7313 A) # ASCII based system
7314 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7315 lt_SP2NL='tr \040 \012'
7316 lt_NL2SP='tr \015\012 \040\040'
7318 *) # EBCDIC based system
7319 lt_SP2NL='tr \100 \n'
7320 lt_NL2SP='tr \r\n \100\100'
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7333 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7334 if ${lt_cv_ld_reload_flag+:} false; then :
7335 $as_echo_n "(cached
) " >&6
7337 lt_cv_ld_reload_flag='-r'
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7340 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7341 reload_flag=$lt_cv_ld_reload_flag
7342 case $reload_flag in
7344 *) reload_flag=" $reload_flag" ;;
7346 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7349 if test "$GCC" = yes; then
7350 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7352 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7365 if test -n "$ac_tool_prefix"; then
7366 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7367 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7369 $as_echo_n "checking
for $ac_word...
" >&6; }
7370 if ${ac_cv_prog_OBJDUMP+:} false; then :
7371 $as_echo_n "(cached
) " >&6
7373 if test -n "$OBJDUMP"; then
7374 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380 test -z "$as_dir" && as_dir=.
7381 for ac_exec_ext in '' $ac_executable_extensions; do
7382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7383 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7393 OBJDUMP=$ac_cv_prog_OBJDUMP
7394 if test -n "$OBJDUMP"; then
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7396 $as_echo "$OBJDUMP" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7399 $as_echo "no
" >&6; }
7404 if test -z "$ac_cv_prog_OBJDUMP"; then
7405 ac_ct_OBJDUMP=$OBJDUMP
7406 # Extract the first word of "objdump
", so it can be a program name with args.
7407 set dummy objdump; ac_word=$2
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7409 $as_echo_n "checking
for $ac_word...
" >&6; }
7410 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7411 $as_echo_n "(cached
) " >&6
7413 if test -n "$ac_ct_OBJDUMP"; then
7414 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 test -z "$as_dir" && as_dir=.
7421 for ac_exec_ext in '' $ac_executable_extensions; do
7422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7423 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7433 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7434 if test -n "$ac_ct_OBJDUMP"; then
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7436 $as_echo "$ac_ct_OBJDUMP" >&6; }
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7439 $as_echo "no
" >&6; }
7442 if test "x
$ac_ct_OBJDUMP" = x; then
7445 case $cross_compiling:$ac_tool_warned in
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7448 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7449 ac_tool_warned=yes ;;
7451 OBJDUMP=$ac_ct_OBJDUMP
7454 OBJDUMP="$ac_cv_prog_OBJDUMP"
7457 test -z "$OBJDUMP" && OBJDUMP=objdump
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7468 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7469 if ${lt_cv_deplibs_check_method+:} false; then :
7470 $as_echo_n "(cached
) " >&6
7472 lt_cv_file_magic_cmd='$MAGIC_CMD'
7473 lt_cv_file_magic_test_file=
7474 lt_cv_deplibs_check_method='unknown'
7475 # Need to set the preceding variable on all platforms that support
7476 # interlibrary dependencies.
7477 # 'none' -- dependencies not supported.
7478 # `unknown' -- same as none, but documents that we really don't know.
7479 # 'pass_all' -- all dependencies passed with no checks.
7480 # 'test_compile' -- check by making test program.
7481 # 'file_magic [[regex]]' -- check by looking for files in library path
7482 # which responds to the $file_magic_cmd with a given extended regex.
7483 # If you have `file' or equivalent on your system and you're not sure
7484 # whether `pass_all' will *always* work, you probably want this one.
7488 lt_cv_deplibs_check_method=pass_all
7492 lt_cv_deplibs_check_method=pass_all
7496 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7497 lt_cv_file_magic_cmd='/usr/bin/file -L'
7498 lt_cv_file_magic_test_file=/shlib/libc.so
7502 # func_win32_libid is a shell function defined in ltmain.sh
7503 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7504 lt_cv_file_magic_cmd='func_win32_libid'
7508 # Base MSYS/MinGW do not provide the 'file' command needed by
7509 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7510 # unless we find 'file', for example because we are cross-compiling.
7511 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7512 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7513 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7514 lt_cv_file_magic_cmd='func_win32_libid'
7516 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7517 lt_cv_file_magic_cmd='$OBJDUMP -f'
7522 # use the weaker test based on 'objdump'. See mingw*.
7523 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7524 lt_cv_file_magic_cmd='$OBJDUMP -f'
7527 darwin* | rhapsody*)
7528 lt_cv_deplibs_check_method=pass_all
7531 freebsd* | dragonfly*)
7532 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7535 # Not sure whether the presence of OpenBSD here was a mistake.
7536 # Let's accept both of them until this is cleared up.
7537 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7538 lt_cv_file_magic_cmd=/usr/bin/file
7539 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7543 lt_cv_deplibs_check_method=pass_all
7548 lt_cv_deplibs_check_method=pass_all
7552 lt_cv_deplibs_check_method=pass_all
7555 hpux10.20* | hpux11*)
7556 lt_cv_file_magic_cmd=/usr/bin/file
7559 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7560 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7563 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]'
7564 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7567 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7568 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7574 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7578 irix5* | irix6* | nonstopux*)
7580 *-32|*"-32 ") libmagic=32-bit;;
7581 *-n32|*"-n32 ") libmagic=N32;;
7582 *-64|*"-64 ") libmagic=64-bit;;
7583 *) libmagic=never-match;;
7585 lt_cv_deplibs_check_method=pass_all
7588 # This must be Linux ELF.
7589 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7590 lt_cv_deplibs_check_method=pass_all
7594 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7595 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7602 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7603 lt_cv_file_magic_cmd=/usr/bin/file
7604 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7608 lt_cv_deplibs_check_method=pass_all
7612 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7613 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7615 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7619 osf3* | osf4* | osf5*)
7620 lt_cv_deplibs_check_method=pass_all
7624 lt_cv_deplibs_check_method=pass_all
7628 lt_cv_deplibs_check_method=pass_all
7631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7632 lt_cv_deplibs_check_method=pass_all
7636 case $host_vendor in
7638 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]'
7639 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7642 lt_cv_deplibs_check_method=pass_all
7645 lt_cv_file_magic_cmd='/bin/file'
7646 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7649 lt_cv_file_magic_cmd='/bin/file'
7650 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7651 lt_cv_file_magic_test_file=/lib/libc.so
7654 lt_cv_deplibs_check_method=pass_all
7657 lt_cv_deplibs_check_method=pass_all
7663 lt_cv_deplibs_check_method=pass_all
7666 # Assume VxWorks cross toolchains are built on Linux, possibly
7667 # as canadian for Windows hosts.
7668 lt_cv_deplibs_check_method=pass_all
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7674 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7675 file_magic_cmd=$lt_cv_file_magic_cmd
7676 deplibs_check_method=$lt_cv_deplibs_check_method
7677 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7691 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7692 for plugin in $plugin_names; do
7693 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7694 if test x$plugin_so = x$plugin; then
7695 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7697 if test x$plugin_so != x$plugin; then
7698 plugin_option="--plugin $plugin_so"
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}ar; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7707 $as_echo_n "checking
for $ac_word...
" >&6; }
7708 if ${ac_cv_prog_AR+:} false; then :
7709 $as_echo_n "(cached
) " >&6
7711 if test -n "$AR"; then
7712 ac_cv_prog_AR="$AR" # Let the user override the test.
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7721 ac_cv_prog_AR="${ac_tool_prefix}ar"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7732 if test -n "$AR"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7734 $as_echo "$AR" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7737 $as_echo "no
" >&6; }
7742 if test -z "$ac_cv_prog_AR"; then
7744 # Extract the first word of "ar", so it can be a program name with args.
7745 set dummy ar; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7747 $as_echo_n "checking
for $ac_word...
" >&6; }
7748 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7749 $as_echo_n "(cached
) " >&6
7751 if test -n "$ac_ct_AR"; then
7752 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7761 ac_cv_prog_ac_ct_AR="ar"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7771 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7772 if test -n "$ac_ct_AR"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7774 $as_echo "$ac_ct_AR" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7777 $as_echo "no
" >&6; }
7780 if test "x
$ac_ct_AR" = x; then
7783 case $cross_compiling:$ac_tool_warned in
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7786 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7787 ac_tool_warned=yes ;;
7795 test -z "$AR" && AR=ar
7796 if test -n "$plugin_option"; then
7797 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7799 $AR $plugin_option rc conftest.a conftest.c
7800 if test "$?
" != 0; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7802 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7804 AR="$AR $plugin_option"
7809 test -z "$AR_FLAGS" && AR_FLAGS=cru
7821 if test -n "$ac_tool_prefix"; then
7822 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7823 set dummy ${ac_tool_prefix}strip; ac_word=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7825 $as_echo_n "checking
for $ac_word...
" >&6; }
7826 if ${ac_cv_prog_STRIP+:} false; then :
7827 $as_echo_n "(cached
) " >&6
7829 if test -n "$STRIP"; then
7830 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7839 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7849 STRIP=$ac_cv_prog_STRIP
7850 if test -n "$STRIP"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7852 $as_echo "$STRIP" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7855 $as_echo "no
" >&6; }
7860 if test -z "$ac_cv_prog_STRIP"; then
7862 # Extract the first word of "strip
", so it can be a program name with args.
7863 set dummy strip; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7865 $as_echo_n "checking
for $ac_word...
" >&6; }
7866 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7867 $as_echo_n "(cached
) " >&6
7869 if test -n "$ac_ct_STRIP"; then
7870 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_prog_ac_ct_STRIP="strip
"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7889 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7890 if test -n "$ac_ct_STRIP"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7892 $as_echo "$ac_ct_STRIP" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7895 $as_echo "no
" >&6; }
7898 if test "x
$ac_ct_STRIP" = x; then
7901 case $cross_compiling:$ac_tool_warned in
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7904 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7905 ac_tool_warned=yes ;;
7910 STRIP="$ac_cv_prog_STRIP"
7913 test -z "$STRIP" && STRIP=:
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if ${ac_cv_prog_RANLIB+:} false; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$RANLIB"; then
7929 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7948 RANLIB=$ac_cv_prog_RANLIB
7949 if test -n "$RANLIB"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7951 $as_echo "$RANLIB" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7959 if test -z "$ac_cv_prog_RANLIB"; then
7960 ac_ct_RANLIB=$RANLIB
7961 # Extract the first word of "ranlib
", so it can be a program name with args.
7962 set dummy ranlib; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7964 $as_echo_n "checking
for $ac_word...
" >&6; }
7965 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7966 $as_echo_n "(cached
) " >&6
7968 if test -n "$ac_ct_RANLIB"; then
7969 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7988 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7989 if test -n "$ac_ct_RANLIB"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7991 $as_echo "$ac_ct_RANLIB" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7994 $as_echo "no
" >&6; }
7997 if test "x
$ac_ct_RANLIB" = x; then
8000 case $cross_compiling:$ac_tool_warned in
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8003 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8004 ac_tool_warned=yes ;;
8006 RANLIB=$ac_ct_RANLIB
8009 RANLIB="$ac_cv_prog_RANLIB"
8012 test -z "$RANLIB" && RANLIB=:
8013 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8014 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
8015 RANLIB="$RANLIB $plugin_option"
8024 # Determine commands to create old-style static archives.
8025 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8026 old_postinstall_cmds='chmod 644 $oldlib'
8027 old_postuninstall_cmds=
8029 if test -n "$RANLIB"; then
8032 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8035 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8038 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8043 lock_old_archive_extraction=yes ;;
8045 lock_old_archive_extraction=no ;;
8086 # If no C compiler was specified, use CC.
8089 # If no C compiler flags were specified, use CFLAGS.
8090 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8092 # Allow CC to be a program name with arguments.
8096 # Check for command to grab the raw symbol name followed by C symbol from nm.
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8098 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8099 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8100 $as_echo_n "(cached
) " >&6
8103 # These are sane defaults that work on at least a few old systems.
8104 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8106 # Character class describing NM global symbol codes.
8107 symcode='[BCDEGRST]'
8109 # Regexp to match symbols that can be accessed directly from C.
8110 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8112 # Define system-specific variables.
8117 cygwin* | mingw* | pw32* | cegcc*)
8118 symcode='[ABCDGISTW]'
8121 if test "$host_cpu" = ia64; then
8122 symcode='[ABCDEGRST]'
8126 symcode='[BCDEGRST]'
8129 symcode='[BCDEGQRST]'
8140 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8148 # If we're using GNU nm, then use its standard symbol codes.
8149 case `$NM -V 2>&1` in
8150 *GNU* | *'with BFD'*)
8151 symcode='[ABCDGIRSTW]' ;;
8154 # Transform an extracted symbol line into a proper C declaration.
8155 # Some systems (esp. on ia64) link data and code symbols differently,
8156 # so use this general approach.
8157 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8159 # Transform an extracted symbol line into symbol name and symbol address
8160 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8161 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'"
8163 # Handle CRLF in mingw tool chain
8167 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8171 # Try without a prefix underscore, then with it.
8172 for ac_symprfx in "" "_
"; do
8174 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8175 symxfrm="\\1 $ac_symprfx\\2 \\2"
8177 # Write the raw and C identifiers.
8178 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8179 # Fake it for dumpbin and say T for any non-static function
8180 # and D for any global variable.
8181 # Also find C++ and __fastcall symbols from MSVC++,
8182 # which start with @ or ?.
8183 lt_cv_sys_global_symbol_pipe="$AWK '"\
8184 " {last_section=section; section=\$ 3};"\
8185 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8186 " \$ 0!~/External *\|/{next};"\
8187 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8188 " {if(hide[section]) next};"\
8189 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8190 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8191 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8192 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8193 " ' prfx
=^
$ac_symprfx"
8195 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8198 # Check to see that the pipe works correctly.
8202 cat > conftest.$ac_ext <<_LT_EOF
8207 void nm_test_func(void);
8208 void nm_test_func(void){}
8212 int main(){nm_test_var='a';nm_test_func();return(0);}
8215 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8216 (eval $ac_compile) 2>&5
8218 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8219 test $ac_status = 0; }; then
8220 # Now try to grab the symbols.
8222 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8223 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8225 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8226 test $ac_status = 0; } && test -s "$nlist"; then
8227 # Try sorting and uniquifying the output.
8228 if sort "$nlist" | uniq > "$nlist"T; then
8229 mv -f "$nlist"T "$nlist"
8234 # Make sure that we snagged all the symbols we need.
8235 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8236 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8237 cat <<_LT_EOF > conftest.$ac_ext
8243 # Now generate the symbol file.
8244 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8246 cat <<_LT_EOF >> conftest.$ac_ext
8248 /* The mapping between symbol names and symbols. */
8253 lt__PROGRAM__LTX_preloaded_symbols[] =
8255 { "@PROGRAM@
", (void *) 0 },
8257 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8258 cat <<\_LT_EOF >> conftest.$ac_ext
8262 /* This works around a problem in FreeBSD linker */
8263 #ifdef FREEBSD_WORKAROUND
8264 static const void *lt_preloaded_setup() {
8265 return lt__PROGRAM__LTX_preloaded_symbols;
8273 # Now try linking the two files.
8274 mv conftest.$ac_objext conftstm.$ac_objext
8275 lt_save_LIBS="$LIBS"
8276 lt_save_CFLAGS="$CFLAGS"
8277 LIBS="conftstm.
$ac_objext"
8278 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8279 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8280 (eval $ac_link) 2>&5
8282 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8283 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8286 LIBS="$lt_save_LIBS"
8287 CFLAGS="$lt_save_CFLAGS"
8289 echo "cannot
find nm_test_func
in $nlist" >&5
8292 echo "cannot
find nm_test_var
in $nlist" >&5
8295 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8298 echo "$progname: failed program was
:" >&5
8299 cat conftest.$ac_ext >&5
8301 rm -rf conftest* conftst*
8303 # Do not use the global_symbol_pipe unless it works.
8304 if test "$pipe_works" = yes; then
8307 lt_cv_sys_global_symbol_pipe=
8313 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8314 lt_cv_sys_global_symbol_to_cdecl=
8316 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8318 $as_echo "failed
" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8321 $as_echo "ok
" >&6; }
8345 # Check whether --enable-libtool-lock was given.
8346 if test "${enable_libtool_lock+set}" = set; then :
8347 enableval=$enable_libtool_lock;
8350 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8352 # Some flags need to be propagated to the compiler or linker for good
8356 # Find out which ABI we are using.
8357 echo 'int i;' > conftest.$ac_ext
8358 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8359 (eval $ac_compile) 2>&5
8361 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8362 test $ac_status = 0; }; then
8363 case `/usr/bin/file conftest.$ac_objext` in
8375 # Find out which ABI we are using.
8376 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8377 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8378 (eval $ac_compile) 2>&5
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8381 test $ac_status = 0; }; then
8382 if test "$lt_cv_prog_gnu_ld" = yes; then
8383 case `/usr/bin/file conftest.$ac_objext` in
8385 LD="${LD-ld} -melf32bsmip"
8388 LD="${LD-ld} -melf32bmipn32"
8391 LD="${LD-ld} -melf64bmip"
8395 case `/usr/bin/file conftest.$ac_objext` in
8411 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8412 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8413 # Find out which ABI we are using.
8414 echo 'int i;' > conftest.$ac_ext
8415 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8416 (eval $ac_compile) 2>&5
8418 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8419 test $ac_status = 0; }; then
8420 case `/usr/bin/file conftest.o` in
8423 x86_64-*kfreebsd*-gnu)
8424 LD="${LD-ld} -m elf_i386_fbsd
"
8427 case `/usr/bin/file conftest.o` in
8429 LD="${LD-ld} -m elf32_x86_64
"
8432 LD="${LD-ld} -m elf_i386
"
8436 powerpc64le-*linux*)
8437 LD="${LD-ld} -m elf32lppclinux
"
8440 LD="${LD-ld} -m elf32ppclinux
"
8443 LD="${LD-ld} -m elf_s390
"
8446 LD="${LD-ld} -m elf32_sparc
"
8452 x86_64-*kfreebsd*-gnu)
8453 LD="${LD-ld} -m elf_x86_64_fbsd
"
8456 LD="${LD-ld} -m elf_x86_64
"
8459 LD="${LD-ld} -m elf64lppc
"
8462 LD="${LD-ld} -m elf64ppc
"
8464 s390*-*linux*|s390*-*tpf*)
8465 LD="${LD-ld} -m elf64_s390
"
8468 LD="${LD-ld} -m elf64_sparc
"
8478 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8479 SAVE_CFLAGS="$CFLAGS"
8480 CFLAGS="$CFLAGS -belf"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8482 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8483 if ${lt_cv_cc_needs_belf+:} false; then :
8484 $as_echo_n "(cached
) " >&6
8487 ac_cpp='$CPP $CPPFLAGS'
8488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8492 if test x$gcc_no_link = xyes; then
8493 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 lt_cv_cc_needs_belf=yes
8509 lt_cv_cc_needs_belf=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8514 ac_cpp='$CPP $CPPFLAGS'
8515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8521 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8522 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8523 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8524 CFLAGS="$SAVE_CFLAGS"
8528 # Find out which ABI we are using.
8529 echo 'int i;' > conftest.$ac_ext
8530 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8531 (eval $ac_compile) 2>&5
8533 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8534 test $ac_status = 0; }; then
8535 case `/usr/bin/file conftest.o` in
8537 case $lt_cv_prog_gnu_ld in
8538 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8540 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8552 need_locks="$enable_libtool_lock"
8556 rhapsody* | darwin*)
8557 if test -n "$ac_tool_prefix"; then
8558 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8559 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8561 $as_echo_n "checking
for $ac_word...
" >&6; }
8562 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8563 $as_echo_n "(cached
) " >&6
8565 if test -n "$DSYMUTIL"; then
8566 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir=.
8573 for ac_exec_ext in '' $ac_executable_extensions; do
8574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8575 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8585 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8586 if test -n "$DSYMUTIL"; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8588 $as_echo "$DSYMUTIL" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8591 $as_echo "no
" >&6; }
8596 if test -z "$ac_cv_prog_DSYMUTIL"; then
8597 ac_ct_DSYMUTIL=$DSYMUTIL
8598 # Extract the first word of "dsymutil
", so it can be a program name with args.
8599 set dummy dsymutil; ac_word=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8601 $as_echo_n "checking
for $ac_word...
" >&6; }
8602 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8603 $as_echo_n "(cached
) " >&6
8605 if test -n "$ac_ct_DSYMUTIL"; then
8606 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 test -z "$as_dir" && as_dir=.
8613 for ac_exec_ext in '' $ac_executable_extensions; do
8614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8625 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8626 if test -n "$ac_ct_DSYMUTIL"; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8628 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8631 $as_echo "no
" >&6; }
8634 if test "x
$ac_ct_DSYMUTIL" = x; then
8637 case $cross_compiling:$ac_tool_warned in
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8640 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8641 ac_tool_warned=yes ;;
8643 DSYMUTIL=$ac_ct_DSYMUTIL
8646 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8649 if test -n "$ac_tool_prefix"; then
8650 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8651 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8653 $as_echo_n "checking
for $ac_word...
" >&6; }
8654 if ${ac_cv_prog_NMEDIT+:} false; then :
8655 $as_echo_n "(cached
) " >&6
8657 if test -n "$NMEDIT"; then
8658 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir=.
8665 for ac_exec_ext in '' $ac_executable_extensions; do
8666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8667 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8677 NMEDIT=$ac_cv_prog_NMEDIT
8678 if test -n "$NMEDIT"; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8680 $as_echo "$NMEDIT" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8683 $as_echo "no
" >&6; }
8688 if test -z "$ac_cv_prog_NMEDIT"; then
8689 ac_ct_NMEDIT=$NMEDIT
8690 # Extract the first word of "nmedit
", so it can be a program name with args.
8691 set dummy nmedit; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8693 $as_echo_n "checking
for $ac_word...
" >&6; }
8694 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8695 $as_echo_n "(cached
) " >&6
8697 if test -n "$ac_ct_NMEDIT"; then
8698 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir=.
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8707 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8717 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8718 if test -n "$ac_ct_NMEDIT"; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8720 $as_echo "$ac_ct_NMEDIT" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8723 $as_echo "no
" >&6; }
8726 if test "x
$ac_ct_NMEDIT" = x; then
8729 case $cross_compiling:$ac_tool_warned in
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8732 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8733 ac_tool_warned=yes ;;
8735 NMEDIT=$ac_ct_NMEDIT
8738 NMEDIT="$ac_cv_prog_NMEDIT"
8741 if test -n "$ac_tool_prefix"; then
8742 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8743 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8745 $as_echo_n "checking
for $ac_word...
" >&6; }
8746 if ${ac_cv_prog_LIPO+:} false; then :
8747 $as_echo_n "(cached
) " >&6
8749 if test -n "$LIPO"; then
8750 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756 test -z "$as_dir" && as_dir=.
8757 for ac_exec_ext in '' $ac_executable_extensions; do
8758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8759 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8769 LIPO=$ac_cv_prog_LIPO
8770 if test -n "$LIPO"; then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8772 $as_echo "$LIPO" >&6; }
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8775 $as_echo "no
" >&6; }
8780 if test -z "$ac_cv_prog_LIPO"; then
8782 # Extract the first word of "lipo
", so it can be a program name with args.
8783 set dummy lipo; ac_word=$2
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8785 $as_echo_n "checking
for $ac_word...
" >&6; }
8786 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8787 $as_echo_n "(cached
) " >&6
8789 if test -n "$ac_ct_LIPO"; then
8790 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8796 test -z "$as_dir" && as_dir=.
8797 for ac_exec_ext in '' $ac_executable_extensions; do
8798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8799 ac_cv_prog_ac_ct_LIPO="lipo
"
8800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8809 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8810 if test -n "$ac_ct_LIPO"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8812 $as_echo "$ac_ct_LIPO" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8815 $as_echo "no
" >&6; }
8818 if test "x
$ac_ct_LIPO" = x; then
8821 case $cross_compiling:$ac_tool_warned in
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8824 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8825 ac_tool_warned=yes ;;
8830 LIPO="$ac_cv_prog_LIPO"
8833 if test -n "$ac_tool_prefix"; then
8834 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8835 set dummy ${ac_tool_prefix}otool; ac_word=$2
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8837 $as_echo_n "checking
for $ac_word...
" >&6; }
8838 if ${ac_cv_prog_OTOOL+:} false; then :
8839 $as_echo_n "(cached
) " >&6
8841 if test -n "$OTOOL"; then
8842 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir=.
8849 for ac_exec_ext in '' $ac_executable_extensions; do
8850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8851 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8861 OTOOL=$ac_cv_prog_OTOOL
8862 if test -n "$OTOOL"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8864 $as_echo "$OTOOL" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8867 $as_echo "no
" >&6; }
8872 if test -z "$ac_cv_prog_OTOOL"; then
8874 # Extract the first word of "otool
", so it can be a program name with args.
8875 set dummy otool; ac_word=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8877 $as_echo_n "checking
for $ac_word...
" >&6; }
8878 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8879 $as_echo_n "(cached
) " >&6
8881 if test -n "$ac_ct_OTOOL"; then
8882 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir=.
8889 for ac_exec_ext in '' $ac_executable_extensions; do
8890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8891 ac_cv_prog_ac_ct_OTOOL="otool
"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8901 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8902 if test -n "$ac_ct_OTOOL"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8904 $as_echo "$ac_ct_OTOOL" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8907 $as_echo "no
" >&6; }
8910 if test "x
$ac_ct_OTOOL" = x; then
8913 case $cross_compiling:$ac_tool_warned in
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8916 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8917 ac_tool_warned=yes ;;
8922 OTOOL="$ac_cv_prog_OTOOL"
8925 if test -n "$ac_tool_prefix"; then
8926 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8927 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8929 $as_echo_n "checking
for $ac_word...
" >&6; }
8930 if ${ac_cv_prog_OTOOL64+:} false; then :
8931 $as_echo_n "(cached
) " >&6
8933 if test -n "$OTOOL64"; then
8934 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8940 test -z "$as_dir" && as_dir=.
8941 for ac_exec_ext in '' $ac_executable_extensions; do
8942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8943 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8953 OTOOL64=$ac_cv_prog_OTOOL64
8954 if test -n "$OTOOL64"; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8956 $as_echo "$OTOOL64" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8959 $as_echo "no
" >&6; }
8964 if test -z "$ac_cv_prog_OTOOL64"; then
8965 ac_ct_OTOOL64=$OTOOL64
8966 # Extract the first word of "otool64
", so it can be a program name with args.
8967 set dummy otool64; ac_word=$2
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8969 $as_echo_n "checking
for $ac_word...
" >&6; }
8970 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8971 $as_echo_n "(cached
) " >&6
8973 if test -n "$ac_ct_OTOOL64"; then
8974 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8980 test -z "$as_dir" && as_dir=.
8981 for ac_exec_ext in '' $ac_executable_extensions; do
8982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8983 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8993 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8994 if test -n "$ac_ct_OTOOL64"; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8996 $as_echo "$ac_ct_OTOOL64" >&6; }
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8999 $as_echo "no
" >&6; }
9002 if test "x
$ac_ct_OTOOL64" = x; then
9005 case $cross_compiling:$ac_tool_warned in
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9008 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9009 ac_tool_warned=yes ;;
9011 OTOOL64=$ac_ct_OTOOL64
9014 OTOOL64="$ac_cv_prog_OTOOL64"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9044 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9045 if ${lt_cv_apple_cc_single_mod+:} false; then :
9046 $as_echo_n "(cached
) " >&6
9048 lt_cv_apple_cc_single_mod=no
9049 if test -z "${LT_MULTI_MODULE}"; then
9050 # By default we will add the -single_module flag. You can override
9051 # by either setting the environment variable LT_MULTI_MODULE
9052 # non-empty at configure time, or by adding -multi_module to the
9054 rm -rf libconftest.dylib*
9055 echo "int foo
(void
){return 1;}" > conftest.c
9056 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9057 -dynamiclib -Wl,-single_module conftest.c
" >&5
9058 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9059 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9061 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9062 lt_cv_apple_cc_single_mod=yes
9064 cat conftest.err >&5
9066 rm -rf libconftest.dylib*
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9071 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9073 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9074 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9075 $as_echo_n "(cached
) " >&6
9077 lt_cv_ld_exported_symbols_list=no
9078 save_LDFLAGS=$LDFLAGS
9079 echo "_main
" > conftest.sym
9080 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9081 if test x$gcc_no_link = xyes; then
9082 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9095 if ac_fn_c_try_link "$LINENO"; then :
9096 lt_cv_ld_exported_symbols_list=yes
9098 lt_cv_ld_exported_symbols_list=no
9100 rm -f core conftest.err conftest.$ac_objext \
9101 conftest$ac_exeext conftest.$ac_ext
9102 LDFLAGS="$save_LDFLAGS"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9106 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9108 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9109 if ${lt_cv_ld_force_load+:} false; then :
9110 $as_echo_n "(cached
) " >&6
9112 lt_cv_ld_force_load=no
9113 cat > conftest.c << _LT_EOF
9114 int forced_loaded() { return 2;}
9116 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9117 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9118 echo "$AR cru libconftest.a conftest.o
" >&5
9119 $AR cru libconftest.a conftest.o 2>&5
9120 cat > conftest.c << _LT_EOF
9121 int main() { return 0;}
9123 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9124 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9126 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9127 lt_cv_ld_force_load=yes
9129 cat conftest.err >&5
9131 rm -f conftest.err libconftest.a conftest conftest.c
9132 rm -rf conftest.dSYM
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9136 $as_echo "$lt_cv_ld_force_load" >&6; }
9137 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9138 # build without first building modern cctools / linker.
9139 case $host_cpu-$host_os in
9140 *-rhapsody* | *-darwin1.[012])
9141 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9143 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9145 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9146 # deployment target is forced to an earlier version.
9147 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9148 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9151 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9158 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9159 _lt_dar_single_mod='$single_module'
9161 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9162 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9164 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9166 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9167 _lt_dsymutil='~$DSYMUTIL $lib || :'
9174 for ac_header in dlfcn.h
9176 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9178 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9179 cat >>confdefs.h <<_ACEOF
9180 #define HAVE_DLFCN_H 1
9200 # Check whether --enable-shared was given.
9201 if test "${enable_shared+set}" = set; then :
9202 enableval=$enable_shared; p=${PACKAGE-default}
9204 yes) enable_shared=yes ;;
9205 no) enable_shared=no ;;
9208 # Look at the argument we got. We use all the common list separators.
9209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9210 for pkg in $enableval; do
9212 if test "X
$pkg" = "X
$p"; then
9231 # Check whether --enable-static was given.
9232 if test "${enable_static+set}" = set; then :
9233 enableval=$enable_static; p=${PACKAGE-default}
9235 yes) enable_static=yes ;;
9236 no) enable_static=no ;;
9239 # Look at the argument we got. We use all the common list separators.
9240 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9241 for pkg in $enableval; do
9243 if test "X
$pkg" = "X
$p"; then
9263 # Check whether --with-pic was given.
9264 if test "${with_pic+set}" = set; then :
9265 withval=$with_pic; pic_mode="$withval"
9271 test -z "$pic_mode" && pic_mode=default
9279 # Check whether --enable-fast-install was given.
9280 if test "${enable_fast_install+set}" = set; then :
9281 enableval=$enable_fast_install; p=${PACKAGE-default}
9283 yes) enable_fast_install=yes ;;
9284 no) enable_fast_install=no ;;
9286 enable_fast_install=no
9287 # Look at the argument we got. We use all the common list separators.
9288 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9289 for pkg in $enableval; do
9291 if test "X
$pkg" = "X
$p"; then
9292 enable_fast_install=yes
9299 enable_fast_install=yes
9312 # This can be used to rebuild libtool when needed
9313 LIBTOOL_DEPS="$ltmain"
9315 # Always use our own libtool.
9316 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9343 test -z "$LN_S" && LN_S="ln -s"
9358 if test -n "${ZSH_VERSION+set}" ; then
9359 setopt NO_GLOB_SUBST
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9363 $as_echo_n "checking
for objdir...
" >&6; }
9364 if ${lt_cv_objdir+:} false; then :
9365 $as_echo_n "(cached
) " >&6
9367 rm -f .libs 2>/dev/null
9368 mkdir .libs 2>/dev/null
9369 if test -d .libs; then
9372 # MS-DOS does not allow filenames that begin with a dot.
9375 rmdir .libs 2>/dev/null
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9378 $as_echo "$lt_cv_objdir" >&6; }
9379 objdir=$lt_cv_objdir
9385 cat >>confdefs.h <<_ACEOF
9386 #define LT_OBJDIR "$lt_cv_objdir/"
9394 # AIX sometimes has problems with the GCC collect2 program. For some
9395 # reason, if we set the COLLECT_NAMES environment variable, the problems
9396 # vanish in a puff of smoke.
9397 if test "X
${COLLECT_NAMES+set}" != Xset; then
9399 export COLLECT_NAMES
9406 can_build_shared=yes
9408 # All known linkers require a `.a' archive for static linking (except MSVC,
9409 # which needs '.lib').
9412 with_gnu_ld="$lt_cv_prog_gnu_ld"
9415 old_CFLAGS="$CFLAGS"
9417 # Set sane defaults for various variables
9418 test -z "$CC" && CC=cc
9419 test -z "$LTCC" && LTCC=$CC
9420 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9421 test -z "$LD" && LD=ld
9422 test -z "$ac_objext" && ac_objext=o
9424 for cc_temp in $compiler""; do
9426 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9427 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9432 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9435 # Only perform the check for file, if the check method requires it
9436 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9437 case $deplibs_check_method in
9439 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9441 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9442 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9443 $as_echo_n "(cached
) " >&6
9447 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9450 lt_save_MAGIC_CMD="$MAGIC_CMD"
9451 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9452 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9453 for ac_dir in $ac_dummy; do
9455 test -z "$ac_dir" && ac_dir=.
9456 if test -f $ac_dir/${ac_tool_prefix}file; then
9457 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9458 if test -n "$file_magic_test_file"; then
9459 case $deplibs_check_method in
9461 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9462 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9463 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9464 $EGREP "$file_magic_regex" > /dev/null; then
9469 *** Warning: the command libtool uses to detect shared libraries,
9470 *** $file_magic_cmd, produces output that libtool cannot recognize.
9471 *** The result is that libtool may fail to recognize shared libraries
9472 *** as such. This will affect the creation of libtool libraries that
9473 *** depend on shared libraries, but programs linked with such libtool
9474 *** libraries will work regardless of this problem. Nevertheless, you
9475 *** may want to report the problem to your system manager and/or to
9476 *** bug-libtool@gnu.org
9486 MAGIC_CMD="$lt_save_MAGIC_CMD"
9491 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9492 if test -n "$MAGIC_CMD"; then
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9494 $as_echo "$MAGIC_CMD" >&6; }
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9497 $as_echo "no
" >&6; }
9504 if test -z "$lt_cv_path_MAGIC_CMD"; then
9505 if test -n "$ac_tool_prefix"; then
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9507 $as_echo_n "checking
for file...
" >&6; }
9508 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9509 $as_echo_n "(cached
) " >&6
9513 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9516 lt_save_MAGIC_CMD="$MAGIC_CMD"
9517 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9518 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9519 for ac_dir in $ac_dummy; do
9521 test -z "$ac_dir" && ac_dir=.
9522 if test -f $ac_dir/file; then
9523 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9524 if test -n "$file_magic_test_file"; then
9525 case $deplibs_check_method in
9527 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9528 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9529 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9530 $EGREP "$file_magic_regex" > /dev/null; then
9535 *** Warning: the command libtool uses to detect shared libraries,
9536 *** $file_magic_cmd, produces output that libtool cannot recognize.
9537 *** The result is that libtool may fail to recognize shared libraries
9538 *** as such. This will affect the creation of libtool libraries that
9539 *** depend on shared libraries, but programs linked with such libtool
9540 *** libraries will work regardless of this problem. Nevertheless, you
9541 *** may want to report the problem to your system manager and/or to
9542 *** bug-libtool@gnu.org
9552 MAGIC_CMD="$lt_save_MAGIC_CMD"
9557 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9558 if test -n "$MAGIC_CMD"; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9560 $as_echo "$MAGIC_CMD" >&6; }
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9563 $as_echo "no
" >&6; }
9576 # Use C for the default configuration in the libtool script
9580 ac_cpp='$CPP $CPPFLAGS'
9581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9586 # Source file extension for C test sources.
9589 # Object file extension for compiled C test sources.
9593 # Code to be used in simple compile tests
9594 lt_simple_compile_test_code="int some_variable
= 0;"
9596 # Code to be used in simple link tests
9597 lt_simple_link_test_code='int main(){return(0);}'
9605 # If no C compiler was specified, use CC.
9608 # If no C compiler flags were specified, use CFLAGS.
9609 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9611 # Allow CC to be a program name with arguments.
9614 # Save the default compiler, since it gets overwritten when the other
9615 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9616 compiler_DEFAULT=$CC
9618 # save warnings/boilerplate of simple test code
9619 ac_outfile=conftest.$ac_objext
9620 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9621 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9622 _lt_compiler_boilerplate=`cat conftest.err`
9625 ac_outfile=conftest.$ac_objext
9626 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9627 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9628 _lt_linker_boilerplate=`cat conftest.err`
9633 ## There is no encapsulation within the following macros, do not change
9634 ## the running order or otherwise move them around unless you know exactly
9635 ## what you are doing...
9636 if test -n "$compiler"; then
9638 lt_prog_compiler_no_builtin_flag=
9640 if test "$GCC" = yes; then
9641 case $cc_basename in
9643 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9645 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9649 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9650 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9651 $as_echo_n "(cached
) " >&6
9653 lt_cv_prog_compiler_rtti_exceptions=no
9654 ac_outfile=conftest.$ac_objext
9655 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9656 lt_compiler_flag="-fno-rtti -fno-exceptions"
9657 # Insert the option either (1) after the last *FLAGS variable, or
9658 # (2) before a word containing "conftest.
", or (3) at the end.
9659 # Note that $ac_compile itself does not contain backslashes and begins
9660 # with a dollar sign (not a hyphen), so the echo should work correctly.
9661 # The option is referenced via a variable to avoid confusing sed.
9662 lt_compile=`echo "$ac_compile" | $SED \
9663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9665 -e 's:$: $lt_compiler_flag:'`
9666 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9667 (eval "$lt_compile" 2>conftest.err)
9669 cat conftest.err >&5
9670 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9671 if (exit $ac_status) && test -s "$ac_outfile"; then
9672 # The compiler can only warn and ignore the option if not recognized
9673 # So say no if there are warnings other than the usual output.
9674 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9675 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9676 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9677 lt_cv_prog_compiler_rtti_exceptions=yes
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9684 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9686 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9687 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9699 lt_prog_compiler_wl=
9700 lt_prog_compiler_pic=
9701 lt_prog_compiler_static=
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9704 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9706 if test "$GCC" = yes; then
9707 lt_prog_compiler_wl='-Wl,'
9708 lt_prog_compiler_static='-static'
9712 # All AIX code is PIC.
9713 if test "$host_cpu" = ia64; then
9714 # AIX 5 now supports IA64 processor
9715 lt_prog_compiler_static='-Bstatic'
9717 lt_prog_compiler_pic='-fPIC'
9723 # see comment about AmigaOS4 .so support
9724 lt_prog_compiler_pic='-fPIC'
9727 # FIXME: we need at least 68020 code to build shared libraries, but
9728 # adding the `-m68020' flag to GCC prevents building anything better,
9730 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9735 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9736 # PIC is the default for these OSes.
9739 mingw* | cygwin* | pw32* | os2* | cegcc*)
9740 # This hack is so that the source file can tell whether it is being
9741 # built for inclusion in a dll (and should export symbols for example).
9742 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9743 # (--disable-auto-import) libraries
9744 lt_prog_compiler_pic='-DDLL_EXPORT'
9747 darwin* | rhapsody*)
9748 # PIC is the default on this platform
9749 # Common symbols not allowed in MH_DYLIB files
9750 lt_prog_compiler_pic='-fno-common'
9754 # PIC is the default for Haiku.
9755 # The "-static" flag exists, but is broken.
9756 lt_prog_compiler_static=
9760 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9761 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9762 # sets the default TLS model and affects inlining.
9768 lt_prog_compiler_pic='-fPIC'
9774 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9775 # Instead, we relocate shared libraries at runtime.
9779 # Just because we use GCC doesn't mean we suddenly get shared libraries
9780 # on systems that don't support them.
9781 lt_prog_compiler_can_build_shared=no
9786 # QNX uses GNU C++, but need to define -shared option too, otherwise
9788 lt_prog_compiler_pic='-fPIC -shared'
9792 if test -d /usr/nec; then
9793 lt_prog_compiler_pic=-Kconform_pic
9798 lt_prog_compiler_pic='-fPIC'
9802 case $cc_basename in
9803 nvcc*) # Cuda Compiler Driver 2.2
9804 lt_prog_compiler_wl='-Xlinker '
9805 lt_prog_compiler_pic='-Xcompiler -fPIC'
9809 # PORTME Check for flag to pass linker flags through the system compiler.
9812 lt_prog_compiler_wl='-Wl,'
9813 if test "$host_cpu" = ia64; then
9814 # AIX 5 now supports IA64 processor
9815 lt_prog_compiler_static='-Bstatic'
9817 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9821 mingw* | cygwin* | pw32* | os2* | cegcc*)
9822 # This hack is so that the source file can tell whether it is being
9823 # built for inclusion in a dll (and should export symbols for example).
9824 lt_prog_compiler_pic='-DDLL_EXPORT'
9827 hpux9* | hpux10* | hpux11*)
9828 lt_prog_compiler_wl='-Wl,'
9829 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9836 lt_prog_compiler_pic='+Z'
9839 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9840 lt_prog_compiler_static='${wl}-a ${wl}archive'
9843 irix5* | irix6* | nonstopux*)
9844 lt_prog_compiler_wl='-Wl,'
9845 # PIC (with -KPIC) is the default.
9846 lt_prog_compiler_static='-non_shared'
9849 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9850 case $cc_basename in
9851 # old Intel for x86_64 which still supported -KPIC.
9853 lt_prog_compiler_wl='-Wl,'
9854 lt_prog_compiler_pic='-KPIC'
9855 lt_prog_compiler_static='-static'
9857 # icc used to be incompatible with GCC.
9858 # ICC 10 doesn't accept -KPIC any more.
9860 lt_prog_compiler_wl='-Wl,'
9861 lt_prog_compiler_pic='-fPIC'
9862 lt_prog_compiler_static='-static'
9864 # Lahey Fortran 8.1.
9866 lt_prog_compiler_wl='-Wl,'
9867 lt_prog_compiler_pic='--shared'
9868 lt_prog_compiler_static='--static'
9870 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9871 # Portland Group compilers (*not* the Pentium gcc compiler,
9872 # which looks to be a dead project)
9873 lt_prog_compiler_wl='-Wl,'
9874 lt_prog_compiler_pic='-fpic'
9875 lt_prog_compiler_static='-Bstatic'
9878 lt_prog_compiler_wl='-Wl,'
9879 # All Alpha code is PIC.
9880 lt_prog_compiler_static='-non_shared'
9882 xl* | bgxl* | bgf* | mpixl*)
9883 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9884 lt_prog_compiler_wl='-Wl,'
9885 lt_prog_compiler_pic='-qpic'
9886 lt_prog_compiler_static='-qstaticlink'
9889 case `$CC -V 2>&1 | sed 5q` in
9890 *Sun\ F* | *Sun*Fortran*)
9891 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9892 lt_prog_compiler_pic='-KPIC'
9893 lt_prog_compiler_static='-Bstatic'
9894 lt_prog_compiler_wl=''
9898 lt_prog_compiler_pic='-KPIC'
9899 lt_prog_compiler_static='-Bstatic'
9900 lt_prog_compiler_wl='-Wl,'
9908 lt_prog_compiler_pic='-KPIC'
9909 lt_prog_compiler_static='-Bstatic'
9913 # QNX uses GNU C++, but need to define -shared option too, otherwise
9915 lt_prog_compiler_pic='-fPIC -shared'
9918 osf3* | osf4* | osf5*)
9919 lt_prog_compiler_wl='-Wl,'
9920 # All OSF/1 code is PIC.
9921 lt_prog_compiler_static='-non_shared'
9925 lt_prog_compiler_static='-non_shared'
9929 lt_prog_compiler_pic='-KPIC'
9930 lt_prog_compiler_static='-Bstatic'
9931 case $cc_basename in
9933 lt_prog_compiler_wl='-Qoption ld ';;
9935 lt_prog_compiler_wl='-Wl,';;
9940 lt_prog_compiler_wl='-Qoption ld '
9941 lt_prog_compiler_pic='-PIC'
9942 lt_prog_compiler_static='-Bstatic'
9945 sysv4 | sysv4.2uw2* | sysv4.3*)
9946 lt_prog_compiler_wl='-Wl,'
9947 lt_prog_compiler_pic='-KPIC'
9948 lt_prog_compiler_static='-Bstatic'
9952 if test -d /usr/nec ;then
9953 lt_prog_compiler_pic='-Kconform_pic'
9954 lt_prog_compiler_static='-Bstatic'
9958 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9959 lt_prog_compiler_wl='-Wl,'
9960 lt_prog_compiler_pic='-KPIC'
9961 lt_prog_compiler_static='-Bstatic'
9965 lt_prog_compiler_wl='-Wl,'
9966 lt_prog_compiler_can_build_shared=no
9970 lt_prog_compiler_pic='-pic'
9971 lt_prog_compiler_static='-Bstatic'
9975 lt_prog_compiler_can_build_shared=no
9981 # For platforms which do not support PIC, -DPIC is meaningless:
9983 lt_prog_compiler_pic=
9986 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9990 $as_echo "$lt_prog_compiler_pic" >&6; }
9998 # Check to make sure the PIC flag actually works.
10000 if test -n "$lt_prog_compiler_pic"; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10002 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10003 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10004 $as_echo_n "(cached
) " >&6
10006 lt_cv_prog_compiler_pic_works=no
10007 ac_outfile=conftest.$ac_objext
10008 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10009 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10010 # Insert the option either (1) after the last *FLAGS variable, or
10011 # (2) before a word containing "conftest.
", or (3) at the end.
10012 # Note that $ac_compile itself does not contain backslashes and begins
10013 # with a dollar sign (not a hyphen), so the echo should work correctly.
10014 # The option is referenced via a variable to avoid confusing sed.
10015 lt_compile=`echo "$ac_compile" | $SED \
10016 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10017 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10018 -e 's:$: $lt_compiler_flag:'`
10019 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10020 (eval "$lt_compile" 2>conftest.err)
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10024 if (exit $ac_status) && test -s "$ac_outfile"; then
10025 # The compiler can only warn and ignore the option if not recognized
10026 # So say no if there are warnings other than the usual output.
10027 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10028 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10029 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10030 lt_cv_prog_compiler_pic_works=yes
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10037 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10039 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10040 case $lt_prog_compiler_pic in
10042 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10045 lt_prog_compiler_pic=
10046 lt_prog_compiler_can_build_shared=no
10057 # Check to make sure the static flag actually works.
10059 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10061 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10062 if ${lt_cv_prog_compiler_static_works+:} false; then :
10063 $as_echo_n "(cached
) " >&6
10065 lt_cv_prog_compiler_static_works=no
10066 save_LDFLAGS="$LDFLAGS"
10067 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10068 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10069 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10070 # The linker can only warn and ignore the option if not recognized
10071 # So say no if there are warnings
10072 if test -s conftest.err; then
10073 # Append any errors to the config.log.
10074 cat conftest.err 1>&5
10075 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10076 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10077 if diff conftest.exp conftest.er2 >/dev/null; then
10078 lt_cv_prog_compiler_static_works=yes
10081 lt_cv_prog_compiler_static_works=yes
10085 LDFLAGS="$save_LDFLAGS"
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10089 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10091 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10094 lt_prog_compiler_static=
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10104 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10105 if ${lt_cv_prog_compiler_c_o+:} false; then :
10106 $as_echo_n "(cached
) " >&6
10108 lt_cv_prog_compiler_c_o=no
10109 $RM -r conftest 2>/dev/null
10113 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10115 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10116 # Insert the option either (1) after the last *FLAGS variable, or
10117 # (2) before a word containing "conftest.
", or (3) at the end.
10118 # Note that $ac_compile itself does not contain backslashes and begins
10119 # with a dollar sign (not a hyphen), so the echo should work correctly.
10120 lt_compile=`echo "$ac_compile" | $SED \
10121 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10123 -e 's:$: $lt_compiler_flag:'`
10124 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10125 (eval "$lt_compile" 2>out/conftest.err)
10127 cat out/conftest.err >&5
10128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10129 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10131 # The compiler can only warn and ignore the option if not recognized
10132 # So say no if there are warnings
10133 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10134 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10135 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10136 lt_cv_prog_compiler_c_o=yes
10141 # SGI C++ compiler will create directory out/ii_files/ for
10142 # template instantiation
10143 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10144 $RM out/* && rmdir out
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10151 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10159 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10160 if ${lt_cv_prog_compiler_c_o+:} false; then :
10161 $as_echo_n "(cached
) " >&6
10163 lt_cv_prog_compiler_c_o=no
10164 $RM -r conftest 2>/dev/null
10168 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10170 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10171 # Insert the option either (1) after the last *FLAGS variable, or
10172 # (2) before a word containing "conftest.
", or (3) at the end.
10173 # Note that $ac_compile itself does not contain backslashes and begins
10174 # with a dollar sign (not a hyphen), so the echo should work correctly.
10175 lt_compile=`echo "$ac_compile" | $SED \
10176 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10177 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10178 -e 's:$: $lt_compiler_flag:'`
10179 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10180 (eval "$lt_compile" 2>out/conftest.err)
10182 cat out/conftest.err >&5
10183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10184 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10186 # The compiler can only warn and ignore the option if not recognized
10187 # So say no if there are warnings
10188 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10189 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10190 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10191 lt_cv_prog_compiler_c_o=yes
10196 # SGI C++ compiler will create directory out/ii_files/ for
10197 # template instantiation
10198 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10199 $RM out/* && rmdir out
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10206 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10211 hard_links="nottested
"
10212 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10213 # do not overwrite the value of need_locks provided by the user
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10215 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10218 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10220 ln conftest.a conftest.b 2>&5 || hard_links=no
10221 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10223 $as_echo "$hard_links" >&6; }
10224 if test "$hard_links" = no; then
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10226 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10239 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10242 allow_undefined_flag=
10243 always_export_symbols=no
10245 archive_expsym_cmds=
10246 compiler_needs_object=no
10247 enable_shared_with_static_runtimes=no
10248 export_dynamic_flag_spec=
10249 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10250 hardcode_automatic=no
10252 hardcode_direct_absolute=no
10253 hardcode_libdir_flag_spec=
10254 hardcode_libdir_flag_spec_ld=
10255 hardcode_libdir_separator=
10256 hardcode_minus_L=no
10257 hardcode_shlibpath_var=unsupported
10259 link_all_deplibs=unknown
10261 module_expsym_cmds=
10262 old_archive_from_new_cmds=
10263 old_archive_from_expsyms_cmds=
10264 thread_safe_flag_spec=
10265 whole_archive_flag_spec=
10266 # include_expsyms should be a list of space-separated symbols to be *always*
10267 # included in the symbol list
10269 # exclude_expsyms can be an extended regexp of symbols to exclude
10270 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10271 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10272 # as well as any symbol that contains `d'.
10273 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10274 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10275 # platforms (ab)use it in PIC code, but their linkers get confused if
10276 # the symbol is explicitly referenced. Since portable code cannot
10277 # rely on this symbol name, it's probably fine to never include it in
10278 # preloaded symbol tables.
10279 # Exclude shared library initialization/finalization symbols.
10280 extract_expsyms_cmds=
10283 cygwin* | mingw* | pw32* | cegcc*)
10284 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10285 # When not using gcc, we currently assume that we are using
10286 # Microsoft Visual C++.
10287 if test "$GCC" != yes; then
10292 # we just hope/assume this is gcc and not c89 (= MSVC++)
10302 # On some targets, GNU ld is compatible enough with the native linker
10303 # that we're better off using the native interface for both.
10304 lt_use_gnu_ld_interface=no
10305 if test "$with_gnu_ld" = yes; then
10308 # The AIX port of GNU ld has always aspired to compatibility
10309 # with the native linker. However, as the warning in the GNU ld
10310 # block says, versions before 2.19.5* couldn't really create working
10311 # shared libraries, regardless of the interface used.
10312 case `$LD -v 2>&1` in
10313 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10314 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10315 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10317 lt_use_gnu_ld_interface=yes
10322 lt_use_gnu_ld_interface=yes
10327 if test "$lt_use_gnu_ld_interface" = yes; then
10328 # If archive_cmds runs LD, not CC, wlarc should be empty
10331 # Set some defaults for GNU ld with shared library support. These
10332 # are reset later if shared libraries are not supported. Putting them
10333 # here allows them to be overridden if necessary.
10334 runpath_var=LD_RUN_PATH
10335 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10336 export_dynamic_flag_spec='${wl}--export-dynamic'
10337 # ancient GNU ld didn't support --whole-archive et. al.
10338 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10339 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10341 whole_archive_flag_spec=
10343 supports_anon_versioning=no
10344 case `$LD -v 2>&1` in
10345 *GNU\ gold*) supports_anon_versioning=yes ;;
10346 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10347 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10348 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10349 *\ 2.11.*) ;; # other 2.11 versions
10350 *) supports_anon_versioning=yes ;;
10353 # See if GNU ld supports shared libraries.
10356 # On AIX/PPC, the GNU linker is very broken
10357 if test "$host_cpu" != ia64; then
10361 *** Warning: the GNU linker, at least up to release 2.19, is reported
10362 *** to be unable to reliably create shared libraries on AIX.
10363 *** Therefore, libtool is disabling shared libraries support. If you
10364 *** really care for shared libraries, you may want to install binutils
10365 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10366 *** You will then need to restart the configuration process.
10375 # see comment about AmigaOS4 .so support
10376 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10377 archive_expsym_cmds=''
10380 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)'
10381 hardcode_libdir_flag_spec
='-L$libdir'
10382 hardcode_minus_L
=yes
10388 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10389 allow_undefined_flag
=unsupported
10390 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10391 # support --undefined. This deserves some investigation. FIXME
10392 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10398 cygwin
* | mingw
* | pw32
* | cegcc
*)
10399 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10400 # as there is no search path for DLLs.
10401 hardcode_libdir_flag_spec
='-L$libdir'
10402 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10403 allow_undefined_flag
=unsupported
10404 always_export_symbols
=no
10405 enable_shared_with_static_runtimes
=yes
10406 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10408 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10409 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10410 # If the export-symbols file already is a .def file (1st line
10411 # is EXPORTS), use it as is; otherwise, prepend...
10412 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10413 cp $export_symbols $output_objdir/$soname.def;
10415 echo EXPORTS > $output_objdir/$soname.def;
10416 cat $export_symbols >> $output_objdir/$soname.def;
10418 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10425 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10426 link_all_deplibs
=yes
10431 hardcode_shlibpath_var
=no
10432 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10433 export_dynamic_flag_spec
='${wl}-E'
10434 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10435 # Instead, shared libraries are loaded at an image base (0x10000000 by
10436 # default) and relocated if they conflict, which is a slow very memory
10437 # consuming and fragmenting process. To avoid this, we pick a random,
10438 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10439 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10440 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10441 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'
10444 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10446 if test "$host_os" = linux-dietlibc
; then
10447 case $cc_basename in
10448 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10451 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10452 && test "$tmp_diet" = no
10454 tmp_addflag
=' $pic_flag'
10455 tmp_sharedflag
='-shared'
10456 case $cc_basename,$host_cpu in
10457 pgcc
*) # Portland Group C compiler
10458 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'
10459 tmp_addflag
=' $pic_flag'
10461 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10462 # Portland Group f77 and f90 compilers
10463 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'
10464 tmp_addflag
=' $pic_flag -Mnomain' ;;
10465 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10466 tmp_addflag
=' -i_dynamic' ;;
10467 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10468 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10469 ifc
* | ifort
*) # Intel Fortran compiler
10470 tmp_addflag
=' -nofor_main' ;;
10471 lf95
*) # Lahey Fortran 8.1
10472 whole_archive_flag_spec
=
10473 tmp_sharedflag
='--shared' ;;
10474 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10475 tmp_sharedflag
='-qmkshrobj'
10477 nvcc
*) # Cuda Compiler Driver 2.2
10478 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'
10479 compiler_needs_object
=yes
10482 case `$CC -V 2>&1 | sed 5q` in
10483 *Sun\ C
*) # Sun C 5.9
10484 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'
10485 compiler_needs_object
=yes
10486 tmp_sharedflag
='-G' ;;
10487 *Sun\ F
*) # Sun Fortran 8.3
10488 tmp_sharedflag
='-G' ;;
10490 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10492 if test "x$supports_anon_versioning" = xyes
; then
10493 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10494 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10495 echo "local: *; };" >> $output_objdir/$libname.ver~
10496 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10499 case $cc_basename in
10500 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10501 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10502 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10503 hardcode_libdir_flag_spec
=
10504 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10505 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10506 if test "x$supports_anon_versioning" = xyes
; then
10507 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10508 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10509 echo "local: *; };" >> $output_objdir/$libname.ver~
10510 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10520 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10521 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10524 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10525 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10530 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10534 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10535 *** create shared libraries on Solaris systems. Therefore, libtool
10536 *** is disabling shared libraries support. We urge you to upgrade GNU
10537 *** binutils to release 2.9.1 or newer. Another option is to modify
10538 *** your PATH or compiler configuration so that the native linker is
10539 *** used, and then restart.
10542 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10543 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10544 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10550 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10551 case `$LD -v 2>&1` in
10552 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10556 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10557 *** reliably create shared libraries on SCO systems. Therefore, libtool
10558 *** is disabling shared libraries support. We urge you to upgrade GNU
10559 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10560 *** your PATH or compiler configuration so that the native linker is
10561 *** used, and then restart.
10566 # For security reasons, it is highly recommended that you always
10567 # use absolute paths for naming shared libraries, and exclude the
10568 # DT_RUNPATH tag from executables and libraries. But doing so
10569 # requires that you compile everything twice, which is a pain.
10570 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10571 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10572 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10573 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10582 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10584 hardcode_direct
=yes
10585 hardcode_shlibpath_var
=no
10589 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10590 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10591 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10598 if test "$ld_shlibs" = no
; then
10600 hardcode_libdir_flag_spec
=
10601 export_dynamic_flag_spec
=
10602 whole_archive_flag_spec
=
10605 # PORTME fill in a description of your system's linker (not GNU ld)
10608 allow_undefined_flag
=unsupported
10609 always_export_symbols
=yes
10610 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'
10611 # Note: this linker hardcodes the directories in LIBPATH if there
10612 # are no directories specified by -L.
10613 hardcode_minus_L
=yes
10614 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10615 # Neither direct hardcoding nor static linking is supported with a
10617 hardcode_direct
=unsupported
10622 if test "$host_cpu" = ia64
; then
10623 # On IA64, the linker does run time linking by default, so we don't
10624 # have to do anything special.
10625 aix_use_runtimelinking
=no
10626 exp_sym_flag
='-Bexport'
10629 # If we're using GNU nm, then we don't want the "-C" option.
10630 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10631 # Also, AIX nm treats weak defined symbols like other global
10632 # defined symbols, whereas GNU nm marks them as "W".
10633 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10634 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'
10636 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'
10638 aix_use_runtimelinking
=no
10640 # Test if we are trying to use run time linking or normal
10641 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10642 # need to do runtime linking.
10643 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10644 for ld_flag
in $LDFLAGS; do
10645 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10646 aix_use_runtimelinking
=yes
10653 exp_sym_flag
='-bexport'
10654 no_entry_flag
='-bnoentry'
10657 # When large executables or shared objects are built, AIX ld can
10658 # have problems creating the table of contents. If linking a library
10659 # or program results in "error TOC overflow" add -mminimal-toc to
10660 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10661 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10664 hardcode_direct
=yes
10665 hardcode_direct_absolute
=yes
10666 hardcode_libdir_separator
=':'
10667 link_all_deplibs
=yes
10668 file_list_spec
='${wl}-f,'
10670 if test "$GCC" = yes; then
10671 case $host_os in aix4.
[012]|aix4.
[012].
*)
10672 # We only want to do this on AIX 4.2 and lower, the check
10673 # below for broken collect2 doesn't work under 4.3+
10674 collect2name
=`${CC} -print-prog-name=collect2`
10675 if test -f "$collect2name" &&
10676 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10678 # We have reworked collect2
10681 # We have old collect2
10682 hardcode_direct
=unsupported
10683 # It fails to find uninstalled libraries when the uninstalled
10684 # path is not listed in the libpath. Setting hardcode_minus_L
10685 # to unsupported forces relinking
10686 hardcode_minus_L
=yes
10687 hardcode_libdir_flag_spec
='-L$libdir'
10688 hardcode_libdir_separator
=
10692 shared_flag
='-shared'
10693 if test "$aix_use_runtimelinking" = yes; then
10694 shared_flag
="$shared_flag "'${wl}-G'
10698 if test "$host_cpu" = ia64
; then
10699 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10700 # chokes on -Wl,-G. The following line is correct:
10703 if test "$aix_use_runtimelinking" = yes; then
10704 shared_flag
='${wl}-G'
10706 shared_flag
='${wl}-bM:SRE'
10711 export_dynamic_flag_spec
='${wl}-bexpall'
10712 # It seems that -bexpall does not export symbols beginning with
10713 # underscore (_), so it is better to generate a list of symbols to export.
10714 always_export_symbols
=yes
10715 if test "$aix_use_runtimelinking" = yes; then
10716 # Warning - without using the other runtime loading flags (-brtl),
10717 # -berok will link without error, but may produce a broken library.
10718 allow_undefined_flag
='-berok'
10719 # Determine the default libpath from the value encoded in an
10720 # empty executable.
10721 if test x
$gcc_no_link = xyes
; then
10722 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10735 if ac_fn_c_try_link
"$LINENO"; then :
10737 lt_aix_libpath_sed
='
10738 /Import File Strings/,/^$/ {
10744 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10745 # Check for a 64-bit object if we didn't find anything.
10746 if test -z "$aix_libpath"; then
10747 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10750 rm -f core conftest.err conftest.
$ac_objext \
10751 conftest
$ac_exeext conftest.
$ac_ext
10752 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10754 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10755 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"
10757 if test "$host_cpu" = ia64
; then
10758 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10759 allow_undefined_flag
="-z nodefs"
10760 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"
10762 # Determine the default libpath from the value encoded in an
10763 # empty executable.
10764 if test x
$gcc_no_link = xyes
; then
10765 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10778 if ac_fn_c_try_link
"$LINENO"; then :
10780 lt_aix_libpath_sed
='
10781 /Import File Strings/,/^$/ {
10787 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10788 # Check for a 64-bit object if we didn't find anything.
10789 if test -z "$aix_libpath"; then
10790 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10793 rm -f core conftest.err conftest.
$ac_objext \
10794 conftest
$ac_exeext conftest.
$ac_ext
10795 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10797 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10798 # Warning - without using the other run time loading flags,
10799 # -berok will link without error, but may produce a broken library.
10800 no_undefined_flag
=' ${wl}-bernotok'
10801 allow_undefined_flag
=' ${wl}-berok'
10802 if test "$with_gnu_ld" = yes; then
10803 # We only use this code for GNU lds that support --whole-archive.
10804 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10806 # Exported symbols can be pulled into shared objects from archives
10807 whole_archive_flag_spec
='$convenience'
10809 archive_cmds_need_lc
=yes
10810 # This is similar to how AIX traditionally builds its shared libraries.
10811 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'
10819 # see comment about AmigaOS4 .so support
10820 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10821 archive_expsym_cmds
=''
10824 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)'
10825 hardcode_libdir_flag_spec
='-L$libdir'
10826 hardcode_minus_L
=yes
10832 export_dynamic_flag_spec
=-rdynamic
10835 cygwin
* | mingw
* | pw32
* | cegcc
*)
10836 # When not using gcc, we currently assume that we are using
10837 # Microsoft Visual C++.
10838 # hardcode_libdir_flag_spec is actually meaningless, as there is
10839 # no search path for DLLs.
10840 hardcode_libdir_flag_spec
=' '
10841 allow_undefined_flag
=unsupported
10842 # Tell ltmain to make .lib files, not .a files.
10844 # Tell ltmain to make .dll files, not .so files.
10846 # FIXME: Setting linknames here is a bad hack.
10847 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10848 # The linker will automatically build a .lib file if we build a DLL.
10849 old_archive_from_new_cmds
='true'
10850 # FIXME: Should let the user specify the lib program.
10851 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10852 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10853 enable_shared_with_static_runtimes
=yes
10856 darwin
* | rhapsody
*)
10859 archive_cmds_need_lc
=no
10861 hardcode_automatic
=yes
10862 hardcode_shlibpath_var
=unsupported
10863 if test "$lt_cv_ld_force_load" = "yes"; then
10864 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\"`'
10866 whole_archive_flag_spec
=''
10868 link_all_deplibs
=yes
10869 allow_undefined_flag
="$_lt_dar_allow_undefined"
10870 case $cc_basename in
10871 ifort
*) _lt_dar_can_shared
=yes ;;
10872 *) _lt_dar_can_shared
=$GCC ;;
10874 if test "$_lt_dar_can_shared" = "yes"; then
10875 output_verbose_link_cmd
=func_echo_all
10876 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10877 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10878 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10879 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}"
10888 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10889 hardcode_libdir_flag_spec
='-L$libdir'
10890 hardcode_shlibpath_var
=no
10893 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10894 # support. Future versions do this automatically, but an explicit c++rt0.o
10895 # does not break anything, and helps significantly (at the cost of a little
10898 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10899 hardcode_libdir_flag_spec
='-R$libdir'
10900 hardcode_direct
=yes
10901 hardcode_shlibpath_var
=no
10904 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10906 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10907 hardcode_direct
=yes
10908 hardcode_minus_L
=yes
10909 hardcode_shlibpath_var
=no
10912 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10913 freebsd
* | dragonfly
*)
10914 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10915 hardcode_libdir_flag_spec
='-R$libdir'
10916 hardcode_direct
=yes
10917 hardcode_shlibpath_var
=no
10921 if test "$GCC" = yes; then
10922 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'
10924 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'
10926 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10927 hardcode_libdir_separator
=:
10928 hardcode_direct
=yes
10930 # hardcode_minus_L: Not really in the search PATH,
10931 # but as the default location of the library.
10932 hardcode_minus_L
=yes
10933 export_dynamic_flag_spec
='${wl}-E'
10937 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10938 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10940 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10942 if test "$with_gnu_ld" = no
; then
10943 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10944 hardcode_libdir_flag_spec_ld
='+b $libdir'
10945 hardcode_libdir_separator
=:
10946 hardcode_direct
=yes
10947 hardcode_direct_absolute
=yes
10948 export_dynamic_flag_spec
='${wl}-E'
10949 # hardcode_minus_L: Not really in the search PATH,
10950 # but as the default location of the library.
10951 hardcode_minus_L
=yes
10956 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10959 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10962 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10965 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10978 # Older versions of the 11.00 compiler do not understand -b yet
10979 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10981 $as_echo_n "checking if $CC understands -b... " >&6; }
10982 if ${lt_cv_prog_compiler__b+:} false
; then :
10983 $as_echo_n "(cached) " >&6
10985 lt_cv_prog_compiler__b
=no
10986 save_LDFLAGS
="$LDFLAGS"
10987 LDFLAGS
="$LDFLAGS -b"
10988 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10989 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10990 # The linker can only warn and ignore the option if not recognized
10991 # So say no if there are warnings
10992 if test -s conftest.err
; then
10993 # Append any errors to the config.log.
10994 cat conftest.err
1>&5
10995 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10996 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10997 if diff conftest.exp conftest.er2
>/dev
/null
; then
10998 lt_cv_prog_compiler__b
=yes
11001 lt_cv_prog_compiler__b
=yes
11005 LDFLAGS
="$save_LDFLAGS"
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11009 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11011 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11012 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11014 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11020 if test "$with_gnu_ld" = no
; then
11021 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11022 hardcode_libdir_separator
=:
11027 hardcode_shlibpath_var
=no
11030 hardcode_direct
=yes
11031 hardcode_direct_absolute
=yes
11032 export_dynamic_flag_spec
='${wl}-E'
11034 # hardcode_minus_L: Not really in the search PATH,
11035 # but as the default location of the library.
11036 hardcode_minus_L
=yes
11042 irix5
* | irix6
* | nonstopux
*)
11043 if test "$GCC" = yes; then
11044 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'
11045 # Try to use the -exported_symbol ld option, if it does not
11046 # work, assume that -exports_file does not work either and
11047 # implicitly export all symbols.
11048 save_LDFLAGS
="$LDFLAGS"
11049 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11050 if test x
$gcc_no_link = xyes
; then
11051 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11057 if ac_fn_c_try_link
"$LINENO"; then :
11058 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'
11061 rm -f core conftest.err conftest.
$ac_objext \
11062 conftest
$ac_exeext conftest.
$ac_ext
11063 LDFLAGS
="$save_LDFLAGS"
11065 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'
11066 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'
11068 archive_cmds_need_lc
='no'
11069 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11070 hardcode_libdir_separator
=:
11072 link_all_deplibs
=yes
11076 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11077 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11079 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11081 hardcode_libdir_flag_spec
='-R$libdir'
11082 hardcode_direct
=yes
11083 hardcode_shlibpath_var
=no
11087 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11088 hardcode_direct
=yes
11089 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11090 hardcode_libdir_separator
=:
11091 hardcode_shlibpath_var
=no
11098 if test -f /usr
/libexec
/ld.so
; then
11099 hardcode_direct
=yes
11100 hardcode_shlibpath_var
=no
11101 hardcode_direct_absolute
=yes
11102 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11103 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11104 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11105 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11106 export_dynamic_flag_spec
='${wl}-E'
11109 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11110 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11111 hardcode_libdir_flag_spec
='-R$libdir'
11114 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11115 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11125 hardcode_libdir_flag_spec
='-L$libdir'
11126 hardcode_minus_L
=yes
11127 allow_undefined_flag
=unsupported
11128 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'
11129 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11133 if test "$GCC" = yes; then
11134 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11135 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'
11137 allow_undefined_flag
=' -expect_unresolved \*'
11138 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'
11140 archive_cmds_need_lc
='no'
11141 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11142 hardcode_libdir_separator
=:
11145 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11146 if test "$GCC" = yes; then
11147 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11148 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'
11149 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11151 allow_undefined_flag
=' -expect_unresolved \*'
11152 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'
11153 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~
11154 $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'
11156 # Both c and cxx compiler support -rpath directly
11157 hardcode_libdir_flag_spec
='-rpath $libdir'
11159 archive_cmds_need_lc
='no'
11160 hardcode_libdir_separator
=:
11164 no_undefined_flag
=' -z defs'
11165 if test "$GCC" = yes; then
11167 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11168 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11169 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11171 case `$CC -V 2>&1` in
11174 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11175 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11176 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11180 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11181 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11182 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11186 hardcode_libdir_flag_spec
='-R$libdir'
11187 hardcode_shlibpath_var
=no
11189 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11191 # The compiler driver will combine and reorder linker options,
11192 # but understands `-z linker_flag'. GCC discards it without `$wl',
11193 # but is careful enough not to reorder.
11194 # Supported since Solaris 2.6 (maybe 2.5.1?)
11195 if test "$GCC" = yes; then
11196 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11198 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11202 link_all_deplibs
=yes
11206 if test "x$host_vendor" = xsequent
; then
11207 # Use $CC to link under sequent, because it throws in some extra .o
11208 # files that make .init and .fini sections work.
11209 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11211 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11213 hardcode_libdir_flag_spec
='-L$libdir'
11214 hardcode_direct
=yes
11215 hardcode_minus_L
=yes
11216 hardcode_shlibpath_var
=no
11220 case $host_vendor in
11222 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11223 hardcode_direct
=yes # is this really true???
11226 ## LD is ld it makes a PLAMLIB
11227 ## CC just makes a GrossModule.
11228 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11229 reload_cmds
='$CC -r -o $output$reload_objs'
11233 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11234 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11237 runpath_var
='LD_RUN_PATH'
11238 hardcode_shlibpath_var
=no
11242 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11243 hardcode_shlibpath_var
=no
11244 export_dynamic_flag_spec
='-Bexport'
11248 if test -d /usr
/nec
; then
11249 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11250 hardcode_shlibpath_var
=no
11251 runpath_var
=LD_RUN_PATH
11252 hardcode_runpath_var
=yes
11257 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11258 no_undefined_flag
='${wl}-z,text'
11259 archive_cmds_need_lc
=no
11260 hardcode_shlibpath_var
=no
11261 runpath_var
='LD_RUN_PATH'
11263 if test "$GCC" = yes; then
11264 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11267 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11268 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11272 sysv5
* | sco3.2v5
* | sco5v6
*)
11273 # Note: We can NOT use -z defs as we might desire, because we do not
11274 # link with -lc, and that would cause any symbols used from libc to
11275 # always be unresolved, which means just about no library would
11276 # ever link correctly. If we're not using GNU ld we use -z text
11277 # though, which does catch some bad symbols but isn't as heavy-handed
11279 no_undefined_flag
='${wl}-z,text'
11280 allow_undefined_flag
='${wl}-z,nodefs'
11281 archive_cmds_need_lc
=no
11282 hardcode_shlibpath_var
=no
11283 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11284 hardcode_libdir_separator
=':'
11285 link_all_deplibs
=yes
11286 export_dynamic_flag_spec
='${wl}-Bexport'
11287 runpath_var
='LD_RUN_PATH'
11289 if test "$GCC" = yes; then
11290 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11291 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11293 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11294 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11299 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11300 hardcode_libdir_flag_spec
='-L$libdir'
11301 hardcode_shlibpath_var
=no
11309 if test x
$host_vendor = xsni
; then
11311 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11312 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11319 $as_echo "$ld_shlibs" >&6; }
11320 test "$ld_shlibs" = no
&& can_build_shared
=no
11322 with_gnu_ld
=$with_gnu_ld
11339 # Do we need to explicitly link libc?
11341 case "x$archive_cmds_need_lc" in
11343 # Assume -lc should be added
11344 archive_cmds_need_lc
=yes
11346 if test "$enable_shared" = yes && test "$GCC" = yes; then
11347 case $archive_cmds in
11349 # FIXME: we may have to deal with multi-command sequences.
11352 # Test whether the compiler implicitly links with -lc since on some
11353 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11354 # to ld, don't add -lc before -lgcc.
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11356 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11357 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11358 $as_echo_n "(cached) " >&6
11361 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11364 (eval $ac_compile) 2>&5
11366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11367 test $ac_status = 0; } 2>conftest.err
; then
11370 libobjs
=conftest.
$ac_objext
11372 wl
=$lt_prog_compiler_wl
11373 pic_flag
=$lt_prog_compiler_pic
11379 lt_save_allow_undefined_flag
=$allow_undefined_flag
11380 allow_undefined_flag
=
11381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11382 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11385 test $ac_status = 0; }
11387 lt_cv_archive_cmds_need_lc
=no
11389 lt_cv_archive_cmds_need_lc
=yes
11391 allow_undefined_flag
=$lt_save_allow_undefined_flag
11393 cat conftest.err
1>&5
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11399 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11400 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11564 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11566 if test "$GCC" = yes; then
11568 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11569 *) lt_awk_arg
="/^libraries:/" ;;
11572 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11573 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11575 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11576 case $lt_search_path_spec in
11578 # if the path contains ";" then we assume it to be the separator
11579 # otherwise default to the standard path separator (i.e. ":") - it is
11580 # assumed that no part of a normal pathname contains ";" but that should
11581 # okay in the real world where ";" in dirpaths is itself problematic.
11582 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11585 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11588 # Ok, now we have the path, separated by spaces, we can step through it
11589 # and add multilib dir if necessary.
11590 lt_tmp_lt_search_path_spec
=
11591 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11592 for lt_sys_path
in $lt_search_path_spec; do
11593 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11594 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11596 test -d "$lt_sys_path" && \
11597 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11600 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11601 BEGIN {RS=" "; FS="/|\n";} {
11604 for (lt_i = NF; lt_i > 0; lt_i--) {
11605 if ($lt_i != "" && $lt_i != ".") {
11606 if ($lt_i == "..") {
11609 if (lt_count == 0) {
11610 lt_foo="/" $lt_i lt_foo;
11617 if (lt_foo != "") { lt_freq[lt_foo]++; }
11618 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11620 # AWK program above erroneously prepends '/' to C:/dos/paths
11623 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11624 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11626 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11628 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11630 library_names_spec
=
11631 libname_spec
='lib$name'
11635 postuninstall_cmds
=
11639 shlibpath_overrides_runpath
=unknown
11641 dynamic_linker
="$host_os ld.so"
11642 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11643 need_lib_prefix
=unknown
11644 hardcode_into_libs
=no
11646 # when you set need_version to no, make sure it does not cause -set_version
11647 # flags to be left without arguments
11648 need_version
=unknown
11653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11654 shlibpath_var
=LIBPATH
11656 # AIX 3 has no versioning support, so we append a major version to the name.
11657 soname_spec
='${libname}${release}${shared_ext}$major'
11664 hardcode_into_libs
=yes
11665 if test "$host_cpu" = ia64
; then
11666 # AIX 5 supports IA64
11667 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11668 shlibpath_var
=LD_LIBRARY_PATH
11670 # With GCC up to 2.95.x, collect2 would create an import file
11671 # for dependence libraries. The import file would start with
11672 # the line `#! .'. This would cause the generated library to
11673 # depend on `.', always an invalid library. This was fixed in
11674 # development snapshots of GCC prior to 3.0.
11676 aix4 | aix4.
[01] | aix4.
[01].
*)
11677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11679 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11682 can_build_shared
=no
11686 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11687 # soname into executable. Probably we can add versioning support to
11688 # collect2, so additional links can be useful in future.
11689 if test "$aix_use_runtimelinking" = yes; then
11690 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11691 # instead of lib<name>.a to let people know that these are not
11692 # typical AIX shared libraries.
11693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695 # We preserve .a as extension for shared libraries through AIX4.2
11696 # and later when we are not doing run time linking.
11697 library_names_spec
='${libname}${release}.a $libname.a'
11698 soname_spec
='${libname}${release}${shared_ext}$major'
11700 shlibpath_var
=LIBPATH
11707 # Since July 2007 AmigaOS4 officially supports .so libraries.
11708 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11712 library_names_spec
='$libname.ixlibrary $libname.a'
11713 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11714 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'
11720 library_names_spec
='${libname}${shared_ext}'
11721 dynamic_linker
="$host_os ld.so"
11722 shlibpath_var
=LIBRARY_PATH
11728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 soname_spec
='${libname}${release}${shared_ext}$major'
11730 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11731 shlibpath_var
=LD_LIBRARY_PATH
11732 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11733 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11734 # the default ld.so.conf also contains /usr/contrib/lib and
11735 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11736 # libtool to hard-code these into programs
11739 cygwin
* | mingw
* | pw32
* | cegcc
*)
11740 version_type
=windows
11745 case $GCC,$host_os in
11746 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11747 library_names_spec
='$libname.dll.a'
11748 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11749 postinstall_cmds
='base_file=`basename \${file}`~
11750 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11751 dldir=$destdir/`dirname \$dlpath`~
11752 test -d \$dldir || mkdir -p \$dldir~
11753 $install_prog $dir/$dlname \$dldir/$dlname~
11754 chmod a+x \$dldir/$dlname~
11755 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11756 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11758 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11759 dlpath=$dir/\$dldll~
11761 shlibpath_overrides_runpath
=yes
11765 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11766 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11768 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11771 # MinGW DLLs use traditional 'lib' prefix
11772 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11775 # pw32 DLLs use 'pw' prefix rather than 'lib'
11776 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11782 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11785 dynamic_linker
='Win32 ld.exe'
11786 # FIXME: first we should search . and the directory the executable is in
11790 darwin
* | rhapsody
*)
11791 dynamic_linker
="$host_os dyld"
11792 version_type
=darwin
11795 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11796 soname_spec
='${libname}${release}${major}$shared_ext'
11797 shlibpath_overrides_runpath
=yes
11798 shlibpath_var
=DYLD_LIBRARY_PATH
11799 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11801 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11802 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11810 soname_spec
='${libname}${release}${shared_ext}$major'
11811 shlibpath_var
=LD_LIBRARY_PATH
11814 freebsd
* | dragonfly
*)
11815 # DragonFly does not have aout. When/if they implement a new
11816 # versioning mechanism, adjust this.
11817 if test -x /usr
/bin
/objformat
; then
11818 objformat
=`/usr/bin/objformat`
11821 freebsd
[23].
*) objformat
=aout
;;
11822 *) objformat
=elf
;;
11825 version_type
=freebsd-
$objformat
11826 case $version_type in
11828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11833 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11837 shlibpath_var
=LD_LIBRARY_PATH
11840 shlibpath_overrides_runpath
=yes
11842 freebsd3.
[01]* | freebsdelf3.
[01]*)
11843 shlibpath_overrides_runpath
=yes
11844 hardcode_into_libs
=yes
11846 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11847 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11848 shlibpath_overrides_runpath
=no
11849 hardcode_into_libs
=yes
11851 *) # from 4.6 on, and DragonFly
11852 shlibpath_overrides_runpath
=yes
11853 hardcode_into_libs
=yes
11862 dynamic_linker
="$host_os runtime_loader"
11863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11864 soname_spec
='${libname}${release}${shared_ext}$major'
11865 shlibpath_var
=LIBRARY_PATH
11866 shlibpath_overrides_runpath
=yes
11867 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11868 hardcode_into_libs
=yes
11871 hpux9
* | hpux10
* | hpux11
*)
11872 # Give a soname corresponding to the major version so that dld.sl refuses to
11873 # link against other versions.
11880 hardcode_into_libs
=yes
11881 dynamic_linker
="$host_os dld.so"
11882 shlibpath_var
=LD_LIBRARY_PATH
11883 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11885 soname_spec
='${libname}${release}${shared_ext}$major'
11886 if test "X$HPUX_IA64_MODE" = X32
; then
11887 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11889 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11891 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11895 hardcode_into_libs
=yes
11896 dynamic_linker
="$host_os dld.sl"
11897 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11898 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11900 soname_spec
='${libname}${release}${shared_ext}$major'
11901 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11902 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11906 dynamic_linker
="$host_os dld.sl"
11907 shlibpath_var
=SHLIB_PATH
11908 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11910 soname_spec
='${libname}${release}${shared_ext}$major'
11913 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11914 postinstall_cmds
='chmod 555 $lib'
11915 # or fails outright, so override atomically:
11916 install_override_mode
=555
11923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11924 soname_spec
='${libname}${release}${shared_ext}$major'
11925 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11926 shlibpath_var
=LD_LIBRARY_PATH
11927 shlibpath_overrides_runpath
=no
11928 hardcode_into_libs
=yes
11931 irix5
* | irix6
* | nonstopux
*)
11933 nonstopux
*) version_type
=nonstopux
;;
11935 if test "$lt_cv_prog_gnu_ld" = yes; then
11943 soname_spec
='${libname}${release}${shared_ext}$major'
11944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11946 irix5
* | nonstopux
*)
11947 libsuff
= shlibsuff
=
11950 case $LD in # libtool.m4 will add one of these switches to LD
11951 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11952 libsuff
= shlibsuff
= libmagic
=32-bit;;
11953 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11954 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11955 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11956 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11957 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11961 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11962 shlibpath_overrides_runpath
=no
11963 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11964 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11965 hardcode_into_libs
=yes
11968 # No shared lib support for Linux oldld, aout, or coff.
11969 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11973 # This must be Linux ELF.
11975 # uclinux* changes (here and below) have been submitted to the libtool
11976 # project, but have not yet been accepted: they are GCC-local changes
11977 # for the time being. (See
11978 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11979 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11984 soname_spec
='${libname}${release}${shared_ext}$major'
11985 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11986 shlibpath_var
=LD_LIBRARY_PATH
11987 shlibpath_overrides_runpath
=no
11989 # Some binutils ld are patched to set DT_RUNPATH
11990 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11991 $as_echo_n "(cached) " >&6
11993 lt_cv_shlibpath_overrides_runpath
=no
11994 save_LDFLAGS
=$LDFLAGS
11995 save_libdir
=$libdir
11996 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11997 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11998 if test x
$gcc_no_link = xyes
; then
11999 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12012 if ac_fn_c_try_link
"$LINENO"; then :
12013 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12014 lt_cv_shlibpath_overrides_runpath
=yes
12017 rm -f core conftest.err conftest.
$ac_objext \
12018 conftest
$ac_exeext conftest.
$ac_ext
12019 LDFLAGS
=$save_LDFLAGS
12020 libdir
=$save_libdir
12024 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12026 # This implies no fast_install, which is unacceptable.
12027 # Some rework will be needed to allow for fast_install
12028 # before this can be enabled.
12029 hardcode_into_libs
=yes
12031 # Append ld.so.conf contents to the search path
12032 if test -f /etc
/ld.so.conf
; then
12033 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' ' '`
12034 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12037 # We used to test for /lib/ld.so.1 and disable shared libraries on
12038 # powerpc, because MkLinux only supported shared libraries with the
12039 # GNU dynamic linker. Since this was broken with cross compilers,
12040 # most powerpc-linux boxes support dynamic linking these days and
12041 # people can always --disable-shared, the test was removed, and we
12042 # assume the GNU/Linux dynamic linker is in use.
12043 dynamic_linker
='GNU/Linux ld.so'
12050 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12052 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12053 dynamic_linker
='NetBSD (a.out) ld.so'
12055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12056 soname_spec
='${libname}${release}${shared_ext}$major'
12057 dynamic_linker
='NetBSD ld.elf_so'
12059 shlibpath_var
=LD_LIBRARY_PATH
12060 shlibpath_overrides_runpath
=yes
12061 hardcode_into_libs
=yes
12066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12067 shlibpath_var
=LD_LIBRARY_PATH
12068 shlibpath_overrides_runpath
=yes
12075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12076 soname_spec
='${libname}${release}${shared_ext}$major'
12077 shlibpath_var
=LD_LIBRARY_PATH
12078 shlibpath_overrides_runpath
=no
12079 hardcode_into_libs
=yes
12080 dynamic_linker
='ldqnx.so'
12085 sys_lib_dlsearch_path_spec
="/usr/lib"
12087 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12089 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12090 *) need_version
=no
;;
12092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12093 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12094 shlibpath_var
=LD_LIBRARY_PATH
12095 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12097 openbsd2.
[89] | openbsd2.
[89].
*)
12098 shlibpath_overrides_runpath
=no
12101 shlibpath_overrides_runpath
=yes
12105 shlibpath_overrides_runpath
=yes
12110 libname_spec
='$name'
12113 library_names_spec
='$libname${shared_ext} $libname.a'
12114 dynamic_linker
='OS/2 ld.exe'
12115 shlibpath_var
=LIBPATH
12118 osf3
* | osf4
* | osf5
*)
12122 soname_spec
='${libname}${release}${shared_ext}$major'
12123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12124 shlibpath_var
=LD_LIBRARY_PATH
12125 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12126 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12138 soname_spec
='${libname}${release}${shared_ext}$major'
12139 shlibpath_var
=LD_LIBRARY_PATH
12140 shlibpath_overrides_runpath
=yes
12141 hardcode_into_libs
=yes
12142 # ldd complains unless libraries are executable
12143 postinstall_cmds
='chmod +x $lib'
12148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12149 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12150 shlibpath_var
=LD_LIBRARY_PATH
12151 shlibpath_overrides_runpath
=yes
12152 if test "$with_gnu_ld" = yes; then
12160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12161 soname_spec
='${libname}${release}${shared_ext}$major'
12162 shlibpath_var
=LD_LIBRARY_PATH
12163 case $host_vendor in
12165 shlibpath_overrides_runpath
=no
12167 runpath_var
=LD_RUN_PATH
12175 shlibpath_overrides_runpath
=no
12176 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12182 if test -d /usr
/nec
;then
12184 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12185 soname_spec
='$libname${shared_ext}.$major'
12186 shlibpath_var
=LD_LIBRARY_PATH
12190 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12191 version_type
=freebsd-elf
12194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12195 soname_spec
='${libname}${release}${shared_ext}$major'
12196 shlibpath_var
=LD_LIBRARY_PATH
12197 shlibpath_overrides_runpath
=yes
12198 hardcode_into_libs
=yes
12199 if test "$with_gnu_ld" = yes; then
12200 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12202 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12205 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12209 sys_lib_dlsearch_path_spec
='/usr/lib'
12213 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12218 shlibpath_var
=LD_LIBRARY_PATH
12219 shlibpath_overrides_runpath
=no
12220 hardcode_into_libs
=yes
12225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226 soname_spec
='${libname}${release}${shared_ext}$major'
12227 shlibpath_var
=LD_LIBRARY_PATH
12230 # Shared libraries for VwWorks, >= 7 only at this stage
12231 # and (fpic) still incompatible with "large" code models
12232 # in a few configurations. Only for RTP mode in any case,
12233 # and upon explicit request at configure time.
12236 case ${with_multisubdir}-${enable_shared} in
12243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12244 soname_spec
='${libname}${release}${shared_ext}$major'
12245 dynamic_linker
="$host_os module_loader"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12254 $as_echo "$dynamic_linker" >&6; }
12255 test "$dynamic_linker" = no
&& can_build_shared
=no
12257 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12258 if test "$GCC" = yes; then
12259 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12262 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12263 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12265 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12266 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12361 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12363 if test -n "$hardcode_libdir_flag_spec" ||
12364 test -n "$runpath_var" ||
12365 test "X$hardcode_automatic" = "Xyes" ; then
12367 # We can hardcode non-existent directories.
12368 if test "$hardcode_direct" != no
&&
12369 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12370 # have to relink, otherwise we might link with an installed library
12371 # when we should be linking with a yet-to-be-installed one
12372 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12373 test "$hardcode_minus_L" != no
; then
12374 # Linking always hardcodes the temporary library directory.
12375 hardcode_action
=relink
12377 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12378 hardcode_action
=immediate
12381 # We cannot hardcode anything, or else we can only hardcode existing
12383 hardcode_action
=unsupported
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12386 $as_echo "$hardcode_action" >&6; }
12388 if test "$hardcode_action" = relink ||
12389 test "$inherit_rpath" = yes; then
12390 # Fast installation is not supported
12391 enable_fast_install
=no
12392 elif test "$shlibpath_overrides_runpath" = yes ||
12393 test "$enable_shared" = no
; then
12394 # Fast installation is not necessary
12395 enable_fast_install
=needless
12403 if test "x$enable_dlopen" != xyes
; then
12404 enable_dlopen
=unknown
12405 enable_dlopen_self
=unknown
12406 enable_dlopen_self_static
=unknown
12413 lt_cv_dlopen
="load_add_on"
12415 lt_cv_dlopen_self
=yes
12418 mingw
* | pw32
* | cegcc
*)
12419 lt_cv_dlopen
="LoadLibrary"
12424 lt_cv_dlopen
="dlopen"
12429 # if libdl is installed we need to link against it
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12431 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12432 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12433 $as_echo_n "(cached) " >&6
12435 ac_check_lib_save_LIBS
=$LIBS
12437 if test x
$gcc_no_link = xyes
; then
12438 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12441 /* end confdefs.h. */
12443 /* Override any GCC internal prototype to avoid an error.
12444 Use char because int might match the return type of a GCC
12445 builtin and then its argument prototype would still apply. */
12458 if ac_fn_c_try_link
"$LINENO"; then :
12459 ac_cv_lib_dl_dlopen
=yes
12461 ac_cv_lib_dl_dlopen
=no
12463 rm -f core conftest.err conftest.
$ac_objext \
12464 conftest
$ac_exeext conftest.
$ac_ext
12465 LIBS
=$ac_check_lib_save_LIBS
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12468 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12469 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12470 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12473 lt_cv_dlopen
="dyld"
12475 lt_cv_dlopen_self
=yes
12482 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12483 if test "x$ac_cv_func_shl_load" = xyes
; then :
12484 lt_cv_dlopen
="shl_load"
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12487 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12488 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12489 $as_echo_n "(cached) " >&6
12491 ac_check_lib_save_LIBS
=$LIBS
12493 if test x
$gcc_no_link = xyes
; then
12494 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12509 return shl_load ();
12514 if ac_fn_c_try_link
"$LINENO"; then :
12515 ac_cv_lib_dld_shl_load
=yes
12517 ac_cv_lib_dld_shl_load
=no
12519 rm -f core conftest.err conftest.
$ac_objext \
12520 conftest
$ac_exeext conftest.
$ac_ext
12521 LIBS
=$ac_check_lib_save_LIBS
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12524 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12525 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12526 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12528 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12529 if test "x$ac_cv_func_dlopen" = xyes
; then :
12530 lt_cv_dlopen
="dlopen"
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12533 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12534 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12535 $as_echo_n "(cached) " >&6
12537 ac_check_lib_save_LIBS
=$LIBS
12539 if test x
$gcc_no_link = xyes
; then
12540 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12545 /* Override any GCC internal prototype to avoid an error.
12546 Use char because int might match the return type of a GCC
12547 builtin and then its argument prototype would still apply. */
12560 if ac_fn_c_try_link
"$LINENO"; then :
12561 ac_cv_lib_dl_dlopen
=yes
12563 ac_cv_lib_dl_dlopen
=no
12565 rm -f core conftest.err conftest.
$ac_objext \
12566 conftest
$ac_exeext conftest.
$ac_ext
12567 LIBS
=$ac_check_lib_save_LIBS
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12570 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12571 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12572 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12575 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12576 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12577 $as_echo_n "(cached) " >&6
12579 ac_check_lib_save_LIBS
=$LIBS
12580 LIBS
="-lsvld $LIBS"
12581 if test x
$gcc_no_link = xyes
; then
12582 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12602 if ac_fn_c_try_link
"$LINENO"; then :
12603 ac_cv_lib_svld_dlopen
=yes
12605 ac_cv_lib_svld_dlopen
=no
12607 rm -f core conftest.err conftest.
$ac_objext \
12608 conftest
$ac_exeext conftest.
$ac_ext
12609 LIBS
=$ac_check_lib_save_LIBS
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12612 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12613 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12614 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12617 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12618 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12619 $as_echo_n "(cached) " >&6
12621 ac_check_lib_save_LIBS
=$LIBS
12623 if test x
$gcc_no_link = xyes
; then
12624 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 /* Override any GCC internal prototype to avoid an error.
12630 Use char because int might match the return type of a GCC
12631 builtin and then its argument prototype would still apply. */
12639 return dld_link ();
12644 if ac_fn_c_try_link
"$LINENO"; then :
12645 ac_cv_lib_dld_dld_link
=yes
12647 ac_cv_lib_dld_dld_link
=no
12649 rm -f core conftest.err conftest.
$ac_objext \
12650 conftest
$ac_exeext conftest.
$ac_ext
12651 LIBS
=$ac_check_lib_save_LIBS
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12654 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12655 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12656 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12677 if test "x$lt_cv_dlopen" != xno
; then
12683 case $lt_cv_dlopen in
12685 save_CPPFLAGS
="$CPPFLAGS"
12686 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12688 save_LDFLAGS
="$LDFLAGS"
12689 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12692 LIBS
="$lt_cv_dlopen_libs $LIBS"
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12695 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12696 if ${lt_cv_dlopen_self+:} false
; then :
12697 $as_echo_n "(cached) " >&6
12699 if test "$cross_compiling" = yes; then :
12700 lt_cv_dlopen_self
=cross
12702 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12703 lt_status
=$lt_dlunknown
12704 cat > conftest.
$ac_ext <<_LT_EOF
12705 #line 12705 "configure"
12706 #include "confdefs.h"
12715 # define LT_DLGLOBAL RTLD_GLOBAL
12718 # define LT_DLGLOBAL DL_GLOBAL
12720 # define LT_DLGLOBAL 0
12724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12725 find out it does not work in some platform. */
12726 #ifndef LT_DLLAZY_OR_NOW
12728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12731 # define LT_DLLAZY_OR_NOW DL_LAZY
12734 # define LT_DLLAZY_OR_NOW RTLD_NOW
12737 # define LT_DLLAZY_OR_NOW DL_NOW
12739 # define LT_DLLAZY_OR_NOW 0
12746 /* When -fvisbility=hidden is used, assume the code has been annotated
12747 correspondingly for the symbols needed. */
12748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12749 void fnord () __attribute__((visibility("default")));
12752 void fnord () { int i=42; }
12755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12756 int status = $lt_dlunknown;
12760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12764 else puts (dlerror ());
12766 /* dlclose (self); */
12774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12775 (eval $ac_link) 2>&5
12777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12778 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12779 (.
/conftest
; exit; ) >&5 2>/dev
/null
12781 case x
$lt_status in
12782 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12783 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12784 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12787 # compilation failed
12788 lt_cv_dlopen_self
=no
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12796 $as_echo "$lt_cv_dlopen_self" >&6; }
12798 if test "x$lt_cv_dlopen_self" = xyes
; then
12799 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12801 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12802 if ${lt_cv_dlopen_self_static+:} false
; then :
12803 $as_echo_n "(cached) " >&6
12805 if test "$cross_compiling" = yes; then :
12806 lt_cv_dlopen_self_static
=cross
12808 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12809 lt_status
=$lt_dlunknown
12810 cat > conftest.
$ac_ext <<_LT_EOF
12811 #line 12811 "configure"
12812 #include "confdefs.h"
12821 # define LT_DLGLOBAL RTLD_GLOBAL
12824 # define LT_DLGLOBAL DL_GLOBAL
12826 # define LT_DLGLOBAL 0
12830 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12831 find out it does not work in some platform. */
12832 #ifndef LT_DLLAZY_OR_NOW
12834 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12837 # define LT_DLLAZY_OR_NOW DL_LAZY
12840 # define LT_DLLAZY_OR_NOW RTLD_NOW
12843 # define LT_DLLAZY_OR_NOW DL_NOW
12845 # define LT_DLLAZY_OR_NOW 0
12852 /* When -fvisbility=hidden is used, assume the code has been annotated
12853 correspondingly for the symbols needed. */
12854 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12855 void fnord () __attribute__((visibility("default")));
12858 void fnord () { int i=42; }
12861 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12862 int status = $lt_dlunknown;
12866 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12869 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12870 else puts (dlerror ());
12872 /* dlclose (self); */
12880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12881 (eval $ac_link) 2>&5
12883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12884 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12885 (.
/conftest
; exit; ) >&5 2>/dev
/null
12887 case x
$lt_status in
12888 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12889 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12890 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12893 # compilation failed
12894 lt_cv_dlopen_self_static
=no
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12902 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12905 CPPFLAGS
="$save_CPPFLAGS"
12906 LDFLAGS
="$save_LDFLAGS"
12911 case $lt_cv_dlopen_self in
12912 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12913 *) enable_dlopen_self
=unknown
;;
12916 case $lt_cv_dlopen_self_static in
12917 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12918 *) enable_dlopen_self_static
=unknown
;;
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12941 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12942 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12943 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12944 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12946 $as_echo "yes" >&6; }
12948 # FIXME - insert some real tests, host_os isn't really good enough
12951 if test -n "$STRIP" ; then
12952 striplib
="$STRIP -x"
12953 old_striplib
="$STRIP -S"
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12955 $as_echo "yes" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12963 $as_echo "no" >&6; }
12979 # Report which library types will actually be built
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12981 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12983 $as_echo "$can_build_shared" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12986 $as_echo_n "checking whether to build shared libraries... " >&6; }
12987 test "$can_build_shared" = "no" && enable_shared
=no
12989 # On AIX, shared libraries and static libraries use the same namespace, and
12990 # are all built from PIC.
12993 test "$enable_shared" = yes && enable_static
=no
12994 if test -n "$RANLIB"; then
12995 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12996 postinstall_cmds
='$RANLIB $lib'
13001 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13002 test "$enable_shared" = yes && enable_static
=no
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13007 $as_echo "$enable_shared" >&6; }
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13010 $as_echo_n "checking whether to build static libraries... " >&6; }
13011 # Make sure either enable_shared or enable_static is yes.
13012 test "$enable_shared" = yes || enable_static
=yes
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13014 $as_echo "$enable_static" >&6; }
13021 ac_cpp
='$CPP $CPPFLAGS'
13022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13028 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13029 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13030 (test "X$CXX" != "Xg++"))) ; then
13032 ac_cpp
='$CXXCPP $CPPFLAGS'
13033 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13034 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13035 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13037 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13038 if test -z "$CXXCPP"; then
13039 if ${ac_cv_prog_CXXCPP+:} false
; then :
13040 $as_echo_n "(cached) " >&6
13042 # Double quotes because CXXCPP needs to be expanded
13043 for CXXCPP
in "$CXX -E" "/lib/cpp"
13045 ac_preproc_ok
=false
13046 for ac_cxx_preproc_warn_flag
in '' yes
13048 # Use a header file that comes with gcc, so configuring glibc
13049 # with a fresh cross-compiler works.
13050 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13051 # <limits.h> exists even on freestanding compilers.
13052 # On the NeXT, cc -E runs the code through the compiler's parser,
13053 # not just through cpp. "Syntax error" is here to catch this case.
13054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 # include <limits.h>
13059 # include <assert.h>
13063 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13066 # Broken: fails on valid input.
13069 rm -f conftest.err conftest.i conftest.
$ac_ext
13071 # OK, works on sane cases. Now check whether nonexistent headers
13072 # can be detected and how.
13073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13075 #include <ac_nonexistent.h>
13077 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13078 # Broken: success on invalid input.
13081 # Passes both tests.
13085 rm -f conftest.err conftest.i conftest.
$ac_ext
13088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13089 rm -f conftest.i conftest.err conftest.
$ac_ext
13090 if $ac_preproc_ok; then :
13095 ac_cv_prog_CXXCPP
=$CXXCPP
13098 CXXCPP
=$ac_cv_prog_CXXCPP
13100 ac_cv_prog_CXXCPP
=$CXXCPP
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13103 $as_echo "$CXXCPP" >&6; }
13104 ac_preproc_ok
=false
13105 for ac_cxx_preproc_warn_flag
in '' yes
13107 # Use a header file that comes with gcc, so configuring glibc
13108 # with a fresh cross-compiler works.
13109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13110 # <limits.h> exists even on freestanding compilers.
13111 # On the NeXT, cc -E runs the code through the compiler's parser,
13112 # not just through cpp. "Syntax error" is here to catch this case.
13113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 # include <limits.h>
13118 # include <assert.h>
13122 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13125 # Broken: fails on valid input.
13128 rm -f conftest.err conftest.i conftest.
$ac_ext
13130 # OK, works on sane cases. Now check whether nonexistent headers
13131 # can be detected and how.
13132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13134 #include <ac_nonexistent.h>
13136 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13137 # Broken: success on invalid input.
13140 # Passes both tests.
13144 rm -f conftest.err conftest.i conftest.
$ac_ext
13147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13148 rm -f conftest.i conftest.err conftest.
$ac_ext
13149 if $ac_preproc_ok; then :
13152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13154 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13155 See \`config.log' for more details" "$LINENO" 5; }
13159 ac_cpp
='$CPP $CPPFLAGS'
13160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13165 _lt_caught_CXX_error
=yes
13169 ac_cpp
='$CXXCPP $CPPFLAGS'
13170 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13171 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13172 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13174 archive_cmds_need_lc_CXX
=no
13175 allow_undefined_flag_CXX
=
13176 always_export_symbols_CXX
=no
13177 archive_expsym_cmds_CXX
=
13178 compiler_needs_object_CXX
=no
13179 export_dynamic_flag_spec_CXX
=
13180 hardcode_direct_CXX
=no
13181 hardcode_direct_absolute_CXX
=no
13182 hardcode_libdir_flag_spec_CXX
=
13183 hardcode_libdir_flag_spec_ld_CXX
=
13184 hardcode_libdir_separator_CXX
=
13185 hardcode_minus_L_CXX
=no
13186 hardcode_shlibpath_var_CXX
=unsupported
13187 hardcode_automatic_CXX
=no
13188 inherit_rpath_CXX
=no
13190 module_expsym_cmds_CXX
=
13191 link_all_deplibs_CXX
=unknown
13192 old_archive_cmds_CXX
=$old_archive_cmds
13193 reload_flag_CXX
=$reload_flag
13194 reload_cmds_CXX
=$reload_cmds
13195 no_undefined_flag_CXX
=
13196 whole_archive_flag_spec_CXX
=
13197 enable_shared_with_static_runtimes_CXX
=no
13199 # Source file extension for C++ test sources.
13202 # Object file extension for compiled C++ test sources.
13206 # No sense in running all these tests if we already determined that
13207 # the CXX compiler isn't working. Some variables (like enable_shared)
13208 # are currently assumed to apply to all compilers on this platform,
13209 # and will be corrupted by setting them based on a non-working compiler.
13210 if test "$_lt_caught_CXX_error" != yes; then
13211 # Code to be used in simple compile tests
13212 lt_simple_compile_test_code
="int some_variable = 0;"
13214 # Code to be used in simple link tests
13215 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13217 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13224 # If no C compiler was specified, use CC.
13227 # If no C compiler flags were specified, use CFLAGS.
13228 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13230 # Allow CC to be a program name with arguments.
13234 # save warnings/boilerplate of simple test code
13235 ac_outfile
=conftest.
$ac_objext
13236 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13237 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13238 _lt_compiler_boilerplate
=`cat conftest.err`
13241 ac_outfile
=conftest.
$ac_objext
13242 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13243 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13244 _lt_linker_boilerplate
=`cat conftest.err`
13248 # Allow CC to be a program name with arguments.
13253 lt_save_with_gnu_ld
=$with_gnu_ld
13254 lt_save_path_LD
=$lt_cv_path_LD
13255 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13256 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13258 $as_unset lt_cv_prog_gnu_ld
13260 if test -n "${lt_cv_path_LDCXX+set}"; then
13261 lt_cv_path_LD
=$lt_cv_path_LDCXX
13263 $as_unset lt_cv_path_LD
13265 test -z "${LDCXX+set}" || LD
=$LDCXX
13269 for cc_temp
in $compiler""; do
13271 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13272 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13277 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13280 if test -n "$compiler"; then
13281 # We don't want -fno-exception when compiling C++ code, so set the
13282 # no_builtin_flag separately
13283 if test "$GXX" = yes; then
13284 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13286 lt_prog_compiler_no_builtin_flag_CXX
=
13289 if test "$GXX" = yes; then
13290 # Set up default GNU C++ configuration
13294 # Check whether --with-gnu-ld was given.
13295 if test "${with_gnu_ld+set}" = set; then :
13296 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13302 if test "$GCC" = yes; then
13303 # Check if gcc -print-prog-name=ld gives a path.
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13305 $as_echo_n "checking for ld used by $CC... " >&6; }
13308 # gcc leaves a trailing carriage return which upsets mingw
13309 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13311 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13314 # Accept absolute paths.
13316 re_direlt
='/[^/][^/]*/\.\./'
13317 # Canonicalize the pathname of ld
13318 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13319 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13320 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13322 test -z "$LD" && LD
="$ac_prog"
13325 # If it fails, then pretend we aren't using GCC.
13329 # If it is relative, then search for the first ld in PATH.
13330 with_gnu_ld
=unknown
13333 elif test "$with_gnu_ld" = yes; then
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13335 $as_echo_n "checking for GNU ld... " >&6; }
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13338 $as_echo_n "checking for non-GNU ld... " >&6; }
13340 if ${lt_cv_path_LD+:} false
; then :
13341 $as_echo_n "(cached) " >&6
13343 if test -z "$LD"; then
13344 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13345 for ac_dir
in $PATH; do
13347 test -z "$ac_dir" && ac_dir
=.
13348 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13349 lt_cv_path_LD
="$ac_dir/$ac_prog"
13350 # Check to see if the program is GNU ld. I'd rather use --version,
13351 # but apparently some variants of GNU ld only accept -v.
13352 # Break only if it was the GNU/non-GNU ld that we prefer.
13353 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13354 *GNU
* |
*'with BFD'*)
13355 test "$with_gnu_ld" != no
&& break
13358 test "$with_gnu_ld" != yes && break
13365 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13369 LD
="$lt_cv_path_LD"
13370 if test -n "$LD"; then
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13372 $as_echo "$LD" >&6; }
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375 $as_echo "no" >&6; }
13377 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13379 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13380 if ${lt_cv_prog_gnu_ld+:} false
; then :
13381 $as_echo_n "(cached) " >&6
13383 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13384 case `$LD -v 2>&1 </dev/null` in
13385 *GNU
* |
*'with BFD'*)
13386 lt_cv_prog_gnu_ld
=yes
13389 lt_cv_prog_gnu_ld
=no
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13394 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13395 with_gnu_ld
=$lt_cv_prog_gnu_ld
13403 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13404 # archiving commands below assume that GNU ld is being used.
13405 if test "$with_gnu_ld" = yes; then
13406 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13407 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'
13409 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13410 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13412 # If archive_cmds runs LD, not CC, wlarc should be empty
13413 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13414 # investigate it a little bit more. (MM)
13417 # ancient GNU ld didn't support --whole-archive et. al.
13418 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13419 $GREP 'no-whole-archive' > /dev
/null
; then
13420 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13422 whole_archive_flag_spec_CXX
=
13428 # A generic and very simple default shared library creation
13429 # command for GNU C++ for the case where it uses the native
13430 # linker, instead of GNU ld. If possible, this setting should
13431 # overridden to take advantage of the native linker features on
13432 # the platform it is being used on.
13433 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13436 # Commands to make compiler produce verbose output that lists
13437 # what "hidden" libraries, object files and flags are used when
13438 # linking a shared library.
13439 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13447 # PORTME: fill in a description of your system's C++ link characteristics
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13449 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13453 # FIXME: insert proper C++ library support
13457 if test "$host_cpu" = ia64
; then
13458 # On IA64, the linker does run time linking by default, so we don't
13459 # have to do anything special.
13460 aix_use_runtimelinking
=no
13461 exp_sym_flag
='-Bexport'
13464 aix_use_runtimelinking
=no
13466 # Test if we are trying to use run time linking or normal
13467 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13468 # need to do runtime linking.
13469 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13470 for ld_flag
in $LDFLAGS; do
13473 aix_use_runtimelinking
=yes
13481 exp_sym_flag
='-bexport'
13482 no_entry_flag
='-bnoentry'
13485 # When large executables or shared objects are built, AIX ld can
13486 # have problems creating the table of contents. If linking a library
13487 # or program results in "error TOC overflow" add -mminimal-toc to
13488 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13489 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13491 archive_cmds_CXX
=''
13492 hardcode_direct_CXX
=yes
13493 hardcode_direct_absolute_CXX
=yes
13494 hardcode_libdir_separator_CXX
=':'
13495 link_all_deplibs_CXX
=yes
13496 file_list_spec_CXX
='${wl}-f,'
13498 if test "$GXX" = yes; then
13499 case $host_os in aix4.
[012]|aix4.
[012].
*)
13500 # We only want to do this on AIX 4.2 and lower, the check
13501 # below for broken collect2 doesn't work under 4.3+
13502 collect2name
=`${CC} -print-prog-name=collect2`
13503 if test -f "$collect2name" &&
13504 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13506 # We have reworked collect2
13509 # We have old collect2
13510 hardcode_direct_CXX
=unsupported
13511 # It fails to find uninstalled libraries when the uninstalled
13512 # path is not listed in the libpath. Setting hardcode_minus_L
13513 # to unsupported forces relinking
13514 hardcode_minus_L_CXX
=yes
13515 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13516 hardcode_libdir_separator_CXX
=
13519 shared_flag
='-shared'
13520 if test "$aix_use_runtimelinking" = yes; then
13521 shared_flag
="$shared_flag "'${wl}-G'
13525 if test "$host_cpu" = ia64
; then
13526 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13527 # chokes on -Wl,-G. The following line is correct:
13530 if test "$aix_use_runtimelinking" = yes; then
13531 shared_flag
='${wl}-G'
13533 shared_flag
='${wl}-bM:SRE'
13538 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13539 # It seems that -bexpall does not export symbols beginning with
13540 # underscore (_), so it is better to generate a list of symbols to
13542 always_export_symbols_CXX
=yes
13543 if test "$aix_use_runtimelinking" = yes; then
13544 # Warning - without using the other runtime loading flags (-brtl),
13545 # -berok will link without error, but may produce a broken library.
13546 allow_undefined_flag_CXX
='-berok'
13547 # Determine the default libpath from the value encoded in an empty
13549 if test x
$gcc_no_link = xyes
; then
13550 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13563 if ac_fn_cxx_try_link
"$LINENO"; then :
13565 lt_aix_libpath_sed
='
13566 /Import File Strings/,/^$/ {
13572 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13573 # Check for a 64-bit object if we didn't find anything.
13574 if test -z "$aix_libpath"; then
13575 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13578 rm -f core conftest.err conftest.
$ac_objext \
13579 conftest
$ac_exeext conftest.
$ac_ext
13580 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13582 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13584 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"
13586 if test "$host_cpu" = ia64
; then
13587 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13588 allow_undefined_flag_CXX
="-z nodefs"
13589 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"
13591 # Determine the default libpath from the value encoded in an
13592 # empty executable.
13593 if test x
$gcc_no_link = xyes
; then
13594 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13607 if ac_fn_cxx_try_link
"$LINENO"; then :
13609 lt_aix_libpath_sed
='
13610 /Import File Strings/,/^$/ {
13616 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13617 # Check for a 64-bit object if we didn't find anything.
13618 if test -z "$aix_libpath"; then
13619 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13622 rm -f core conftest.err conftest.
$ac_objext \
13623 conftest
$ac_exeext conftest.
$ac_ext
13624 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13626 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13627 # Warning - without using the other run time loading flags,
13628 # -berok will link without error, but may produce a broken library.
13629 no_undefined_flag_CXX
=' ${wl}-bernotok'
13630 allow_undefined_flag_CXX
=' ${wl}-berok'
13631 if test "$with_gnu_ld" = yes; then
13632 # We only use this code for GNU lds that support --whole-archive.
13633 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13635 # Exported symbols can be pulled into shared objects from archives
13636 whole_archive_flag_spec_CXX
='$convenience'
13638 archive_cmds_need_lc_CXX
=yes
13639 # This is similar to how AIX traditionally builds its shared
13641 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'
13647 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13648 allow_undefined_flag_CXX
=unsupported
13649 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13650 # support --undefined. This deserves some investigation. FIXME
13651 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13658 case $cc_basename in
13660 # FIXME: insert proper C++ library support
13666 cygwin
* | mingw
* | pw32
* | cegcc
*)
13667 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13668 # as there is no search path for DLLs.
13669 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13670 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13671 allow_undefined_flag_CXX
=unsupported
13672 always_export_symbols_CXX
=no
13673 enable_shared_with_static_runtimes_CXX
=yes
13675 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13676 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'
13677 # If the export-symbols file already is a .def file (1st line
13678 # is EXPORTS), use it as is; otherwise, prepend...
13679 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13680 cp $export_symbols $output_objdir/$soname.def;
13682 echo EXPORTS > $output_objdir/$soname.def;
13683 cat $export_symbols >> $output_objdir/$soname.def;
13685 $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'
13690 darwin
* | rhapsody
*)
13693 archive_cmds_need_lc_CXX
=no
13694 hardcode_direct_CXX
=no
13695 hardcode_automatic_CXX
=yes
13696 hardcode_shlibpath_var_CXX
=unsupported
13697 if test "$lt_cv_ld_force_load" = "yes"; then
13698 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\"`'
13700 whole_archive_flag_spec_CXX
=''
13702 link_all_deplibs_CXX
=yes
13703 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13704 case $cc_basename in
13705 ifort
*) _lt_dar_can_shared
=yes ;;
13706 *) _lt_dar_can_shared
=$GCC ;;
13708 if test "$_lt_dar_can_shared" = "yes"; then
13709 output_verbose_link_cmd
=func_echo_all
13710 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13711 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13712 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 \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13713 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}"
13714 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13715 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 \$rpath/\$soname \$verstring${_lt_dsymutil}"
13716 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}"
13726 case $cc_basename in
13728 # FIXME: insert proper C++ library support
13732 # Green Hills C++ Compiler
13733 # FIXME: insert proper C++ library support
13737 # FIXME: insert proper C++ library support
13744 # C++ shared libraries reported to be fairly broken before
13750 archive_cmds_need_lc_CXX
=no
13753 freebsd
* | dragonfly
*)
13754 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13763 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13764 link_all_deplibs_CXX
=yes
13768 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13769 hardcode_libdir_separator_CXX
=:
13770 export_dynamic_flag_spec_CXX
='${wl}-E'
13771 hardcode_direct_CXX
=yes
13772 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13773 # but as the default
13774 # location of the library.
13776 case $cc_basename in
13778 # FIXME: insert proper C++ library support
13782 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'
13783 # Commands to make compiler produce verbose output that lists
13784 # what "hidden" libraries, object files and flags are used when
13785 # linking a shared library.
13787 # There doesn't appear to be a way to prevent this compiler from
13788 # explicitly linking system object files so we need to strip them
13789 # from the output so that they don't get included in the library
13791 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"'
13794 if test "$GXX" = yes; then
13795 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'
13797 # FIXME: insert proper C++ library support
13805 if test $with_gnu_ld = no
; then
13806 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13807 hardcode_libdir_separator_CXX
=:
13813 export_dynamic_flag_spec_CXX
='${wl}-E'
13819 hardcode_direct_CXX
=no
13820 hardcode_shlibpath_var_CXX
=no
13823 hardcode_direct_CXX
=yes
13824 hardcode_direct_absolute_CXX
=yes
13825 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13826 # but as the default
13827 # location of the library.
13831 case $cc_basename in
13833 # FIXME: insert proper C++ library support
13839 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13842 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13845 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13848 # Commands to make compiler produce verbose output that lists
13849 # what "hidden" libraries, object files and flags are used when
13850 # linking a shared library.
13852 # There doesn't appear to be a way to prevent this compiler from
13853 # explicitly linking system object files so we need to strip them
13854 # from the output so that they don't get included in the library
13856 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"'
13859 if test "$GXX" = yes; then
13860 if test $with_gnu_ld = no
; then
13863 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13866 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13869 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'
13874 # FIXME: insert proper C++ library support
13882 hardcode_direct_CXX
=no
13883 hardcode_shlibpath_var_CXX
=no
13884 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13885 export_dynamic_flag_spec_CXX
='${wl}-E'
13886 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13887 # Instead, shared libraries are loaded at an image base (0x10000000 by
13888 # default) and relocated if they conflict, which is a slow very memory
13889 # consuming and fragmenting process. To avoid this, we pick a random,
13890 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13891 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13892 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'
13893 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'
13896 case $cc_basename in
13899 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'
13901 # Archives containing C++ object files must be created using
13902 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13903 # necessary to make sure instantiated templates are included
13905 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13908 if test "$GXX" = yes; then
13909 if test "$with_gnu_ld" = no
; then
13910 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'
13912 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'
13915 link_all_deplibs_CXX
=yes
13918 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13919 hardcode_libdir_separator_CXX
=:
13920 inherit_rpath_CXX
=yes
13923 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13924 case $cc_basename in
13926 # Kuck and Associates, Inc. (KAI) C++ Compiler
13928 # KCC will only create a shared library if the output file
13929 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13930 # to its proper name (with version) after linking.
13931 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'
13932 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'
13933 # Commands to make compiler produce verbose output that lists
13934 # what "hidden" libraries, object files and flags are used when
13935 # linking a shared library.
13937 # There doesn't appear to be a way to prevent this compiler from
13938 # explicitly linking system object files so we need to strip them
13939 # from the output so that they don't get included in the library
13941 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"'
13943 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13944 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13946 # Archives containing C++ object files must be created using
13947 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13948 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13953 # version 8.0 and above of icpc choke on multiply defined symbols
13954 # if we add $predep_objects and $postdep_objects, however 7.1 and
13955 # earlier do not add the objects themselves.
13956 case `$CC -V 2>&1` in
13958 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13959 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'
13961 *) # Version 8.0 or newer
13964 ia64
*) tmp_idyn
=' -i_dynamic';;
13966 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13967 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'
13970 archive_cmds_need_lc_CXX
=no
13971 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13972 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13973 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13976 # Portland Group C++ compiler
13978 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13979 prelink_cmds_CXX
='tpldir=Template.dir~
13981 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13982 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13983 old_archive_cmds_CXX
='tpldir=Template.dir~
13985 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13986 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13988 archive_cmds_CXX
='tpldir=Template.dir~
13990 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13991 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13992 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13994 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13995 $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'
13997 *) # Version 6 and above use weak symbols
13998 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13999 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'
14003 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14004 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14005 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'
14009 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14010 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'
14012 runpath_var
=LD_RUN_PATH
14013 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14014 hardcode_libdir_separator_CXX
=:
14016 # Commands to make compiler produce verbose output that lists
14017 # what "hidden" libraries, object files and flags are used when
14018 # linking a shared library.
14020 # There doesn't appear to be a way to prevent this compiler from
14021 # explicitly linking system object files so we need to strip them
14022 # from the output so that they don't get included in the library
14024 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'
14026 xl
* | mpixl
* | bgxl
*)
14027 # IBM XL 8.0 on PPC, with GNU ld
14028 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14029 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14030 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14031 if test "x$supports_anon_versioning" = xyes
; then
14032 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14034 echo "local: *; };" >> $output_objdir/$libname.ver~
14035 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14039 case `$CC -V 2>&1 | sed 5q` in
14042 no_undefined_flag_CXX
=' -zdefs'
14043 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14044 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'
14045 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14046 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'
14047 compiler_needs_object_CXX
=yes
14049 # Not sure whether something based on
14050 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14052 output_verbose_link_cmd
='func_echo_all'
14054 # Archives containing C++ object files must be created using
14055 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14056 # necessary to make sure instantiated templates are included
14058 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14066 # FIXME: insert proper C++ library support
14071 # FIXME: insert proper C++ library support
14076 case $cc_basename in
14078 # FIXME: insert proper C++ library support
14082 # FIXME: insert proper C++ library support
14089 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14090 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14092 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14093 hardcode_direct_CXX
=yes
14094 hardcode_shlibpath_var_CXX
=no
14096 # Workaround some broken pre-1.5 toolchains
14097 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14105 # C++ shared libraries are fairly broken
14110 if test -f /usr
/libexec
/ld.so
; then
14111 hardcode_direct_CXX
=yes
14112 hardcode_shlibpath_var_CXX
=no
14113 hardcode_direct_absolute_CXX
=yes
14114 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14115 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14116 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14117 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14118 export_dynamic_flag_spec_CXX
='${wl}-E'
14119 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14121 output_verbose_link_cmd
=func_echo_all
14127 osf3
* | osf4
* | osf5
*)
14128 case $cc_basename in
14130 # Kuck and Associates, Inc. (KAI) C++ Compiler
14132 # KCC will only create a shared library if the output file
14133 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14134 # to its proper name (with version) after linking.
14135 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'
14137 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14138 hardcode_libdir_separator_CXX
=:
14140 # Archives containing C++ object files must be created using
14141 # the KAI C++ compiler.
14143 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14144 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14148 # Rational C++ 2.4.1
14149 # FIXME: insert proper C++ library support
14155 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14156 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'
14157 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14160 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14161 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'
14162 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14163 echo "-hidden">> $lib.exp~
14164 $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~
14166 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14170 hardcode_libdir_separator_CXX
=:
14172 # Commands to make compiler produce verbose output that lists
14173 # what "hidden" libraries, object files and flags are used when
14174 # linking a shared library.
14176 # There doesn't appear to be a way to prevent this compiler from
14177 # explicitly linking system object files so we need to strip them
14178 # from the output so that they don't get included in the library
14180 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"'
14183 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14184 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14187 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'
14190 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'
14194 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14195 hardcode_libdir_separator_CXX
=:
14197 # Commands to make compiler produce verbose output that lists
14198 # what "hidden" libraries, object files and flags are used when
14199 # linking a shared library.
14200 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14203 # FIXME: insert proper C++ library support
14211 # FIXME: insert proper C++ library support
14216 case $cc_basename in
14219 # FIXME: insert proper C++ library support
14224 # FIXME: insert proper C++ library support
14228 # FIXME: insert proper C++ library support
14235 case $cc_basename in
14237 # Sun C++ 4.2, 5.x and Centerline C++
14238 archive_cmds_need_lc_CXX
=yes
14239 no_undefined_flag_CXX
=' -zdefs'
14240 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14241 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14242 $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'
14244 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14245 hardcode_shlibpath_var_CXX
=no
14247 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14249 # The compiler driver will combine and reorder linker options,
14250 # but understands `-z linker_flag'.
14251 # Supported since Solaris 2.6 (maybe 2.5.1?)
14252 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14255 link_all_deplibs_CXX
=yes
14257 output_verbose_link_cmd
='func_echo_all'
14259 # Archives containing C++ object files must be created using
14260 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14261 # necessary to make sure instantiated templates are included
14263 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14266 # Green Hills C++ Compiler
14267 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14269 # The C++ compiler must be used to create the archive.
14270 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14273 # GNU C++ compiler with Solaris linker
14274 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14275 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14276 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14277 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14278 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14279 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14281 # Commands to make compiler produce verbose output that lists
14282 # what "hidden" libraries, object files and flags are used when
14283 # linking a shared library.
14284 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14286 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14288 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14289 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14290 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14292 # Commands to make compiler produce verbose output that lists
14293 # what "hidden" libraries, object files and flags are used when
14294 # linking a shared library.
14295 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14298 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14300 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14302 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14310 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14311 no_undefined_flag_CXX
='${wl}-z,text'
14312 archive_cmds_need_lc_CXX
=no
14313 hardcode_shlibpath_var_CXX
=no
14314 runpath_var
='LD_RUN_PATH'
14316 case $cc_basename in
14318 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14319 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14322 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14323 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14328 sysv5
* | sco3.2v5
* | sco5v6
*)
14329 # Note: We can NOT use -z defs as we might desire, because we do not
14330 # link with -lc, and that would cause any symbols used from libc to
14331 # always be unresolved, which means just about no library would
14332 # ever link correctly. If we're not using GNU ld we use -z text
14333 # though, which does catch some bad symbols but isn't as heavy-handed
14335 no_undefined_flag_CXX
='${wl}-z,text'
14336 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14337 archive_cmds_need_lc_CXX
=no
14338 hardcode_shlibpath_var_CXX
=no
14339 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14340 hardcode_libdir_separator_CXX
=':'
14341 link_all_deplibs_CXX
=yes
14342 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14343 runpath_var
='LD_RUN_PATH'
14345 case $cc_basename in
14347 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14348 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14349 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14350 '"$old_archive_cmds_CXX"
14351 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14352 '"$reload_cmds_CXX"
14355 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14356 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14362 case $cc_basename in
14364 # NonStop-UX NCC 3.20
14365 # FIXME: insert proper C++ library support
14369 # FIXME: insert proper C++ library support
14376 # For VxWorks ports, we assume the use of a GNU linker with
14377 # standard elf conventions.
14382 # FIXME: insert proper C++ library support
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14388 $as_echo "$ld_shlibs_CXX" >&6; }
14389 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14395 ## There is no encapsulation within the following macros, do not change
14396 ## the running order or otherwise move them around unless you know exactly
14397 ## what you are doing...
14398 # Dependencies to place before and after the object being linked:
14399 predep_objects_CXX
=
14400 postdep_objects_CXX
=
14403 compiler_lib_search_path_CXX
=
14405 cat > conftest.
$ac_ext <<_LT_EOF
14409 Foo (void) { a = 0; }
14415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14416 (eval $ac_compile) 2>&5
14418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14419 test $ac_status = 0; }; then
14420 # Parse the compiler output and extract the necessary
14421 # objects, libraries and library flags.
14423 # Sentinel used to keep track of whether or not we are before
14424 # the conftest object file.
14425 pre_test_object_deps_done
=no
14427 for p
in `eval "$output_verbose_link_cmd"`; do
14431 # Some compilers place space between "-{L,R}" and the path.
14432 # Remove the space.
14433 if test $p = "-L" ||
14434 test $p = "-R"; then
14441 if test "$pre_test_object_deps_done" = no
; then
14444 # Internal compiler library paths should come after those
14445 # provided the user. The postdeps already come after the
14446 # user supplied libs so there is no need to process them.
14447 if test -z "$compiler_lib_search_path_CXX"; then
14448 compiler_lib_search_path_CXX
="${prev}${p}"
14450 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14453 # The "-l" case would never come before the object being
14454 # linked, so don't bother handling this case.
14457 if test -z "$postdeps_CXX"; then
14458 postdeps_CXX
="${prev}${p}"
14460 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14466 # This assumes that the test object file only shows up
14467 # once in the compiler output.
14468 if test "$p" = "conftest.$objext"; then
14469 pre_test_object_deps_done
=yes
14473 if test "$pre_test_object_deps_done" = no
; then
14474 if test -z "$predep_objects_CXX"; then
14475 predep_objects_CXX
="$p"
14477 predep_objects_CXX
="$predep_objects_CXX $p"
14480 if test -z "$postdep_objects_CXX"; then
14481 postdep_objects_CXX
="$p"
14483 postdep_objects_CXX
="$postdep_objects_CXX $p"
14488 *) ;; # Ignore the rest.
14496 echo "libtool.m4: error: problem compiling CXX test program"
14499 $RM -f confest.
$objext
14501 # PORTME: override above test on systems where it is broken
14504 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14505 # hack all around it, let's just trust "g++" to DTRT.
14506 predep_objects_CXX
=
14507 postdep_objects_CXX
=
14512 case `$CC -V 2>&1 | sed 5q` in
14516 # The more standards-conforming stlport4 library is
14517 # incompatible with the Cstd library. Avoid specifying
14518 # it if it's in CXXFLAGS. Ignore libCrun as
14519 # -library=stlport4 depends on it.
14520 case " $CXX $CXXFLAGS " in
14521 *" -library=stlport4 "*)
14522 solaris_use_stlport4
=yes
14526 if test "$solaris_use_stlport4" != yes; then
14527 postdeps_CXX
='-library=Cstd -library=Crun'
14534 case $cc_basename in
14536 # The more standards-conforming stlport4 library is
14537 # incompatible with the Cstd library. Avoid specifying
14538 # it if it's in CXXFLAGS. Ignore libCrun as
14539 # -library=stlport4 depends on it.
14540 case " $CXX $CXXFLAGS " in
14541 *" -library=stlport4 "*)
14542 solaris_use_stlport4
=yes
14546 # Adding this requires a known-good setup of shared libraries for
14547 # Sun compiler versions before 5.6, else PIC objects from an old
14548 # archive will be linked into the output, leading to subtle bugs.
14549 if test "$solaris_use_stlport4" != yes; then
14550 postdeps_CXX
='-library=Cstd -library=Crun'
14558 case " $postdeps_CXX " in
14559 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14561 compiler_lib_search_dirs_CXX
=
14562 if test -n "${compiler_lib_search_path_CXX}"; then
14563 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14596 lt_prog_compiler_wl_CXX
=
14597 lt_prog_compiler_pic_CXX
=
14598 lt_prog_compiler_static_CXX
=
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14601 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14603 # C++ specific cases for pic, static, wl, etc.
14604 if test "$GXX" = yes; then
14605 lt_prog_compiler_wl_CXX
='-Wl,'
14606 lt_prog_compiler_static_CXX
='-static'
14610 # All AIX code is PIC.
14611 if test "$host_cpu" = ia64
; then
14612 # AIX 5 now supports IA64 processor
14613 lt_prog_compiler_static_CXX
='-Bstatic'
14615 lt_prog_compiler_pic_CXX
='-fPIC'
14621 # see comment about AmigaOS4 .so support
14622 lt_prog_compiler_pic_CXX
='-fPIC'
14625 # FIXME: we need at least 68020 code to build shared libraries, but
14626 # adding the `-m68020' flag to GCC prevents building anything better,
14628 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14633 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14634 # PIC is the default for these OSes.
14636 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14637 # This hack is so that the source file can tell whether it is being
14638 # built for inclusion in a dll (and should export symbols for example).
14639 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14640 # (--disable-auto-import) libraries
14641 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14643 darwin
* | rhapsody
*)
14644 # PIC is the default on this platform
14645 # Common symbols not allowed in MH_DYLIB files
14646 lt_prog_compiler_pic_CXX
='-fno-common'
14649 # DJGPP does not support shared libraries at all
14650 lt_prog_compiler_pic_CXX
=
14653 # PIC is the default for Haiku.
14654 # The "-static" flag exists, but is broken.
14655 lt_prog_compiler_static_CXX
=
14658 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14659 # Instead, we relocate shared libraries at runtime.
14662 if test -d /usr
/nec
; then
14663 lt_prog_compiler_pic_CXX
=-Kconform_pic
14667 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14668 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14669 # sets the default TLS model and affects inlining.
14674 lt_prog_compiler_pic_CXX
='-fPIC'
14679 # QNX uses GNU C++, but need to define -shared option too, otherwise
14680 # it will coredump.
14681 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14684 lt_prog_compiler_pic_CXX
='-fPIC'
14690 # All AIX code is PIC.
14691 if test "$host_cpu" = ia64
; then
14692 # AIX 5 now supports IA64 processor
14693 lt_prog_compiler_static_CXX
='-Bstatic'
14695 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14699 case $cc_basename in
14701 # Green Hills C++ Compiler
14702 # _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"
14707 case $cc_basename in
14709 lt_prog_compiler_pic_CXX
='-KPIC'
14712 # Green Hills C++ Compiler
14713 lt_prog_compiler_pic_CXX
='-pic'
14719 freebsd
* | dragonfly
*)
14720 # FreeBSD uses GNU C++
14722 hpux9
* | hpux10
* | hpux11
*)
14723 case $cc_basename in
14725 lt_prog_compiler_wl_CXX
='-Wl,'
14726 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14727 if test "$host_cpu" != ia64
; then
14728 lt_prog_compiler_pic_CXX
='+Z'
14732 lt_prog_compiler_wl_CXX
='-Wl,'
14733 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14739 lt_prog_compiler_pic_CXX
='+Z'
14748 # This is c89, which is MS Visual C++ (no shared libs)
14749 # Anyone wants to do a port?
14751 irix5
* | irix6
* | nonstopux
*)
14752 case $cc_basename in
14754 lt_prog_compiler_wl_CXX
='-Wl,'
14755 lt_prog_compiler_static_CXX
='-non_shared'
14756 # CC pic flag -KPIC is the default.
14762 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14763 case $cc_basename in
14766 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14767 lt_prog_compiler_pic_CXX
='-fPIC'
14770 # old Intel C++ for x86_64 which still supported -KPIC.
14771 lt_prog_compiler_wl_CXX
='-Wl,'
14772 lt_prog_compiler_pic_CXX
='-KPIC'
14773 lt_prog_compiler_static_CXX
='-static'
14776 # Intel C++, used to be incompatible with GCC.
14777 # ICC 10 doesn't accept -KPIC any more.
14778 lt_prog_compiler_wl_CXX
='-Wl,'
14779 lt_prog_compiler_pic_CXX
='-fPIC'
14780 lt_prog_compiler_static_CXX
='-static'
14783 # Portland Group C++ compiler
14784 lt_prog_compiler_wl_CXX
='-Wl,'
14785 lt_prog_compiler_pic_CXX
='-fpic'
14786 lt_prog_compiler_static_CXX
='-Bstatic'
14790 # Make sure the PIC flag is empty. It appears that all Alpha
14791 # Linux and Compaq Tru64 Unix objects are PIC.
14792 lt_prog_compiler_pic_CXX
=
14793 lt_prog_compiler_static_CXX
='-non_shared'
14795 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14796 # IBM XL 8.0, 9.0 on PPC and BlueGene
14797 lt_prog_compiler_wl_CXX
='-Wl,'
14798 lt_prog_compiler_pic_CXX
='-qpic'
14799 lt_prog_compiler_static_CXX
='-qstaticlink'
14802 case `$CC -V 2>&1 | sed 5q` in
14805 lt_prog_compiler_pic_CXX
='-KPIC'
14806 lt_prog_compiler_static_CXX
='-Bstatic'
14807 lt_prog_compiler_wl_CXX
='-Qoption ld '
14818 case $cc_basename in
14820 lt_prog_compiler_pic_CXX
='-W c,exportall'
14829 # QNX uses GNU C++, but need to define -shared option too, otherwise
14830 # it will coredump.
14831 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14833 osf3
* | osf4
* | osf5
*)
14834 case $cc_basename in
14836 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14839 # Rational C++ 2.4.1
14840 lt_prog_compiler_pic_CXX
='-pic'
14843 # Digital/Compaq C++
14844 lt_prog_compiler_wl_CXX
='-Wl,'
14845 # Make sure the PIC flag is empty. It appears that all Alpha
14846 # Linux and Compaq Tru64 Unix objects are PIC.
14847 lt_prog_compiler_pic_CXX
=
14848 lt_prog_compiler_static_CXX
='-non_shared'
14857 case $cc_basename in
14859 # Sun C++ 4.2, 5.x and Centerline C++
14860 lt_prog_compiler_pic_CXX
='-KPIC'
14861 lt_prog_compiler_static_CXX
='-Bstatic'
14862 lt_prog_compiler_wl_CXX
='-Qoption ld '
14865 # Green Hills C++ Compiler
14866 lt_prog_compiler_pic_CXX
='-PIC'
14873 case $cc_basename in
14876 lt_prog_compiler_pic_CXX
='-pic'
14877 lt_prog_compiler_static_CXX
='-Bstatic'
14881 lt_prog_compiler_pic_CXX
='-pic'
14887 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14888 case $cc_basename in
14890 lt_prog_compiler_wl_CXX
='-Wl,'
14891 lt_prog_compiler_pic_CXX
='-KPIC'
14892 lt_prog_compiler_static_CXX
='-Bstatic'
14897 case $cc_basename in
14899 # NonStop-UX NCC 3.20
14900 lt_prog_compiler_pic_CXX
='-KPIC'
14909 lt_prog_compiler_can_build_shared_CXX
=no
14915 # For platforms which do not support PIC, -DPIC is meaningless:
14917 lt_prog_compiler_pic_CXX
=
14920 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14924 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14929 # Check to make sure the PIC flag actually works.
14931 if test -n "$lt_prog_compiler_pic_CXX"; then
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14933 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14934 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14935 $as_echo_n "(cached) " >&6
14937 lt_cv_prog_compiler_pic_works_CXX
=no
14938 ac_outfile
=conftest.
$ac_objext
14939 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14940 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14941 # Insert the option either (1) after the last *FLAGS variable, or
14942 # (2) before a word containing "conftest.", or (3) at the end.
14943 # Note that $ac_compile itself does not contain backslashes and begins
14944 # with a dollar sign (not a hyphen), so the echo should work correctly.
14945 # The option is referenced via a variable to avoid confusing sed.
14946 lt_compile
=`echo "$ac_compile" | $SED \
14947 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14949 -e 's:$: $lt_compiler_flag:'`
14950 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14951 (eval "$lt_compile" 2>conftest.err
)
14953 cat conftest.err
>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 if (exit $ac_status) && test -s "$ac_outfile"; then
14956 # The compiler can only warn and ignore the option if not recognized
14957 # So say no if there are warnings other than the usual output.
14958 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14959 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14960 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14961 lt_cv_prog_compiler_pic_works_CXX
=yes
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14968 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14970 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14971 case $lt_prog_compiler_pic_CXX in
14973 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14976 lt_prog_compiler_pic_CXX
=
14977 lt_prog_compiler_can_build_shared_CXX
=no
14985 # Check to make sure the static flag actually works.
14987 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14989 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14990 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14991 $as_echo_n "(cached) " >&6
14993 lt_cv_prog_compiler_static_works_CXX
=no
14994 save_LDFLAGS
="$LDFLAGS"
14995 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14996 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14997 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14998 # The linker can only warn and ignore the option if not recognized
14999 # So say no if there are warnings
15000 if test -s conftest.err
; then
15001 # Append any errors to the config.log.
15002 cat conftest.err
1>&5
15003 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15004 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15005 if diff conftest.exp conftest.er2
>/dev
/null
; then
15006 lt_cv_prog_compiler_static_works_CXX
=yes
15009 lt_cv_prog_compiler_static_works_CXX
=yes
15013 LDFLAGS
="$save_LDFLAGS"
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15017 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15019 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15022 lt_prog_compiler_static_CXX
=
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15029 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15030 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15031 $as_echo_n "(cached) " >&6
15033 lt_cv_prog_compiler_c_o_CXX
=no
15034 $RM -r conftest
2>/dev
/null
15038 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15040 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15041 # Insert the option either (1) after the last *FLAGS variable, or
15042 # (2) before a word containing "conftest.", or (3) at the end.
15043 # Note that $ac_compile itself does not contain backslashes and begins
15044 # with a dollar sign (not a hyphen), so the echo should work correctly.
15045 lt_compile
=`echo "$ac_compile" | $SED \
15046 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15048 -e 's:$: $lt_compiler_flag:'`
15049 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15050 (eval "$lt_compile" 2>out
/conftest.err
)
15052 cat out
/conftest.err
>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15056 # The compiler can only warn and ignore the option if not recognized
15057 # So say no if there are warnings
15058 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15059 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15060 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15061 lt_cv_prog_compiler_c_o_CXX
=yes
15066 # SGI C++ compiler will create directory out/ii_files/ for
15067 # template instantiation
15068 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15069 $RM out
/* && rmdir out
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15076 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15081 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15082 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15083 $as_echo_n "(cached) " >&6
15085 lt_cv_prog_compiler_c_o_CXX
=no
15086 $RM -r conftest
2>/dev
/null
15090 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15092 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15093 # Insert the option either (1) after the last *FLAGS variable, or
15094 # (2) before a word containing "conftest.", or (3) at the end.
15095 # Note that $ac_compile itself does not contain backslashes and begins
15096 # with a dollar sign (not a hyphen), so the echo should work correctly.
15097 lt_compile
=`echo "$ac_compile" | $SED \
15098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15100 -e 's:$: $lt_compiler_flag:'`
15101 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15102 (eval "$lt_compile" 2>out
/conftest.err
)
15104 cat out
/conftest.err
>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15108 # The compiler can only warn and ignore the option if not recognized
15109 # So say no if there are warnings
15110 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15111 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15112 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15113 lt_cv_prog_compiler_c_o_CXX
=yes
15118 # SGI C++ compiler will create directory out/ii_files/ for
15119 # template instantiation
15120 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15121 $RM out
/* && rmdir out
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15128 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15133 hard_links
="nottested"
15134 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15135 # do not overwrite the value of need_locks provided by the user
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15137 $as_echo_n "checking if we can lock with hard links... " >&6; }
15140 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15142 ln conftest.a conftest.b
2>&5 || hard_links
=no
15143 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15145 $as_echo "$hard_links" >&6; }
15146 if test "$hard_links" = no
; then
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15148 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15160 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15163 # If we're using GNU nm, then we don't want the "-C" option.
15164 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15165 # Also, AIX nm treats weak defined symbols like other global defined
15166 # symbols, whereas GNU nm marks them as "W".
15167 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15168 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'
15170 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'
15174 export_symbols_cmds_CXX
="$ltdll_cmds"
15176 cygwin
* | mingw
* | cegcc
*)
15177 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'
15180 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15183 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15186 $as_echo "$ld_shlibs_CXX" >&6; }
15187 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15189 with_gnu_ld_CXX
=$with_gnu_ld
15197 # Do we need to explicitly link libc?
15199 case "x$archive_cmds_need_lc_CXX" in
15201 # Assume -lc should be added
15202 archive_cmds_need_lc_CXX
=yes
15204 if test "$enable_shared" = yes && test "$GCC" = yes; then
15205 case $archive_cmds_CXX in
15207 # FIXME: we may have to deal with multi-command sequences.
15210 # Test whether the compiler implicitly links with -lc since on some
15211 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15212 # to ld, don't add -lc before -lgcc.
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15214 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15215 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15216 $as_echo_n "(cached) " >&6
15219 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15222 (eval $ac_compile) 2>&5
15224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15225 test $ac_status = 0; } 2>conftest.err
; then
15228 libobjs
=conftest.
$ac_objext
15230 wl
=$lt_prog_compiler_wl_CXX
15231 pic_flag
=$lt_prog_compiler_pic_CXX
15237 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15238 allow_undefined_flag_CXX
=
15239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15240 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15243 test $ac_status = 0; }
15245 lt_cv_archive_cmds_need_lc_CXX
=no
15247 lt_cv_archive_cmds_need_lc_CXX
=yes
15249 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15251 cat conftest.err
1>&5
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15257 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15258 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15329 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15331 library_names_spec
=
15332 libname_spec
='lib$name'
15336 postuninstall_cmds
=
15340 shlibpath_overrides_runpath
=unknown
15342 dynamic_linker
="$host_os ld.so"
15343 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15344 need_lib_prefix
=unknown
15345 hardcode_into_libs
=no
15347 # when you set need_version to no, make sure it does not cause -set_version
15348 # flags to be left without arguments
15349 need_version
=unknown
15354 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15355 shlibpath_var
=LIBPATH
15357 # AIX 3 has no versioning support, so we append a major version to the name.
15358 soname_spec
='${libname}${release}${shared_ext}$major'
15365 hardcode_into_libs
=yes
15366 if test "$host_cpu" = ia64
; then
15367 # AIX 5 supports IA64
15368 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15369 shlibpath_var
=LD_LIBRARY_PATH
15371 # With GCC up to 2.95.x, collect2 would create an import file
15372 # for dependence libraries. The import file would start with
15373 # the line `#! .'. This would cause the generated library to
15374 # depend on `.', always an invalid library. This was fixed in
15375 # development snapshots of GCC prior to 3.0.
15377 aix4 | aix4.
[01] | aix4.
[01].
*)
15378 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15380 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15383 can_build_shared
=no
15387 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15388 # soname into executable. Probably we can add versioning support to
15389 # collect2, so additional links can be useful in future.
15390 if test "$aix_use_runtimelinking" = yes; then
15391 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15392 # instead of lib<name>.a to let people know that these are not
15393 # typical AIX shared libraries.
15394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15396 # We preserve .a as extension for shared libraries through AIX4.2
15397 # and later when we are not doing run time linking.
15398 library_names_spec
='${libname}${release}.a $libname.a'
15399 soname_spec
='${libname}${release}${shared_ext}$major'
15401 shlibpath_var
=LIBPATH
15408 # Since July 2007 AmigaOS4 officially supports .so libraries.
15409 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413 library_names_spec
='$libname.ixlibrary $libname.a'
15414 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15415 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'
15421 library_names_spec
='${libname}${shared_ext}'
15422 dynamic_linker
="$host_os ld.so"
15423 shlibpath_var
=LIBRARY_PATH
15429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430 soname_spec
='${libname}${release}${shared_ext}$major'
15431 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15432 shlibpath_var
=LD_LIBRARY_PATH
15433 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15434 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15435 # the default ld.so.conf also contains /usr/contrib/lib and
15436 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15437 # libtool to hard-code these into programs
15440 cygwin
* | mingw
* | pw32
* | cegcc
*)
15441 version_type
=windows
15446 case $GCC,$host_os in
15447 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15448 library_names_spec
='$libname.dll.a'
15449 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15450 postinstall_cmds
='base_file=`basename \${file}`~
15451 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15452 dldir=$destdir/`dirname \$dlpath`~
15453 test -d \$dldir || mkdir -p \$dldir~
15454 $install_prog $dir/$dlname \$dldir/$dlname~
15455 chmod a+x \$dldir/$dlname~
15456 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15457 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15459 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15460 dlpath=$dir/\$dldll~
15462 shlibpath_overrides_runpath
=yes
15466 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15467 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15471 # MinGW DLLs use traditional 'lib' prefix
15472 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15475 # pw32 DLLs use 'pw' prefix rather than 'lib'
15476 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15482 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15485 dynamic_linker
='Win32 ld.exe'
15486 # FIXME: first we should search . and the directory the executable is in
15490 darwin
* | rhapsody
*)
15491 dynamic_linker
="$host_os dyld"
15492 version_type
=darwin
15495 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15496 soname_spec
='${libname}${release}${major}$shared_ext'
15497 shlibpath_overrides_runpath
=yes
15498 shlibpath_var
=DYLD_LIBRARY_PATH
15499 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15501 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15509 soname_spec
='${libname}${release}${shared_ext}$major'
15510 shlibpath_var
=LD_LIBRARY_PATH
15513 freebsd
* | dragonfly
*)
15514 # DragonFly does not have aout. When/if they implement a new
15515 # versioning mechanism, adjust this.
15516 if test -x /usr
/bin
/objformat
; then
15517 objformat
=`/usr/bin/objformat`
15520 freebsd
[23].
*) objformat
=aout
;;
15521 *) objformat
=elf
;;
15524 version_type
=freebsd-
$objformat
15525 case $version_type in
15527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15532 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15536 shlibpath_var
=LD_LIBRARY_PATH
15539 shlibpath_overrides_runpath
=yes
15541 freebsd3.
[01]* | freebsdelf3.
[01]*)
15542 shlibpath_overrides_runpath
=yes
15543 hardcode_into_libs
=yes
15545 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15546 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15547 shlibpath_overrides_runpath
=no
15548 hardcode_into_libs
=yes
15550 *) # from 4.6 on, and DragonFly
15551 shlibpath_overrides_runpath
=yes
15552 hardcode_into_libs
=yes
15561 dynamic_linker
="$host_os runtime_loader"
15562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15563 soname_spec
='${libname}${release}${shared_ext}$major'
15564 shlibpath_var
=LIBRARY_PATH
15565 shlibpath_overrides_runpath
=yes
15566 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15567 hardcode_into_libs
=yes
15570 hpux9
* | hpux10
* | hpux11
*)
15571 # Give a soname corresponding to the major version so that dld.sl refuses to
15572 # link against other versions.
15579 hardcode_into_libs
=yes
15580 dynamic_linker
="$host_os dld.so"
15581 shlibpath_var
=LD_LIBRARY_PATH
15582 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15584 soname_spec
='${libname}${release}${shared_ext}$major'
15585 if test "X$HPUX_IA64_MODE" = X32
; then
15586 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15588 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15590 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15594 hardcode_into_libs
=yes
15595 dynamic_linker
="$host_os dld.sl"
15596 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15597 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15601 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15605 dynamic_linker
="$host_os dld.sl"
15606 shlibpath_var
=SHLIB_PATH
15607 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15609 soname_spec
='${libname}${release}${shared_ext}$major'
15612 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15613 postinstall_cmds
='chmod 555 $lib'
15614 # or fails outright, so override atomically:
15615 install_override_mode
=555
15622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15623 soname_spec
='${libname}${release}${shared_ext}$major'
15624 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15625 shlibpath_var
=LD_LIBRARY_PATH
15626 shlibpath_overrides_runpath
=no
15627 hardcode_into_libs
=yes
15630 irix5
* | irix6
* | nonstopux
*)
15632 nonstopux
*) version_type
=nonstopux
;;
15634 if test "$lt_cv_prog_gnu_ld" = yes; then
15642 soname_spec
='${libname}${release}${shared_ext}$major'
15643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15645 irix5
* | nonstopux
*)
15646 libsuff
= shlibsuff
=
15649 case $LD in # libtool.m4 will add one of these switches to LD
15650 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15651 libsuff
= shlibsuff
= libmagic
=32-bit;;
15652 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15653 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15654 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15655 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15656 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15660 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15661 shlibpath_overrides_runpath
=no
15662 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15663 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15664 hardcode_into_libs
=yes
15667 # No shared lib support for Linux oldld, aout, or coff.
15668 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15672 # This must be Linux ELF.
15674 # uclinux* changes (here and below) have been submitted to the libtool
15675 # project, but have not yet been accepted: they are GCC-local changes
15676 # for the time being. (See
15677 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15678 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15683 soname_spec
='${libname}${release}${shared_ext}$major'
15684 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15685 shlibpath_var
=LD_LIBRARY_PATH
15686 shlibpath_overrides_runpath
=no
15688 # Some binutils ld are patched to set DT_RUNPATH
15689 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15690 $as_echo_n "(cached) " >&6
15692 lt_cv_shlibpath_overrides_runpath
=no
15693 save_LDFLAGS
=$LDFLAGS
15694 save_libdir
=$libdir
15695 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15696 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15697 if test x
$gcc_no_link = xyes
; then
15698 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15711 if ac_fn_cxx_try_link
"$LINENO"; then :
15712 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15713 lt_cv_shlibpath_overrides_runpath
=yes
15716 rm -f core conftest.err conftest.
$ac_objext \
15717 conftest
$ac_exeext conftest.
$ac_ext
15718 LDFLAGS
=$save_LDFLAGS
15719 libdir
=$save_libdir
15723 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15725 # This implies no fast_install, which is unacceptable.
15726 # Some rework will be needed to allow for fast_install
15727 # before this can be enabled.
15728 hardcode_into_libs
=yes
15730 # Append ld.so.conf contents to the search path
15731 if test -f /etc
/ld.so.conf
; then
15732 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' ' '`
15733 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15736 # We used to test for /lib/ld.so.1 and disable shared libraries on
15737 # powerpc, because MkLinux only supported shared libraries with the
15738 # GNU dynamic linker. Since this was broken with cross compilers,
15739 # most powerpc-linux boxes support dynamic linking these days and
15740 # people can always --disable-shared, the test was removed, and we
15741 # assume the GNU/Linux dynamic linker is in use.
15742 dynamic_linker
='GNU/Linux ld.so'
15749 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15751 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15752 dynamic_linker
='NetBSD (a.out) ld.so'
15754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15755 soname_spec
='${libname}${release}${shared_ext}$major'
15756 dynamic_linker
='NetBSD ld.elf_so'
15758 shlibpath_var
=LD_LIBRARY_PATH
15759 shlibpath_overrides_runpath
=yes
15760 hardcode_into_libs
=yes
15765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15766 shlibpath_var
=LD_LIBRARY_PATH
15767 shlibpath_overrides_runpath
=yes
15774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15775 soname_spec
='${libname}${release}${shared_ext}$major'
15776 shlibpath_var
=LD_LIBRARY_PATH
15777 shlibpath_overrides_runpath
=no
15778 hardcode_into_libs
=yes
15779 dynamic_linker
='ldqnx.so'
15784 sys_lib_dlsearch_path_spec
="/usr/lib"
15786 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15788 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15789 *) need_version
=no
;;
15791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15793 shlibpath_var
=LD_LIBRARY_PATH
15794 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15796 openbsd2.
[89] | openbsd2.
[89].
*)
15797 shlibpath_overrides_runpath
=no
15800 shlibpath_overrides_runpath
=yes
15804 shlibpath_overrides_runpath
=yes
15809 libname_spec
='$name'
15812 library_names_spec
='$libname${shared_ext} $libname.a'
15813 dynamic_linker
='OS/2 ld.exe'
15814 shlibpath_var
=LIBPATH
15817 osf3
* | osf4
* | osf5
*)
15821 soname_spec
='${libname}${release}${shared_ext}$major'
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15823 shlibpath_var
=LD_LIBRARY_PATH
15824 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15825 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15837 soname_spec
='${libname}${release}${shared_ext}$major'
15838 shlibpath_var
=LD_LIBRARY_PATH
15839 shlibpath_overrides_runpath
=yes
15840 hardcode_into_libs
=yes
15841 # ldd complains unless libraries are executable
15842 postinstall_cmds
='chmod +x $lib'
15847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15848 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15849 shlibpath_var
=LD_LIBRARY_PATH
15850 shlibpath_overrides_runpath
=yes
15851 if test "$with_gnu_ld" = yes; then
15859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15860 soname_spec
='${libname}${release}${shared_ext}$major'
15861 shlibpath_var
=LD_LIBRARY_PATH
15862 case $host_vendor in
15864 shlibpath_overrides_runpath
=no
15866 runpath_var
=LD_RUN_PATH
15874 shlibpath_overrides_runpath
=no
15875 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15881 if test -d /usr
/nec
;then
15883 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15884 soname_spec
='$libname${shared_ext}.$major'
15885 shlibpath_var
=LD_LIBRARY_PATH
15889 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15890 version_type
=freebsd-elf
15893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15894 soname_spec
='${libname}${release}${shared_ext}$major'
15895 shlibpath_var
=LD_LIBRARY_PATH
15896 shlibpath_overrides_runpath
=yes
15897 hardcode_into_libs
=yes
15898 if test "$with_gnu_ld" = yes; then
15899 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15901 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15904 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15908 sys_lib_dlsearch_path_spec
='/usr/lib'
15912 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15917 shlibpath_var
=LD_LIBRARY_PATH
15918 shlibpath_overrides_runpath
=no
15919 hardcode_into_libs
=yes
15924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15925 soname_spec
='${libname}${release}${shared_ext}$major'
15926 shlibpath_var
=LD_LIBRARY_PATH
15929 # Shared libraries for VwWorks, >= 7 only at this stage
15930 # and (fpic) still incompatible with "large" code models
15931 # in a few configurations. Only for RTP mode in any case,
15932 # and upon explicit request at configure time.
15935 case ${with_multisubdir}-${enable_shared} in
15942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15943 soname_spec
='${libname}${release}${shared_ext}$major'
15944 dynamic_linker
="$host_os module_loader"
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15953 $as_echo "$dynamic_linker" >&6; }
15954 test "$dynamic_linker" = no
&& can_build_shared
=no
15956 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15957 if test "$GCC" = yes; then
15958 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15961 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15962 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15964 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15965 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16006 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16007 hardcode_action_CXX
=
16008 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16009 test -n "$runpath_var_CXX" ||
16010 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16012 # We can hardcode non-existent directories.
16013 if test "$hardcode_direct_CXX" != no
&&
16014 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16015 # have to relink, otherwise we might link with an installed library
16016 # when we should be linking with a yet-to-be-installed one
16017 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16018 test "$hardcode_minus_L_CXX" != no
; then
16019 # Linking always hardcodes the temporary library directory.
16020 hardcode_action_CXX
=relink
16022 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16023 hardcode_action_CXX
=immediate
16026 # We cannot hardcode anything, or else we can only hardcode existing
16028 hardcode_action_CXX
=unsupported
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16031 $as_echo "$hardcode_action_CXX" >&6; }
16033 if test "$hardcode_action_CXX" = relink ||
16034 test "$inherit_rpath_CXX" = yes; then
16035 # Fast installation is not supported
16036 enable_fast_install
=no
16037 elif test "$shlibpath_overrides_runpath" = yes ||
16038 test "$enable_shared" = no
; then
16039 # Fast installation is not necessary
16040 enable_fast_install
=needless
16049 fi # test -n "$compiler"
16055 with_gnu_ld
=$lt_save_with_gnu_ld
16056 lt_cv_path_LDCXX
=$lt_cv_path_LD
16057 lt_cv_path_LD
=$lt_save_path_LD
16058 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16059 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16060 fi # test "$_lt_caught_CXX_error" != yes
16063 ac_cpp
='$CPP $CPPFLAGS'
16064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16080 ac_config_commands
="$ac_config_commands libtool"
16085 # Only expand once:
16091 if test "${multilib}" = "yes"; then
16092 multilib_arg
="--enable-multilib"
16097 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
16098 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
16100 cat >>confdefs.h
<<_ACEOF
16101 #define HAVE_STRUCT_TIMEZONE 1
16106 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
16107 if test "x$ac_cv_type_struct_stat" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_STRUCT_STAT 1
16115 ac_fn_c_check_type
"$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default"
16116 if test "x$ac_cv_type_struct_timespec" = xyes
; then :
16118 cat >>confdefs.h
<<_ACEOF
16119 #define HAVE_STRUCT_TIMESPEC 1
16124 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
16125 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
16127 cat >>confdefs.h
<<_ACEOF
16128 #define HAVE_STRUCT_TIMEVAL 1
16133 ac_fn_c_check_type
"$LINENO" "struct tm" "ac_cv_type_struct_tm" "$ac_includes_default"
16134 if test "x$ac_cv_type_struct_tm" = xyes
; then :
16136 cat >>confdefs.h
<<_ACEOF
16137 #define HAVE_STRUCT_TM 1
16144 # Check if struct tm contains the tm_gmtoff field.
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
16146 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
16147 if ${ac_cv_struct_tm_gmtoff+:} false
; then :
16148 $as_echo_n "(cached) " >&6
16150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16166 if ac_fn_c_try_compile
"$LINENO"; then :
16167 ac_cv_struct_tm_gmtoff
=yes
16169 ac_cv_struct_tm_gmtoff
=no
16172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
16176 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
16178 if (test "$ac_cv_struct_tm_gmtoff" = "yes"); then
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end detects struct tm with the tm_gmtoff field." >&5
16180 $as_echo_n "checking m2 front end detects struct tm with the tm_gmtoff field.... " >&6; }
16182 $as_echo "#define HAVE_TM_TM_GMTOFF 1" >>confdefs.h
16187 ac_cpp
='$CPP $CPPFLAGS'
16188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16192 # Check the compiler.
16193 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
16194 # We must force CC to /not/ be precious variables; otherwise
16195 # the wrong, non-multilib-adjusted value will be used in multilibs.
16196 # As a side effect, we have to subst CFLAGS ourselves.
16201 ac_cpp
='$CPP $CPPFLAGS'
16202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16205 if test -n "$ac_tool_prefix"; then
16206 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16207 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16209 $as_echo_n "checking for $ac_word... " >&6; }
16210 if ${ac_cv_prog_CC+:} false
; then :
16211 $as_echo_n "(cached) " >&6
16213 if test -n "$CC"; then
16214 ac_cv_prog_CC
="$CC" # Let the user override the test.
16216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16217 for as_dir
in $PATH
16220 test -z "$as_dir" && as_dir
=.
16221 for ac_exec_ext
in '' $ac_executable_extensions; do
16222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16223 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16234 if test -n "$CC"; then
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16236 $as_echo "$CC" >&6; }
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16239 $as_echo "no" >&6; }
16244 if test -z "$ac_cv_prog_CC"; then
16246 # Extract the first word of "gcc", so it can be a program name with args.
16247 set dummy gcc
; ac_word
=$2
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16249 $as_echo_n "checking for $ac_word... " >&6; }
16250 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16251 $as_echo_n "(cached) " >&6
16253 if test -n "$ac_ct_CC"; then
16254 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16257 for as_dir
in $PATH
16260 test -z "$as_dir" && as_dir
=.
16261 for ac_exec_ext
in '' $ac_executable_extensions; do
16262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16263 ac_cv_prog_ac_ct_CC
="gcc"
16264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16273 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16274 if test -n "$ac_ct_CC"; then
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16276 $as_echo "$ac_ct_CC" >&6; }
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16279 $as_echo "no" >&6; }
16282 if test "x$ac_ct_CC" = x
; then
16285 case $cross_compiling:$ac_tool_warned in
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16289 ac_tool_warned
=yes ;;
16294 CC
="$ac_cv_prog_CC"
16297 if test -z "$CC"; then
16298 if test -n "$ac_tool_prefix"; then
16299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16300 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16302 $as_echo_n "checking for $ac_word... " >&6; }
16303 if ${ac_cv_prog_CC+:} false
; then :
16304 $as_echo_n "(cached) " >&6
16306 if test -n "$CC"; then
16307 ac_cv_prog_CC
="$CC" # Let the user override the test.
16309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16310 for as_dir
in $PATH
16313 test -z "$as_dir" && as_dir
=.
16314 for ac_exec_ext
in '' $ac_executable_extensions; do
16315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16316 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16327 if test -n "$CC"; then
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16329 $as_echo "$CC" >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16332 $as_echo "no" >&6; }
16338 if test -z "$CC"; then
16339 # Extract the first word of "cc", so it can be a program name with args.
16340 set dummy cc
; ac_word
=$2
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16342 $as_echo_n "checking for $ac_word... " >&6; }
16343 if ${ac_cv_prog_CC+:} false
; then :
16344 $as_echo_n "(cached) " >&6
16346 if test -n "$CC"; then
16347 ac_cv_prog_CC
="$CC" # Let the user override the test.
16349 ac_prog_rejected
=no
16350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16351 for as_dir
in $PATH
16354 test -z "$as_dir" && as_dir
=.
16355 for ac_exec_ext
in '' $ac_executable_extensions; do
16356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16358 ac_prog_rejected
=yes
16362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16369 if test $ac_prog_rejected = yes; then
16370 # We found a bogon in the path, so make sure we never use it.
16371 set dummy
$ac_cv_prog_CC
16373 if test $# != 0; then
16374 # We chose a different compiler from the bogus one.
16375 # However, it has the same basename, so the bogon will be chosen
16376 # first if we set CC to just the basename; use the full file name.
16378 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16384 if test -n "$CC"; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16386 $as_echo "$CC" >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16389 $as_echo "no" >&6; }
16394 if test -z "$CC"; then
16395 if test -n "$ac_tool_prefix"; then
16396 for ac_prog
in cl.exe
16398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16399 set dummy
$ac_tool_prefix$ac_prog; 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_CC+:} false
; then :
16403 $as_echo_n "(cached) " >&6
16405 if test -n "$CC"; then
16406 ac_cv_prog_CC
="$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_CC
="$ac_tool_prefix$ac_prog"
16416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16426 if test -n "$CC"; then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16428 $as_echo "$CC" >&6; }
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16431 $as_echo "no" >&6; }
16435 test -n "$CC" && break
16438 if test -z "$CC"; then
16440 for ac_prog
in cl.exe
16442 # Extract the first word of "$ac_prog", so it can be a program name with args.
16443 set dummy
$ac_prog; ac_word
=$2
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16445 $as_echo_n "checking for $ac_word... " >&6; }
16446 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16447 $as_echo_n "(cached) " >&6
16449 if test -n "$ac_ct_CC"; then
16450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16453 for as_dir
in $PATH
16456 test -z "$as_dir" && as_dir
=.
16457 for ac_exec_ext
in '' $ac_executable_extensions; do
16458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16459 ac_cv_prog_ac_ct_CC
="$ac_prog"
16460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16470 if test -n "$ac_ct_CC"; then
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16472 $as_echo "$ac_ct_CC" >&6; }
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16475 $as_echo "no" >&6; }
16479 test -n "$ac_ct_CC" && break
16482 if test "x$ac_ct_CC" = x
; then
16485 case $cross_compiling:$ac_tool_warned in
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16489 ac_tool_warned
=yes ;;
16498 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16500 as_fn_error $?
"no acceptable C compiler found in \$PATH
16501 See \`config.log' for more details" "$LINENO" 5; }
16503 # Provide some information about the compiler.
16504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16507 for ac_option
in --version -v -V -qversion; do
16508 { { ac_try
="$ac_compiler $ac_option >&5"
16509 case "(($ac_try" in
16510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16514 $as_echo "$ac_try_echo"; } >&5
16515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16517 if test -s conftest.err; then
16519 ... rest of stderr output deleted ...
16520 10q' conftest.err >conftest.er1
16521 cat conftest.er1 >&5
16523 rm -f conftest.er1 conftest.err
16524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16525 test $ac_status = 0; }
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16529 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16530 if ${ac_cv_c_compiler_gnu+:} false; then :
16531 $as_echo_n "(cached) " >&6
16533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16534 /* end confdefs.h. */
16547 if ac_fn_c_try_compile "$LINENO"; then :
16548 ac_compiler_gnu=yes
16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16553 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16558 if test $ac_compiler_gnu = yes; then
16563 ac_test_CFLAGS=${CFLAGS+set}
16564 ac_save_CFLAGS=$CFLAGS
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16567 if ${ac_cv_prog_cc_g+:} false; then :
16568 $as_echo_n "(cached) " >&6
16570 ac_save_c_werror_flag=$ac_c_werror_flag
16571 ac_c_werror_flag=yes
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16585 if ac_fn_c_try_compile "$LINENO"; then :
16586 ac_cv_prog_cc_g=yes
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16600 if ac_fn_c_try_compile "$LINENO"; then :
16603 ac_c_werror_flag=$ac_save_c_werror_flag
16605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16616 if ac_fn_c_try_compile "$LINENO"; then :
16617 ac_cv_prog_cc_g=yes
16619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16624 ac_c_werror_flag=$ac_save_c_werror_flag
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16627 $as_echo "$ac_cv_prog_cc_g" >&6; }
16628 if test "$ac_test_CFLAGS" = set; then
16629 CFLAGS=$ac_save_CFLAGS
16630 elif test $ac_cv_prog_cc_g = yes; then
16631 if test "$GCC" = yes; then
16637 if test "$GCC" = yes; then
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16645 if ${ac_cv_prog_cc_c89+:} false; then :
16646 $as_echo_n "(cached) " >&6
16648 ac_cv_prog_cc_c89=no
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #include <stdarg.h>
16655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16656 struct buf { int x; };
16657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16658 static char *e (p, i)
16664 static char *f (char * (*g) (char **, int), char **p, ...)
16669 s = g (p, va_arg (v,int));
16674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16675 function prototypes and stuff, but not '\xHH' hex character constants.
16676 These don't provoke an error unfortunately, instead are silently treated
16677 as 'x'. The following induces an error, until -std is added to get
16678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16679 array size at least. It's necessary to write '\x00'==0 to get something
16680 that's true only with -std. */
16681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16684 inside strings and character constants. */
16686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16688 int test (int i, double x);
16689 struct s1 {int (*f) (int a);};
16690 struct s2 {int (*f) (double a);};
16691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16702 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16705 CC="$ac_save_CC $ac_arg"
16706 if ac_fn_c_try_compile "$LINENO"; then :
16707 ac_cv_prog_cc_c89=$ac_arg
16709 rm -f core conftest.err conftest.$ac_objext
16710 test "x$ac_cv_prog_cc_c89" != "xno" && break
16712 rm -f conftest.$ac_ext
16717 case "x$ac_cv_prog_cc_c89" in
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16720 $as_echo "none needed" >&6; } ;;
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16723 $as_echo "unsupported" >&6; } ;;
16725 CC="$CC $ac_cv_prog_cc_c89"
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16727 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16729 if test "x$ac_cv_prog_cc_c89" != xno; then :
16734 ac_cpp='$CPP $CPPFLAGS'
16735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16740 ac_cpp='$CPP $CPPFLAGS'
16741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16745 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16746 if ${am_cv_prog_cc_c_o+:} false; then :
16747 $as_echo_n "(cached) " >&6
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16760 # Make sure it works both with $CC and with simple cc.
16761 # Following AC_PROG_CC_C_O, we do the test twice because some
16762 # compilers refuse to overwrite an existing .o file with -o,
16763 # though they will create one.
16764 am_cv_prog_cc_c_o=yes
16765 for am_i in 1 2; do
16766 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16767 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } \
16771 && test -f conftest2.$ac_objext; then
16774 am_cv_prog_cc_c_o=no
16778 rm -f core conftest*
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16782 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16783 if test "$am_cv_prog_cc_c_o" != yes; then
16784 # Losing compiler, so override with the script.
16785 # FIXME: It is wrong to rewrite CC.
16786 # But if we don't then we get into trouble of one sort or another.
16787 # A longer-term fix would be to have automake use am__CC in this case,
16788 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16789 CC="$am_aux_dir/compile $CC"
16792 ac_cpp='$CPP $CPPFLAGS'
16793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
16808 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
16809 if test x$gcc_no_link != xyes; then
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
16811 $as_echo_n "checking for access in -lc... " >&6; }
16812 if ${ac_cv_lib_c_access+:} false; then :
16813 $as_echo_n "(cached) " >&6
16815 ac_check_lib_save_LIBS=$LIBS
16817 if test x$gcc_no_link = xyes; then
16818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 /* Override any GCC internal prototype to avoid an error.
16824 Use char because int might match the return type of a GCC
16825 builtin and then its argument prototype would still apply. */
16838 if ac_fn_c_try_link "$LINENO"; then :
16839 ac_cv_lib_c_access=yes
16841 ac_cv_lib_c_access=no
16843 rm -f core conftest.err conftest.$ac_objext \
16844 conftest$ac_exeext conftest.$ac_ext
16845 LIBS=$ac_check_lib_save_LIBS
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
16848 $as_echo "$ac_cv_lib_c_access" >&6; }
16849 if test "x$ac_cv_lib_c_access" = xyes; then :
16851 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16855 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16860 if test "x$ac_cv_lib_c_access" = xyes; then
16862 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16864 elif test "x$ac_cv_func_access" = xyes; then
16866 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16870 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
16877 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
16878 if test x$gcc_no_link != xyes; then
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
16880 $as_echo_n "checking for brk in -lc... " >&6; }
16881 if ${ac_cv_lib_c_brk+:} false; then :
16882 $as_echo_n "(cached) " >&6
16884 ac_check_lib_save_LIBS=$LIBS
16886 if test x$gcc_no_link = xyes; then
16887 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16892 /* Override any GCC internal prototype to avoid an error.
16893 Use char because int might match the return type of a GCC
16894 builtin and then its argument prototype would still apply. */
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_lib_c_brk=yes
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 LIBS=$ac_check_lib_save_LIBS
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
16917 $as_echo "$ac_cv_lib_c_brk" >&6; }
16918 if test "x$ac_cv_lib_c_brk" = xyes; then :
16920 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16924 $as_echo "#undef HAVE_BRK" >>confdefs.h
16929 if test "x$ac_cv_lib_c_brk" = xyes; then
16931 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16933 elif test "x$ac_cv_func_brk" = xyes; then
16935 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16939 $as_echo "#undef HAVE_BRK" >>confdefs.h
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
16946 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
16947 if test x$gcc_no_link != xyes; then
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
16949 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
16950 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
16951 $as_echo_n "(cached) " >&6
16953 ac_check_lib_save_LIBS=$LIBS
16955 if test x$gcc_no_link = xyes; then
16956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16961 /* Override any GCC internal prototype to avoid an error.
16962 Use char because int might match the return type of a GCC
16963 builtin and then its argument prototype would still apply. */
16971 return cfmakeraw ();
16976 if ac_fn_c_try_link "$LINENO"; then :
16977 ac_cv_lib_c_cfmakeraw=yes
16979 ac_cv_lib_c_cfmakeraw=no
16981 rm -f core conftest.err conftest.$ac_objext \
16982 conftest$ac_exeext conftest.$ac_ext
16983 LIBS=$ac_check_lib_save_LIBS
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
16986 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
16987 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
16989 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
16993 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
16998 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
17000 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17002 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
17004 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17008 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_gettime" >&5
17015 $as_echo_n "checking m2 front end checking c library for clock_gettime... " >&6; }
17016 if test x$gcc_no_link != xyes; then
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
17018 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
17019 if ${ac_cv_lib_c_clock_gettime+:} false; then :
17020 $as_echo_n "(cached) " >&6
17022 ac_check_lib_save_LIBS=$LIBS
17024 if test x$gcc_no_link = xyes; then
17025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17030 /* Override any GCC internal prototype to avoid an error.
17031 Use char because int might match the return type of a GCC
17032 builtin and then its argument prototype would still apply. */
17036 char clock_gettime ();
17040 return clock_gettime ();
17045 if ac_fn_c_try_link "$LINENO"; then :
17046 ac_cv_lib_c_clock_gettime=yes
17048 ac_cv_lib_c_clock_gettime=no
17050 rm -f core conftest.err conftest.$ac_objext \
17051 conftest$ac_exeext conftest.$ac_ext
17052 LIBS=$ac_check_lib_save_LIBS
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
17055 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
17056 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
17058 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17062 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
17067 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then
17069 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17071 elif test "x$ac_cv_func_clock_gettime" = xyes; then
17073 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17077 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_settime" >&5
17084 $as_echo_n "checking m2 front end checking c library for clock_settime... " >&6; }
17085 if test x$gcc_no_link != xyes; then
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lc" >&5
17087 $as_echo_n "checking for clock_settime in -lc... " >&6; }
17088 if ${ac_cv_lib_c_clock_settime+:} false; then :
17089 $as_echo_n "(cached) " >&6
17091 ac_check_lib_save_LIBS=$LIBS
17093 if test x$gcc_no_link = xyes; then
17094 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17099 /* Override any GCC internal prototype to avoid an error.
17100 Use char because int might match the return type of a GCC
17101 builtin and then its argument prototype would still apply. */
17105 char clock_settime ();
17109 return clock_settime ();
17114 if ac_fn_c_try_link "$LINENO"; then :
17115 ac_cv_lib_c_clock_settime=yes
17117 ac_cv_lib_c_clock_settime=no
17119 rm -f core conftest.err conftest.$ac_objext \
17120 conftest$ac_exeext conftest.$ac_ext
17121 LIBS=$ac_check_lib_save_LIBS
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_settime" >&5
17124 $as_echo "$ac_cv_lib_c_clock_settime" >&6; }
17125 if test "x$ac_cv_lib_c_clock_settime" = xyes; then :
17127 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17131 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
17136 if test "x$ac_cv_lib_c_clock_settime" = xyes; then
17138 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17140 elif test "x$ac_cv_func_clock_settime" = xyes; then
17142 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17146 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
17153 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
17154 if test x$gcc_no_link != xyes; then
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
17156 $as_echo_n "checking for close in -lc... " >&6; }
17157 if ${ac_cv_lib_c_close+:} false; then :
17158 $as_echo_n "(cached) " >&6
17160 ac_check_lib_save_LIBS=$LIBS
17162 if test x$gcc_no_link = xyes; then
17163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17168 /* Override any GCC internal prototype to avoid an error.
17169 Use char because int might match the return type of a GCC
17170 builtin and then its argument prototype would still apply. */
17183 if ac_fn_c_try_link "$LINENO"; then :
17184 ac_cv_lib_c_close=yes
17186 ac_cv_lib_c_close=no
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17190 LIBS=$ac_check_lib_save_LIBS
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
17193 $as_echo "$ac_cv_lib_c_close" >&6; }
17194 if test "x$ac_cv_lib_c_close" = xyes; then :
17196 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17200 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17205 if test "x$ac_cv_lib_c_close" = xyes; then
17207 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17209 elif test "x$ac_cv_func_close" = xyes; then
17211 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17215 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
17222 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
17223 if test x$gcc_no_link != xyes; then
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
17225 $as_echo_n "checking for ctime in -lc... " >&6; }
17226 if ${ac_cv_lib_c_ctime+:} false; then :
17227 $as_echo_n "(cached) " >&6
17229 ac_check_lib_save_LIBS=$LIBS
17231 if test x$gcc_no_link = xyes; then
17232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17237 /* Override any GCC internal prototype to avoid an error.
17238 Use char because int might match the return type of a GCC
17239 builtin and then its argument prototype would still apply. */
17252 if ac_fn_c_try_link "$LINENO"; then :
17253 ac_cv_lib_c_ctime=yes
17255 ac_cv_lib_c_ctime=no
17257 rm -f core conftest.err conftest.$ac_objext \
17258 conftest$ac_exeext conftest.$ac_ext
17259 LIBS=$ac_check_lib_save_LIBS
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
17262 $as_echo "$ac_cv_lib_c_ctime" >&6; }
17263 if test "x$ac_cv_lib_c_ctime" = xyes; then :
17265 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17269 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17274 if test "x$ac_cv_lib_c_ctime" = xyes; then
17276 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17278 elif test "x$ac_cv_func_ctime" = xyes; then
17280 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17284 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
17291 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
17292 if test x$gcc_no_link != xyes; then
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
17294 $as_echo_n "checking for creat in -lc... " >&6; }
17295 if ${ac_cv_lib_c_creat+:} false; then :
17296 $as_echo_n "(cached) " >&6
17298 ac_check_lib_save_LIBS=$LIBS
17300 if test x$gcc_no_link = xyes; then
17301 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17306 /* Override any GCC internal prototype to avoid an error.
17307 Use char because int might match the return type of a GCC
17308 builtin and then its argument prototype would still apply. */
17321 if ac_fn_c_try_link "$LINENO"; then :
17322 ac_cv_lib_c_creat=yes
17324 ac_cv_lib_c_creat=no
17326 rm -f core conftest.err conftest.$ac_objext \
17327 conftest$ac_exeext conftest.$ac_ext
17328 LIBS=$ac_check_lib_save_LIBS
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
17331 $as_echo "$ac_cv_lib_c_creat" >&6; }
17332 if test "x$ac_cv_lib_c_creat" = xyes; then :
17334 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17338 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17343 if test "x$ac_cv_lib_c_creat" = xyes; then
17345 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17347 elif test "x$ac_cv_func_creat" = xyes; then
17349 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17353 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for daylight" >&5
17360 $as_echo_n "checking m2 front end checking c library for daylight... " >&6; }
17361 if test x$gcc_no_link != xyes; then
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight in -lc" >&5
17363 $as_echo_n "checking for daylight in -lc... " >&6; }
17364 if ${ac_cv_lib_c_daylight+:} false; then :
17365 $as_echo_n "(cached) " >&6
17367 ac_check_lib_save_LIBS=$LIBS
17369 if test x$gcc_no_link = xyes; then
17370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17375 /* Override any GCC internal prototype to avoid an error.
17376 Use char because int might match the return type of a GCC
17377 builtin and then its argument prototype would still apply. */
17385 return daylight ();
17390 if ac_fn_c_try_link "$LINENO"; then :
17391 ac_cv_lib_c_daylight=yes
17393 ac_cv_lib_c_daylight=no
17395 rm -f core conftest.err conftest.$ac_objext \
17396 conftest$ac_exeext conftest.$ac_ext
17397 LIBS=$ac_check_lib_save_LIBS
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_daylight" >&5
17400 $as_echo "$ac_cv_lib_c_daylight" >&6; }
17401 if test "x$ac_cv_lib_c_daylight" = xyes; then :
17403 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17407 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
17412 if test "x$ac_cv_lib_c_daylight" = xyes; then
17414 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17416 elif test "x$ac_cv_func_daylight" = xyes; then
17418 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17422 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
17429 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
17430 if test x$gcc_no_link != xyes; then
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
17432 $as_echo_n "checking for dup in -lc... " >&6; }
17433 if ${ac_cv_lib_c_dup+:} false; then :
17434 $as_echo_n "(cached) " >&6
17436 ac_check_lib_save_LIBS=$LIBS
17438 if test x$gcc_no_link = xyes; then
17439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17444 /* Override any GCC internal prototype to avoid an error.
17445 Use char because int might match the return type of a GCC
17446 builtin and then its argument prototype would still apply. */
17459 if ac_fn_c_try_link "$LINENO"; then :
17460 ac_cv_lib_c_dup=yes
17464 rm -f core conftest.err conftest.$ac_objext \
17465 conftest$ac_exeext conftest.$ac_ext
17466 LIBS=$ac_check_lib_save_LIBS
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
17469 $as_echo "$ac_cv_lib_c_dup" >&6; }
17470 if test "x$ac_cv_lib_c_dup" = xyes; then :
17472 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17476 $as_echo "#undef HAVE_DUP" >>confdefs.h
17481 if test "x$ac_cv_lib_c_dup" = xyes; then
17483 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17485 elif test "x$ac_cv_func_dup" = xyes; then
17487 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17491 $as_echo "#undef HAVE_DUP" >>confdefs.h
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
17498 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
17499 if test x$gcc_no_link != xyes; then
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
17501 $as_echo_n "checking for execve in -lc... " >&6; }
17502 if ${ac_cv_lib_c_execve+:} false; then :
17503 $as_echo_n "(cached) " >&6
17505 ac_check_lib_save_LIBS=$LIBS
17507 if test x$gcc_no_link = xyes; then
17508 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17513 /* Override any GCC internal prototype to avoid an error.
17514 Use char because int might match the return type of a GCC
17515 builtin and then its argument prototype would still apply. */
17528 if ac_fn_c_try_link "$LINENO"; then :
17529 ac_cv_lib_c_execve=yes
17531 ac_cv_lib_c_execve=no
17533 rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17535 LIBS=$ac_check_lib_save_LIBS
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
17538 $as_echo "$ac_cv_lib_c_execve" >&6; }
17539 if test "x$ac_cv_lib_c_execve" = xyes; then :
17541 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17545 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17550 if test "x$ac_cv_lib_c_execve" = xyes; then
17552 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17554 elif test "x$ac_cv_func_execve" = xyes; then
17556 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17560 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
17567 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
17568 if test x$gcc_no_link != xyes; then
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
17570 $as_echo_n "checking for exit in -lc... " >&6; }
17571 if ${ac_cv_lib_c_exit+:} false; then :
17572 $as_echo_n "(cached) " >&6
17574 ac_check_lib_save_LIBS=$LIBS
17576 if test x$gcc_no_link = xyes; then
17577 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17582 /* Override any GCC internal prototype to avoid an error.
17583 Use char because int might match the return type of a GCC
17584 builtin and then its argument prototype would still apply. */
17597 if ac_fn_c_try_link "$LINENO"; then :
17598 ac_cv_lib_c_exit=yes
17600 ac_cv_lib_c_exit=no
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17604 LIBS=$ac_check_lib_save_LIBS
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
17607 $as_echo "$ac_cv_lib_c_exit" >&6; }
17608 if test "x$ac_cv_lib_c_exit" = xyes; then :
17610 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17614 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17619 if test "x$ac_cv_lib_c_exit" = xyes; then
17621 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17623 elif test "x$ac_cv_func_exit" = xyes; then
17625 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17629 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
17636 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
17637 if test x$gcc_no_link != xyes; then
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
17639 $as_echo_n "checking for fcntl in -lc... " >&6; }
17640 if ${ac_cv_lib_c_fcntl+:} false; then :
17641 $as_echo_n "(cached) " >&6
17643 ac_check_lib_save_LIBS=$LIBS
17645 if test x$gcc_no_link = xyes; then
17646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17651 /* Override any GCC internal prototype to avoid an error.
17652 Use char because int might match the return type of a GCC
17653 builtin and then its argument prototype would still apply. */
17666 if ac_fn_c_try_link "$LINENO"; then :
17667 ac_cv_lib_c_fcntl=yes
17669 ac_cv_lib_c_fcntl=no
17671 rm -f core conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext conftest.$ac_ext
17673 LIBS=$ac_check_lib_save_LIBS
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
17676 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
17677 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
17679 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17683 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17688 if test "x$ac_cv_lib_c_fcntl" = xyes; then
17690 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17692 elif test "x$ac_cv_func_fcntl" = xyes; then
17694 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17698 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
17705 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
17706 if test x$gcc_no_link != xyes; then
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
17708 $as_echo_n "checking for fstat in -lc... " >&6; }
17709 if ${ac_cv_lib_c_fstat+:} false; then :
17710 $as_echo_n "(cached) " >&6
17712 ac_check_lib_save_LIBS=$LIBS
17714 if test x$gcc_no_link = xyes; then
17715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17720 /* Override any GCC internal prototype to avoid an error.
17721 Use char because int might match the return type of a GCC
17722 builtin and then its argument prototype would still apply. */
17735 if ac_fn_c_try_link "$LINENO"; then :
17736 ac_cv_lib_c_fstat=yes
17738 ac_cv_lib_c_fstat=no
17740 rm -f core conftest.err conftest.$ac_objext \
17741 conftest$ac_exeext conftest.$ac_ext
17742 LIBS=$ac_check_lib_save_LIBS
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
17745 $as_echo "$ac_cv_lib_c_fstat" >&6; }
17746 if test "x$ac_cv_lib_c_fstat" = xyes; then :
17748 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17752 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17757 if test "x$ac_cv_lib_c_fstat" = xyes; then
17759 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17761 elif test "x$ac_cv_func_fstat" = xyes; then
17763 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17767 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
17774 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
17775 if test x$gcc_no_link != xyes; then
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
17777 $as_echo_n "checking for getdents in -lc... " >&6; }
17778 if ${ac_cv_lib_c_getdents+:} false; then :
17779 $as_echo_n "(cached) " >&6
17781 ac_check_lib_save_LIBS=$LIBS
17783 if test x$gcc_no_link = xyes; then
17784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17799 return getdents ();
17804 if ac_fn_c_try_link "$LINENO"; then :
17805 ac_cv_lib_c_getdents=yes
17807 ac_cv_lib_c_getdents=no
17809 rm -f core conftest.err conftest.$ac_objext \
17810 conftest$ac_exeext conftest.$ac_ext
17811 LIBS=$ac_check_lib_save_LIBS
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
17814 $as_echo "$ac_cv_lib_c_getdents" >&6; }
17815 if test "x$ac_cv_lib_c_getdents" = xyes; then :
17817 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17821 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17826 if test "x$ac_cv_lib_c_getdents" = xyes; then
17828 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17830 elif test "x$ac_cv_func_getdents" = xyes; then
17832 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17836 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
17843 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
17844 if test x$gcc_no_link != xyes; then
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
17846 $as_echo_n "checking for getgid in -lc... " >&6; }
17847 if ${ac_cv_lib_c_getgid+:} false; then :
17848 $as_echo_n "(cached) " >&6
17850 ac_check_lib_save_LIBS=$LIBS
17852 if test x$gcc_no_link = xyes; then
17853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17858 /* Override any GCC internal prototype to avoid an error.
17859 Use char because int might match the return type of a GCC
17860 builtin and then its argument prototype would still apply. */
17873 if ac_fn_c_try_link "$LINENO"; then :
17874 ac_cv_lib_c_getgid=yes
17876 ac_cv_lib_c_getgid=no
17878 rm -f core conftest.err conftest.$ac_objext \
17879 conftest$ac_exeext conftest.$ac_ext
17880 LIBS=$ac_check_lib_save_LIBS
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
17883 $as_echo "$ac_cv_lib_c_getgid" >&6; }
17884 if test "x$ac_cv_lib_c_getgid" = xyes; then :
17886 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17890 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17895 if test "x$ac_cv_lib_c_getgid" = xyes; then
17897 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17899 elif test "x$ac_cv_func_getgid" = xyes; then
17901 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17905 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
17912 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
17913 if test x$gcc_no_link != xyes; then
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
17915 $as_echo_n "checking for getpid in -lc... " >&6; }
17916 if ${ac_cv_lib_c_getpid+:} false; then :
17917 $as_echo_n "(cached) " >&6
17919 ac_check_lib_save_LIBS=$LIBS
17921 if test x$gcc_no_link = xyes; then
17922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17927 /* Override any GCC internal prototype to avoid an error.
17928 Use char because int might match the return type of a GCC
17929 builtin and then its argument prototype would still apply. */
17942 if ac_fn_c_try_link "$LINENO"; then :
17943 ac_cv_lib_c_getpid=yes
17945 ac_cv_lib_c_getpid=no
17947 rm -f core conftest.err conftest.$ac_objext \
17948 conftest$ac_exeext conftest.$ac_ext
17949 LIBS=$ac_check_lib_save_LIBS
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
17952 $as_echo "$ac_cv_lib_c_getpid" >&6; }
17953 if test "x$ac_cv_lib_c_getpid" = xyes; then :
17955 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17959 $as_echo "#undef HAVE_GETPID" >>confdefs.h
17964 if test "x$ac_cv_lib_c_getpid" = xyes; then
17966 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17968 elif test "x$ac_cv_func_getpid" = xyes; then
17970 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17974 $as_echo "#undef HAVE_GETPID" >>confdefs.h
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
17981 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
17982 if test x$gcc_no_link != xyes; then
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
17984 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
17985 if ${ac_cv_lib_c_gettimeofday+:} false; then :
17986 $as_echo_n "(cached) " >&6
17988 ac_check_lib_save_LIBS=$LIBS
17990 if test x$gcc_no_link = xyes; then
17991 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17996 /* Override any GCC internal prototype to avoid an error.
17997 Use char because int might match the return type of a GCC
17998 builtin and then its argument prototype would still apply. */
18002 char gettimeofday ();
18006 return gettimeofday ();
18011 if ac_fn_c_try_link "$LINENO"; then :
18012 ac_cv_lib_c_gettimeofday=yes
18014 ac_cv_lib_c_gettimeofday=no
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_check_lib_save_LIBS
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
18021 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
18022 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
18024 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18028 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
18033 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
18035 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18037 elif test "x$ac_cv_func_gettimeofday" = xyes; then
18039 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18043 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
18050 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
18051 if test x$gcc_no_link != xyes; then
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
18053 $as_echo_n "checking for getuid in -lc... " >&6; }
18054 if ${ac_cv_lib_c_getuid+:} false; then :
18055 $as_echo_n "(cached) " >&6
18057 ac_check_lib_save_LIBS=$LIBS
18059 if test x$gcc_no_link = xyes; then
18060 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18063 /* end confdefs.h. */
18065 /* Override any GCC internal prototype to avoid an error.
18066 Use char because int might match the return type of a GCC
18067 builtin and then its argument prototype would still apply. */
18080 if ac_fn_c_try_link "$LINENO"; then :
18081 ac_cv_lib_c_getuid=yes
18083 ac_cv_lib_c_getuid=no
18085 rm -f core conftest.err conftest.$ac_objext \
18086 conftest$ac_exeext conftest.$ac_ext
18087 LIBS=$ac_check_lib_save_LIBS
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
18090 $as_echo "$ac_cv_lib_c_getuid" >&6; }
18091 if test "x$ac_cv_lib_c_getuid" = xyes; then :
18093 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18097 $as_echo "#undef HAVE_GETUID" >>confdefs.h
18102 if test "x$ac_cv_lib_c_getuid" = xyes; then
18104 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18106 elif test "x$ac_cv_func_getuid" = xyes; then
18108 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18112 $as_echo "#undef HAVE_GETUID" >>confdefs.h
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
18119 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
18120 if test x$gcc_no_link != xyes; then
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
18122 $as_echo_n "checking for ioctl in -lc... " >&6; }
18123 if ${ac_cv_lib_c_ioctl+:} false; then :
18124 $as_echo_n "(cached) " >&6
18126 ac_check_lib_save_LIBS=$LIBS
18128 if test x$gcc_no_link = xyes; then
18129 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18134 /* Override any GCC internal prototype to avoid an error.
18135 Use char because int might match the return type of a GCC
18136 builtin and then its argument prototype would still apply. */
18149 if ac_fn_c_try_link "$LINENO"; then :
18150 ac_cv_lib_c_ioctl=yes
18152 ac_cv_lib_c_ioctl=no
18154 rm -f core conftest.err conftest.$ac_objext \
18155 conftest$ac_exeext conftest.$ac_ext
18156 LIBS=$ac_check_lib_save_LIBS
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
18159 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
18160 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
18162 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18166 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
18171 if test "x$ac_cv_lib_c_ioctl" = xyes; then
18173 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18175 elif test "x$ac_cv_func_ioctl" = xyes; then
18177 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18181 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
18188 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
18189 if test x$gcc_no_link != xyes; then
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
18191 $as_echo_n "checking for kill in -lc... " >&6; }
18192 if ${ac_cv_lib_c_kill+:} false; then :
18193 $as_echo_n "(cached) " >&6
18195 ac_check_lib_save_LIBS=$LIBS
18197 if test x$gcc_no_link = xyes; then
18198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18203 /* Override any GCC internal prototype to avoid an error.
18204 Use char because int might match the return type of a GCC
18205 builtin and then its argument prototype would still apply. */
18218 if ac_fn_c_try_link "$LINENO"; then :
18219 ac_cv_lib_c_kill=yes
18221 ac_cv_lib_c_kill=no
18223 rm -f core conftest.err conftest.$ac_objext \
18224 conftest$ac_exeext conftest.$ac_ext
18225 LIBS=$ac_check_lib_save_LIBS
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
18228 $as_echo "$ac_cv_lib_c_kill" >&6; }
18229 if test "x$ac_cv_lib_c_kill" = xyes; then :
18231 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18235 $as_echo "#undef HAVE_KILL" >>confdefs.h
18240 if test "x$ac_cv_lib_c_kill" = xyes; then
18242 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18244 elif test "x$ac_cv_func_kill" = xyes; then
18246 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18250 $as_echo "#undef HAVE_KILL" >>confdefs.h
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
18257 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
18258 if test x$gcc_no_link != xyes; then
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
18260 $as_echo_n "checking for link in -lc... " >&6; }
18261 if ${ac_cv_lib_c_link+:} false; then :
18262 $as_echo_n "(cached) " >&6
18264 ac_check_lib_save_LIBS=$LIBS
18266 if test x$gcc_no_link = xyes; then
18267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18272 /* Override any GCC internal prototype to avoid an error.
18273 Use char because int might match the return type of a GCC
18274 builtin and then its argument prototype would still apply. */
18287 if ac_fn_c_try_link "$LINENO"; then :
18288 ac_cv_lib_c_link=yes
18290 ac_cv_lib_c_link=no
18292 rm -f core conftest.err conftest.$ac_objext \
18293 conftest$ac_exeext conftest.$ac_ext
18294 LIBS=$ac_check_lib_save_LIBS
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
18297 $as_echo "$ac_cv_lib_c_link" >&6; }
18298 if test "x$ac_cv_lib_c_link" = xyes; then :
18300 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18304 $as_echo "#undef HAVE_LINK" >>confdefs.h
18309 if test "x$ac_cv_lib_c_link" = xyes; then
18311 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18313 elif test "x$ac_cv_func_link" = xyes; then
18315 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18319 $as_echo "#undef HAVE_LINK" >>confdefs.h
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
18326 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
18327 if test x$gcc_no_link != xyes; then
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
18329 $as_echo_n "checking for lseek in -lc... " >&6; }
18330 if ${ac_cv_lib_c_lseek+:} false; then :
18331 $as_echo_n "(cached) " >&6
18333 ac_check_lib_save_LIBS=$LIBS
18335 if test x$gcc_no_link = xyes; then
18336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18339 /* end confdefs.h. */
18341 /* Override any GCC internal prototype to avoid an error.
18342 Use char because int might match the return type of a GCC
18343 builtin and then its argument prototype would still apply. */
18356 if ac_fn_c_try_link "$LINENO"; then :
18357 ac_cv_lib_c_lseek=yes
18359 ac_cv_lib_c_lseek=no
18361 rm -f core conftest.err conftest.$ac_objext \
18362 conftest$ac_exeext conftest.$ac_ext
18363 LIBS=$ac_check_lib_save_LIBS
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
18366 $as_echo "$ac_cv_lib_c_lseek" >&6; }
18367 if test "x$ac_cv_lib_c_lseek" = xyes; then :
18369 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18373 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18378 if test "x$ac_cv_lib_c_lseek" = xyes; then
18380 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18382 elif test "x$ac_cv_func_lseek" = xyes; then
18384 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18388 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
18395 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
18396 if test x$gcc_no_link != xyes; then
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
18398 $as_echo_n "checking for open in -lc... " >&6; }
18399 if ${ac_cv_lib_c_open+:} false; then :
18400 $as_echo_n "(cached) " >&6
18402 ac_check_lib_save_LIBS=$LIBS
18404 if test x$gcc_no_link = xyes; then
18405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18410 /* Override any GCC internal prototype to avoid an error.
18411 Use char because int might match the return type of a GCC
18412 builtin and then its argument prototype would still apply. */
18425 if ac_fn_c_try_link "$LINENO"; then :
18426 ac_cv_lib_c_open=yes
18428 ac_cv_lib_c_open=no
18430 rm -f core conftest.err conftest.$ac_objext \
18431 conftest$ac_exeext conftest.$ac_ext
18432 LIBS=$ac_check_lib_save_LIBS
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
18435 $as_echo "$ac_cv_lib_c_open" >&6; }
18436 if test "x$ac_cv_lib_c_open" = xyes; then :
18438 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18442 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18447 if test "x$ac_cv_lib_c_open" = xyes; then
18449 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18451 elif test "x$ac_cv_func_open" = xyes; then
18453 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18457 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
18464 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
18465 if test x$gcc_no_link != xyes; then
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
18467 $as_echo_n "checking for pause in -lc... " >&6; }
18468 if ${ac_cv_lib_c_pause+:} false; then :
18469 $as_echo_n "(cached) " >&6
18471 ac_check_lib_save_LIBS=$LIBS
18473 if test x$gcc_no_link = xyes; then
18474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18479 /* Override any GCC internal prototype to avoid an error.
18480 Use char because int might match the return type of a GCC
18481 builtin and then its argument prototype would still apply. */
18494 if ac_fn_c_try_link "$LINENO"; then :
18495 ac_cv_lib_c_pause=yes
18497 ac_cv_lib_c_pause=no
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18501 LIBS=$ac_check_lib_save_LIBS
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
18504 $as_echo "$ac_cv_lib_c_pause" >&6; }
18505 if test "x$ac_cv_lib_c_pause" = xyes; then :
18507 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18511 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18516 if test "x$ac_cv_lib_c_pause" = xyes; then
18518 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18520 elif test "x$ac_cv_func_pause" = xyes; then
18522 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18526 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
18533 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
18534 if test x$gcc_no_link != xyes; then
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
18536 $as_echo_n "checking for pipe in -lc... " >&6; }
18537 if ${ac_cv_lib_c_pipe+:} false; then :
18538 $as_echo_n "(cached) " >&6
18540 ac_check_lib_save_LIBS=$LIBS
18542 if test x$gcc_no_link = xyes; then
18543 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18548 /* Override any GCC internal prototype to avoid an error.
18549 Use char because int might match the return type of a GCC
18550 builtin and then its argument prototype would still apply. */
18563 if ac_fn_c_try_link "$LINENO"; then :
18564 ac_cv_lib_c_pipe=yes
18566 ac_cv_lib_c_pipe=no
18568 rm -f core conftest.err conftest.$ac_objext \
18569 conftest$ac_exeext conftest.$ac_ext
18570 LIBS=$ac_check_lib_save_LIBS
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
18573 $as_echo "$ac_cv_lib_c_pipe" >&6; }
18574 if test "x$ac_cv_lib_c_pipe" = xyes; then :
18576 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18580 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18585 if test "x$ac_cv_lib_c_pipe" = xyes; then
18587 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18589 elif test "x$ac_cv_func_pipe" = xyes; then
18591 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18595 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
18602 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
18603 if test x$gcc_no_link != xyes; then
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
18605 $as_echo_n "checking for rand in -lc... " >&6; }
18606 if ${ac_cv_lib_c_rand+:} false; then :
18607 $as_echo_n "(cached) " >&6
18609 ac_check_lib_save_LIBS=$LIBS
18611 if test x$gcc_no_link = xyes; then
18612 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18615 /* end confdefs.h. */
18617 /* Override any GCC internal prototype to avoid an error.
18618 Use char because int might match the return type of a GCC
18619 builtin and then its argument prototype would still apply. */
18632 if ac_fn_c_try_link "$LINENO"; then :
18633 ac_cv_lib_c_rand=yes
18635 ac_cv_lib_c_rand=no
18637 rm -f core conftest.err conftest.$ac_objext \
18638 conftest$ac_exeext conftest.$ac_ext
18639 LIBS=$ac_check_lib_save_LIBS
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
18642 $as_echo "$ac_cv_lib_c_rand" >&6; }
18643 if test "x$ac_cv_lib_c_rand" = xyes; then :
18645 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18649 $as_echo "#undef HAVE_RAND" >>confdefs.h
18654 if test "x$ac_cv_lib_c_rand" = xyes; then
18656 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18658 elif test "x$ac_cv_func_rand" = xyes; then
18660 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18664 $as_echo "#undef HAVE_RAND" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
18671 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
18672 if test x$gcc_no_link != xyes; then
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
18674 $as_echo_n "checking for read in -lc... " >&6; }
18675 if ${ac_cv_lib_c_read+:} false; then :
18676 $as_echo_n "(cached) " >&6
18678 ac_check_lib_save_LIBS=$LIBS
18680 if test x$gcc_no_link = xyes; then
18681 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18684 /* end confdefs.h. */
18686 /* Override any GCC internal prototype to avoid an error.
18687 Use char because int might match the return type of a GCC
18688 builtin and then its argument prototype would still apply. */
18701 if ac_fn_c_try_link "$LINENO"; then :
18702 ac_cv_lib_c_read=yes
18704 ac_cv_lib_c_read=no
18706 rm -f core conftest.err conftest.$ac_objext \
18707 conftest$ac_exeext conftest.$ac_ext
18708 LIBS=$ac_check_lib_save_LIBS
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
18711 $as_echo "$ac_cv_lib_c_read" >&6; }
18712 if test "x$ac_cv_lib_c_read" = xyes; then :
18714 $as_echo "#define HAVE_READ 1" >>confdefs.h
18718 $as_echo "#undef HAVE_READ" >>confdefs.h
18723 if test "x$ac_cv_lib_c_read" = xyes; then
18725 $as_echo "#define HAVE_READ 1" >>confdefs.h
18727 elif test "x$ac_cv_func_read" = xyes; then
18729 $as_echo "#define HAVE_READ 1" >>confdefs.h
18733 $as_echo "#undef HAVE_READ" >>confdefs.h
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
18740 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
18741 if test x$gcc_no_link != xyes; then
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
18743 $as_echo_n "checking for select in -lc... " >&6; }
18744 if ${ac_cv_lib_c_select+:} false; then :
18745 $as_echo_n "(cached) " >&6
18747 ac_check_lib_save_LIBS=$LIBS
18749 if test x$gcc_no_link = xyes; then
18750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18755 /* Override any GCC internal prototype to avoid an error.
18756 Use char because int might match the return type of a GCC
18757 builtin and then its argument prototype would still apply. */
18770 if ac_fn_c_try_link "$LINENO"; then :
18771 ac_cv_lib_c_select=yes
18773 ac_cv_lib_c_select=no
18775 rm -f core conftest.err conftest.$ac_objext \
18776 conftest$ac_exeext conftest.$ac_ext
18777 LIBS=$ac_check_lib_save_LIBS
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
18780 $as_echo "$ac_cv_lib_c_select" >&6; }
18781 if test "x$ac_cv_lib_c_select" = xyes; then :
18783 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18787 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18792 if test "x$ac_cv_lib_c_select" = xyes; then
18794 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18796 elif test "x$ac_cv_func_select" = xyes; then
18798 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18802 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
18809 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
18810 if test x$gcc_no_link != xyes; then
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
18812 $as_echo_n "checking for setitimer in -lc... " >&6; }
18813 if ${ac_cv_lib_c_setitimer+:} false; then :
18814 $as_echo_n "(cached) " >&6
18816 ac_check_lib_save_LIBS=$LIBS
18818 if test x$gcc_no_link = xyes; then
18819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18822 /* end confdefs.h. */
18824 /* Override any GCC internal prototype to avoid an error.
18825 Use char because int might match the return type of a GCC
18826 builtin and then its argument prototype would still apply. */
18834 return setitimer ();
18839 if ac_fn_c_try_link "$LINENO"; then :
18840 ac_cv_lib_c_setitimer=yes
18842 ac_cv_lib_c_setitimer=no
18844 rm -f core conftest.err conftest.$ac_objext \
18845 conftest$ac_exeext conftest.$ac_ext
18846 LIBS=$ac_check_lib_save_LIBS
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
18849 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
18850 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
18852 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18856 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18861 if test "x$ac_cv_lib_c_setitimer" = xyes; then
18863 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18865 elif test "x$ac_cv_func_setitimer" = xyes; then
18867 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18871 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
18878 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
18879 if test x$gcc_no_link != xyes; then
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
18881 $as_echo_n "checking for setgid in -lc... " >&6; }
18882 if ${ac_cv_lib_c_setgid+:} false; then :
18883 $as_echo_n "(cached) " >&6
18885 ac_check_lib_save_LIBS=$LIBS
18887 if test x$gcc_no_link = xyes; then
18888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18893 /* Override any GCC internal prototype to avoid an error.
18894 Use char because int might match the return type of a GCC
18895 builtin and then its argument prototype would still apply. */
18908 if ac_fn_c_try_link "$LINENO"; then :
18909 ac_cv_lib_c_setgid=yes
18911 ac_cv_lib_c_setgid=no
18913 rm -f core conftest.err conftest.$ac_objext \
18914 conftest$ac_exeext conftest.$ac_ext
18915 LIBS=$ac_check_lib_save_LIBS
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
18918 $as_echo "$ac_cv_lib_c_setgid" >&6; }
18919 if test "x$ac_cv_lib_c_setgid" = xyes; then :
18921 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18925 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18930 if test "x$ac_cv_lib_c_setgid" = xyes; then
18932 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18934 elif test "x$ac_cv_func_setgid" = xyes; then
18936 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18940 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
18947 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
18948 if test x$gcc_no_link != xyes; then
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
18950 $as_echo_n "checking for setuid in -lc... " >&6; }
18951 if ${ac_cv_lib_c_setuid+:} false; then :
18952 $as_echo_n "(cached) " >&6
18954 ac_check_lib_save_LIBS=$LIBS
18956 if test x$gcc_no_link = xyes; then
18957 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18962 /* Override any GCC internal prototype to avoid an error.
18963 Use char because int might match the return type of a GCC
18964 builtin and then its argument prototype would still apply. */
18977 if ac_fn_c_try_link "$LINENO"; then :
18978 ac_cv_lib_c_setuid=yes
18980 ac_cv_lib_c_setuid=no
18982 rm -f core conftest.err conftest.$ac_objext \
18983 conftest$ac_exeext conftest.$ac_ext
18984 LIBS=$ac_check_lib_save_LIBS
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
18987 $as_echo "$ac_cv_lib_c_setuid" >&6; }
18988 if test "x$ac_cv_lib_c_setuid" = xyes; then :
18990 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
18994 $as_echo "#undef HAVE_SETUID" >>confdefs.h
18999 if test "x$ac_cv_lib_c_setuid" = xyes; then
19001 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19003 elif test "x$ac_cv_func_setuid" = xyes; then
19005 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19009 $as_echo "#undef HAVE_SETUID" >>confdefs.h
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
19016 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
19017 if test x$gcc_no_link != xyes; then
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
19019 $as_echo_n "checking for stat in -lc... " >&6; }
19020 if ${ac_cv_lib_c_stat+:} false; then :
19021 $as_echo_n "(cached) " >&6
19023 ac_check_lib_save_LIBS=$LIBS
19025 if test x$gcc_no_link = xyes; then
19026 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19031 /* Override any GCC internal prototype to avoid an error.
19032 Use char because int might match the return type of a GCC
19033 builtin and then its argument prototype would still apply. */
19046 if ac_fn_c_try_link "$LINENO"; then :
19047 ac_cv_lib_c_stat=yes
19049 ac_cv_lib_c_stat=no
19051 rm -f core conftest.err conftest.$ac_objext \
19052 conftest$ac_exeext conftest.$ac_ext
19053 LIBS=$ac_check_lib_save_LIBS
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
19056 $as_echo "$ac_cv_lib_c_stat" >&6; }
19057 if test "x$ac_cv_lib_c_stat" = xyes; then :
19059 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19063 $as_echo "#undef HAVE_STAT" >>confdefs.h
19068 if test "x$ac_cv_lib_c_stat" = xyes; then
19070 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19072 elif test "x$ac_cv_func_stat" = xyes; then
19074 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19078 $as_echo "#undef HAVE_STAT" >>confdefs.h
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
19085 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
19086 if test x$gcc_no_link != xyes; then
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
19088 $as_echo_n "checking for strsignal in -lc... " >&6; }
19089 if ${ac_cv_lib_c_strsignal+:} false; then :
19090 $as_echo_n "(cached) " >&6
19092 ac_check_lib_save_LIBS=$LIBS
19094 if test x$gcc_no_link = xyes; then
19095 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h. */
19100 /* Override any GCC internal prototype to avoid an error.
19101 Use char because int might match the return type of a GCC
19102 builtin and then its argument prototype would still apply. */
19110 return strsignal ();
19115 if ac_fn_c_try_link "$LINENO"; then :
19116 ac_cv_lib_c_strsignal=yes
19118 ac_cv_lib_c_strsignal=no
19120 rm -f core conftest.err conftest.$ac_objext \
19121 conftest$ac_exeext conftest.$ac_ext
19122 LIBS=$ac_check_lib_save_LIBS
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
19125 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
19126 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
19128 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19132 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
19137 if test "x$ac_cv_lib_c_strsignal" = xyes; then
19139 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19141 elif test "x$ac_cv_func_strsignal" = xyes; then
19143 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19147 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
19154 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
19155 if test x$gcc_no_link != xyes; then
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
19157 $as_echo_n "checking for strtod in -lc... " >&6; }
19158 if ${ac_cv_lib_c_strtod+:} false; then :
19159 $as_echo_n "(cached) " >&6
19161 ac_check_lib_save_LIBS=$LIBS
19163 if test x$gcc_no_link = xyes; then
19164 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19169 /* Override any GCC internal prototype to avoid an error.
19170 Use char because int might match the return type of a GCC
19171 builtin and then its argument prototype would still apply. */
19184 if ac_fn_c_try_link "$LINENO"; then :
19185 ac_cv_lib_c_strtod=yes
19187 ac_cv_lib_c_strtod=no
19189 rm -f core conftest.err conftest.$ac_objext \
19190 conftest$ac_exeext conftest.$ac_ext
19191 LIBS=$ac_check_lib_save_LIBS
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
19194 $as_echo "$ac_cv_lib_c_strtod" >&6; }
19195 if test "x$ac_cv_lib_c_strtod" = xyes; then :
19197 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19201 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
19206 if test "x$ac_cv_lib_c_strtod" = xyes; then
19208 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19210 elif test "x$ac_cv_func_strtod" = xyes; then
19212 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19216 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
19223 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
19224 if test x$gcc_no_link != xyes; then
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
19226 $as_echo_n "checking for strtold in -lc... " >&6; }
19227 if ${ac_cv_lib_c_strtold+:} false; then :
19228 $as_echo_n "(cached) " >&6
19230 ac_check_lib_save_LIBS=$LIBS
19232 if test x$gcc_no_link = xyes; then
19233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19236 /* end confdefs.h. */
19238 /* Override any GCC internal prototype to avoid an error.
19239 Use char because int might match the return type of a GCC
19240 builtin and then its argument prototype would still apply. */
19253 if ac_fn_c_try_link "$LINENO"; then :
19254 ac_cv_lib_c_strtold=yes
19256 ac_cv_lib_c_strtold=no
19258 rm -f core conftest.err conftest.$ac_objext \
19259 conftest$ac_exeext conftest.$ac_ext
19260 LIBS=$ac_check_lib_save_LIBS
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
19263 $as_echo "$ac_cv_lib_c_strtold" >&6; }
19264 if test "x$ac_cv_lib_c_strtold" = xyes; then :
19266 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19270 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19275 if test "x$ac_cv_lib_c_strtold" = xyes; then
19277 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19279 elif test "x$ac_cv_func_strtold" = xyes; then
19281 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19285 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
19292 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
19293 if test x$gcc_no_link != xyes; then
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
19295 $as_echo_n "checking for times in -lc... " >&6; }
19296 if ${ac_cv_lib_c_times+:} false; then :
19297 $as_echo_n "(cached) " >&6
19299 ac_check_lib_save_LIBS=$LIBS
19301 if test x$gcc_no_link = xyes; then
19302 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19307 /* Override any GCC internal prototype to avoid an error.
19308 Use char because int might match the return type of a GCC
19309 builtin and then its argument prototype would still apply. */
19322 if ac_fn_c_try_link "$LINENO"; then :
19323 ac_cv_lib_c_times=yes
19325 ac_cv_lib_c_times=no
19327 rm -f core conftest.err conftest.$ac_objext \
19328 conftest$ac_exeext conftest.$ac_ext
19329 LIBS=$ac_check_lib_save_LIBS
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
19332 $as_echo "$ac_cv_lib_c_times" >&6; }
19333 if test "x$ac_cv_lib_c_times" = xyes; then :
19335 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19339 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19344 if test "x$ac_cv_lib_c_times" = xyes; then
19346 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19348 elif test "x$ac_cv_func_times" = xyes; then
19350 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19354 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for timezone" >&5
19361 $as_echo_n "checking m2 front end checking c library for timezone... " >&6; }
19362 if test x$gcc_no_link != xyes; then
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone in -lc" >&5
19364 $as_echo_n "checking for timezone in -lc... " >&6; }
19365 if ${ac_cv_lib_c_timezone+:} false; then :
19366 $as_echo_n "(cached) " >&6
19368 ac_check_lib_save_LIBS=$LIBS
19370 if test x$gcc_no_link = xyes; then
19371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19376 /* Override any GCC internal prototype to avoid an error.
19377 Use char because int might match the return type of a GCC
19378 builtin and then its argument prototype would still apply. */
19386 return timezone ();
19391 if ac_fn_c_try_link "$LINENO"; then :
19392 ac_cv_lib_c_timezone=yes
19394 ac_cv_lib_c_timezone=no
19396 rm -f core conftest.err conftest.$ac_objext \
19397 conftest$ac_exeext conftest.$ac_ext
19398 LIBS=$ac_check_lib_save_LIBS
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_timezone" >&5
19401 $as_echo "$ac_cv_lib_c_timezone" >&6; }
19402 if test "x$ac_cv_lib_c_timezone" = xyes; then :
19404 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19408 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
19413 if test "x$ac_cv_lib_c_timezone" = xyes; then
19415 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19417 elif test "x$ac_cv_func_timezone" = xyes; then
19419 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19423 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for tzname" >&5
19430 $as_echo_n "checking m2 front end checking c library for tzname... " >&6; }
19431 if test x$gcc_no_link != xyes; then
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname in -lc" >&5
19433 $as_echo_n "checking for tzname in -lc... " >&6; }
19434 if ${ac_cv_lib_c_tzname+:} false; then :
19435 $as_echo_n "(cached) " >&6
19437 ac_check_lib_save_LIBS=$LIBS
19439 if test x$gcc_no_link = xyes; then
19440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19445 /* Override any GCC internal prototype to avoid an error.
19446 Use char because int might match the return type of a GCC
19447 builtin and then its argument prototype would still apply. */
19460 if ac_fn_c_try_link "$LINENO"; then :
19461 ac_cv_lib_c_tzname=yes
19463 ac_cv_lib_c_tzname=no
19465 rm -f core conftest.err conftest.$ac_objext \
19466 conftest$ac_exeext conftest.$ac_ext
19467 LIBS=$ac_check_lib_save_LIBS
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_tzname" >&5
19470 $as_echo "$ac_cv_lib_c_tzname" >&6; }
19471 if test "x$ac_cv_lib_c_tzname" = xyes; then :
19473 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19477 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
19482 if test "x$ac_cv_lib_c_tzname" = xyes; then
19484 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19486 elif test "x$ac_cv_func_tzname" = xyes; then
19488 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19492 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
19499 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
19500 if test x$gcc_no_link != xyes; then
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
19502 $as_echo_n "checking for unlink in -lc... " >&6; }
19503 if ${ac_cv_lib_c_unlink+:} false; then :
19504 $as_echo_n "(cached) " >&6
19506 ac_check_lib_save_LIBS=$LIBS
19508 if test x$gcc_no_link = xyes; then
19509 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19514 /* Override any GCC internal prototype to avoid an error.
19515 Use char because int might match the return type of a GCC
19516 builtin and then its argument prototype would still apply. */
19529 if ac_fn_c_try_link "$LINENO"; then :
19530 ac_cv_lib_c_unlink=yes
19532 ac_cv_lib_c_unlink=no
19534 rm -f core conftest.err conftest.$ac_objext \
19535 conftest$ac_exeext conftest.$ac_ext
19536 LIBS=$ac_check_lib_save_LIBS
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
19539 $as_echo "$ac_cv_lib_c_unlink" >&6; }
19540 if test "x$ac_cv_lib_c_unlink" = xyes; then :
19542 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19546 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19551 if test "x$ac_cv_lib_c_unlink" = xyes; then
19553 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19555 elif test "x$ac_cv_func_unlink" = xyes; then
19557 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19561 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
19568 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
19569 if test x$gcc_no_link != xyes; then
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
19571 $as_echo_n "checking for wait in -lc... " >&6; }
19572 if ${ac_cv_lib_c_wait+:} false; then :
19573 $as_echo_n "(cached) " >&6
19575 ac_check_lib_save_LIBS=$LIBS
19577 if test x$gcc_no_link = xyes; then
19578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19581 /* end confdefs.h. */
19583 /* Override any GCC internal prototype to avoid an error.
19584 Use char because int might match the return type of a GCC
19585 builtin and then its argument prototype would still apply. */
19598 if ac_fn_c_try_link "$LINENO"; then :
19599 ac_cv_lib_c_wait=yes
19601 ac_cv_lib_c_wait=no
19603 rm -f core conftest.err conftest.$ac_objext \
19604 conftest$ac_exeext conftest.$ac_ext
19605 LIBS=$ac_check_lib_save_LIBS
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
19608 $as_echo "$ac_cv_lib_c_wait" >&6; }
19609 if test "x$ac_cv_lib_c_wait" = xyes; then :
19611 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19615 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19620 if test "x$ac_cv_lib_c_wait" = xyes; then
19622 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19624 elif test "x$ac_cv_func_wait" = xyes; then
19626 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19630 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
19637 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
19638 if test x$gcc_no_link != xyes; then
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
19640 $as_echo_n "checking for write in -lc... " >&6; }
19641 if ${ac_cv_lib_c_write+:} false; then :
19642 $as_echo_n "(cached) " >&6
19644 ac_check_lib_save_LIBS=$LIBS
19646 if test x$gcc_no_link = xyes; then
19647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19652 /* Override any GCC internal prototype to avoid an error.
19653 Use char because int might match the return type of a GCC
19654 builtin and then its argument prototype would still apply. */
19667 if ac_fn_c_try_link "$LINENO"; then :
19668 ac_cv_lib_c_write=yes
19670 ac_cv_lib_c_write=no
19672 rm -f core conftest.err conftest.$ac_objext \
19673 conftest$ac_exeext conftest.$ac_ext
19674 LIBS=$ac_check_lib_save_LIBS
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
19677 $as_echo "$ac_cv_lib_c_write" >&6; }
19678 if test "x$ac_cv_lib_c_write" = xyes; then :
19680 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19684 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19689 if test "x$ac_cv_lib_c_write" = xyes; then
19691 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19693 elif test "x$ac_cv_func_write" = xyes; then
19695 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19699 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
19707 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
19708 if test x$gcc_no_link != xyes; then
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
19710 $as_echo_n "checking for signbit in -lm... " >&6; }
19711 if ${ac_cv_lib_m_signbit+:} false; then :
19712 $as_echo_n "(cached) " >&6
19714 ac_check_lib_save_LIBS=$LIBS
19716 if test x$gcc_no_link = xyes; then
19717 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19722 /* Override any GCC internal prototype to avoid an error.
19723 Use char because int might match the return type of a GCC
19724 builtin and then its argument prototype would still apply. */
19737 if ac_fn_c_try_link "$LINENO"; then :
19738 ac_cv_lib_m_signbit=yes
19740 ac_cv_lib_m_signbit=no
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744 LIBS=$ac_check_lib_save_LIBS
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
19747 $as_echo "$ac_cv_lib_m_signbit" >&6; }
19748 if test "x$ac_cv_lib_m_signbit" = xyes; then :
19750 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19754 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19759 if test "x$ac_cv_lib_m_signbit" = xyes; then
19761 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19763 elif test "x$ac_cv_func_signbit" = xyes; then
19765 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19769 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
19776 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
19777 if test x$gcc_no_link != xyes; then
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
19779 $as_echo_n "checking for signbitf in -lm... " >&6; }
19780 if ${ac_cv_lib_m_signbitf+:} false; then :
19781 $as_echo_n "(cached) " >&6
19783 ac_check_lib_save_LIBS=$LIBS
19785 if test x$gcc_no_link = xyes; then
19786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19791 /* Override any GCC internal prototype to avoid an error.
19792 Use char because int might match the return type of a GCC
19793 builtin and then its argument prototype would still apply. */
19801 return signbitf ();
19806 if ac_fn_c_try_link "$LINENO"; then :
19807 ac_cv_lib_m_signbitf=yes
19809 ac_cv_lib_m_signbitf=no
19811 rm -f core conftest.err conftest.$ac_objext \
19812 conftest$ac_exeext conftest.$ac_ext
19813 LIBS=$ac_check_lib_save_LIBS
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
19816 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
19817 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
19819 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19823 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19828 if test "x$ac_cv_lib_m_signbitf" = xyes; then
19830 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19832 elif test "x$ac_cv_func_signbitf" = xyes; then
19834 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19838 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
19845 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
19846 if test x$gcc_no_link != xyes; then
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
19848 $as_echo_n "checking for signbitl in -lm... " >&6; }
19849 if ${ac_cv_lib_m_signbitl+:} false; then :
19850 $as_echo_n "(cached) " >&6
19852 ac_check_lib_save_LIBS=$LIBS
19854 if test x$gcc_no_link = xyes; then
19855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19860 /* Override any GCC internal prototype to avoid an error.
19861 Use char because int might match the return type of a GCC
19862 builtin and then its argument prototype would still apply. */
19870 return signbitl ();
19875 if ac_fn_c_try_link "$LINENO"; then :
19876 ac_cv_lib_m_signbitl=yes
19878 ac_cv_lib_m_signbitl=no
19880 rm -f core conftest.err conftest.$ac_objext \
19881 conftest$ac_exeext conftest.$ac_ext
19882 LIBS=$ac_check_lib_save_LIBS
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
19885 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
19886 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
19888 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19892 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19897 if test "x$ac_cv_lib_m_signbitl" = xyes; then
19899 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19901 elif test "x$ac_cv_func_signbitl" = xyes; then
19903 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19907 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
19914 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
19916 # We test the host here and later on check the target.
19918 # All known M2_HOST_OS values. This is the union of all host operating systems
19919 # supported by gm2.
19921 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows darwin"
19926 *-*-darwin*) M2_HOST_OS=darwin ;;
19927 *-*-freebsd*) M2_HOST_OS=freebsd ;;
19928 *-*-linux*) M2_HOST_OS=linux ;;
19929 *-*-netbsd*) M2_HOST_OS=netbsd ;;
19930 *-*-openbsd*) M2_HOST_OS=openbsd ;;
19931 *-*-solaris2*) M2_HOST_OS=solaris ;;
19932 *-*-aix*) M2_HOST_OS=aix ;;
19933 *-*-gnu*) M2_HOST_OS=hurd ;;
19936 M2_TARGET_OS=unknown
19939 *-*-darwin*) M2_TARGET_OS=darwin ;;
19940 *-*-freebsd*) M2_TARGET_OS=freebsd ;;
19941 *-*-linux*) M2_TARGET_OS=linux ;;
19942 *-*-netbsd*) M2_TARGET_OS=netbsd ;;
19943 *-*-openbsd*) M2_TARGET_OS=openbsd ;;
19944 *-*-solaris2*) M2_TARGET_OS=solaris ;;
19945 *-*-aix*) M2_TARGET_OS=aix ;;
19946 *-*-gnu*) M2_TARGET_OS=hurd ;;
19949 # M2_HOST_OS=unknown
19950 if test x${M2_HOST_OS} = xunknown; then
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
19952 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
19959 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
19966 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
19969 # Propagate GM2_FOR_TARGET into Makefiles
19970 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
19973 # Now we check the target as long as it is a supported host.
19974 # For some embedded targets we choose minimal runtime system which is
19975 # just enough to satisfy the linker targetting raw metal.
19976 if test x${M2_HOST_OS} != xunknown; then
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
19978 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
19981 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
19988 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
20011 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
20012 # in the second parameter is printed as a "yes" or "no".
20016 if test x${M2_HOST_OS} = xunknown; then
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
20018 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
20022 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
20023 if test x${BUILD_PIMLIB} = xtrue; then
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20025 $as_echo "yes" >&6; }
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20028 $as_echo "no" >&6; }
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
20033 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
20034 if test x${BUILD_ISOLIB} = xtrue; then
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20036 $as_echo "yes" >&6; }
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20039 $as_echo "no" >&6; }
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
20044 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
20045 if test x${BUILD_CORLIB} = xtrue; then
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20047 $as_echo "yes" >&6; }
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20050 $as_echo "no" >&6; }
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
20055 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
20056 if test x${BUILD_LOGLIB} = xtrue; then
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20058 $as_echo "yes" >&6; }
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20061 $as_echo "no" >&6; }
20066 if test x$BUILD_PIMLIB = xtrue; then
20068 BUILD_PIMLIB_FALSE='#'
20070 BUILD_PIMLIB_TRUE='#'
20071 BUILD_PIMLIB_FALSE=
20074 if test x$BUILD_ISOLIB = xtrue; then
20076 BUILD_ISOLIB_FALSE='#'
20078 BUILD_ISOLIB_TRUE='#'
20079 BUILD_ISOLIB_FALSE=
20082 if test x$BUILD_CORLIB = xtrue; then
20084 BUILD_CORLIB_FALSE='#'
20086 BUILD_CORLIB_TRUE='#'
20087 BUILD_CORLIB_FALSE=
20090 if test x$BUILD_LOGLIB = xtrue; then
20092 BUILD_LOGLIB_FALSE='#'
20094 BUILD_LOGLIB_TRUE='#'
20095 BUILD_LOGLIB_FALSE=
20098 if test x$M2_TARGET_OS = xdarwin; then
20099 TARGET_DARWIN_TRUE=
20100 TARGET_DARWIN_FALSE='#'
20102 TARGET_DARWIN_TRUE='#'
20103 TARGET_DARWIN_FALSE=
20107 # Determine what GCC version number to use in filesystem paths.
20109 get_gcc_base_ver="cat"
20111 # Check whether --with-gcc-major-version-only was given.
20112 if test "${with_gcc_major_version_only+set}" = set; then :
20113 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
20114 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
20123 ac_config_files="$ac_config_files Makefile"
20126 ac_config_files="$ac_config_files libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
20130 $as_echo "$as_me: libgm2 has been configured." >&6;}
20132 cat >confcache <<\_ACEOF
20133 # This file is a shell script that caches the results of configure
20134 # tests run on this system so they can be shared between configure
20135 # scripts and configure runs, see configure's option --config-cache.
20136 # It is not useful on other systems. If it contains results you don't
20137 # want to keep, you may remove or edit it.
20139 # config.status only pays attention to the cache file if you give it
20140 # the --recheck option to rerun configure.
20142 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20144 # following values.
20148 # The following way of writing the cache mishandles newlines in values,
20149 # but we know of no workaround that is simple, portable, and efficient.
20150 # So, we kill variables containing newlines.
20151 # Ultrix sh set writes to stderr and can't be redirected directly,
20152 # and sets the high bit in the cache file unless we assign to the vars.
20154 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20155 eval ac_val
=\$
$ac_var
20159 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20160 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20163 _ | IFS | as_nl
) ;; #(
20164 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20165 *) { eval $ac_var=; unset $ac_var;} ;;
20171 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20172 *${as_nl}ac_space
=\
*)
20173 # `set' does not quote correctly, so add quotes: double-quote
20174 # substitution turns \\\\ into \\, and sed turns \\ into \.
20177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20180 # `set' quotes correctly as required by POSIX, so do not add quotes.
20181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20190 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20192 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20194 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20195 if test -w "$cache_file"; then
20196 if test "x$cache_file" != "x/dev/null"; then
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20198 $as_echo "$as_me: updating cache $cache_file" >&6;}
20199 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
20200 cat confcache
>"$cache_file"
20202 case $cache_file in #(
20204 mv -f confcache
"$cache_file"$$
&&
20205 mv -f "$cache_file"$$
"$cache_file" ;; #(
20207 mv -f confcache
"$cache_file" ;;
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20213 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20218 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20219 # Let make expand exec_prefix.
20220 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20222 DEFS
=-DHAVE_CONFIG_H
20227 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20228 # 1. Remove the extension, and $U if already installed.
20229 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20230 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20231 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20232 # will be set to the directory where LIBOBJS objects are built.
20233 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20234 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20236 LIBOBJS
=$ac_libobjs
20238 LTLIBOBJS
=$ac_ltlibobjs
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20242 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20243 if test -n "$am_sleep_pid"; then
20244 # Hide warnings about reused PIDs.
20245 wait $am_sleep_pid 2>/dev
/null
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20248 $as_echo "done" >&6; }
20249 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20250 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20253 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20254 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20257 if test -n "$EXEEXT"; then
20259 am__EXEEXT_FALSE
='#'
20261 am__EXEEXT_TRUE
='#'
20265 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20266 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20269 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20270 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20273 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
20274 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
20275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20277 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
20278 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
20279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20281 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
20282 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
20283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20285 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
20286 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
20287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20289 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
20290 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
20291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20293 if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
20294 as_fn_error $?
"conditional \"TARGET_DARWIN\" was never defined.
20295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20298 : "${CONFIG_STATUS=./config.status}"
20300 ac_clean_files_save
=$ac_clean_files
20301 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20303 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20305 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20307 # Generated by $as_me.
20308 # Run this file to recreate the current configuration.
20309 # Compiler output produced by configure, useful for debugging
20310 # configure, is in config.log if it exists.
20313 ac_cs_recheck=false
20316 SHELL=\${CONFIG_SHELL-$SHELL}
20319 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20320 ## -------------------- ##
20321 ## M4sh Initialization. ##
20322 ## -------------------- ##
20324 # Be more Bourne compatible
20325 DUALCASE
=1; export DUALCASE
# for MKS sh
20326 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20329 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20330 # is contrary to our usage. Disable this feature.
20331 alias -g '${1+"$@"}'='"$@"'
20332 setopt NO_GLOB_SUBST
20334 case `(set -o) 2>/dev/null` in #(
20346 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20347 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20348 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20349 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20350 # Prefer a ksh shell builtin over an external printf program on Solaris,
20351 # but without wasting forks for bash or zsh.
20352 if test -z "$BASH_VERSION$ZSH_VERSION" \
20353 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20354 as_echo='print
-r --'
20355 as_echo_n='print
-rn --'
20356 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20357 as_echo='printf %s
\n'
20358 as_echo_n='printf %s
'
20360 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20361 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20362 as_echo_n='/usr
/ucb
/echo -n'
20364 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20365 as_echo_n_body='eval
20369 expr "X$arg" : "X\\(.*\\)$as_nl";
20370 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20372 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20374 export as_echo_n_body
20375 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20377 export as_echo_body
20378 as_echo='sh
-c $as_echo_body as_echo
'
20381 # The user is always right.
20382 if test "${PATH_SEPARATOR+set}" != set; then
20384 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20385 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20392 # We need space, tab and new line, in precisely that order. Quoting is
20393 # there to prevent editors from complaining about space-tab.
20394 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20395 # splitting by setting IFS to empty value.)
20398 # Find who we are. Look in the path if we contain no directory separator.
20401 *[\\/]* ) as_myself=$0 ;;
20402 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20403 for as_dir in $PATH
20406 test -z "$as_dir" && as_dir=.
20407 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20413 # We did not find ourselves, most probably we were run as `sh COMMAND'
20414 # in which case we are not to be found in the path.
20415 if test "x$as_myself" = x
; then
20418 if test ! -f "$as_myself"; then
20419 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20423 # Unset variables that we do not need and which cause bugs (e.g. in
20424 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20425 # suppresses any "Segmentation fault" message there. '((' could
20426 # trigger a bug in pdksh 5.2.14.
20427 for as_var
in BASH_ENV ENV MAIL MAILPATH
20428 do eval test x\
${$as_var+set} = xset \
20429 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20442 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20445 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20446 # ----------------------------------------
20447 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20448 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20449 # script with STATUS, using 1 if that was 0.
20452 as_status
=$1; test $as_status -eq 0 && as_status
=1
20454 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20455 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20457 $as_echo "$as_me: error: $2" >&2
20458 as_fn_exit
$as_status
20462 # as_fn_set_status STATUS
20463 # -----------------------
20464 # Set $? to STATUS, without forking.
20465 as_fn_set_status
()
20468 } # as_fn_set_status
20470 # as_fn_exit STATUS
20471 # -----------------
20472 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20476 as_fn_set_status
$1
20482 # Portably unset VAR.
20485 { eval $1=; unset $1;}
20487 as_unset
=as_fn_unset
20488 # as_fn_append VAR VALUE
20489 # ----------------------
20490 # Append the text in VALUE to the end of the definition contained in VAR. Take
20491 # advantage of any shell optimizations that allow amortized linear growth over
20492 # repeated appends, instead of the typical quadratic growth present in naive
20494 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20495 eval 'as_fn_append ()
20506 # as_fn_arith ARG...
20507 # ------------------
20508 # Perform arithmetic evaluation on the ARGs, and store the result in the
20509 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20510 # must be portable across $(()) and expr.
20511 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20512 eval 'as_fn_arith ()
20519 as_val
=`expr "$@" || test $? -eq 1`
20524 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20525 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20531 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20532 as_basename
=basename
20537 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20543 as_me
=`$as_basename -- "$0" ||
20544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20545 X"$0" : 'X\(//\)$' \| \
20546 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20548 sed '/^.*\/\([^/][^/]*\)\/*$/{
20562 # Avoid depending upon Character Ranges.
20563 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20564 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20565 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20566 as_cr_digits
='0123456789'
20567 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20569 ECHO_C
= ECHO_N
= ECHO_T
=
20570 case `echo -n x` in #(((((
20572 case `echo 'xy\c'` in
20573 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20575 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20582 rm -f conf$$ conf$$.exe conf$$.
file
20583 if test -d conf$$.dir
; then
20584 rm -f conf$$.dir
/conf$$.
file
20587 mkdir conf$$.dir
2>/dev
/null
20589 if (echo >conf$$.
file) 2>/dev
/null
; then
20590 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20592 # ... but there are two gotchas:
20593 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20594 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20595 # In both cases, we have to default to `cp -pR'.
20596 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20598 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20606 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20607 rmdir conf$$.dir
2>/dev
/null
20612 # Create "$as_dir" as a directory, including parents if necessary.
20617 -*) as_dir
=.
/$as_dir;;
20619 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20623 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20624 *) as_qdir
=$as_dir;;
20626 as_dirs
="'$as_qdir' $as_dirs"
20627 as_dir
=`$as_dirname -- "$as_dir" ||
20628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20629 X"$as_dir" : 'X\(//\)[^/]' \| \
20630 X"$as_dir" : 'X\(//\)$' \| \
20631 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20632 $as_echo X"$as_dir" |
20633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20637 /^X\(\/\/\)[^/].*/{
20650 test -d "$as_dir" && break
20652 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20653 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20657 if mkdir
-p .
2>/dev
/null
; then
20658 as_mkdir_p
='mkdir -p "$as_dir"'
20660 test -d .
/-p && rmdir .
/-p
20665 # as_fn_executable_p FILE
20666 # -----------------------
20667 # Test if FILE is an executable regular file.
20668 as_fn_executable_p
()
20670 test -f "$1" && test -x "$1"
20671 } # as_fn_executable_p
20672 as_test_x
='test -x'
20673 as_executable_p
=as_fn_executable_p
20675 # Sed expression to map a string onto a valid CPP name.
20676 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20678 # Sed expression to map a string onto a valid variable name.
20679 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20683 ## ----------------------------------- ##
20684 ## Main body of $CONFIG_STATUS script. ##
20685 ## ----------------------------------- ##
20687 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20690 # Save the log message, to keep $0 and so on meaningful, and to
20691 # report actual input values of CONFIG_FILES etc. instead of their
20692 # values after options handling.
20694 This file was extended by package-unused $as_me version-unused, which was
20695 generated by GNU Autoconf 2.69. Invocation command line was
20697 CONFIG_FILES = $CONFIG_FILES
20698 CONFIG_HEADERS = $CONFIG_HEADERS
20699 CONFIG_LINKS = $CONFIG_LINKS
20700 CONFIG_COMMANDS = $CONFIG_COMMANDS
20703 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20708 case $ac_config_files in *"
20709 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20712 case $ac_config_headers in *"
20713 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20718 # Files that config.status was made for.
20719 config_files="$ac_config_files"
20720 config_headers="$ac_config_headers"
20721 config_commands="$ac_config_commands"
20725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20727 \`$as_me' instantiates files and other configuration actions
20728 from templates according to the current configuration. Unless the files
20729 and actions are specified as TAGs, all are instantiated by default.
20731 Usage: $0 [OPTION]... [TAG]...
20733 -h, --help print this help, then exit
20734 -V, --version print version number and configuration settings, then exit
20735 --config print configuration, then exit
20736 -q, --quiet, --silent
20737 do not print progress messages
20738 -d, --debug don't remove temporary files
20739 --recheck update $as_me by reconfiguring in the same conditions
20740 --file=FILE[:TEMPLATE]
20741 instantiate the configuration file FILE
20742 --header=FILE[:TEMPLATE]
20743 instantiate the configuration header FILE
20745 Configuration files:
20748 Configuration headers:
20751 Configuration commands:
20754 Report bugs to the package provider."
20757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20758 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20760 package-unused config.status version-unused
20761 configured by $0, generated by GNU Autoconf 2.69,
20762 with options \\"\$ac_cs_config\\"
20764 Copyright (C) 2012 Free Software Foundation, Inc.
20765 This config.status script is free software; the Free Software Foundation
20766 gives unlimited permission to copy, distribute and modify it."
20773 test -n "\$AWK" || AWK=awk
20776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20777 # The default lists apply if the user does not specify any file.
20783 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20784 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20788 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20800 # Handling of the options.
20801 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20803 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20804 $as_echo "$ac_cs_version"; exit ;;
20805 --config |
--confi |
--conf |
--con |
--co |
--c )
20806 $as_echo "$ac_cs_config"; exit ;;
20807 --debug |
--debu |
--deb |
--de |
--d |
-d )
20809 --file |
--fil |
--fi |
--f )
20812 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20813 '') as_fn_error $?
"missing file argument" ;;
20815 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20816 ac_need_defaults
=false
;;
20817 --header |
--heade |
--head |
--hea )
20820 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20822 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20823 ac_need_defaults
=false
;;
20825 # Conflict between --help and --header
20826 as_fn_error $?
"ambiguous option: \`$1'
20827 Try \`$0 --help' for more information.";;
20828 --help |
--hel |
-h )
20829 $as_echo "$ac_cs_usage"; exit ;;
20830 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20831 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20834 # This is an error.
20835 -*) as_fn_error $?
"unrecognized option: \`$1'
20836 Try \`$0 --help' for more information." ;;
20838 *) as_fn_append ac_config_targets
" $1"
20839 ac_need_defaults
=false
;;
20845 ac_configure_extra_args
=
20847 if $ac_cs_silent; then
20849 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20854 if \$ac_cs_recheck; then
20855 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20857 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20858 CONFIG_SHELL='$SHELL'
20859 export CONFIG_SHELL
20864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20869 ## Running $as_me. ##
20875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20883 with_multisubdir="$with_multisubdir"
20884 with_multisrctop="$with_multisrctop"
20885 with_target_subdir="$with_target_subdir"
20886 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20887 multi_basedir="$multi_basedir"
20888 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20891 GFORTRAN="$GFORTRAN"
20893 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20896 # The HP-UX ksh and POSIX shell print the target directory to stdout
20897 # if CDPATH is set.
20898 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20900 sed_quote_subst='$sed_quote_subst'
20901 double_quote_subst='$double_quote_subst'
20902 delay_variable_subst='$delay_variable_subst'
20903 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20904 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20905 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20906 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20907 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20908 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20909 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20910 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20911 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20912 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20913 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20914 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20915 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20916 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20917 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20918 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20919 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20920 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20921 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20922 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20923 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20924 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20925 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20926 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20927 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20928 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20929 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20930 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20931 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20932 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20933 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20934 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20935 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20936 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20937 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20938 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20939 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20940 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20941 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20942 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20943 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20944 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20945 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20946 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20947 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20948 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20949 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20950 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20951 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"`'
20952 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20953 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20954 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20955 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20956 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20957 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20958 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20959 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20960 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20961 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20962 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20963 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20964 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20965 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20966 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20967 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20968 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20969 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20970 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20971 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20972 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20973 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20974 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20975 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20976 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20977 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20978 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20979 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20980 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20981 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20982 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20983 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20984 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20985 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20986 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20987 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20988 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20989 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20990 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20991 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20992 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
20993 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20994 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20995 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20996 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20997 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20998 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20999 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21000 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21001 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21002 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21003 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21004 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21005 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21006 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21007 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21008 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21009 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21010 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21011 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21012 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21013 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21014 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21015 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21016 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21017 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21018 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21019 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21020 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21021 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21022 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21023 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21024 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21025 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21026 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21027 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21028 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21029 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21030 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21031 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21032 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21033 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21034 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21035 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21036 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21037 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21038 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21039 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21040 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21041 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21042 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21043 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21044 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21045 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21046 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21047 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21048 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21049 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21050 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21051 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21052 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21053 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21054 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21055 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21056 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21057 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21058 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21059 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21060 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21061 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21062 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21063 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21064 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
21065 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21066 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21067 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21068 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21069 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21070 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21071 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21072 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21073 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21074 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21075 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21076 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21077 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21080 LTCFLAGS='$LTCFLAGS'
21081 compiler='$compiler_DEFAULT'
21083 # A function that is used when there is no print builtin or printf.
21084 func_fallback_echo ()
21086 eval 'cat <<_LTECHO_EOF
21091 # Quote evaled strings.
21105 deplibs_check_method \
21114 lt_cv_sys_global_symbol_pipe \
21115 lt_cv_sys_global_symbol_to_cdecl \
21116 lt_cv_sys_global_symbol_to_c_name_address \
21117 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21118 lt_prog_compiler_no_builtin_flag \
21119 lt_prog_compiler_wl \
21120 lt_prog_compiler_pic \
21121 lt_prog_compiler_static \
21122 lt_cv_prog_compiler_c_o \
21130 export_dynamic_flag_spec \
21131 whole_archive_flag_spec \
21132 compiler_needs_object \
21134 allow_undefined_flag \
21135 no_undefined_flag \
21136 hardcode_libdir_flag_spec \
21137 hardcode_libdir_flag_spec_ld \
21138 hardcode_libdir_separator \
21143 variables_saved_for_relink \
21145 library_names_spec \
21147 install_override_mode \
21151 compiler_lib_search_dirs \
21156 compiler_lib_search_path \
21160 lt_prog_compiler_no_builtin_flag_CXX \
21161 lt_prog_compiler_wl_CXX \
21162 lt_prog_compiler_pic_CXX \
21163 lt_prog_compiler_static_CXX \
21164 lt_cv_prog_compiler_c_o_CXX \
21165 export_dynamic_flag_spec_CXX \
21166 whole_archive_flag_spec_CXX \
21167 compiler_needs_object_CXX \
21169 allow_undefined_flag_CXX \
21170 no_undefined_flag_CXX \
21171 hardcode_libdir_flag_spec_CXX \
21172 hardcode_libdir_flag_spec_ld_CXX \
21173 hardcode_libdir_separator_CXX \
21174 fix_srcfile_path_CXX \
21175 exclude_expsyms_CXX \
21176 include_expsyms_CXX \
21177 file_list_spec_CXX \
21178 compiler_lib_search_dirs_CXX \
21179 predep_objects_CXX \
21180 postdep_objects_CXX \
21183 compiler_lib_search_path_CXX; do
21184 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21185 *[\\\\\\\`\\"\\\$]*)
21186 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21189 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21194 # Double-quote double-evaled strings.
21195 for var in reload_cmds \
21196 old_postinstall_cmds \
21197 old_postuninstall_cmds \
21199 extract_expsyms_cmds \
21200 old_archive_from_new_cmds \
21201 old_archive_from_expsyms_cmds \
21203 archive_expsym_cmds \
21205 module_expsym_cmds \
21206 export_symbols_cmds \
21209 postuninstall_cmds \
21211 sys_lib_search_path_spec \
21212 sys_lib_dlsearch_path_spec \
21214 old_archive_cmds_CXX \
21215 old_archive_from_new_cmds_CXX \
21216 old_archive_from_expsyms_cmds_CXX \
21218 archive_expsym_cmds_CXX \
21220 module_expsym_cmds_CXX \
21221 export_symbols_cmds_CXX \
21222 prelink_cmds_CXX; do
21223 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21224 *[\\\\\\\`\\"\\\$]*)
21225 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21228 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21233 ac_aux_dir='$ac_aux_dir'
21234 xsi_shell='$xsi_shell'
21235 lt_shell_append='$lt_shell_append'
21237 # See if we are running on zsh, and set the options which allow our
21238 # commands through without removal of \ escapes INIT.
21239 if test -n "\${ZSH_VERSION+set}" ; then
21240 setopt NO_GLOB_SUBST
21246 TIMESTAMP='$TIMESTAMP'
21257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21259 # Handling of arguments.
21260 for ac_config_target
in $ac_config_targets
21262 case $ac_config_target in
21263 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21264 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21265 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21266 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21267 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21268 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
21269 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
21270 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
21271 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
21272 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
21274 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21279 # If the user did not use the arguments to specify the items to instantiate,
21280 # then the envvar interface is used. Set only those that are not.
21281 # We use the long form for the default assignment because of an extremely
21282 # bizarre bug on SunOS 4.1.3.
21283 if $ac_need_defaults; then
21284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21289 # Have a temporary directory for convenience. Make it in the build tree
21290 # simply because there is no reason against having it here, and in addition,
21291 # creating and moving files from /tmp can sometimes cause problems.
21292 # Hook for its removal unless debugging.
21293 # Note that there is a small window in which the directory will not be cleaned:
21294 # after its creation but before its name has been assigned to `$tmp'.
21298 trap 'exit_status=$?
21299 : "${ac_tmp:=$tmp}"
21300 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21302 trap 'as_fn_exit 1' 1 2 13 15
21304 # Create a (secure) tmp directory for tmp files.
21307 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21311 tmp
=.
/conf$$
-$RANDOM
21312 (umask 077 && mkdir
"$tmp")
21313 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21316 # Set up the scripts for CONFIG_FILES section.
21317 # No need to generate them if there are no CONFIG_FILES.
21318 # This happens for instance with `./config.status config.h'.
21319 if test -n "$CONFIG_FILES"; then
21322 ac_cr
=`echo X | tr X '\015'`
21323 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21324 # But we know of no other shell where ac_cr would be empty at this
21325 # point, so we can use a bashism as a fallback.
21326 if test "x$ac_cr" = x
; then
21327 eval ac_cr
=\$
\'\\r
\'
21329 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21330 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21333 ac_cs_awk_cr
=$ac_cr
21336 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21341 echo "cat >conf$$subs.awk <<_ACEOF" &&
21342 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21344 } >conf$$subs.sh ||
21345 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21346 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21348 for ac_last_try in false false false false false :; do
21349 . ./conf$$subs.sh ||
21350 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21352 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21353 if test $ac_delim_n = $ac_delim_num; then
21355 elif $ac_last_try; then
21356 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21358 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21361 rm -f conf$$subs.sh
21363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21364 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21368 s/^/S["/; s
/!.
*/"]=/
21378 s/\(.\{148\}\)..*/\1/
21380 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21385 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21392 s/\(.\{148\}\)..*/\1/
21394 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21398 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21403 ' <conf$$subs.awk | sed '
21408 ' >>$CONFIG_STATUS || ac_write_fail=1
21409 rm -f conf$$subs.awk
21410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21412 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21413 for (key in S) S_is_set[key] = 1
21419 nfields = split(line, field, "@
")
21421 len = length(field[1])
21422 for (i = 2; i < nfields; i++) {
21424 keylen = length(key)
21425 if (S_is_set[key]) {
21427 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21428 len += length(value) + length(field[++i])
21439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21440 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21441 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21444 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21445 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21448 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21449 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21450 # trailing colons and then remove the whole line if VPATH becomes empty
21451 # (actually we leave an empty line to preserve line numbers).
21452 if test "x
$srcdir" = x.; then
21453 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21472 fi # test -n "$CONFIG_FILES"
21474 # Set up the scripts for CONFIG_HEADERS section.
21475 # No need to generate them if there are no CONFIG_HEADERS.
21476 # This happens for instance with `./config.status Makefile'.
21477 if test -n "$CONFIG_HEADERS"; then
21478 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21482 # Transform confdefs.h into an awk script `defines.awk', embedded as
21483 # here-document in config.status, that substitutes the proper values into
21484 # config.h.in to produce config.h.
21486 # Create a delimiter string that does not exist in confdefs.h, to ease
21487 # handling of long lines.
21489 for ac_last_try in false false :; do
21490 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21491 if test -z "$ac_tt"; then
21493 elif $ac_last_try; then
21494 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21496 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21500 # For the awk script, D is an array of macro values keyed by name,
21501 # likewise P contains macro parameters if any. Preserve backslash
21502 # newline sequences.
21504 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21506 s/.\{148\}/&'"$ac_delim"'/g
21509 s/^[ ]*#[ ]*define[ ][ ]*/ /
21516 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21518 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21522 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21523 D["\
1"]=" \
3\\\\\\n
"\\/p
21525 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21530 s/.\{148\}/&'"$ac_delim"'/g
21535 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21538 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21540 ' <confdefs.h | sed '
21541 s/'"$ac_delim"'/"\\\
21542 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21545 for (key in D) D_is_set[key] = 1
21548 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21550 split(line, arg, " ")
21551 if (arg[1] == "#") {
21555 defundef
= substr
(arg
[1], 2)
21558 split(mac1
, mac2
, "(") #)
21560 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21561 if (D_is_set
[macro
]) {
21562 # Preserve the white space surrounding the "#".
21563 print prefix
"define", macro P
[macro
] D
[macro
]
21566 # Replace #undef with comments. This is necessary, for example,
21567 # in the case of _POSIX_SOURCE, which is predefined and required
21568 # on some systems where configure will not decide to define it.
21569 if (defundef
== "undef") {
21570 print
"/*", prefix defundef
, macro
, "*/"
21578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21579 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21580 fi # test -n "$CONFIG_HEADERS"
21583 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21588 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21590 case $ac_mode$ac_tag in
21592 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21593 :[FH
]-) ac_tag
=-:-;;
21594 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21611 -) ac_f
="$ac_tmp/stdin";;
21612 *) # Look for the file first in the build tree, then in the source tree
21613 # (if the path is not absolute). The absolute path cannot be DOS-style,
21614 # because $ac_f cannot contain `:'.
21618 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21620 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21622 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21623 as_fn_append ac_file_inputs
" '$ac_f'"
21626 # Let's still pretend it is `configure' which instantiates (i.e., don't
21627 # use $as_me), people would be surprised to read:
21628 # /* config.h. Generated by config.status. */
21629 configure_input
='Generated from '`
21630 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21632 if test x
"$ac_file" != x-
; then
21633 configure_input
="$ac_file. $configure_input"
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21635 $as_echo "$as_me: creating $ac_file" >&6;}
21637 # Neutralize special characters interpreted by sed in replacement strings.
21638 case $configure_input in #(
21639 *\
&* |
*\|
* |
*\\* )
21640 ac_sed_conf_input
=`$as_echo "$configure_input" |
21641 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21642 *) ac_sed_conf_input
=$configure_input;;
21646 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21647 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21652 ac_dir
=`$as_dirname -- "$ac_file" ||
21653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21654 X"$ac_file" : 'X\(//\)[^/]' \| \
21655 X"$ac_file" : 'X\(//\)$' \| \
21656 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21657 $as_echo X"$ac_file" |
21658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21662 /^X\(\/\/\)[^/].*/{
21675 as_dir
="$ac_dir"; as_fn_mkdir_p
21679 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21681 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21682 # A ".." for each directory in $ac_dir_suffix.
21683 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21684 case $ac_top_builddir_sub in
21685 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21686 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21689 ac_abs_top_builddir
=$ac_pwd
21690 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21691 # for backward compatibility:
21692 ac_top_builddir
=$ac_top_build_prefix
21695 .
) # We are building in place.
21697 ac_top_srcdir
=$ac_top_builddir_sub
21698 ac_abs_top_srcdir
=$ac_pwd ;;
21699 [\\/]* | ?
:[\\/]* ) # Absolute name.
21700 ac_srcdir
=$srcdir$ac_dir_suffix;
21701 ac_top_srcdir
=$srcdir
21702 ac_abs_top_srcdir
=$srcdir ;;
21703 *) # Relative name.
21704 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21705 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21706 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21708 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21718 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21719 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21721 ac_MKDIR_P
=$MKDIR_P
21723 [\\/$
]* | ?
:[\\/]* ) ;;
21724 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21729 # If the template does not know about datarootdir, expand it.
21730 # FIXME: This hack should be removed a few years after 2.60.
21731 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21742 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21743 *datarootdir
*) ac_datarootdir_seen
=yes;;
21744 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21746 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21749 ac_datarootdir_hack='
21750 s&@datadir@&$datadir&g
21751 s&@docdir@&$docdir&g
21752 s&@infodir@&$infodir&g
21753 s&@localedir@&$localedir&g
21754 s&@mandir@&$mandir&g
21755 s&\\\${datarootdir}&$datarootdir&g' ;;
21759 # Neutralize VPATH when `$srcdir' = `.'.
21760 # Shell code in configure.ac might set extrasub.
21761 # FIXME: do we really want to maintain this feature?
21762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21763 ac_sed_extra="$ac_vpsub
21766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21768 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21769 s|@configure_input@|
$ac_sed_conf_input|
;t t
21770 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21771 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21772 s
&@srcdir@
&$ac_srcdir&;t t
21773 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21774 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21775 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21776 s
&@builddir@
&$ac_builddir&;t t
21777 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21778 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21779 s
&@INSTALL@
&$ac_INSTALL&;t t
21780 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21781 $ac_datarootdir_hack
21783 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21784 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21787 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21788 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21789 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21791 which seems to be undefined. Please make sure it is defined" >&5
21792 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21793 which seems to be undefined. Please make sure it is defined" >&2;}
21795 rm -f "$ac_tmp/stdin"
21797 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21798 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21806 if test x"$ac_file" != x-; then
21808 $as_echo "/* $configure_input */" \
21809 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21810 } >"$ac_tmp/config.h" \
21811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21812 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21814 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21817 mv "$ac_tmp/config.h" "$ac_file" \
21818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21821 $as_echo "/* $configure_input */" \
21822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21823 || as_fn_error $? "could not create -" "$LINENO" 5
21825 # Compute "$ac_file"'s index
in $config_headers.
21828 for _am_header
in $config_headers :; do
21829 case $_am_header in
21830 $_am_arg |
$_am_arg:* )
21833 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21836 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21837 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21838 X"$_am_arg" : 'X\(//\)[^/]' \| \
21839 X"$_am_arg" : 'X\(//\)$' \| \
21840 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21841 $as_echo X"$_am_arg" |
21842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21846 /^X\(\/\/\)[^/].*/{
21858 s/.*/./; q'`/stamp-h
$_am_stamp_count
21861 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21862 $as_echo "$as_me: executing $ac_file commands" >&6;}
21867 case $ac_file$ac_mode in
21869 # Only add multilib support code if we just rebuilt the top-level
21871 case " $CONFIG_FILES " in
21873 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21876 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21877 # Older Autoconf quotes --file arguments for eval, but not when files
21878 # are listed without --file. Let's play safe and only enable the eval
21879 # if we detect the quoting.
21880 case $CONFIG_FILES in
21881 *\'*) eval set x
"$CONFIG_FILES" ;;
21882 *) set x
$CONFIG_FILES ;;
21887 # Strip MF so we end up with the name of the file.
21888 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21889 # Check whether this is an Automake generated Makefile or not.
21890 # We used to match only the files named 'Makefile.in', but
21891 # some people rename them; so instead we look at the file content.
21892 # Grep'ing the first line is not enough: some people post-process
21893 # each Makefile.in and add a new line on top of each file to say so.
21894 # Grep'ing the whole file is not good either: AIX grep has a line
21895 # limit of 2048, but all sed's we know have understand at least 4000.
21896 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21897 dirpart
=`$as_dirname -- "$mf" ||
21898 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21899 X"$mf" : 'X\(//\)[^/]' \| \
21900 X"$mf" : 'X\(//\)$' \| \
21901 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21907 /^X\(\/\/\)[^/].*/{
21923 # Extract the definition of DEPDIR, am__include, and am__quote
21924 # from the Makefile without running 'make'.
21925 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21926 test -z "$DEPDIR" && continue
21927 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21928 test -z "$am__include" && continue
21929 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21930 # Find all dependency output files, they are included files with
21931 # $(DEPDIR) in their names. We invoke sed twice because it is the
21932 # simplest approach to changing $(DEPDIR) to its actual value in the
21934 for file in `sed -n "
21935 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21936 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21937 # Make sure the directory exists.
21938 test -f "$dirpart/$file" && continue
21939 fdir
=`$as_dirname -- "$file" ||
21940 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21941 X"$file" : 'X\(//\)[^/]' \| \
21942 X"$file" : 'X\(//\)$' \| \
21943 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21944 $as_echo X"$file" |
21945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21949 /^X\(\/\/\)[^/].*/{
21962 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21963 # echo "creating $dirpart/$file"
21964 echo '# dummy' > "$dirpart/$file"
21971 # See if we are running on zsh, and set the options which allow our
21972 # commands through without removal of \ escapes.
21973 if test -n "${ZSH_VERSION+set}" ; then
21974 setopt NO_GLOB_SUBST
21977 cfgfile
="${ofile}T"
21978 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21981 cat <<_LT_EOF >> "$cfgfile"
21984 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21985 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21986 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21987 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21989 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21990 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
21991 # Written by Gordon Matzigkeit, 1996
21993 # This file is part of GNU Libtool.
21995 # GNU Libtool is free software; you can redistribute it and/or
21996 # modify it under the terms of the GNU General Public License as
21997 # published by the Free Software Foundation; either version 2 of
21998 # the License, or (at your option) any later version.
22000 # As a special exception to the GNU General Public License,
22001 # if you distribute this file as part of a program or library that
22002 # is built using GNU Libtool, you may include this file under the
22003 # same distribution terms that you use for the rest of that program.
22005 # GNU Libtool is distributed in the hope that it will be useful,
22006 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22008 # GNU General Public License for more details.
22010 # You should have received a copy of the GNU General Public License
22011 # along with GNU Libtool; see the file COPYING. If not, a copy
22012 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22013 # obtained by writing to the Free Software Foundation, Inc.,
22014 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22017 # The names of the tagged configurations supported by this script.
22018 available_tags="CXX "
22020 # ### BEGIN LIBTOOL CONFIG
22022 # Which release of libtool.m4 was used?
22023 macro_version=$macro_version
22024 macro_revision=$macro_revision
22026 # Whether or not to build shared libraries.
22027 build_libtool_libs=$enable_shared
22029 # Whether or not to build static libraries.
22030 build_old_libs=$enable_static
22032 # What type of objects to build.
22035 # Whether or not to optimize for fast installation.
22036 fast_install=$enable_fast_install
22038 # Shell to use when invoking shell scripts.
22041 # An echo program that protects backslashes.
22045 host_alias=$host_alias
22049 # The build system.
22050 build_alias=$build_alias
22054 # A sed program that does not truncate output.
22057 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22058 Xsed="\$SED -e 1s/^X//"
22060 # A grep program that handles long lines.
22066 # A literal string matcher.
22069 # A BSD- or MS-compatible name lister.
22072 # Whether we need soft or hard links.
22075 # What is the maximum length of a command?
22076 max_cmd_len=$max_cmd_len
22078 # Object file suffix (normally "o").
22081 # Executable file suffix (normally "").
22084 # whether the shell understands "unset".
22087 # turn spaces into newlines.
22090 # turn newlines into spaces.
22093 # An object symbol dumper.
22094 OBJDUMP=$lt_OBJDUMP
22096 # Method to check whether dependent libraries are shared objects.
22097 deplibs_check_method=$lt_deplibs_check_method
22099 # Command to use when deplibs_check_method == "file_magic".
22100 file_magic_cmd=$lt_file_magic_cmd
22104 AR_FLAGS=$lt_AR_FLAGS
22106 # A symbol stripping program.
22109 # Commands used to install an old-style archive.
22111 old_postinstall_cmds=$lt_old_postinstall_cmds
22112 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22114 # Whether to use a lock for old archive extraction.
22115 lock_old_archive_extraction=$lock_old_archive_extraction
22120 # LTCC compiler flags.
22121 LTCFLAGS=$lt_CFLAGS
22123 # Take the output of nm and produce a listing of raw symbols and C names.
22124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22126 # Transform the output of nm in a proper C declaration.
22127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22129 # Transform the output of nm in a C name address pair.
22130 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22132 # Transform the output of nm in a C name address pair when lib prefix is needed.
22133 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22135 # The name of the directory that contains temporary libtool files.
22138 # Used to examine libraries when file_magic_cmd begins with "file".
22139 MAGIC_CMD=$MAGIC_CMD
22141 # Must we lock files when doing compilation?
22142 need_locks=$lt_need_locks
22144 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22145 DSYMUTIL=$lt_DSYMUTIL
22147 # Tool to change global to local symbols on Mac OS X.
22150 # Tool to manipulate fat objects and archives on Mac OS X.
22153 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22156 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22157 OTOOL64=$lt_OTOOL64
22159 # Old archive suffix (normally "a").
22162 # Shared library suffix (normally ".so").
22163 shrext_cmds=$lt_shrext_cmds
22165 # The commands to extract the exported symbol list from a shared archive.
22166 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22168 # Variables whose values should be saved in libtool wrapper scripts and
22169 # restored at link time.
22170 variables_saved_for_relink=$lt_variables_saved_for_relink
22172 # Do we need the "lib" prefix for modules?
22173 need_lib_prefix=$need_lib_prefix
22175 # Do we need a version for libraries?
22176 need_version=$need_version
22178 # Library versioning type.
22179 version_type=$version_type
22181 # Shared library runtime path variable.
22182 runpath_var=$runpath_var
22184 # Shared library path variable.
22185 shlibpath_var=$shlibpath_var
22187 # Is shlibpath searched before the hard-coded library search path?
22188 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22190 # Format of library name prefix.
22191 libname_spec=$lt_libname_spec
22193 # List of archive names. First name is the real one, the rest are links.
22194 # The last name is the one that the linker finds with -lNAME
22195 library_names_spec=$lt_library_names_spec
22197 # The coded name of the library, if different from the real name.
22198 soname_spec=$lt_soname_spec
22200 # Permission mode override for installation of shared libraries.
22201 install_override_mode=$lt_install_override_mode
22203 # Command to use after installation of a shared archive.
22204 postinstall_cmds=$lt_postinstall_cmds
22206 # Command to use after uninstallation of a shared archive.
22207 postuninstall_cmds=$lt_postuninstall_cmds
22209 # Commands used to finish a libtool library installation in a directory.
22210 finish_cmds=$lt_finish_cmds
22212 # As "finish_cmds", except a single script fragment to be evaled but
22214 finish_eval=$lt_finish_eval
22216 # Whether we should hardcode library paths into libraries.
22217 hardcode_into_libs=$hardcode_into_libs
22219 # Compile-time system search path for libraries.
22220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22222 # Run-time system search path for libraries.
22223 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22225 # Whether dlopen is supported.
22226 dlopen_support=$enable_dlopen
22228 # Whether dlopen of programs is supported.
22229 dlopen_self=$enable_dlopen_self
22231 # Whether dlopen of statically linked programs is supported.
22232 dlopen_self_static=$enable_dlopen_self_static
22234 # Commands to strip libraries.
22235 old_striplib=$lt_old_striplib
22236 striplib=$lt_striplib
22239 # The linker used to build libraries.
22242 # How to create reloadable object files.
22243 reload_flag=$lt_reload_flag
22244 reload_cmds=$lt_reload_cmds
22246 # Commands used to build an old-style archive.
22247 old_archive_cmds=$lt_old_archive_cmds
22249 # A language specific compiler.
22252 # Is the compiler the GNU compiler?
22255 # Compiler flag to turn off builtin functions.
22256 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22258 # How to pass a linker flag through the compiler.
22259 wl=$lt_lt_prog_compiler_wl
22261 # Additional compiler flags for building library objects.
22262 pic_flag=$lt_lt_prog_compiler_pic
22264 # Compiler flag to prevent dynamic linking.
22265 link_static_flag=$lt_lt_prog_compiler_static
22267 # Does compiler simultaneously support -c and -o options?
22268 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22270 # Whether or not to add -lc for building shared libraries.
22271 build_libtool_need_lc=$archive_cmds_need_lc
22273 # Whether or not to disallow shared libs when runtime libs are static.
22274 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22276 # Compiler flag to allow reflexive dlopens.
22277 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22279 # Compiler flag to generate shared objects directly from archives.
22280 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22282 # Whether the compiler copes with passing no objects directly.
22283 compiler_needs_object=$lt_compiler_needs_object
22285 # Create an old-style archive from a shared archive.
22286 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22288 # Create a temporary old-style archive to link instead of a shared archive.
22289 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22291 # Commands used to build a shared archive.
22292 archive_cmds=$lt_archive_cmds
22293 archive_expsym_cmds=$lt_archive_expsym_cmds
22295 # Commands used to build a loadable module if different from building
22296 # a shared archive.
22297 module_cmds=$lt_module_cmds
22298 module_expsym_cmds=$lt_module_expsym_cmds
22300 # Whether we are building with GNU ld or not.
22301 with_gnu_ld=$lt_with_gnu_ld
22303 # Flag that allows shared libraries with undefined symbols to be built.
22304 allow_undefined_flag=$lt_allow_undefined_flag
22306 # Flag that enforces no undefined symbols.
22307 no_undefined_flag=$lt_no_undefined_flag
22309 # Flag to hardcode \$libdir into a binary during linking.
22310 # This must work even if \$libdir does not exist
22311 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22313 # If ld is used when linking, flag to hardcode \$libdir into a binary
22314 # during linking. This must work even if \$libdir does not exist.
22315 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22317 # Whether we need a single "-rpath" flag with a separated argument.
22318 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22320 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22321 # DIR into the resulting binary.
22322 hardcode_direct=$hardcode_direct
22324 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22325 # DIR into the resulting binary and the resulting library dependency is
22326 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22327 # library is relocated.
22328 hardcode_direct_absolute=$hardcode_direct_absolute
22330 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22331 # into the resulting binary.
22332 hardcode_minus_L=$hardcode_minus_L
22334 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22335 # into the resulting binary.
22336 hardcode_shlibpath_var=$hardcode_shlibpath_var
22338 # Set to "yes" if building a shared library automatically hardcodes DIR
22339 # into the library and all subsequent libraries and executables linked
22341 hardcode_automatic=$hardcode_automatic
22343 # Set to yes if linker adds runtime paths of dependent libraries
22344 # to runtime path list.
22345 inherit_rpath=$inherit_rpath
22347 # Whether libtool must link a program against all its dependency libraries.
22348 link_all_deplibs=$link_all_deplibs
22350 # Fix the shell variable \$srcfile for the compiler.
22351 fix_srcfile_path=$lt_fix_srcfile_path
22353 # Set to "yes" if exported symbols are required.
22354 always_export_symbols=$always_export_symbols
22356 # The commands to list exported symbols.
22357 export_symbols_cmds=$lt_export_symbols_cmds
22359 # Symbols that should not be listed in the preloaded symbols.
22360 exclude_expsyms=$lt_exclude_expsyms
22362 # Symbols that must always be exported.
22363 include_expsyms=$lt_include_expsyms
22365 # Commands necessary for linking programs (against libraries) with templates.
22366 prelink_cmds=$lt_prelink_cmds
22368 # Specify filename containing input files.
22369 file_list_spec=$lt_file_list_spec
22371 # How to hardcode a shared library path into an executable.
22372 hardcode_action=$hardcode_action
22374 # The directories searched by this compiler when creating a shared library.
22375 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22377 # Dependencies to place before and after the objects being linked to
22378 # create a shared library.
22379 predep_objects=$lt_predep_objects
22380 postdep_objects=$lt_postdep_objects
22381 predeps=$lt_predeps
22382 postdeps=$lt_postdeps
22384 # The library search path used internally by the compiler when linking
22385 # a shared library.
22386 compiler_lib_search_path=$lt_compiler_lib_search_path
22388 # ### END LIBTOOL CONFIG
22394 cat <<\_LT_EOF
>> "$cfgfile"
22395 # AIX sometimes has problems with the GCC collect2 program. For some
22396 # reason, if we set the COLLECT_NAMES environment variable, the problems
22397 # vanish in a puff of smoke.
22398 if test "X${COLLECT_NAMES+set}" != Xset
; then
22400 export COLLECT_NAMES
22407 ltmain
="$ac_aux_dir/ltmain.sh"
22410 # We use sed instead of cat because bash on DJGPP gets confused if
22411 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22412 # text mode, it properly converts lines to CR/LF. This bash problem
22413 # is reportedly fixed, but why not run on old versions too?
22414 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22415 ||
(rm -f "$cfgfile"; exit 1)
22419 cat << \_LT_EOF
>> "$cfgfile"
22421 # func_dirname file append nondir_replacement
22422 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22423 # otherwise set result to NONDIR_REPLACEMENT.
22427 */*) func_dirname_result
="${1%/*}${2}" ;;
22428 * ) func_dirname_result
="${3}" ;;
22432 # func_basename file
22435 func_basename_result
="${1##*/}"
22438 # func_dirname_and_basename file append nondir_replacement
22439 # perform func_basename and func_dirname in a single function
22441 # dirname: Compute the dirname of FILE. If nonempty,
22442 # add APPEND to the result, otherwise set result
22443 # to NONDIR_REPLACEMENT.
22444 # value returned in "$func_dirname_result"
22445 # basename: Compute filename of FILE.
22446 # value retuned in "$func_basename_result"
22447 # Implementation must be kept synchronized with func_dirname
22448 # and func_basename. For efficiency, we do not delegate to
22449 # those functions but instead duplicate the functionality here.
22450 func_dirname_and_basename
()
22453 */*) func_dirname_result
="${1%/*}${2}" ;;
22454 * ) func_dirname_result
="${3}" ;;
22456 func_basename_result
="${1##*/}"
22459 # func_stripname prefix suffix name
22460 # strip PREFIX and SUFFIX off of NAME.
22461 # PREFIX and SUFFIX must not contain globbing or regex special
22462 # characters, hashes, percent signs, but SUFFIX may contain a leading
22463 # dot (in which case that matches only a dot).
22466 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22467 # positional parameters, so assign one to ordinary parameter first.
22468 func_stripname_result
=${3}
22469 func_stripname_result
=${func_stripname_result#"${1}"}
22470 func_stripname_result
=${func_stripname_result%"${2}"}
22476 func_opt_split_opt
=${1%%=*}
22477 func_opt_split_arg
=${1#*=}
22484 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22485 *) func_lo2o_result
=${1} ;;
22489 # func_xform libobj-or-source
22492 func_xform_result
=${1%.*}.lo
22495 # func_arith arithmetic-term...
22498 func_arith_result
=$
(( $
* ))
22502 # STRING may not start with a hyphen.
22505 func_len_result
=${#1}
22510 *) # Bourne compatible functions.
22511 cat << \_LT_EOF
>> "$cfgfile"
22513 # func_dirname file append nondir_replacement
22514 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22515 # otherwise set result to NONDIR_REPLACEMENT.
22518 # Extract subdirectory from the argument.
22519 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
22520 if test "X$func_dirname_result" = "X${1}"; then
22521 func_dirname_result
="${3}"
22523 func_dirname_result
="$func_dirname_result${2}"
22527 # func_basename file
22530 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
22534 # func_stripname prefix suffix name
22535 # strip PREFIX and SUFFIX off of NAME.
22536 # PREFIX and SUFFIX must not contain globbing or regex special
22537 # characters, hashes, percent signs, but SUFFIX may contain a leading
22538 # dot (in which case that matches only a dot).
22539 # func_strip_suffix prefix name
22543 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
22544 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
22549 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22550 my_sed_long_arg
='1s/^-[^=]*=//'
22555 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
22556 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
22562 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
22565 # func_xform libobj-or-source
22568 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
22571 # func_arith arithmetic-term...
22574 func_arith_result
=`expr "$@"`
22578 # STRING may not start with a hyphen.
22581 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22587 case $lt_shell_append in
22589 cat << \_LT_EOF
>> "$cfgfile"
22591 # func_append var value
22592 # Append VALUE to the end of shell variable VAR.
22600 cat << \_LT_EOF
>> "$cfgfile"
22602 # func_append var value
22603 # Append VALUE to the end of shell variable VAR.
22614 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22615 ||
(rm -f "$cfgfile"; exit 1)
22617 mv -f "$cfgfile" "$ofile" ||
22618 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22622 cat <<_LT_EOF >> "$ofile"
22624 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22626 # The linker used to build libraries.
22629 # How to create reloadable object files.
22630 reload_flag=$lt_reload_flag_CXX
22631 reload_cmds=$lt_reload_cmds_CXX
22633 # Commands used to build an old-style archive.
22634 old_archive_cmds=$lt_old_archive_cmds_CXX
22636 # A language specific compiler.
22637 CC=$lt_compiler_CXX
22639 # Is the compiler the GNU compiler?
22642 # Compiler flag to turn off builtin functions.
22643 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22645 # How to pass a linker flag through the compiler.
22646 wl=$lt_lt_prog_compiler_wl_CXX
22648 # Additional compiler flags for building library objects.
22649 pic_flag=$lt_lt_prog_compiler_pic_CXX
22651 # Compiler flag to prevent dynamic linking.
22652 link_static_flag=$lt_lt_prog_compiler_static_CXX
22654 # Does compiler simultaneously support -c and -o options?
22655 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22657 # Whether or not to add -lc for building shared libraries.
22658 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22660 # Whether or not to disallow shared libs when runtime libs are static.
22661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22663 # Compiler flag to allow reflexive dlopens.
22664 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22666 # Compiler flag to generate shared objects directly from archives.
22667 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22669 # Whether the compiler copes with passing no objects directly.
22670 compiler_needs_object=$lt_compiler_needs_object_CXX
22672 # Create an old-style archive from a shared archive.
22673 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22675 # Create a temporary old-style archive to link instead of a shared archive.
22676 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22678 # Commands used to build a shared archive.
22679 archive_cmds=$lt_archive_cmds_CXX
22680 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22682 # Commands used to build a loadable module if different from building
22683 # a shared archive.
22684 module_cmds=$lt_module_cmds_CXX
22685 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22687 # Whether we are building with GNU ld or not.
22688 with_gnu_ld=$lt_with_gnu_ld_CXX
22690 # Flag that allows shared libraries with undefined symbols to be built.
22691 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22693 # Flag that enforces no undefined symbols.
22694 no_undefined_flag=$lt_no_undefined_flag_CXX
22696 # Flag to hardcode \$libdir into a binary during linking.
22697 # This must work even if \$libdir does not exist
22698 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22700 # If ld is used when linking, flag to hardcode \$libdir into a binary
22701 # during linking. This must work even if \$libdir does not exist.
22702 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22704 # Whether we need a single "-rpath" flag with a separated argument.
22705 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22707 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22708 # DIR into the resulting binary.
22709 hardcode_direct=$hardcode_direct_CXX
22711 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22712 # DIR into the resulting binary and the resulting library dependency is
22713 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22714 # library is relocated.
22715 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22717 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22718 # into the resulting binary.
22719 hardcode_minus_L=$hardcode_minus_L_CXX
22721 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22722 # into the resulting binary.
22723 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22725 # Set to "yes" if building a shared library automatically hardcodes DIR
22726 # into the library and all subsequent libraries and executables linked
22728 hardcode_automatic=$hardcode_automatic_CXX
22730 # Set to yes if linker adds runtime paths of dependent libraries
22731 # to runtime path list.
22732 inherit_rpath=$inherit_rpath_CXX
22734 # Whether libtool must link a program against all its dependency libraries.
22735 link_all_deplibs=$link_all_deplibs_CXX
22737 # Fix the shell variable \$srcfile for the compiler.
22738 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22740 # Set to "yes" if exported symbols are required.
22741 always_export_symbols=$always_export_symbols_CXX
22743 # The commands to list exported symbols.
22744 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22746 # Symbols that should not be listed in the preloaded symbols.
22747 exclude_expsyms=$lt_exclude_expsyms_CXX
22749 # Symbols that must always be exported.
22750 include_expsyms=$lt_include_expsyms_CXX
22752 # Commands necessary for linking programs (against libraries) with templates.
22753 prelink_cmds=$lt_prelink_cmds_CXX
22755 # Specify filename containing input files.
22756 file_list_spec=$lt_file_list_spec_CXX
22758 # How to hardcode a shared library path into an executable.
22759 hardcode_action=$hardcode_action_CXX
22761 # The directories searched by this compiler when creating a shared library.
22762 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22764 # Dependencies to place before and after the objects being linked to
22765 # create a shared library.
22766 predep_objects=$lt_predep_objects_CXX
22767 postdep_objects=$lt_postdep_objects_CXX
22768 predeps=$lt_predeps_CXX
22769 postdeps=$lt_postdeps_CXX
22771 # The library search path used internally by the compiler when linking
22772 # a shared library.
22773 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22775 # ### END LIBTOOL TAG CONFIG: CXX
22779 "libm2min/Makefile":F
) cat > vpsed$$
<< \_EOF
22780 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22782 sed -f vpsed$$
$ac_file > tmp$$
22785 echo 'MULTISUBDIR =' >> $ac_file
22787 .
${multi_basedir}/config-ml.
in
22788 { ml_norecursion
=; unset ml_norecursion
;}
22790 "libm2pim/Makefile":F
) cat > vpsed$$
<< \_EOF
22791 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22793 sed -f vpsed$$
$ac_file > tmp$$
22796 echo 'MULTISUBDIR =' >> $ac_file
22798 .
${multi_basedir}/config-ml.
in
22799 { ml_norecursion
=; unset ml_norecursion
;}
22801 "libm2iso/Makefile":F
) cat > vpsed$$
<< \_EOF
22802 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22804 sed -f vpsed$$
$ac_file > tmp$$
22807 echo 'MULTISUBDIR =' >> $ac_file
22809 .
${multi_basedir}/config-ml.
in
22810 { ml_norecursion
=; unset ml_norecursion
;}
22812 "libm2cor/Makefile":F
) cat > vpsed$$
<< \_EOF
22813 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22815 sed -f vpsed$$
$ac_file > tmp$$
22818 echo 'MULTISUBDIR =' >> $ac_file
22820 .
${multi_basedir}/config-ml.
in
22821 { ml_norecursion
=; unset ml_norecursion
;}
22823 "libm2log/Makefile":F
) cat > vpsed$$
<< \_EOF
22824 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22826 sed -f vpsed$$
$ac_file > tmp$$
22829 echo 'MULTISUBDIR =' >> $ac_file
22831 .
${multi_basedir}/config-ml.
in
22832 { ml_norecursion
=; unset ml_norecursion
;}
22841 ac_clean_files
=$ac_clean_files_save
22843 test $ac_write_fail = 0 ||
22844 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22847 # configure is writing to config.log, and then calls config.status.
22848 # config.status does its own redirection, appending to config.log.
22849 # Unfortunately, on DOS this fails, as config.log is still kept open
22850 # by configure, so config.status won't be able to write to it; its
22851 # output is simply discarded. So we exec the FD to /dev/null,
22852 # effectively closing config.log, so it can be properly (re)opened and
22853 # appended to by config.status. When coming back to configure, we
22854 # need to make the FD available again.
22855 if test "$no_create" != yes; then
22857 ac_config_status_args
=
22858 test "$silent" = yes &&
22859 ac_config_status_args
="$ac_config_status_args --quiet"
22861 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22863 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22864 # would make configure fail if this is the last instruction.
22865 $ac_cs_success || as_fn_exit
1
22867 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22869 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}