2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU OpenMP Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU OpenMP Runtime Library'
558 PACKAGE_TARNAME
='libgomp'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='GNU OpenMP Runtime Library 1.0'
562 PACKAGE_URL
='http://www.gnu.org/software/libgomp/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
604 OMP_NEST_LOCK_25_KIND
606 OMP_NEST_LOCK_25_ALIGN
607 OMP_NEST_LOCK_25_SIZE
622 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
623 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
631 MAINTAINER_MODE_FALSE
684 INSTALL_STRIP_PROGRAM
740 program_transform_name
753 enable_option_checking
754 enable_version_specific_runtime_libs
755 enable_generated_files_in_srcdir
757 enable_dependency_tracking
764 enable_maintainer_mode
769 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 ac_unrecognized_opts
=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=no
;;
898 -docdir |
--docdir |
--docdi |
--doc |
--do)
900 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
903 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
905 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
908 -enable-* |
--enable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error
"invalid package name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=no
;;
1145 # Obsolete; use --with-x.
1148 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1149 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1150 ac_prev
=x_includes
;;
1151 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1152 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1153 x_includes
=$ac_optarg ;;
1155 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1156 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1157 ac_prev
=x_libraries
;;
1158 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1159 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1160 x_libraries
=$ac_optarg ;;
1162 -*) as_fn_error
"unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information."
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1171 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\
$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1187 if test -n "$ac_prev"; then
1188 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error
"missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233 If a cross compiler is detected then cross compile mode will be used." >&2
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1242 test "$silent" = yes && exec 6>/dev
/null
1245 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di
=`ls -di .` &&
1247 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error
"working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error
"pwd does not report name of working directory"
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted
=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir
=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted
=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1289 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1291 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1303 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305 for ac_var
in $ac_precious_vars; do
1306 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1308 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1319 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/libgomp]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1382 --build=BUILD configure
for building on BUILD
[guessed
]
1383 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1384 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1395 --disable-option-checking ignore unrecognized
--enable/--with options
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-version-specific-runtime-libs
1399 Specify that runtime libraries should be installed
1400 in a compiler-specific directory
[default
=no
]
1401 --enable-generated-files-in-srcdir
1402 put copies of generated files
in source dir intended
1403 for creating
source tarballs
for users without
1404 texinfo bison or flex.
[default
=no
]
1405 --enable-multilib build many library versions
(default
)
1406 --disable-dependency-tracking speeds up one-time build
1407 --enable-dependency-tracking do not reject slow dependency extractors
1408 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1409 --enable-static[=PKGS
] build static libraries
[default
=yes]
1410 --enable-fast-install[=PKGS
]
1411 optimize
for fast installation
[default
=yes]
1412 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1413 --enable-maintainer-mode enable make rules and dependencies not useful
1414 (and sometimes confusing
) to the casual installer
1415 --enable-linux-futex use the Linux futex system call
[default
=default
]
1416 --enable-tls Use thread-local storage
[default
=yes]
1417 --enable-symvers=STYLE enables symbol versioning of the shared library
1421 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1422 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1423 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1425 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1427 Some influential environment variables
:
1428 CC C compiler
command
1429 CFLAGS C compiler flags
1430 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1431 nonstandard directory
<lib dir
>
1432 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1433 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1434 you have headers
in a nonstandard directory
<include dir
>
1436 FC Fortran compiler
command
1437 FCFLAGS Fortran compiler flags
1439 Use these variables to override the choices made by
`configure' or to help
1440 it to find libraries and programs with nonstandard names/locations.
1442 Report bugs to the package provider.
1443 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
1444 General help using GNU software: <http://www.gnu.org/gethelp/>.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir=$ac_pwd
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir=$ac_top_build_prefix
1474 .) # We are building in place.
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
1479 ac_srcdir=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" || { ac_status=$?; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 GNU OpenMP Runtime Library configure 1.0
1508 generated by GNU Autoconf 2.64
1510 Copyright (C) 2009 Free Software Foundation, Inc.
1511 This configure script is free software; the Free Software Foundation
1512 gives unlimited permission to copy, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 rm -f conftest.$ac_objext
1528 if { { ac_try="$ac_compile"
1530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1531 *) ac_try_echo
=$ac_try;;
1533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err
; then
1538 grep -v '^ *+' conftest.err
>conftest.er1
1539 cat conftest.er1
>&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.
$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.
$ac_ext >&5
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_link LINENO
1560 # -----------------------
1561 # Try to link conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1565 rm -f conftest.
$ac_objext conftest
$ac_exeext
1566 if { { ac_try
="$ac_link"
1568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1569 *) ac_try_echo=$ac_try;;
1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_link") 2>conftest.err
1575 if test -s conftest.err; then
1576 grep -v '^ *+' conftest.err >conftest.er1
1577 cat conftest.er1 >&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest$ac_exeext && {
1585 test "$cross_compiling" = yes ||
1586 $as_test_x conftest$ac_exeext
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.$ac_ext >&5
1595 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1596 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1597 # interfere with the next link command; also delete a directory that is
1598 # left behind by Apple's compiler. We do this before executing the actions.
1599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603 } # ac_fn_c_try_link
1605 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists and can be compiled using the include files in
1608 # INCLUDES, setting the cache variable VAR accordingly.
1609 ac_fn_c_check_header_compile ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615 $as_echo_n "(cached) " >&6
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile "$LINENO"; then :
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634 } # ac_fn_c_check_header_compile
1636 # ac_fn_c_try_cpp LINENO
1637 # ----------------------
1638 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 if { { ac_try="$ac_cpp conftest.$ac_ext"
1644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1645 *) ac_try_echo
=$ac_try;;
1647 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1651 if test -s conftest.err
; then
1652 grep -v '^ *+' conftest.err
>conftest.er1
1653 cat conftest.er1
>&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } >/dev
/null
&& {
1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.
$ac_ext >&5
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1673 # ac_fn_c_try_run LINENO
1674 # ----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1676 # that executables *can* be run.
1679 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1680 if { { ac_try
="$ac_link"
1682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>&5
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1691 { { case "(($ac_try" in
1692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1693 *) ac_try_echo
=$ac_try;;
1695 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_try") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; }; }; then :
1703 $as_echo "$as_me: program exited with status $ac_status" >&5
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.
$ac_ext >&5
1707 ac_retval
=$ac_status
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1715 # ac_fn_c_check_func LINENO FUNC VAR
1716 # ----------------------------------
1717 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1718 ac_fn_c_check_func
()
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1730 #define $2 innocuous_$2
1732 /* System header to define __stub macros and hopefully few prototypes,
1733 which can conflict with char $2 (); below.
1734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1735 <limits.h> exists even on freestanding compilers. */
1738 # include <limits.h>
1740 # include <assert.h>
1745 /* Override any GCC internal prototype to avoid an error.
1746 Use char because int might match the return type of a GCC
1747 builtin and then its argument prototype would still apply. */
1752 /* The GNU C library defines this for functions which it implements
1753 to always fail with ENOSYS. Some functions are actually named
1754 something starting with __ and the normal name is an alias. */
1755 #if defined __stub_$2 || defined __stub___$2
1767 if ac_fn_c_try_link
"$LINENO"; then :
1772 rm -f core conftest.err conftest.
$ac_objext \
1773 conftest
$ac_exeext conftest.
$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1780 } # ac_fn_c_check_func
1782 # ac_fn_fc_try_compile LINENO
1783 # ---------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_fc_try_compile
()
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 rm -f conftest.
$ac_objext
1789 if { { ac_try
="$ac_compile"
1791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_compile") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_fc_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest.$ac_objext; then :
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 } # ac_fn_fc_try_compile
1820 # ac_fn_fc_try_link LINENO
1821 # ------------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_fc_try_link ()
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 rm -f conftest.$ac_objext conftest$ac_exeext
1827 if { { ac_try="$ac_link"
1829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1830 *) ac_try_echo
=$ac_try;;
1832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>conftest.err
1836 if test -s conftest.err
; then
1837 grep -v '^ *+' conftest.err
>conftest.er1
1838 cat conftest.er1
>&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && {
1843 test -z "$ac_fc_werror_flag" ||
1844 test ! -s conftest.err
1845 } && test -s conftest
$ac_exeext && {
1846 test "$cross_compiling" = yes ||
1847 $as_test_x conftest
$ac_exeext
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.
$ac_ext >&5
1856 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858 # interfere with the next link command; also delete a directory that is
1859 # left behind by Apple's compiler. We do this before executing the actions.
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1864 } # ac_fn_fc_try_link
1866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1867 # -------------------------------------------------------
1868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1869 # the include files in INCLUDES and setting the cache variable VAR
1871 ac_fn_c_check_header_mongrel
()
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1884 # Is the header compilable?
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1886 $as_echo_n "checking $2 usability... " >&6; }
1887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1892 if ac_fn_c_try_compile
"$LINENO"; then :
1893 ac_header_compiler
=yes
1895 ac_header_compiler
=no
1897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1899 $as_echo "$ac_header_compiler" >&6; }
1901 # Is the header present?
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1903 $as_echo_n "checking $2 presence... " >&6; }
1904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1908 if ac_fn_c_try_cpp
"$LINENO"; then :
1909 ac_header_preproc
=yes
1911 ac_header_preproc
=no
1913 rm -f conftest.err conftest.
$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1915 $as_echo "$ac_header_preproc" >&6; }
1917 # So? What about this header?
1918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941 $as_echo_n "(cached) " >&6
1943 eval "$3=\$ac_header_compiler"
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1951 } # ac_fn_c_check_header_mongrel
1953 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1954 # -------------------------------------------
1955 # Tests whether TYPE exists after having included INCLUDES, setting cache
1956 # variable VAR accordingly.
1957 ac_fn_c_check_type
()
1959 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1963 $as_echo_n "(cached) " >&6
1966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1978 if ac_fn_c_try_compile
"$LINENO"; then :
1979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1991 if ac_fn_c_try_compile
"$LINENO"; then :
1996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2005 } # ac_fn_c_check_type
2007 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2008 # --------------------------------------------
2009 # Tries to find the compile-time value of EXPR in a program that includes
2010 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2012 ac_fn_c_compute_int
()
2014 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2015 if test "$cross_compiling" = yes; then
2016 # Depending upon the size, compute the lo and hi bounds.
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2023 static int test_array [1 - 2 * !(($2) >= 0)];
2030 if ac_fn_c_try_compile
"$LINENO"; then :
2033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2039 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2046 if ac_fn_c_try_compile
"$LINENO"; then :
2047 ac_hi
=$ac_mid; break
2049 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2050 if test $ac_lo -le $ac_mid; then
2054 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) < 0)];
2072 if ac_fn_c_try_compile
"$LINENO"; then :
2075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2081 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2088 if ac_fn_c_try_compile
"$LINENO"; then :
2089 ac_lo
=$ac_mid; break
2091 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2092 if test $ac_mid -le $ac_hi; then
2096 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 # Binary search between lo and hi bounds.
2107 while test "x$ac_lo" != "x$ac_hi"; do
2108 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2122 if ac_fn_c_try_compile
"$LINENO"; then :
2125 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2137 static long int longval () { return $2; }
2138 static unsigned long int ulongval () { return $2; }
2145 FILE *f = fopen ("conftest.val", "w");
2150 long int i = longval ();
2153 fprintf (f, "%ld", i);
2157 unsigned long int i = ulongval ();
2160 fprintf (f, "%lu", i);
2162 /* Do not output a trailing newline, as this causes \r\n confusion
2163 on some platforms. */
2164 return ferror (f) || fclose (f) != 0;
2170 if ac_fn_c_try_run
"$LINENO"; then :
2171 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2175 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2176 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2183 } # ac_fn_c_compute_int
2184 cat >config.log
<<_ACEOF
2185 This file contains any messages produced by compilers while
2186 running configure, to aid debugging if configure makes a mistake.
2188 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
2189 generated by GNU Autoconf 2.64. Invocation command line was
2201 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2202 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2203 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2204 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2205 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2207 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2208 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2210 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2211 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2212 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2213 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2214 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2215 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2216 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir
=.
2225 $as_echo "PATH: $as_dir"
2241 # Keep a trace of the command line.
2242 # Strip out --no-create and --no-recursion so they do not pile up.
2243 # Strip out --silent because we don't want to record it for future runs.
2244 # Also quote any args containing shell meta-characters.
2245 # Make two passes to allow for proper duplicate-argument suppression.
2249 ac_must_keep_next
=false
2255 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2256 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2257 |
-silent |
--silent |
--silen |
--sile |
--sil)
2260 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2263 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2265 as_fn_append ac_configure_args1
" '$ac_arg'"
2266 if test $ac_must_keep_next = true
; then
2267 ac_must_keep_next
=false
# Got value, back to normal.
2270 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2271 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2272 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2273 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2274 case "$ac_configure_args0 " in
2275 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2278 -* ) ac_must_keep_next
=true
;;
2281 as_fn_append ac_configure_args
" '$ac_arg'"
2286 { ac_configure_args0
=; unset ac_configure_args0
;}
2287 { ac_configure_args1
=; unset ac_configure_args1
;}
2289 # When interrupted or exit'd, cleanup temporary files, and complete
2290 # config.log. We remove comments because anyway the quotes in there
2291 # would cause problems or look ugly.
2292 # WARNING: Use '\'' to represent an apostrophe within the trap.
2293 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2294 trap 'exit_status=$?
2295 # Save into config.log some information that might help in debugging.
2300 ## ---------------- ##
2301 ## Cache variables. ##
2302 ## ---------------- ##
2305 # The following way of writing the cache mishandles newlines in values,
2307 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2308 eval ac_val=\$$ac_var
2312 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2313 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2316 _ | IFS | as_nl) ;; #(
2317 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2318 *) { eval $ac_var=; unset $ac_var;} ;;
2323 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2324 *${as_nl}ac_space=\ *)
2326 "s/'\''/'\''\\\\'\'''\''/g;
2327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2338 ## ----------------- ##
2339 ## Output variables. ##
2340 ## ----------------- ##
2343 for ac_var in $ac_subst_vars
2345 eval ac_val=\$$ac_var
2347 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -n "$ac_subst_files"; then
2355 ## ------------------- ##
2356 ## File substitutions. ##
2357 ## ------------------- ##
2360 for ac_var
in $ac_subst_files
2362 eval ac_val
=\$
$ac_var
2364 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2366 $as_echo "$ac_var='\''$ac_val'\''"
2371 if test -s confdefs.h; then
2381 test "$ac_signal" != 0 &&
2382 $as_echo "$as_me: caught signal $ac_signal"
2383 $as_echo "$as_me: exit $exit_status"
2385 rm -f core *.core core.conftest.* &&
2386 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2389 for ac_signal
in 1 2 13 15; do
2390 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2395 rm -f -r conftest
* confdefs.h
2397 $as_echo "/* confdefs.h */" > confdefs.h
2399 # Predefined preprocessor variables.
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_NAME "$PACKAGE_NAME"
2405 cat >>confdefs.h
<<_ACEOF
2406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_STRING "$PACKAGE_STRING"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2421 cat >>confdefs.h
<<_ACEOF
2422 #define PACKAGE_URL "$PACKAGE_URL"
2426 # Let the site file select an alternate cache file if it wants to.
2427 # Prefer an explicitly selected file to automatically selected ones.
2430 if test -n "$CONFIG_SITE"; then
2431 ac_site_file1
=$CONFIG_SITE
2432 elif test "x$prefix" != xNONE
; then
2433 ac_site_file1
=$prefix/share
/config.site
2434 ac_site_file2
=$prefix/etc
/config.site
2436 ac_site_file1
=$ac_default_prefix/share
/config.site
2437 ac_site_file2
=$ac_default_prefix/etc
/config.site
2439 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2441 test "x$ac_site_file" = xNONE
&& continue
2442 if test -r "$ac_site_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2444 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2445 sed 's/^/| /' "$ac_site_file" >&5
2450 if test -r "$cache_file"; then
2451 # Some versions of bash will fail to source /dev/null (special
2452 # files actually), so we avoid doing that.
2453 if test -f "$cache_file"; then
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2455 $as_echo "$as_me: loading cache $cache_file" >&6;}
2457 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2458 *) .
"./$cache_file";;
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2463 $as_echo "$as_me: creating cache $cache_file" >&6;}
2467 # Check that the precious variables saved in the cache have kept the same
2469 ac_cache_corrupted
=false
2470 for ac_var
in $ac_precious_vars; do
2471 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2472 eval ac_new_set
=\
$ac_env_${ac_var}_set
2473 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2474 eval ac_new_val
=\
$ac_env_${ac_var}_value
2475 case $ac_old_set,$ac_new_set in
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2478 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2479 ac_cache_corrupted
=: ;;
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2482 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2483 ac_cache_corrupted
=: ;;
2486 if test "x$ac_old_val" != "x$ac_new_val"; then
2487 # differences in whitespace do not lead to failure.
2488 ac_old_val_w
=`echo x $ac_old_val`
2489 ac_new_val_w
=`echo x $ac_new_val`
2490 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2492 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2493 ac_cache_corrupted
=:
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2496 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2497 eval $ac_var=\
$ac_old_val
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2500 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2502 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2505 # Pass precious variables to config.status.
2506 if test "$ac_new_set" = set; then
2508 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2509 *) ac_arg
=$ac_var=$ac_new_val ;;
2511 case " $ac_configure_args " in
2512 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2513 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2517 if $ac_cache_corrupted; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2521 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2522 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2524 ## -------------------- ##
2525 ## Main body of script. ##
2526 ## -------------------- ##
2529 ac_cpp
='$CPP $CPPFLAGS'
2530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2538 ac_config_headers
="$ac_config_headers config.h"
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2546 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2547 # Check whether --enable-version-specific-runtime-libs was given.
2548 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2549 enableval
=$enable_version_specific_runtime_libs;
2550 case "$enableval" in
2552 *) as_fn_error
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2556 enable_version_specific_runtime_libs
=no
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2561 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2563 # We would like our source tree to be readonly. However when releases or
2564 # pre-releases are generated, the flex/bison generated files as well as the
2565 # various formats of manuals need to be included along with the rest of the
2566 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2569 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2570 # Check whether --enable-generated-files-in-srcdir was given.
2571 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2572 enableval
=$enable_generated_files_in_srcdir;
2573 case "$enableval" in
2575 *) as_fn_error
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2579 enable_generated_files_in_srcdir
=no
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2584 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2585 if test "$enable_generated_files_in_srcdir" = yes; then
2598 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2600 # You will slowly go insane if you do not grok the following fact: when
2601 # building this library, the top-level /target/ becomes the library's /host/.
2603 # configure then causes --target to default to --host, exactly like any
2604 # other package using autoconf. Therefore, 'target' and 'host' will
2605 # always be the same. This makes sense both for native and cross compilers
2606 # just think about it for a little while. :-)
2608 # Also, if this library is being configured as part of a cross compiler, the
2609 # top-level configure script will pass the "real" host as $with_cross_host.
2611 # Do not delete or change the following two lines. For why, see
2612 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2614 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2615 for ac_t
in install-sh
install.sh shtool
; do
2616 if test -f "$ac_dir/$ac_t"; then
2618 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2623 if test -z "$ac_aux_dir"; then
2624 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2627 # These three variables are undocumented and unsupported,
2628 # and are intended to be withdrawn in a future Autoconf release.
2629 # They can cause serious problems if a builder's source tree is in a directory
2630 # whose full name contains unusual characters.
2631 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2632 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2633 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2636 # Make sure we can run config.sub.
2637 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2638 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2641 $as_echo_n "checking build system type... " >&6; }
2642 if test "${ac_cv_build+set}" = set; then :
2643 $as_echo_n "(cached) " >&6
2645 ac_build_alias
=$build_alias
2646 test "x$ac_build_alias" = x
&&
2647 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2648 test "x$ac_build_alias" = x
&&
2649 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2650 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2651 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2655 $as_echo "$ac_cv_build" >&6; }
2656 case $ac_cv_build in
2658 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2661 ac_save_IFS
=$IFS; IFS
='-'
2667 # Remember, the first character of IFS is used to create $*,
2668 # except with old shells:
2671 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2675 $as_echo_n "checking host system type... " >&6; }
2676 if test "${ac_cv_host+set}" = set; then :
2677 $as_echo_n "(cached) " >&6
2679 if test "x$host_alias" = x
; then
2680 ac_cv_host
=$ac_cv_build
2682 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2683 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2688 $as_echo "$ac_cv_host" >&6; }
2691 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2694 ac_save_IFS
=$IFS; IFS
='-'
2700 # Remember, the first character of IFS is used to create $*,
2701 # except with old shells:
2704 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2708 $as_echo_n "checking target system type... " >&6; }
2709 if test "${ac_cv_target+set}" = set; then :
2710 $as_echo_n "(cached) " >&6
2712 if test "x$target_alias" = x
; then
2713 ac_cv_target
=$ac_cv_host
2715 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2716 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2721 $as_echo "$ac_cv_target" >&6; }
2722 case $ac_cv_target in
2724 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2726 target
=$ac_cv_target
2727 ac_save_IFS
=$IFS; IFS
='-'
2733 # Remember, the first character of IFS is used to create $*,
2734 # except with old shells:
2737 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2740 # The aliases save the names the user supplied, while $host etc.
2741 # will get canonicalized.
2742 test -n "$target_alias" &&
2743 test "$program_prefix$program_suffix$program_transform_name" = \
2745 program_prefix
=${target_alias}-
2747 target_alias
=${target_alias-$host_alias}
2749 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2750 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2751 # 1.9.0: minimum required version
2752 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2753 # of other PACKAGE_* variables will, however, and there's nothing
2754 # we can do about that; they come from AC_INIT).
2755 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2756 # file in the top srcdir, etc, etc), so stop complaining.
2757 # -Wall: turns on all automake warnings...
2758 # -Wno-portability: ...except this one, since GNU make is required.
2759 # -Wno-override: ... and this one, since we do want this in testsuite.
2760 am__api_version
='1.11'
2762 # Find a good install program. We prefer a C program (faster),
2763 # so one script is as good as another. But avoid the broken or
2764 # incompatible versions:
2765 # SysV /etc/install, /usr/sbin/install
2766 # SunOS /usr/etc/install
2767 # IRIX /sbin/install
2769 # AmigaOS /C/install, which installs bootblocks on floppy discs
2770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2773 # OS/2's system install, which has a completely different semantic
2774 # ./install, which can be erroneously created by make from ./install.sh.
2775 # Reject install programs that cannot install multiple files.
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2777 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2778 if test -z "$INSTALL"; then
2779 if test "${ac_cv_path_install+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir
=.
2787 # Account for people who put trailing slashes in PATH elements.
2788 case $as_dir/ in #((
2789 .
/ | .
// |
/[cC
]/* | \
2790 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2791 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2794 # OSF1 and SCO ODT 3.0 have their own names for install.
2795 # Don't use installbsd from OSF since it installs stuff as root
2797 for ac_prog
in ginstall scoinst
install; do
2798 for ac_exec_ext
in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2800 if test $ac_prog = install &&
2801 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2802 # AIX install. It has an incompatible calling convention.
2804 elif test $ac_prog = install &&
2805 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2806 # program-specific install script used by HP pwplus--don't use.
2809 rm -rf conftest.one conftest.two conftest.dir
2810 echo one
> conftest.one
2811 echo two
> conftest.two
2813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2814 test -s conftest.one
&& test -s conftest.two
&&
2815 test -s conftest.dir
/conftest.one
&&
2816 test -s conftest.dir
/conftest.two
2818 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2831 rm -rf conftest.one conftest.two conftest.dir
2834 if test "${ac_cv_path_install+set}" = set; then
2835 INSTALL
=$ac_cv_path_install
2837 # As a last resort, use the slow shell script. Don't cache a
2838 # value for INSTALL within a source directory, because that will
2839 # break other packages using the cache if that directory is
2840 # removed, or if the value is a relative name.
2841 INSTALL
=$ac_install_sh
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2845 $as_echo "$INSTALL" >&6; }
2847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2848 # It thinks the first close brace ends the variable substitution.
2849 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2851 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2853 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2856 $as_echo_n "checking whether build environment is sane... " >&6; }
2859 echo timestamp
> conftest.
file
2860 # Reject unsafe characters in $srcdir or the absolute working directory
2861 # name. Accept space and tab only in the latter.
2865 *[\\\"\
#\$\&\'\`$am_lf]*)
2866 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2869 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2870 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2873 # Do `set' in a subshell so we don't clobber the current shell's
2874 # arguments. Must try -L first in case configure is actually a
2875 # symlink; some systems play weird games with the mod time of symlinks
2876 # (eg FreeBSD returns the mod time of the symlink's containing
2879 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2880 if test "$*" = "X"; then
2882 set X
`ls -t "$srcdir/configure" conftest.file`
2885 if test "$*" != "X $srcdir/configure conftest.file" \
2886 && test "$*" != "X conftest.file $srcdir/configure"; then
2888 # If neither matched, then we have a broken ls. This can happen
2889 # if, for instance, CONFIG_SHELL is bash and it inherits a
2890 # broken ls alias from the environment. This has actually
2891 # happened. Such a system could not be considered "sane".
2892 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2893 alias in your environment" "$LINENO" 5
2896 test "$2" = conftest.
file
2902 as_fn_error
"newly created file is older than distributed files!
2903 Check your system clock" "$LINENO" 5
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2906 $as_echo "yes" >&6; }
2907 test "$program_prefix" != NONE
&&
2908 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2909 # Use a double $ so make ignores it.
2910 test "$program_suffix" != NONE
&&
2911 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2912 # Double any \ or $.
2913 # By default was `s,x,x', remove it if useless.
2914 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2915 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2917 # expand $ac_aux_dir to an absolute path
2918 am_aux_dir
=`cd $ac_aux_dir && pwd`
2920 if test x
"${MISSING+set}" != xset
; then
2923 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2925 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2928 # Use eval to expand $SHELL
2929 if eval "$MISSING --run true"; then
2930 am_missing_run
="$MISSING --run "
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2934 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2937 if test x
"${install_sh}" != xset
; then
2940 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2942 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2946 # Installed binaries are usually stripped using `strip' when the user
2947 # run `make install-strip'. However `strip' might not be the right
2948 # tool to use in cross-compilation environments, therefore Automake
2949 # will honor the `STRIP' environment variable to overrule this program.
2950 if test "$cross_compiling" != no
; then
2951 if test -n "$ac_tool_prefix"; then
2952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2953 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955 $as_echo_n "checking for $ac_word... " >&6; }
2956 if test "${ac_cv_prog_STRIP+set}" = set; then :
2957 $as_echo_n "(cached) " >&6
2959 if test -n "$STRIP"; then
2960 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir
=.
2967 for ac_exec_ext
in '' $ac_executable_extensions; do
2968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 STRIP
=$ac_cv_prog_STRIP
2980 if test -n "$STRIP"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2982 $as_echo "$STRIP" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2990 if test -z "$ac_cv_prog_STRIP"; then
2992 # Extract the first word of "strip", so it can be a program name with args.
2993 set dummy strip
; ac_word
=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2997 $as_echo_n "(cached) " >&6
2999 if test -n "$ac_ct_STRIP"; then
3000 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir
=.
3007 for ac_exec_ext
in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_ac_ct_STRIP
="strip"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3020 if test -n "$ac_ct_STRIP"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3022 $as_echo "$ac_ct_STRIP" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3028 if test "x$ac_ct_STRIP" = x
; then
3031 case $cross_compiling:$ac_tool_warned in
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3035 ac_tool_warned
=yes ;;
3040 STRIP
="$ac_cv_prog_STRIP"
3044 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3047 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3048 if test -z "$MKDIR_P"; then
3049 if test "${ac_cv_path_mkdir+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3053 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3056 test -z "$as_dir" && as_dir
=.
3057 for ac_prog
in mkdir gmkdir
; do
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3060 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3061 'mkdir (GNU coreutils) '* | \
3062 'mkdir (coreutils) '* | \
3063 'mkdir (fileutils) '4.1*)
3064 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3074 if test "${ac_cv_path_mkdir+set}" = set; then
3075 MKDIR_P
="$ac_cv_path_mkdir -p"
3077 # As a last resort, use the slow shell script. Don't cache a
3078 # value for MKDIR_P within a source directory, because that will
3079 # break other packages using the cache if that directory is
3080 # removed, or if the value is a relative name.
3081 test -d .
/--version && rmdir .
/--version
3082 MKDIR_P
="$ac_install_sh -d"
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3086 $as_echo "$MKDIR_P" >&6; }
3090 [\\/$
]* | ?
:[\\/]*) ;;
3091 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3094 for ac_prog
in gawk mawk nawk
awk
3096 # Extract the first word of "$ac_prog", so it can be a program name with args.
3097 set dummy
$ac_prog; ac_word
=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if test "${ac_cv_prog_AWK+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3103 if test -n "$AWK"; then
3104 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113 ac_cv_prog_AWK
="$ac_prog"
3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 if test -n "$AWK"; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3126 $as_echo "$AWK" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3133 test -n "$AWK" && break
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3137 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3139 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3140 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3141 $as_echo_n "(cached) " >&6
3143 cat >conftest.
make <<\_ACEOF
3146 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3148 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3149 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3151 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3153 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3157 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3164 SET_MAKE
="MAKE=${MAKE-make}"
3167 rm -rf .tst
2>/dev
/null
3168 mkdir .tst
2>/dev
/null
3169 if test -d .tst
; then
3174 rmdir .tst
2>/dev
/null
3176 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3177 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3178 # is not polluted with repeated "-I."
3179 am__isrc
=' -I$(srcdir)'
3180 # test to see if srcdir already configured
3181 if test -f $srcdir/config.status
; then
3182 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3186 # test whether we have cygpath
3187 if test -z "$CYGPATH_W"; then
3188 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3189 CYGPATH_W
='cygpath -w'
3196 # Define the identity of the package.
3201 cat >>confdefs.h
<<_ACEOF
3202 #define PACKAGE "$PACKAGE"
3206 cat >>confdefs.h
<<_ACEOF
3207 #define VERSION "$VERSION"
3210 # Some tools Automake needs.
3212 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3215 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3218 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3221 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3224 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3226 # We need awk for the "check" target. The system "awk" is bad on
3228 # Always define AMTAR for backward compatibility.
3230 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3232 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3238 # Default to --enable-multilib
3239 # Check whether --enable-multilib was given.
3240 if test "${enable_multilib+set}" = set; then :
3241 enableval
=$enable_multilib; case "$enableval" in
3242 yes) multilib
=yes ;;
3244 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3251 # We may get other options which we leave undocumented:
3252 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3253 # See config-ml.in if you want the gory details.
3255 if test "$srcdir" = "."; then
3256 if test "$with_target_subdir" != "."; then
3257 multi_basedir
="$srcdir/$with_multisrctop../.."
3259 multi_basedir
="$srcdir/$with_multisrctop.."
3262 multi_basedir
="$srcdir/.."
3266 # Even if the default multilib is not a cross compilation,
3267 # it may be that some of the other multilibs are.
3268 if test $cross_compiling = no
&& test $multilib = yes \
3269 && test "x${with_multisubdir}" != x
; then
3270 cross_compiling
=maybe
3273 ac_config_commands
="$ac_config_commands default-1"
3276 # Calculate toolexeclibdir
3277 # Also toolexecdir, though it's only used in toolexeclibdir
3278 case ${enable_version_specific_runtime_libs} in
3280 # Need the gcc compiler version to know where to install libraries
3281 # and header files if --enable-version-specific-runtime-libs option
3283 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3284 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3287 if test -n "$with_cross_host" &&
3288 test x
"$with_cross_host" != x
"no"; then
3289 # Install a library built with a cross compiler in tooldir, not libdir.
3290 toolexecdir
='$(exec_prefix)/$(target_alias)'
3291 toolexeclibdir
='$(toolexecdir)/lib'
3293 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3294 toolexeclibdir
='$(libdir)'
3296 multi_os_directory
=`$CC -print-multi-os-directory`
3297 case $multi_os_directory in
3298 .
) ;; # Avoid trailing /.
3299 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3306 # Check the compiler.
3307 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3308 # We must force CC to /not/ be precious variables; otherwise
3309 # the wrong, non-multilib-adjusted value will be used in multilibs.
3310 # As a side effect, we have to subst CFLAGS ourselves.
3315 ac_cpp
='$CPP $CPPFLAGS'
3316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3319 if test -n "$ac_tool_prefix"; then
3320 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3321 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if test "${ac_cv_prog_CC+set}" = set; then :
3325 $as_echo_n "(cached) " >&6
3327 if test -n "$CC"; then
3328 ac_cv_prog_CC
="$CC" # Let the user override the test.
3330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir
=.
3335 for ac_exec_ext
in '' $ac_executable_extensions; do
3336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3337 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test -n "$CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350 $as_echo "$CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3358 if test -z "$ac_cv_prog_CC"; then
3360 # Extract the first word of "gcc", so it can be a program name with args.
3361 set dummy gcc
; ac_word
=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$ac_ct_CC"; then
3368 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 ac_cv_prog_ac_ct_CC
="gcc"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3388 if test -n "$ac_ct_CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3390 $as_echo "$ac_ct_CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3396 if test "x$ac_ct_CC" = x
; then
3399 case $cross_compiling:$ac_tool_warned in
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3403 ac_tool_warned
=yes ;;
3411 if test -z "$CC"; then
3412 if test -n "$ac_tool_prefix"; then
3413 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3414 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if test "${ac_cv_prog_CC+set}" = set; then :
3418 $as_echo_n "(cached) " >&6
3420 if test -n "$CC"; then
3421 ac_cv_prog_CC
="$CC" # Let the user override the test.
3423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3427 test -z "$as_dir" && as_dir
=.
3428 for ac_exec_ext
in '' $ac_executable_extensions; do
3429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3430 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 if test -n "$CC"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3443 $as_echo "$CC" >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3452 if test -z "$CC"; then
3453 # Extract the first word of "cc", so it can be a program name with args.
3454 set dummy cc
; ac_word
=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if test "${ac_cv_prog_CC+set}" = set; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -n "$CC"; then
3461 ac_cv_prog_CC
="$CC" # Let the user override the test.
3464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir
=.
3469 for ac_exec_ext
in '' $ac_executable_extensions; do
3470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3472 ac_prog_rejected
=yes
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 if test $ac_prog_rejected = yes; then
3484 # We found a bogon in the path, so make sure we never use it.
3485 set dummy
$ac_cv_prog_CC
3487 if test $# != 0; then
3488 # We chose a different compiler from the bogus one.
3489 # However, it has the same basename, so the bogon will be chosen
3490 # first if we set CC to just the basename; use the full file name.
3492 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3498 if test -n "$CC"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3500 $as_echo "$CC" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3508 if test -z "$CC"; then
3509 if test -n "$ac_tool_prefix"; then
3510 for ac_prog
in cl.exe
3512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3513 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if test "${ac_cv_prog_CC+set}" = set; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$CC"; then
3520 ac_cv_prog_CC
="$CC" # Let the user override the test.
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_exec_ext
in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3549 test -n "$CC" && break
3552 if test -z "$CC"; then
3554 for ac_prog
in cl.exe
3556 # Extract the first word of "$ac_prog", so it can be a program name with args.
3557 set dummy
$ac_prog; ac_word
=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$ac_ct_CC"; then
3564 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir
=.
3571 for ac_exec_ext
in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_ac_ct_CC
="$ac_prog"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3584 if test -n "$ac_ct_CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3586 $as_echo "$ac_ct_CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3593 test -n "$ac_ct_CC" && break
3596 if test "x$ac_ct_CC" = x
; then
3599 case $cross_compiling:$ac_tool_warned in
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3603 ac_tool_warned
=yes ;;
3612 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error
"no acceptable C compiler found in \$PATH
3615 See \`config.log' for more details." "$LINENO" 5; }
3617 # Provide some information about the compiler.
3618 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3621 for ac_option
in --version -v -V -qversion; do
3622 { { ac_try
="$ac_compiler $ac_option >&5"
3624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628 $as_echo "$ac_try_echo"; } >&5
3629 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3631 if test -s conftest.err; then
3633 ... rest of stderr output deleted ...
3634 10q' conftest.err >conftest.er1
3635 cat conftest.er1 >&5
3636 rm -f conftest.er1 conftest.err
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 ac_clean_files_save=$ac_clean_files
3654 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3655 # Try to create an executable without -o first, disregard a.out.
3656 # It will help us diagnose broken compilers, and finding out an intuition
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3659 $as_echo_n "checking for C compiler default output file name... " >&6; }
3660 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3662 # The possible output files:
3663 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3666 for ac_file in $ac_files
3669 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3670 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3675 if { { ac_try="$ac_link_default"
3677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3678 *) ac_try_echo
=$ac_try;;
3680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681 $as_echo "$ac_try_echo"; } >&5
3682 (eval "$ac_link_default") 2>&5
3684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685 test $ac_status = 0; }; then :
3686 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3687 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3688 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3689 # so that the user can short-circuit this test for compilers unknown to
3691 for ac_file
in $ac_files ''
3693 test -f "$ac_file" ||
continue
3695 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3698 # We found the default executable, but exeext='' is most
3702 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3704 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3706 # We set ac_cv_exeext here because the later test for it is not
3707 # safe: cross compilers may not add the suffix if given an `-o'
3708 # argument, so we may need to know it at that point already.
3709 # Even if this section looks crufty: it has the advantage of
3716 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3722 $as_echo "$ac_file" >&6; }
3723 if test -z "$ac_file"; then :
3724 $as_echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.
$ac_ext >&5
3727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 { as_fn_set_status
77
3730 as_fn_error
"C compiler cannot create executables
3731 See \`config.log' for more details." "$LINENO" 5; }; }
3733 ac_exeext
=$ac_cv_exeext
3735 # Check that the compiler produces executables we can run. If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3738 $as_echo_n "checking whether the C compiler works... " >&6; }
3739 # If not cross compiling, check that we can run a simple program.
3740 if test "$cross_compiling" != yes; then
3741 if { ac_try
='./$ac_file'
3742 { { case "(($ac_try" in
3743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3747 $as_echo "$ac_try_echo"; } >&5
3748 (eval "$ac_try") 2>&5
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }; }; then
3754 if test "$cross_compiling" = maybe; then
3757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3759 as_fn_error "cannot run C compiled programs.
3760 If you meant to cross compile
, use \
`--host'.
3761 See \`config.log
' for more details." "$LINENO" 5; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3766 $as_echo "yes" >&6; }
3768 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3769 ac_clean_files=$ac_clean_files_save
3770 # Check that the compiler produces executables we can run. If not, either
3771 # the compiler is broken, or we cross compile.
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3773 $as_echo_n "checking whether we are cross compiling... " >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3775 $as_echo "$cross_compiling" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3778 $as_echo_n "checking for suffix of executables... " >&6; }
3779 if { { ac_try="$ac_link"
3781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3782 *) ac_try_echo=$ac_try;;
3784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3785 $as_echo "$ac_try_echo"; } >&5
3786 (eval "$ac_link") 2>&5
3788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3789 test $ac_status = 0; }; then :
3790 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3791 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3792 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3794 for ac_file
in conftest.exe conftest conftest.
*; do
3795 test -f "$ac_file" ||
continue
3797 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3798 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3807 See \`config.log' for more details." "$LINENO" 5; }
3809 rm -f conftest
$ac_cv_exeext
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3811 $as_echo "$ac_cv_exeext" >&6; }
3813 rm -f conftest.
$ac_ext
3814 EXEEXT
=$ac_cv_exeext
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3817 $as_echo_n "checking for suffix of object files... " >&6; }
3818 if test "${ac_cv_objext+set}" = set; then :
3819 $as_echo_n "(cached) " >&6
3821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 rm -f conftest.o conftest.obj
3833 if { { ac_try
="$ac_compile"
3835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840 (eval "$ac_compile") 2>&5
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }; then :
3844 for ac_file in conftest.o conftest.obj conftest.*; do
3845 test -f "$ac_file" || continue;
3847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3848 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "cannot compute suffix of object files
: cannot compile
3859 See \
`config.log' for more details." "$LINENO" 5; }
3861 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3864 $as_echo "$ac_cv_objext" >&6; }
3865 OBJEXT=$ac_cv_objext
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3868 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3869 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3870 $as_echo_n "(cached) " >&6
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3886 if ac_fn_c_try_compile "$LINENO"; then :
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3897 if test $ac_compiler_gnu = yes; then
3902 ac_test_CFLAGS=${CFLAGS+set}
3903 ac_save_CFLAGS=$CFLAGS
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3906 if test "${ac_cv_prog_cc_g+set}" = set; then :
3907 $as_echo_n "(cached) " >&6
3909 ac_save_c_werror_flag=$ac_c_werror_flag
3910 ac_c_werror_flag=yes
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"; then :
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 if ac_fn_c_try_compile "$LINENO"; then :
3942 ac_c_werror_flag=$ac_save_c_werror_flag
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 if ac_fn_c_try_compile "$LINENO"; then :
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 ac_c_werror_flag=$ac_save_c_werror_flag
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3966 $as_echo "$ac_cv_prog_cc_g" >&6; }
3967 if test "$ac_test_CFLAGS" = set; then
3968 CFLAGS=$ac_save_CFLAGS
3969 elif test $ac_cv_prog_cc_g = yes; then
3970 if test "$GCC" = yes; then
3976 if test "$GCC" = yes; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3983 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3984 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3985 $as_echo_n "(cached) " >&6
3987 ac_cv_prog_cc_c89=no
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3993 #include <sys/types.h>
3994 #include <sys/stat.h>
3995 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3996 struct buf { int x; };
3997 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3998 static char *e (p, i)
4004 static char *f (char * (*g) (char **, int), char **p, ...)
4009 s = g (p, va_arg (v,int));
4014 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4015 function prototypes and stuff, but not '\xHH' hex character constants.
4016 These don't provoke an error unfortunately, instead are silently treated
4017 as 'x'. The following induces an error, until -std is added to get
4018 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4019 array size at least. It's necessary to write '\x00'==0 to get something
4020 that's true only with -std. */
4021 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4023 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4024 inside strings and character constants. */
4026 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4028 int test (int i, double x);
4029 struct s1 {int (*f) (int a);};
4030 struct s2 {int (*f) (double a);};
4031 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4037 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4042 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4043 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4045 CC="$ac_save_CC $ac_arg"
4046 if ac_fn_c_try_compile "$LINENO"; then :
4047 ac_cv_prog_cc_c89=$ac_arg
4049 rm -f core conftest.err conftest.$ac_objext
4050 test "x$ac_cv_prog_cc_c89" != "xno" && break
4052 rm -f conftest.$ac_ext
4057 case "x$ac_cv_prog_cc_c89" in
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4060 $as_echo "none needed" >&6; } ;;
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4063 $as_echo "unsupported" >&6; } ;;
4065 CC="$CC $ac_cv_prog_cc_c89"
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4067 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4069 if test "x$ac_cv_prog_cc_c89" != xno; then :
4074 ac_cpp='$CPP $CPPFLAGS'
4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4078 DEPDIR="${am__leading_dot}deps"
4080 ac_config_commands="$ac_config_commands depfiles"
4083 am_make=${MAKE-make}
4084 cat > confinc << 'END'
4086 @echo this is the am__doit target
4089 # If we don't find an include directive, just comment out the code.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4091 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4095 # First try GNU make style include.
4096 echo "include confinc" > confmf
4097 # Ignore all kinds of additional output from `make'.
4098 case `$am_make -s -f confmf 2> /dev/null` in #(
4099 *the\ am__doit\ target*)
4105 # Now try BSD make style include.
4106 if test "$am__include" = "#"; then
4107 echo '.include
"confinc"' > confmf
4108 case `$am_make -s -f confmf 2> /dev/null` in #(
4109 *the\ am__doit\ target*)
4110 am__include=.include
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4119 $as_echo "$_am_result" >&6; }
4120 rm -f confinc confmf
4122 # Check whether --enable-dependency-tracking was given.
4123 if test "${enable_dependency_tracking+set}" = set; then :
4124 enableval=$enable_dependency_tracking;
4127 if test "x$enable_dependency_tracking" != xno; then
4128 am_depcomp="$ac_aux_dir/depcomp"
4131 if test "x$enable_dependency_tracking" != xno
; then
4141 depcc
="$CC" am_compiler_list
=
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4144 $as_echo_n "checking dependency style of $depcc... " >&6; }
4145 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4146 $as_echo_n "(cached) " >&6
4148 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4149 # We make a subdir and do the tests there. Otherwise we can end up
4150 # making bogus files that we don't know about and never remove. For
4151 # instance it was reported that on HP-UX the gcc test will end up
4152 # making a dummy file named `D' -- because `-MD' means `put the output
4155 # Copy depcomp to subdir because otherwise we won't find it if we're
4156 # using a relative directory.
4157 cp "$am_depcomp" conftest.dir
4159 # We will build objects and dependencies in a subdirectory because
4160 # it helps to detect inapplicable dependency modes. For instance
4161 # both Tru64's cc and ICC support -MD to output dependencies as a
4162 # side effect of compilation, but ICC will put the dependencies in
4163 # the current directory while Tru64 will put them in the object
4167 am_cv_CC_dependencies_compiler_type
=none
4168 if test "$am_compiler_list" = ""; then
4169 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4172 case " $depcc " in #(
4173 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4176 for depmode
in $am_compiler_list; do
4177 # Setup a source with many dependencies, because some compilers
4178 # like to wrap large dependency lists on column 80 (with \), and
4179 # we should not choose a depcomp mode which is confused by this.
4181 # We need to recreate these files for each test, as the compiler may
4182 # overwrite some of them when testing with obscure command lines.
4183 # This happens at least with the AIX C compiler.
4185 for i
in 1 2 3 4 5 6; do
4186 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4187 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4188 # Solaris 8's {/usr,}/bin/sh.
4189 touch sub
/conftst
$i.h
4191 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4193 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4194 # mode. It turns out that the SunPro C++ compiler does not properly
4195 # handle `-M -o', and we need to detect this. Also, some Intel
4196 # versions had trouble with output in subdirs
4197 am__obj
=sub
/conftest.
${OBJEXT-o}
4198 am__minus_obj
="-o $am__obj"
4201 # This depmode causes a compiler race in universal mode.
4202 test "$am__universal" = false ||
continue
4205 # after this tag, mechanisms are not by side-effect, so they'll
4206 # only be used when explicitly requested
4207 if test "x$enable_dependency_tracking" = xyes
; then
4213 msvisualcpp | msvcmsys
)
4214 # This compiler won't grok `-c -o', but also, the minuso test has
4215 # not run yet. These depmodes are late enough in the game, and
4216 # so weak that their functioning should not be impacted.
4217 am__obj
=conftest.
${OBJEXT-o}
4222 if depmode
=$depmode \
4223 source=sub
/conftest.c object
=$am__obj \
4224 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4225 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4226 >/dev
/null
2>conftest.err
&&
4227 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4228 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4229 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4230 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4231 # icc doesn't choke on unknown options, it will just issue warnings
4232 # or remarks (even with -Werror). So we grep stderr for any message
4233 # that says an option was ignored or not supported.
4234 # When given -MP, icc 7.0 and 7.1 complain thusly:
4235 # icc: Command line warning: ignoring option '-M'; no argument required
4236 # The diagnosis changed in icc 8.0:
4237 # icc: Command line remark: option '-MP' not supported
4238 if (grep 'ignoring option' conftest.err ||
4239 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4240 am_cv_CC_dependencies_compiler_type
=$depmode
4249 am_cv_CC_dependencies_compiler_type
=none
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4254 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4255 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4258 test "x$enable_dependency_tracking" != xno \
4259 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4261 am__fastdepCC_FALSE
='#'
4263 am__fastdepCC_TRUE
='#'
4264 am__fastdepCC_FALSE
=
4272 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4273 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4274 # in both places for now and restore CFLAGS at the end of config.
4275 save_CFLAGS
="$CFLAGS"
4277 # Add -Wall -Werror if we are using GCC.
4278 if test "x$GCC" = "xyes"; then
4279 XCFLAGS
="$XCFLAGS -Wall -Werror"
4282 # Find other programs we need.
4283 if test -n "$ac_tool_prefix"; then
4284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4285 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if test "${ac_cv_prog_AR+set}" = set; then :
4289 $as_echo_n "(cached) " >&6
4291 if test -n "$AR"; then
4292 ac_cv_prog_AR
="$AR" # Let the user override the test.
4294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir
=.
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test -n "$AR"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4314 $as_echo "$AR" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4322 if test -z "$ac_cv_prog_AR"; then
4324 # Extract the first word of "ar", so it can be a program name with args.
4325 set dummy
ar; ac_word
=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$ac_ct_AR"; then
4332 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4341 ac_cv_prog_ac_ct_AR
="ar"
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4352 if test -n "$ac_ct_AR"; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4354 $as_echo "$ac_ct_AR" >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4360 if test "x$ac_ct_AR" = x
; then
4363 case $cross_compiling:$ac_tool_warned in
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4367 ac_tool_warned
=yes ;;
4375 if test -n "$ac_tool_prefix"; then
4376 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4377 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4381 $as_echo_n "(cached) " >&6
4383 if test -n "$RANLIB"; then
4384 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4390 test -z "$as_dir" && as_dir
=.
4391 for ac_exec_ext
in '' $ac_executable_extensions; do
4392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4393 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 RANLIB
=$ac_cv_prog_RANLIB
4404 if test -n "$RANLIB"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4406 $as_echo "$RANLIB" >&6; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4414 if test -z "$ac_cv_prog_RANLIB"; then
4415 ac_ct_RANLIB
=$RANLIB
4416 # Extract the first word of "ranlib", so it can be a program name with args.
4417 set dummy ranlib
; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$ac_ct_RANLIB"; then
4424 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4433 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4444 if test -n "$ac_ct_RANLIB"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4446 $as_echo "$ac_ct_RANLIB" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4452 if test "x$ac_ct_RANLIB" = x
; then
4453 RANLIB
="ranlib-not-found-in-path-error"
4455 case $cross_compiling:$ac_tool_warned in
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4459 ac_tool_warned
=yes ;;
4461 RANLIB
=$ac_ct_RANLIB
4464 RANLIB
="$ac_cv_prog_RANLIB"
4467 # Extract the first word of "perl", so it can be a program name with args.
4468 set dummy perl
; ac_word
=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if test "${ac_cv_path_PERL+set}" = set; then :
4472 $as_echo_n "(cached) " >&6
4476 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir
=.
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
4498 PERL
=$ac_cv_path_PERL
4499 if test -n "$PERL"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4501 $as_echo "$PERL" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4509 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4511 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4512 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4513 $as_echo_n "(cached) " >&6
4515 cat >conftest.
make <<\_ACEOF
4518 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4520 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4521 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4523 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4525 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4529 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4531 $as_echo "yes" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4536 SET_MAKE
="MAKE=${MAKE-make}"
4541 # See if makeinfo has been installed and is modern enough
4542 # that we can use it.
4544 # Extract the first word of "makeinfo", so it can be a program name with args.
4545 set dummy makeinfo
; ac_word
=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$MAKEINFO"; then
4552 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir
=.
4559 for ac_exec_ext
in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_MAKEINFO
="makeinfo"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 MAKEINFO
=$ac_cv_prog_MAKEINFO
4572 if test -n "$MAKEINFO"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4574 $as_echo "$MAKEINFO" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 if test -n "$MAKEINFO"; then
4582 # Found it, now check the version.
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4584 $as_echo_n "checking for modern makeinfo... " >&6; }
4585 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4589 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4591 case $ac_prog_version in
4592 '') gcc_cv_prog_makeinfo_modern
=no
;;
4593 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4594 *) gcc_cv_prog_makeinfo_modern
=no
;;
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4599 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4601 gcc_cv_prog_makeinfo_modern
=no
4603 if test $gcc_cv_prog_makeinfo_modern = no
; then
4604 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4607 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4609 BUILD_INFO_FALSE
='#'
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4621 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4626 macro_version
='2.2.7a'
4627 macro_revision
='1.3134'
4641 ltmain
="$ac_aux_dir/ltmain.sh"
4643 # Backslashify metacharacters that are still active within
4644 # double-quoted strings.
4645 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4647 # Same as above, but do not quote variable references.
4648 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4650 # Sed substitution to delay expansion of an escaped shell variable in a
4651 # double_quote_subst'ed string.
4652 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4654 # Sed substitution to delay expansion of an escaped single quote.
4655 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4657 # Sed substitution to avoid accidental globbing in evaled expressions
4658 no_glob_subst
='s/\*/\\\*/g'
4660 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4661 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4662 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4665 $as_echo_n "checking how to print strings... " >&6; }
4666 # Test print first, because it will be a builtin if present.
4667 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4668 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4670 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4673 # Use this function as a fallback that always works.
4674 func_fallback_echo ()
4676 eval 'cat <<_LTECHO_EOF
4680 ECHO='func_fallback_echo
'
4683 # func_echo_all arg...
4684 # Invoke $ECHO with all args, space-separated.
4691 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4692 $as_echo "printf" >&6; } ;;
4693 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4694 $as_echo "print -r" >&6; } ;;
4695 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4696 $as_echo "cat" >&6; } ;;
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4713 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4714 if test "${ac_cv_path_SED+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4718 for ac_i in 1 2 3 4 5 6 7; do
4719 ac_script="$ac_script$as_nl$ac_script"
4721 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4722 { ac_script=; unset ac_script;}
4723 if test -z "$SED"; then
4724 ac_path_SED_found=false
4725 # Loop through the user's path and
test for each of PROGNAME-LIST
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_prog
in sed gsed
; do
4732 for ac_exec_ext
in '' $ac_executable_extensions; do
4733 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4734 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4735 # Check for GNU ac_path_SED and select it if it is found.
4736 # Check for GNU $ac_path_SED
4737 case `"$ac_path_SED" --version 2>&1` in
4739 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4742 $as_echo_n 0123456789 >"conftest.in"
4745 cat "conftest.in" "conftest.in" >"conftest.tmp"
4746 mv "conftest.tmp" "conftest.in"
4747 cp "conftest.in" "conftest.nl"
4748 $as_echo '' >> "conftest.nl"
4749 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4750 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4751 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4752 if test $ac_count -gt ${ac_path_SED_max-0}; then
4753 # Best one so far, save it but keep looking for a better one
4754 ac_cv_path_SED
="$ac_path_SED"
4755 ac_path_SED_max
=$ac_count
4757 # 10*(2^10) chars as input seems more than enough
4758 test $ac_count -gt 10 && break
4760 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4763 $ac_path_SED_found && break 3
4768 if test -z "$ac_cv_path_SED"; then
4769 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4777 $as_echo "$ac_cv_path_SED" >&6; }
4778 SED
="$ac_cv_path_SED"
4781 test -z "$SED" && SED
=sed
4782 Xsed
="$SED -e 1s/^X//"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4795 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4796 if test "${ac_cv_path_GREP+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -z "$GREP"; then
4800 ac_path_GREP_found
=false
4801 # Loop through the user's path and test for each of PROGNAME-LIST
4802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4803 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4806 test -z "$as_dir" && as_dir
=.
4807 for ac_prog
in grep ggrep
; do
4808 for ac_exec_ext
in '' $ac_executable_extensions; do
4809 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4810 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4811 # Check for GNU ac_path_GREP and select it if it is found.
4812 # Check for GNU $ac_path_GREP
4813 case `"$ac_path_GREP" --version 2>&1` in
4815 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4818 $as_echo_n 0123456789 >"conftest.in"
4821 cat "conftest.in" "conftest.in" >"conftest.tmp"
4822 mv "conftest.tmp" "conftest.in"
4823 cp "conftest.in" "conftest.nl"
4824 $as_echo 'GREP' >> "conftest.nl"
4825 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4826 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4827 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4828 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4829 # Best one so far, save it but keep looking for a better one
4830 ac_cv_path_GREP
="$ac_path_GREP"
4831 ac_path_GREP_max
=$ac_count
4833 # 10*(2^10) chars as input seems more than enough
4834 test $ac_count -gt 10 && break
4836 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4839 $ac_path_GREP_found && break 3
4844 if test -z "$ac_cv_path_GREP"; then
4845 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4848 ac_cv_path_GREP
=$GREP
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4853 $as_echo "$ac_cv_path_GREP" >&6; }
4854 GREP
="$ac_cv_path_GREP"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4858 $as_echo_n "checking for egrep... " >&6; }
4859 if test "${ac_cv_path_EGREP+set}" = set; then :
4860 $as_echo_n "(cached) " >&6
4862 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4863 then ac_cv_path_EGREP
="$GREP -E"
4865 if test -z "$EGREP"; then
4866 ac_path_EGREP_found
=false
4867 # Loop through the user's path and test for each of PROGNAME-LIST
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4869 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_prog
in egrep; do
4874 for ac_exec_ext
in '' $ac_executable_extensions; do
4875 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4876 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4877 # Check for GNU ac_path_EGREP and select it if it is found.
4878 # Check for GNU $ac_path_EGREP
4879 case `"$ac_path_EGREP" --version 2>&1` in
4881 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4884 $as_echo_n 0123456789 >"conftest.in"
4887 cat "conftest.in" "conftest.in" >"conftest.tmp"
4888 mv "conftest.tmp" "conftest.in"
4889 cp "conftest.in" "conftest.nl"
4890 $as_echo 'EGREP' >> "conftest.nl"
4891 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4892 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4893 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4894 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4895 # Best one so far, save it but keep looking for a better one
4896 ac_cv_path_EGREP
="$ac_path_EGREP"
4897 ac_path_EGREP_max
=$ac_count
4899 # 10*(2^10) chars as input seems more than enough
4900 test $ac_count -gt 10 && break
4902 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4905 $ac_path_EGREP_found && break 3
4910 if test -z "$ac_cv_path_EGREP"; then
4911 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4914 ac_cv_path_EGREP
=$EGREP
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4920 $as_echo "$ac_cv_path_EGREP" >&6; }
4921 EGREP
="$ac_cv_path_EGREP"
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4925 $as_echo_n "checking for fgrep... " >&6; }
4926 if test "${ac_cv_path_FGREP+set}" = set; then :
4927 $as_echo_n "(cached) " >&6
4929 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4930 then ac_cv_path_FGREP
="$GREP -F"
4932 if test -z "$FGREP"; then
4933 ac_path_FGREP_found
=false
4934 # Loop through the user's path and test for each of PROGNAME-LIST
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_prog
in fgrep
; do
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4943 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4944 # Check for GNU ac_path_FGREP and select it if it is found.
4945 # Check for GNU $ac_path_FGREP
4946 case `"$ac_path_FGREP" --version 2>&1` in
4948 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4951 $as_echo_n 0123456789 >"conftest.in"
4954 cat "conftest.in" "conftest.in" >"conftest.tmp"
4955 mv "conftest.tmp" "conftest.in"
4956 cp "conftest.in" "conftest.nl"
4957 $as_echo 'FGREP' >> "conftest.nl"
4958 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4959 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4960 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4961 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4962 # Best one so far, save it but keep looking for a better one
4963 ac_cv_path_FGREP
="$ac_path_FGREP"
4964 ac_path_FGREP_max
=$ac_count
4966 # 10*(2^10) chars as input seems more than enough
4967 test $ac_count -gt 10 && break
4969 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4972 $ac_path_FGREP_found && break 3
4977 if test -z "$ac_cv_path_FGREP"; then
4978 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4981 ac_cv_path_FGREP
=$FGREP
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4987 $as_echo "$ac_cv_path_FGREP" >&6; }
4988 FGREP
="$ac_cv_path_FGREP"
4991 test -z "$GREP" && GREP
=grep
5011 # Check whether --with-gnu-ld was given.
5012 if test "${with_gnu_ld+set}" = set; then :
5013 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5019 if test "$GCC" = yes; then
5020 # Check if gcc -print-prog-name=ld gives a path.
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5022 $as_echo_n "checking for ld used by $CC... " >&6; }
5025 # gcc leaves a trailing carriage return which upsets mingw
5026 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5028 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5031 # Accept absolute paths.
5033 re_direlt
='/[^/][^/]*/\.\./'
5034 # Canonicalize the pathname of ld
5035 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5036 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5037 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5039 test -z "$LD" && LD
="$ac_prog"
5042 # If it fails, then pretend we aren't using GCC.
5046 # If it is relative, then search for the first ld in PATH.
5050 elif test "$with_gnu_ld" = yes; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5052 $as_echo_n "checking for GNU ld... " >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5055 $as_echo_n "checking for non-GNU ld... " >&6; }
5057 if test "${lt_cv_path_LD+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -z "$LD"; then
5061 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5062 for ac_dir
in $PATH; do
5064 test -z "$ac_dir" && ac_dir
=.
5065 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5066 lt_cv_path_LD
="$ac_dir/$ac_prog"
5067 # Check to see if the program is GNU ld. I'd rather use --version,
5068 # but apparently some variants of GNU ld only accept -v.
5069 # Break only if it was the GNU/non-GNU ld that we prefer.
5070 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5071 *GNU
* |
*'with BFD'*)
5072 test "$with_gnu_ld" != no
&& break
5075 test "$with_gnu_ld" != yes && break
5082 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5087 if test -n "$LD"; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5089 $as_echo "$LD" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5094 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5096 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5097 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5098 $as_echo_n "(cached) " >&6
5100 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5101 case `$LD -v 2>&1 </dev/null` in
5102 *GNU
* |
*'with BFD'*)
5103 lt_cv_prog_gnu_ld
=yes
5106 lt_cv_prog_gnu_ld
=no
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5111 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5112 with_gnu_ld
=$lt_cv_prog_gnu_ld
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5123 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5124 if test "${lt_cv_path_NM+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$NM"; then
5128 # Let the user override the test.
5131 lt_nm_to_check
="${ac_tool_prefix}nm"
5132 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5133 lt_nm_to_check
="$lt_nm_to_check nm"
5135 for lt_tmp_nm
in $lt_nm_to_check; do
5136 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5137 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5139 test -z "$ac_dir" && ac_dir
=.
5140 tmp_nm
="$ac_dir/$lt_tmp_nm"
5141 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5142 # Check to see if the nm accepts a BSD-compat flag.
5143 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5144 # nm: unknown option "B" ignored
5145 # Tru64's nm complains that /dev/null is an invalid object file
5146 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5147 */dev
/null
* |
*'Invalid file or object type'*)
5148 lt_cv_path_NM
="$tmp_nm -B"
5152 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5154 lt_cv_path_NM
="$tmp_nm -p"
5158 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5159 continue # so that we can try to find one that supports BSD flags
5168 : ${lt_cv_path_NM=no}
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5172 $as_echo "$lt_cv_path_NM" >&6; }
5173 if test "$lt_cv_path_NM" != "no"; then
5176 # Didn't find any BSD compatible name lister, look for dumpbin.
5177 if test -n "$DUMPBIN"; then :
5178 # Let the user override the test.
5180 if test -n "$ac_tool_prefix"; then
5181 for ac_prog
in dumpbin
"link -dump"
5183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$DUMPBIN"; then
5191 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 DUMPBIN
=$ac_cv_prog_DUMPBIN
5211 if test -n "$DUMPBIN"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5213 $as_echo "$DUMPBIN" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 test -n "$DUMPBIN" && break
5223 if test -z "$DUMPBIN"; then
5224 ac_ct_DUMPBIN
=$DUMPBIN
5225 for ac_prog
in dumpbin
"link -dump"
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy
$ac_prog; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$ac_ct_DUMPBIN"; then
5235 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5255 if test -n "$ac_ct_DUMPBIN"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5257 $as_echo "$ac_ct_DUMPBIN" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$ac_ct_DUMPBIN" && break
5267 if test "x$ac_ct_DUMPBIN" = x
; then
5270 case $cross_compiling:$ac_tool_warned in
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5274 ac_tool_warned
=yes ;;
5276 DUMPBIN
=$ac_ct_DUMPBIN
5280 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5282 DUMPBIN
="$DUMPBIN -symbols"
5290 if test "$DUMPBIN" != ":"; then
5294 test -z "$NM" && NM
=nm
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5302 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5303 if test "${lt_cv_nm_interface+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5306 lt_cv_nm_interface
="BSD nm"
5307 echo "int some_variable = 0;" > conftest.
$ac_ext
5308 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5309 (eval "$ac_compile" 2>conftest.err
)
5310 cat conftest.err
>&5
5311 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5312 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5313 cat conftest.err
>&5
5314 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5315 cat conftest.out
>&5
5316 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5317 lt_cv_nm_interface
="MS dumpbin"
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5322 $as_echo "$lt_cv_nm_interface" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5325 $as_echo_n "checking whether ln -s works... " >&6; }
5327 if test "$LN_S" = "ln -s"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5329 $as_echo "yes" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5332 $as_echo "no, using $LN_S" >&6; }
5335 # find the maximum length of command line arguments
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5337 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5338 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5339 $as_echo_n "(cached) " >&6
5346 # On DJGPP, this test can blow up pretty badly due to problems in libc
5347 # (any single argument exceeding 2000 bytes causes a buffer overrun
5348 # during glob expansion). Even if it were fixed, the result of this
5349 # check would be larger than it should be.
5350 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5354 # Under GNU Hurd, this test is not required because there is
5355 # no limit to the length of command line arguments.
5356 # Libtool will interpret -1 as no limit whatsoever
5357 lt_cv_sys_max_cmd_len
=-1;
5360 cygwin
* | mingw
* | cegcc
*)
5361 # On Win9x/ME, this test blows up -- it succeeds, but takes
5362 # about 5 minutes as the teststring grows exponentially.
5363 # Worse, since 9x/ME are not pre-emptively multitasking,
5364 # you end up with a "frozen" computer, even though with patience
5365 # the test eventually succeeds (with a max line length of 256k).
5366 # Instead, let's just punt: use the minimum linelength reported by
5367 # all of the supported platforms: 8192 (on NT/2K/XP).
5368 lt_cv_sys_max_cmd_len
=8192;
5372 # On MiNT this can take a long time and run out of memory.
5373 lt_cv_sys_max_cmd_len
=8192;
5377 # On AmigaOS with pdksh, this test takes hours, literally.
5378 # So we just punt and use a minimum line length of 8192.
5379 lt_cv_sys_max_cmd_len
=8192;
5382 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5383 # This has been around since 386BSD, at least. Likely further.
5384 if test -x /sbin
/sysctl
; then
5385 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5386 elif test -x /usr
/sbin
/sysctl
; then
5387 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5389 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5391 # And add a safety zone
5392 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5393 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5397 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5398 lt_cv_sys_max_cmd_len
=196608
5402 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5403 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5404 # nice to cause kernel panics so lets avoid the loop below.
5405 # First set a reasonable default.
5406 lt_cv_sys_max_cmd_len
=16384
5408 if test -x /sbin
/sysconfig
; then
5409 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5410 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5415 lt_cv_sys_max_cmd_len
=102400
5417 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5418 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5419 if test -n "$kargmax"; then
5420 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5422 lt_cv_sys_max_cmd_len
=32768
5426 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5427 if test -n "$lt_cv_sys_max_cmd_len"; then
5428 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5429 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5431 # Make teststring a little bigger before we do anything with it.
5432 # a 1K string should be a reasonable start.
5433 for i
in 1 2 3 4 5 6 7 8 ; do
5434 teststring
=$teststring$teststring
5436 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5437 # If test is not a shell built-in, we'll probably end up computing a
5438 # maximum length that is only half of the actual maximum length, but
5440 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5441 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5442 test $i != 17 # 1/2 MB should be enough
5445 teststring
=$teststring$teststring
5447 # Only check the string length outside the loop.
5448 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5450 # Add a significant safety factor because C++ compilers can tack on
5451 # massive amounts of additional arguments before passing them to the
5452 # linker. It appears as though 1/2 is a usable value.
5453 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5460 if test -n $lt_cv_sys_max_cmd_len ; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5462 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5465 $as_echo "none" >&6; }
5467 max_cmd_len
=$lt_cv_sys_max_cmd_len
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5479 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5480 # Try some XSI features
5483 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5485 && eval 'test $(( 1 + 1 )) -eq 2 \
5486 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5489 $as_echo "$xsi_shell" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5493 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5495 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5497 && lt_shell_append=yes
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5499 $as_echo "$lt_shell_append" >&6; }
5502 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5512 # test EBCDIC or ASCII
5513 case `echo X|tr X '\101'` in
5514 A) # ASCII based system
5515 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5516 lt_SP2NL='tr \040 \012'
5517 lt_NL2SP='tr \015\012 \040\040'
5519 *) # EBCDIC based system
5520 lt_SP2NL='tr \100 \n'
5521 lt_NL2SP='tr \r\n \100\100'
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5534 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5535 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5536 $as_echo_n "(cached
) " >&6
5538 lt_cv_ld_reload_flag='-r'
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5541 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5542 reload_flag=$lt_cv_ld_reload_flag
5543 case $reload_flag in
5545 *) reload_flag=" $reload_flag" ;;
5547 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5550 if test "$GCC" = yes; then
5551 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5553 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5566 if test -n "$ac_tool_prefix"; then
5567 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5568 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5570 $as_echo_n "checking
for $ac_word...
" >&6; }
5571 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5572 $as_echo_n "(cached
) " >&6
5574 if test -n "$OBJDUMP"; then
5575 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5584 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5594 OBJDUMP=$ac_cv_prog_OBJDUMP
5595 if test -n "$OBJDUMP"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5597 $as_echo "$OBJDUMP" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5600 $as_echo "no
" >&6; }
5605 if test -z "$ac_cv_prog_OBJDUMP"; then
5606 ac_ct_OBJDUMP=$OBJDUMP
5607 # Extract the first word of "objdump
", so it can be a program name with args.
5608 set dummy objdump; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5610 $as_echo_n "checking
for $ac_word...
" >&6; }
5611 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5612 $as_echo_n "(cached
) " >&6
5614 if test -n "$ac_ct_OBJDUMP"; then
5615 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5634 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5635 if test -n "$ac_ct_OBJDUMP"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5637 $as_echo "$ac_ct_OBJDUMP" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5640 $as_echo "no
" >&6; }
5643 if test "x
$ac_ct_OBJDUMP" = x; then
5646 case $cross_compiling:$ac_tool_warned in
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5649 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5650 ac_tool_warned=yes ;;
5652 OBJDUMP=$ac_ct_OBJDUMP
5655 OBJDUMP="$ac_cv_prog_OBJDUMP"
5658 test -z "$OBJDUMP" && OBJDUMP=objdump
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5669 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5670 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5671 $as_echo_n "(cached
) " >&6
5673 lt_cv_file_magic_cmd='$MAGIC_CMD'
5674 lt_cv_file_magic_test_file=
5675 lt_cv_deplibs_check_method='unknown'
5676 # Need to set the preceding variable on all platforms that support
5677 # interlibrary dependencies.
5678 # 'none' -- dependencies not supported.
5679 # `unknown' -- same as none, but documents that we really don't know.
5680 # 'pass_all' -- all dependencies passed with no checks.
5681 # 'test_compile' -- check by making test program.
5682 # 'file_magic [[regex]]' -- check by looking for files in library path
5683 # which responds to the $file_magic_cmd with a given extended regex.
5684 # If you have `file' or equivalent on your system and you're not sure
5685 # whether `pass_all' will *always* work, you probably want this one.
5689 lt_cv_deplibs_check_method=pass_all
5693 lt_cv_deplibs_check_method=pass_all
5697 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5698 lt_cv_file_magic_cmd='/usr/bin/file -L'
5699 lt_cv_file_magic_test_file=/shlib/libc.so
5703 # func_win32_libid is a shell function defined in ltmain.sh
5704 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5705 lt_cv_file_magic_cmd='func_win32_libid'
5709 # Base MSYS/MinGW do not provide the 'file' command needed by
5710 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5711 # unless we find 'file', for example because we are cross-compiling.
5712 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5713 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5714 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5715 lt_cv_file_magic_cmd='func_win32_libid'
5717 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5718 lt_cv_file_magic_cmd='$OBJDUMP -f'
5723 # use the weaker test based on 'objdump'. See mingw*.
5724 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5725 lt_cv_file_magic_cmd='$OBJDUMP -f'
5728 darwin* | rhapsody*)
5729 lt_cv_deplibs_check_method=pass_all
5732 freebsd* | dragonfly*)
5733 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5736 # Not sure whether the presence of OpenBSD here was a mistake.
5737 # Let's accept both of them until this is cleared up.
5738 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5739 lt_cv_file_magic_cmd=/usr/bin/file
5740 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5744 lt_cv_deplibs_check_method=pass_all
5749 lt_cv_deplibs_check_method=pass_all
5753 lt_cv_deplibs_check_method=pass_all
5756 hpux10.20* | hpux11*)
5757 lt_cv_file_magic_cmd=/usr/bin/file
5760 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5761 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5764 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]'
5765 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5768 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5769 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5775 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5776 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5779 irix5* | irix6* | nonstopux*)
5781 *-32|*"-32 ") libmagic=32-bit;;
5782 *-n32|*"-n32 ") libmagic=N32;;
5783 *-64|*"-64 ") libmagic=64-bit;;
5784 *) libmagic=never-match;;
5786 lt_cv_deplibs_check_method=pass_all
5789 # This must be Linux ELF.
5790 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5791 lt_cv_deplibs_check_method=pass_all
5795 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5796 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5798 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5803 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5804 lt_cv_file_magic_cmd=/usr/bin/file
5805 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5809 lt_cv_deplibs_check_method=pass_all
5813 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5814 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5816 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5820 osf3* | osf4* | osf5*)
5821 lt_cv_deplibs_check_method=pass_all
5825 lt_cv_deplibs_check_method=pass_all
5829 lt_cv_deplibs_check_method=pass_all
5832 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5833 lt_cv_deplibs_check_method=pass_all
5837 case $host_vendor in
5839 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]'
5840 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5843 lt_cv_deplibs_check_method=pass_all
5846 lt_cv_file_magic_cmd='/bin/file'
5847 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5850 lt_cv_file_magic_cmd='/bin/file'
5851 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5852 lt_cv_file_magic_test_file=/lib/libc.so
5855 lt_cv_deplibs_check_method=pass_all
5858 lt_cv_deplibs_check_method=pass_all
5864 lt_cv_deplibs_check_method=pass_all
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5870 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5871 file_magic_cmd=$lt_cv_file_magic_cmd
5872 deplibs_check_method=$lt_cv_deplibs_check_method
5873 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5886 if test -n "$ac_tool_prefix"; then
5887 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5888 set dummy ${ac_tool_prefix}ar; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5890 $as_echo_n "checking
for $ac_word...
" >&6; }
5891 if test "${ac_cv_prog_AR+set}" = set; then :
5892 $as_echo_n "(cached
) " >&6
5894 if test -n "$AR"; then
5895 ac_cv_prog_AR="$AR" # Let the user override the test.
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5904 ac_cv_prog_AR="${ac_tool_prefix}ar"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5915 if test -n "$AR"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5917 $as_echo "$AR" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5920 $as_echo "no
" >&6; }
5925 if test -z "$ac_cv_prog_AR"; then
5927 # Extract the first word of "ar", so it can be a program name with args.
5928 set dummy ar; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5930 $as_echo_n "checking
for $ac_word...
" >&6; }
5931 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5932 $as_echo_n "(cached
) " >&6
5934 if test -n "$ac_ct_AR"; then
5935 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5944 ac_cv_prog_ac_ct_AR="ar"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5954 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5955 if test -n "$ac_ct_AR"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5957 $as_echo "$ac_ct_AR" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5960 $as_echo "no
" >&6; }
5963 if test "x
$ac_ct_AR" = x; then
5966 case $cross_compiling:$ac_tool_warned in
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5970 ac_tool_warned=yes ;;
5978 test -z "$AR" && AR=ar
5979 test -z "$AR_FLAGS" && AR_FLAGS=cru
5991 if test -n "$ac_tool_prefix"; then
5992 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5993 set dummy ${ac_tool_prefix}strip; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5995 $as_echo_n "checking
for $ac_word...
" >&6; }
5996 if test "${ac_cv_prog_STRIP+set}" = set; then :
5997 $as_echo_n "(cached
) " >&6
5999 if test -n "$STRIP"; then
6000 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6019 STRIP=$ac_cv_prog_STRIP
6020 if test -n "$STRIP"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6022 $as_echo "$STRIP" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6025 $as_echo "no
" >&6; }
6030 if test -z "$ac_cv_prog_STRIP"; then
6032 # Extract the first word of "strip
", so it can be a program name with args.
6033 set dummy strip; ac_word=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6035 $as_echo_n "checking
for $ac_word...
" >&6; }
6036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6037 $as_echo_n "(cached
) " >&6
6039 if test -n "$ac_ct_STRIP"; then
6040 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6049 ac_cv_prog_ac_ct_STRIP="strip
"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6059 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6060 if test -n "$ac_ct_STRIP"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6062 $as_echo "$ac_ct_STRIP" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6065 $as_echo "no
" >&6; }
6068 if test "x
$ac_ct_STRIP" = x; then
6071 case $cross_compiling:$ac_tool_warned in
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6074 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6075 ac_tool_warned=yes ;;
6080 STRIP="$ac_cv_prog_STRIP"
6083 test -z "$STRIP" && STRIP=:
6090 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6092 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6094 $as_echo_n "checking
for $ac_word...
" >&6; }
6095 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6096 $as_echo_n "(cached
) " >&6
6098 if test -n "$RANLIB"; then
6099 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6118 RANLIB=$ac_cv_prog_RANLIB
6119 if test -n "$RANLIB"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6121 $as_echo "$RANLIB" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6124 $as_echo "no
" >&6; }
6129 if test -z "$ac_cv_prog_RANLIB"; then
6130 ac_ct_RANLIB=$RANLIB
6131 # Extract the first word of "ranlib
", so it can be a program name with args.
6132 set dummy ranlib; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6134 $as_echo_n "checking
for $ac_word...
" >&6; }
6135 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6136 $as_echo_n "(cached
) " >&6
6138 if test -n "$ac_ct_RANLIB"; then
6139 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6158 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6159 if test -n "$ac_ct_RANLIB"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6161 $as_echo "$ac_ct_RANLIB" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6164 $as_echo "no
" >&6; }
6167 if test "x
$ac_ct_RANLIB" = x; then
6170 case $cross_compiling:$ac_tool_warned in
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6173 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6174 ac_tool_warned=yes ;;
6176 RANLIB=$ac_ct_RANLIB
6179 RANLIB="$ac_cv_prog_RANLIB"
6182 test -z "$RANLIB" && RANLIB=:
6189 # Determine commands to create old-style static archives.
6190 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6191 old_postinstall_cmds='chmod 644 $oldlib'
6192 old_postuninstall_cmds=
6194 if test -n "$RANLIB"; then
6197 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6200 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6203 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6208 lock_old_archive_extraction=yes ;;
6210 lock_old_archive_extraction=no ;;
6251 # If no C compiler was specified, use CC.
6254 # If no C compiler flags were specified, use CFLAGS.
6255 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6257 # Allow CC to be a program name with arguments.
6261 # Check for command to grab the raw symbol name followed by C symbol from nm.
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6263 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6264 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6265 $as_echo_n "(cached
) " >&6
6268 # These are sane defaults that work on at least a few old systems.
6269 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6271 # Character class describing NM global symbol codes.
6272 symcode='[BCDEGRST]'
6274 # Regexp to match symbols that can be accessed directly from C.
6275 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6277 # Define system-specific variables.
6282 cygwin* | mingw* | pw32* | cegcc*)
6283 symcode='[ABCDGISTW]'
6286 if test "$host_cpu" = ia64; then
6287 symcode='[ABCDEGRST]'
6291 symcode='[BCDEGRST]'
6294 symcode='[BCDEGQRST]'
6305 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6313 # If we're using GNU nm, then use its standard symbol codes.
6314 case `$NM -V 2>&1` in
6315 *GNU* | *'with BFD'*)
6316 symcode='[ABCDGIRSTW]' ;;
6319 # Transform an extracted symbol line into a proper C declaration.
6320 # Some systems (esp. on ia64) link data and code symbols differently,
6321 # so use this general approach.
6322 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6324 # Transform an extracted symbol line into symbol name and symbol address
6325 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6326 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'"
6328 # Handle CRLF in mingw tool chain
6332 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6336 # Try without a prefix underscore, then with it.
6337 for ac_symprfx in "" "_
"; do
6339 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6340 symxfrm="\\1 $ac_symprfx\\2 \\2"
6342 # Write the raw and C identifiers.
6343 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6344 # Fake it for dumpbin and say T for any non-static function
6345 # and D for any global variable.
6346 # Also find C++ and __fastcall symbols from MSVC++,
6347 # which start with @ or ?.
6348 lt_cv_sys_global_symbol_pipe="$AWK '"\
6349 " {last_section=section; section=\$ 3};"\
6350 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6351 " \$ 0!~/External *\|/{next};"\
6352 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6353 " {if(hide[section]) next};"\
6354 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6355 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6356 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6357 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6358 " ' prfx
=^
$ac_symprfx"
6360 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6363 # Check to see that the pipe works correctly.
6367 cat > conftest.$ac_ext <<_LT_EOF
6372 void nm_test_func(void);
6373 void nm_test_func(void){}
6377 int main(){nm_test_var='a';nm_test_func();return(0);}
6380 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6381 (eval $ac_compile) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6384 test $ac_status = 0; }; then
6385 # Now try to grab the symbols.
6387 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6388 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6390 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6391 test $ac_status = 0; } && test -s "$nlist"; then
6392 # Try sorting and uniquifying the output.
6393 if sort "$nlist" | uniq > "$nlist"T; then
6394 mv -f "$nlist"T "$nlist"
6399 # Make sure that we snagged all the symbols we need.
6400 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6401 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6402 cat <<_LT_EOF > conftest.$ac_ext
6408 # Now generate the symbol file.
6409 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6411 cat <<_LT_EOF >> conftest.$ac_ext
6413 /* The mapping between symbol names and symbols. */
6418 lt__PROGRAM__LTX_preloaded_symbols[] =
6420 { "@PROGRAM@
", (void *) 0 },
6422 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6423 cat <<\_LT_EOF >> conftest.$ac_ext
6427 /* This works around a problem in FreeBSD linker */
6428 #ifdef FREEBSD_WORKAROUND
6429 static const void *lt_preloaded_setup() {
6430 return lt__PROGRAM__LTX_preloaded_symbols;
6438 # Now try linking the two files.
6439 mv conftest.$ac_objext conftstm.$ac_objext
6440 lt_save_LIBS="$LIBS"
6441 lt_save_CFLAGS="$CFLAGS"
6442 LIBS="conftstm.
$ac_objext"
6443 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6444 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6445 (eval $ac_link) 2>&5
6447 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6448 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6451 LIBS="$lt_save_LIBS"
6452 CFLAGS="$lt_save_CFLAGS"
6454 echo "cannot
find nm_test_func
in $nlist" >&5
6457 echo "cannot
find nm_test_var
in $nlist" >&5
6460 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6463 echo "$progname: failed program was
:" >&5
6464 cat conftest.$ac_ext >&5
6466 rm -rf conftest* conftst*
6468 # Do not use the global_symbol_pipe unless it works.
6469 if test "$pipe_works" = yes; then
6472 lt_cv_sys_global_symbol_pipe=
6478 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6479 lt_cv_sys_global_symbol_to_cdecl=
6481 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6483 $as_echo "failed
" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6486 $as_echo "ok
" >&6; }
6511 # Check whether --enable-libtool-lock was given.
6512 if test "${enable_libtool_lock+set}" = set; then :
6513 enableval=$enable_libtool_lock;
6516 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6518 # Some flags need to be propagated to the compiler or linker for good
6522 # Find out which ABI we are using.
6523 echo 'int i;' > conftest.$ac_ext
6524 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6525 (eval $ac_compile) 2>&5
6527 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6528 test $ac_status = 0; }; then
6529 case `/usr/bin/file conftest.$ac_objext` in
6541 # Find out which ABI we are using.
6542 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6543 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6544 (eval $ac_compile) 2>&5
6546 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6547 test $ac_status = 0; }; then
6548 if test "$lt_cv_prog_gnu_ld" = yes; then
6549 case `/usr/bin/file conftest.$ac_objext` in
6551 LD="${LD-ld} -melf32bsmip"
6554 LD="${LD-ld} -melf32bmipn32"
6557 LD="${LD-ld} -melf64bmip"
6561 case `/usr/bin/file conftest.$ac_objext` in
6577 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6578 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6579 # Find out which ABI we are using.
6580 echo 'int i;' > conftest.$ac_ext
6581 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6582 (eval $ac_compile) 2>&5
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6585 test $ac_status = 0; }; then
6586 case `/usr/bin/file conftest.o` in
6589 x86_64-*kfreebsd*-gnu)
6590 LD="${LD-ld} -m elf_i386_fbsd
"
6593 LD="${LD-ld} -m elf_i386
"
6595 ppc64-*linux*|powerpc64-*linux*)
6596 LD="${LD-ld} -m elf32ppclinux
"
6599 LD="${LD-ld} -m elf_s390
"
6602 LD="${LD-ld} -m elf32_sparc
"
6608 x86_64-*kfreebsd*-gnu)
6609 LD="${LD-ld} -m elf_x86_64_fbsd
"
6612 LD="${LD-ld} -m elf_x86_64
"
6614 ppc*-*linux*|powerpc*-*linux*)
6615 LD="${LD-ld} -m elf64ppc
"
6617 s390*-*linux*|s390*-*tpf*)
6618 LD="${LD-ld} -m elf64_s390
"
6621 LD="${LD-ld} -m elf64_sparc
"
6631 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6632 SAVE_CFLAGS="$CFLAGS"
6633 CFLAGS="$CFLAGS -belf"
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6635 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6636 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6637 $as_echo_n "(cached
) " >&6
6640 ac_cpp='$CPP $CPPFLAGS'
6641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6656 if ac_fn_c_try_link "$LINENO"; then :
6657 lt_cv_cc_needs_belf=yes
6659 lt_cv_cc_needs_belf=no
6661 rm -f core conftest.err conftest.$ac_objext \
6662 conftest$ac_exeext conftest.$ac_ext
6664 ac_cpp='$CPP $CPPFLAGS'
6665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6671 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6672 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6673 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6674 CFLAGS="$SAVE_CFLAGS"
6678 # Find out which ABI we are using.
6679 echo 'int i;' > conftest.$ac_ext
6680 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6681 (eval $ac_compile) 2>&5
6683 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6684 test $ac_status = 0; }; then
6685 case `/usr/bin/file conftest.o` in
6687 case $lt_cv_prog_gnu_ld in
6688 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6690 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6702 need_locks="$enable_libtool_lock"
6706 rhapsody* | darwin*)
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6711 $as_echo_n "checking
for $ac_word...
" >&6; }
6712 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6713 $as_echo_n "(cached
) " >&6
6715 if test -n "$DSYMUTIL"; then
6716 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6735 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6736 if test -n "$DSYMUTIL"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6738 $as_echo "$DSYMUTIL" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6741 $as_echo "no
" >&6; }
6746 if test -z "$ac_cv_prog_DSYMUTIL"; then
6747 ac_ct_DSYMUTIL=$DSYMUTIL
6748 # Extract the first word of "dsymutil
", so it can be a program name with args.
6749 set dummy dsymutil; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6751 $as_echo_n "checking
for $ac_word...
" >&6; }
6752 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6753 $as_echo_n "(cached
) " >&6
6755 if test -n "$ac_ct_DSYMUTIL"; then
6756 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6765 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6776 if test -n "$ac_ct_DSYMUTIL"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6778 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6781 $as_echo "no
" >&6; }
6784 if test "x
$ac_ct_DSYMUTIL" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6790 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6791 ac_tool_warned=yes ;;
6793 DSYMUTIL=$ac_ct_DSYMUTIL
6796 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6799 if test -n "$ac_tool_prefix"; then
6800 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6803 $as_echo_n "checking
for $ac_word...
" >&6; }
6804 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6805 $as_echo_n "(cached
) " >&6
6807 if test -n "$NMEDIT"; then
6808 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 NMEDIT=$ac_cv_prog_NMEDIT
6828 if test -n "$NMEDIT"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6830 $as_echo "$NMEDIT" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6833 $as_echo "no
" >&6; }
6838 if test -z "$ac_cv_prog_NMEDIT"; then
6839 ac_ct_NMEDIT=$NMEDIT
6840 # Extract the first word of "nmedit
", so it can be a program name with args.
6841 set dummy nmedit; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6843 $as_echo_n "checking
for $ac_word...
" >&6; }
6844 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6845 $as_echo_n "(cached
) " >&6
6847 if test -n "$ac_ct_NMEDIT"; then
6848 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6867 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6868 if test -n "$ac_ct_NMEDIT"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6870 $as_echo "$ac_ct_NMEDIT" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6873 $as_echo "no
" >&6; }
6876 if test "x
$ac_ct_NMEDIT" = x; then
6879 case $cross_compiling:$ac_tool_warned in
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6882 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6883 ac_tool_warned=yes ;;
6885 NMEDIT=$ac_ct_NMEDIT
6888 NMEDIT="$ac_cv_prog_NMEDIT"
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if test "${ac_cv_prog_LIPO+set}" = set; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$LIPO"; then
6900 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 LIPO=$ac_cv_prog_LIPO
6920 if test -n "$LIPO"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6922 $as_echo "$LIPO" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6930 if test -z "$ac_cv_prog_LIPO"; then
6932 # Extract the first word of "lipo
", so it can be a program name with args.
6933 set dummy lipo; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6935 $as_echo_n "checking
for $ac_word...
" >&6; }
6936 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6937 $as_echo_n "(cached
) " >&6
6939 if test -n "$ac_ct_LIPO"; then
6940 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_prog_ac_ct_LIPO="lipo
"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6960 if test -n "$ac_ct_LIPO"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6962 $as_echo "$ac_ct_LIPO" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6965 $as_echo "no
" >&6; }
6968 if test "x
$ac_ct_LIPO" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6974 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6975 ac_tool_warned=yes ;;
6980 LIPO="$ac_cv_prog_LIPO"
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}otool; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6987 $as_echo_n "checking
for $ac_word...
" >&6; }
6988 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6989 $as_echo_n "(cached
) " >&6
6991 if test -n "$OTOOL"; then
6992 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7011 OTOOL=$ac_cv_prog_OTOOL
7012 if test -n "$OTOOL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7014 $as_echo "$OTOOL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7017 $as_echo "no
" >&6; }
7022 if test -z "$ac_cv_prog_OTOOL"; then
7024 # Extract the first word of "otool
", so it can be a program name with args.
7025 set dummy otool; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7027 $as_echo_n "checking
for $ac_word...
" >&6; }
7028 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7029 $as_echo_n "(cached
) " >&6
7031 if test -n "$ac_ct_OTOOL"; then
7032 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041 ac_cv_prog_ac_ct_OTOOL="otool
"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7052 if test -n "$ac_ct_OTOOL"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7054 $as_echo "$ac_ct_OTOOL" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7057 $as_echo "no
" >&6; }
7060 if test "x
$ac_ct_OTOOL" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7066 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7067 ac_tool_warned=yes ;;
7072 OTOOL="$ac_cv_prog_OTOOL"
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7079 $as_echo_n "checking
for $ac_word...
" >&6; }
7080 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7081 $as_echo_n "(cached
) " >&6
7083 if test -n "$OTOOL64"; then
7084 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7093 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7103 OTOOL64=$ac_cv_prog_OTOOL64
7104 if test -n "$OTOOL64"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7106 $as_echo "$OTOOL64" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7109 $as_echo "no
" >&6; }
7114 if test -z "$ac_cv_prog_OTOOL64"; then
7115 ac_ct_OTOOL64=$OTOOL64
7116 # Extract the first word of "otool64
", so it can be a program name with args.
7117 set dummy otool64; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7119 $as_echo_n "checking
for $ac_word...
" >&6; }
7120 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7121 $as_echo_n "(cached
) " >&6
7123 if test -n "$ac_ct_OTOOL64"; then
7124 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7144 if test -n "$ac_ct_OTOOL64"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7146 $as_echo "$ac_ct_OTOOL64" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7149 $as_echo "no
" >&6; }
7152 if test "x
$ac_ct_OTOOL64" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7158 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7159 ac_tool_warned=yes ;;
7161 OTOOL64=$ac_ct_OTOOL64
7164 OTOOL64="$ac_cv_prog_OTOOL64"
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7194 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7195 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7196 $as_echo_n "(cached
) " >&6
7198 lt_cv_apple_cc_single_mod=no
7199 if test -z "${LT_MULTI_MODULE}"; then
7200 # By default we will add the -single_module flag. You can override
7201 # by either setting the environment variable LT_MULTI_MODULE
7202 # non-empty at configure time, or by adding -multi_module to the
7204 rm -rf libconftest.dylib*
7205 echo "int foo
(void
){return 1;}" > conftest.c
7206 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7207 -dynamiclib -Wl,-single_module conftest.c
" >&5
7208 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7209 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7211 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7212 lt_cv_apple_cc_single_mod=yes
7214 cat conftest.err >&5
7216 rm -rf libconftest.dylib*
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7221 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7223 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7224 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7225 $as_echo_n "(cached
) " >&6
7227 lt_cv_ld_exported_symbols_list=no
7228 save_LDFLAGS=$LDFLAGS
7229 echo "_main
" > conftest.sym
7230 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7242 if ac_fn_c_try_link "$LINENO"; then :
7243 lt_cv_ld_exported_symbols_list=yes
7245 lt_cv_ld_exported_symbols_list=no
7247 rm -f core conftest.err conftest.$ac_objext \
7248 conftest$ac_exeext conftest.$ac_ext
7249 LDFLAGS="$save_LDFLAGS"
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7253 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7255 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7256 if test "${lt_cv_ld_force_load+set}" = set; then :
7257 $as_echo_n "(cached
) " >&6
7259 lt_cv_ld_force_load=no
7260 cat > conftest.c << _LT_EOF
7261 int forced_loaded() { return 2;}
7263 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7264 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7265 echo "$AR cru libconftest.a conftest.o
" >&5
7266 $AR cru libconftest.a conftest.o 2>&5
7267 cat > conftest.c << _LT_EOF
7268 int main() { return 0;}
7270 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7271 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7273 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7274 lt_cv_ld_force_load=yes
7276 cat conftest.err >&5
7278 rm -f conftest.err libconftest.a conftest conftest.c
7279 rm -rf conftest.dSYM
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7283 $as_echo "$lt_cv_ld_force_load" >&6; }
7285 rhapsody* | darwin1.[012])
7286 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7288 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7289 darwin*) # darwin 5.x on
7290 # if running on 10.5 or later, the deployment target defaults
7291 # to the OS version, if on x86, and 10.4, the deployment
7292 # target defaults to 10.4. Don't you love it?
7293 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7294 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7295 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7297 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7299 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7303 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7304 _lt_dar_single_mod='$single_module'
7306 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7307 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7309 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7311 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7312 _lt_dsymutil='~$DSYMUTIL $lib || :'
7320 ac_cpp='$CPP $CPPFLAGS'
7321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7325 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7326 # On Suns, sometimes $CPP names a directory.
7327 if test -n "$CPP" && test -d "$CPP"; then
7330 if test -z "$CPP"; then
7331 if test "${ac_cv_prog_CPP+set}" = set; then :
7332 $as_echo_n "(cached
) " >&6
7334 # Double quotes because CPP needs to be expanded
7335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7338 for ac_c_preproc_warn_flag in '' yes
7340 # Use a header file that comes with gcc, so configuring glibc
7341 # with a fresh cross-compiler works.
7342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7343 # <limits.h> exists even on freestanding compilers.
7344 # On the NeXT, cc -E runs the code through the compiler's parser,
7345 # not just through cpp. "Syntax error
" is here to catch this case.
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7349 # include <limits.h>
7351 # include <assert.h>
7355 if ac_fn_c_try_cpp "$LINENO"; then :
7358 # Broken: fails on valid input.
7361 rm -f conftest.err conftest.$ac_ext
7363 # OK, works on sane cases. Now check whether nonexistent headers
7364 # can be detected and how.
7365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7367 #include <ac_nonexistent.h>
7369 if ac_fn_c_try_cpp "$LINENO"; then :
7370 # Broken: success on invalid input.
7373 # Passes both tests.
7377 rm -f conftest.err conftest.$ac_ext
7380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7381 rm -f conftest.err conftest.$ac_ext
7382 if $ac_preproc_ok; then :
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7395 $as_echo "$CPP" >&6; }
7397 for ac_c_preproc_warn_flag in '' yes
7399 # Use a header file that comes with gcc, so configuring glibc
7400 # with a fresh cross-compiler works.
7401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7402 # <limits.h> exists even on freestanding compilers.
7403 # On the NeXT, cc -E runs the code through the compiler's parser,
7404 # not just through cpp. "Syntax error
" is here to catch this case.
7405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7408 # include <limits.h>
7410 # include <assert.h>
7414 if ac_fn_c_try_cpp "$LINENO"; then :
7417 # Broken: fails on valid input.
7420 rm -f conftest.err conftest.$ac_ext
7422 # OK, works on sane cases. Now check whether nonexistent headers
7423 # can be detected and how.
7424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425 /* end confdefs.h. */
7426 #include <ac_nonexistent.h>
7428 if ac_fn_c_try_cpp "$LINENO"; then :
7429 # Broken: success on invalid input.
7432 # Passes both tests.
7436 rm -f conftest.err conftest.$ac_ext
7439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7440 rm -f conftest.err conftest.$ac_ext
7441 if $ac_preproc_ok; then :
7444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7446 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7447 See \`config.log' for more details.
" "$LINENO" 5; }
7451 ac_cpp='$CPP $CPPFLAGS'
7452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7458 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7459 if test "${ac_cv_header_stdc+set}" = set; then :
7460 $as_echo_n "(cached
) " >&6
7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7477 if ac_fn_c_try_compile "$LINENO"; then :
7478 ac_cv_header_stdc=yes
7480 ac_cv_header_stdc=no
7482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7484 if test $ac_cv_header_stdc = yes; then
7485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7491 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7492 $EGREP "memchr
" >/dev/null 2>&1; then :
7495 ac_cv_header_stdc=no
7501 if test $ac_cv_header_stdc = yes; then
7502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7508 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7509 $EGREP "free
" >/dev/null 2>&1; then :
7512 ac_cv_header_stdc=no
7518 if test $ac_cv_header_stdc = yes; then
7519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7520 if test "$cross_compiling" = yes; then :
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7527 #if ((' ' & 0x0FF) == 0x020)
7528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7531 # define ISLOWER(c) \
7532 (('a' <= (c) && (c) <= 'i') \
7533 || ('j' <= (c) && (c) <= 'r') \
7534 || ('s' <= (c) && (c) <= 'z'))
7535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7543 for (i = 0; i < 256; i++)
7544 if (XOR (islower (i), ISLOWER (i))
7545 || toupper (i) != TOUPPER (i))
7550 if ac_fn_c_try_run "$LINENO"; then :
7553 ac_cv_header_stdc=no
7555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7556 conftest.$ac_objext conftest.beam conftest.$ac_ext
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7562 $as_echo "$ac_cv_header_stdc" >&6; }
7563 if test $ac_cv_header_stdc = yes; then
7565 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7569 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7570 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7571 inttypes.h stdint.h unistd.h
7573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7574 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7576 eval as_val
=\$
$as_ac_Header
7577 if test "x$as_val" = x
""yes; then :
7578 cat >>confdefs.h
<<_ACEOF
7579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7587 for ac_header
in dlfcn.h
7589 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7591 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7592 cat >>confdefs.h
<<_ACEOF
7593 #define HAVE_DLFCN_H 1
7614 # Check whether --enable-shared was given.
7615 if test "${enable_shared+set}" = set; then :
7616 enableval
=$enable_shared; p
=${PACKAGE-default}
7618 yes) enable_shared
=yes ;;
7619 no
) enable_shared
=no
;;
7622 # Look at the argument we got. We use all the common list separators.
7623 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7624 for pkg
in $enableval; do
7626 if test "X$pkg" = "X$p"; then
7645 # Check whether --enable-static was given.
7646 if test "${enable_static+set}" = set; then :
7647 enableval
=$enable_static; p
=${PACKAGE-default}
7649 yes) enable_static
=yes ;;
7650 no
) enable_static
=no
;;
7653 # Look at the argument we got. We use all the common list separators.
7654 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7655 for pkg
in $enableval; do
7657 if test "X$pkg" = "X$p"; then
7677 # Check whether --with-pic was given.
7678 if test "${with_pic+set}" = set; then :
7679 withval
=$with_pic; pic_mode
="$withval"
7685 test -z "$pic_mode" && pic_mode
=default
7693 # Check whether --enable-fast-install was given.
7694 if test "${enable_fast_install+set}" = set; then :
7695 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7697 yes) enable_fast_install
=yes ;;
7698 no
) enable_fast_install
=no
;;
7700 enable_fast_install
=no
7701 # Look at the argument we got. We use all the common list separators.
7702 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7703 for pkg
in $enableval; do
7705 if test "X$pkg" = "X$p"; then
7706 enable_fast_install
=yes
7713 enable_fast_install
=yes
7726 # This can be used to rebuild libtool when needed
7727 LIBTOOL_DEPS
="$ltmain"
7729 # Always use our own libtool.
7730 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7757 test -z "$LN_S" && LN_S
="ln -s"
7772 if test -n "${ZSH_VERSION+set}" ; then
7773 setopt NO_GLOB_SUBST
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7777 $as_echo_n "checking for objdir... " >&6; }
7778 if test "${lt_cv_objdir+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7781 rm -f .libs
2>/dev
/null
7782 mkdir .libs
2>/dev
/null
7783 if test -d .libs
; then
7786 # MS-DOS does not allow filenames that begin with a dot.
7789 rmdir .libs
2>/dev
/null
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7792 $as_echo "$lt_cv_objdir" >&6; }
7793 objdir
=$lt_cv_objdir
7799 cat >>confdefs.h
<<_ACEOF
7800 #define LT_OBJDIR "$lt_cv_objdir/"
7808 # AIX sometimes has problems with the GCC collect2 program. For some
7809 # reason, if we set the COLLECT_NAMES environment variable, the problems
7810 # vanish in a puff of smoke.
7811 if test "X${COLLECT_NAMES+set}" != Xset
; then
7813 export COLLECT_NAMES
7820 can_build_shared
=yes
7822 # All known linkers require a `.a' archive for static linking (except MSVC,
7823 # which needs '.lib').
7826 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7829 old_CFLAGS
="$CFLAGS"
7831 # Set sane defaults for various variables
7832 test -z "$CC" && CC
=cc
7833 test -z "$LTCC" && LTCC
=$CC
7834 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7835 test -z "$LD" && LD
=ld
7836 test -z "$ac_objext" && ac_objext
=o
7838 for cc_temp
in $compiler""; do
7840 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7841 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7846 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7849 # Only perform the check for file, if the check method requires it
7850 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7851 case $deplibs_check_method in
7853 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7855 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7856 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7861 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7864 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7865 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7866 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7867 for ac_dir
in $ac_dummy; do
7869 test -z "$ac_dir" && ac_dir
=.
7870 if test -f $ac_dir/${ac_tool_prefix}file; then
7871 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7872 if test -n "$file_magic_test_file"; then
7873 case $deplibs_check_method in
7875 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7876 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7877 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7878 $EGREP "$file_magic_regex" > /dev
/null
; then
7883 *** Warning: the command libtool uses to detect shared libraries,
7884 *** $file_magic_cmd, produces output that libtool cannot recognize.
7885 *** The result is that libtool may fail to recognize shared libraries
7886 *** as such. This will affect the creation of libtool libraries that
7887 *** depend on shared libraries, but programs linked with such libtool
7888 *** libraries will work regardless of this problem. Nevertheless, you
7889 *** may want to report the problem to your system manager and/or to
7890 *** bug-libtool@gnu.org
7900 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7905 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7906 if test -n "$MAGIC_CMD"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7908 $as_echo "$MAGIC_CMD" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7918 if test -z "$lt_cv_path_MAGIC_CMD"; then
7919 if test -n "$ac_tool_prefix"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7921 $as_echo_n "checking for file... " >&6; }
7922 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7923 $as_echo_n "(cached) " >&6
7927 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7930 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7931 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7932 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7933 for ac_dir
in $ac_dummy; do
7935 test -z "$ac_dir" && ac_dir
=.
7936 if test -f $ac_dir/file; then
7937 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7938 if test -n "$file_magic_test_file"; then
7939 case $deplibs_check_method in
7941 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7943 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7944 $EGREP "$file_magic_regex" > /dev
/null
; then
7949 *** Warning: the command libtool uses to detect shared libraries,
7950 *** $file_magic_cmd, produces output that libtool cannot recognize.
7951 *** The result is that libtool may fail to recognize shared libraries
7952 *** as such. This will affect the creation of libtool libraries that
7953 *** depend on shared libraries, but programs linked with such libtool
7954 *** libraries will work regardless of this problem. Nevertheless, you
7955 *** may want to report the problem to your system manager and/or to
7956 *** bug-libtool@gnu.org
7966 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7971 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7972 if test -n "$MAGIC_CMD"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7974 $as_echo "$MAGIC_CMD" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7990 # Use C for the default configuration in the libtool script
7994 ac_cpp
='$CPP $CPPFLAGS'
7995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8000 # Source file extension for C test sources.
8003 # Object file extension for compiled C test sources.
8007 # Code to be used in simple compile tests
8008 lt_simple_compile_test_code
="int some_variable = 0;"
8010 # Code to be used in simple link tests
8011 lt_simple_link_test_code
='int main(){return(0);}'
8019 # If no C compiler was specified, use CC.
8022 # If no C compiler flags were specified, use CFLAGS.
8023 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8025 # Allow CC to be a program name with arguments.
8028 # Save the default compiler, since it gets overwritten when the other
8029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8030 compiler_DEFAULT
=$CC
8032 # save warnings/boilerplate of simple test code
8033 ac_outfile
=conftest.
$ac_objext
8034 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8035 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8036 _lt_compiler_boilerplate
=`cat conftest.err`
8039 ac_outfile
=conftest.
$ac_objext
8040 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8041 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8042 _lt_linker_boilerplate
=`cat conftest.err`
8047 ## There is no encapsulation within the following macros, do not change
8048 ## the running order or otherwise move them around unless you know exactly
8049 ## what you are doing...
8050 if test -n "$compiler"; then
8052 lt_prog_compiler_no_builtin_flag
=
8054 if test "$GCC" = yes; then
8055 case $cc_basename in
8057 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8059 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8063 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8064 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8065 $as_echo_n "(cached) " >&6
8067 lt_cv_prog_compiler_rtti_exceptions
=no
8068 ac_outfile
=conftest.
$ac_objext
8069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8070 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8071 # Insert the option either (1) after the last *FLAGS variable, or
8072 # (2) before a word containing "conftest.", or (3) at the end.
8073 # Note that $ac_compile itself does not contain backslashes and begins
8074 # with a dollar sign (not a hyphen), so the echo should work correctly.
8075 # The option is referenced via a variable to avoid confusing sed.
8076 lt_compile
=`echo "$ac_compile" | $SED \
8077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8079 -e 's:$: $lt_compiler_flag:'`
8080 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8081 (eval "$lt_compile" 2>conftest.err
)
8083 cat conftest.err
>&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 if (exit $ac_status) && test -s "$ac_outfile"; then
8086 # The compiler can only warn and ignore the option if not recognized
8087 # So say no if there are warnings other than the usual output.
8088 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8089 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8090 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8091 lt_cv_prog_compiler_rtti_exceptions
=yes
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8100 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8101 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8113 lt_prog_compiler_wl
=
8114 lt_prog_compiler_pic
=
8115 lt_prog_compiler_static
=
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8118 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8120 if test "$GCC" = yes; then
8121 lt_prog_compiler_wl
='-Wl,'
8122 lt_prog_compiler_static
='-static'
8126 # All AIX code is PIC.
8127 if test "$host_cpu" = ia64
; then
8128 # AIX 5 now supports IA64 processor
8129 lt_prog_compiler_static
='-Bstatic'
8136 # see comment about AmigaOS4 .so support
8137 lt_prog_compiler_pic
='-fPIC'
8140 # FIXME: we need at least 68020 code to build shared libraries, but
8141 # adding the `-m68020' flag to GCC prevents building anything better,
8143 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8148 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8149 # PIC is the default for these OSes.
8152 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8153 # This hack is so that the source file can tell whether it is being
8154 # built for inclusion in a dll (and should export symbols for example).
8155 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8156 # (--disable-auto-import) libraries
8157 lt_prog_compiler_pic
='-DDLL_EXPORT'
8160 darwin
* | rhapsody
*)
8161 # PIC is the default on this platform
8162 # Common symbols not allowed in MH_DYLIB files
8163 lt_prog_compiler_pic
='-fno-common'
8167 # PIC is the default for Haiku.
8168 # The "-static" flag exists, but is broken.
8169 lt_prog_compiler_static
=
8173 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8174 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8175 # sets the default TLS model and affects inlining.
8181 lt_prog_compiler_pic
='-fPIC'
8187 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8188 # Instead, we relocate shared libraries at runtime.
8192 # Just because we use GCC doesn't mean we suddenly get shared libraries
8193 # on systems that don't support them.
8194 lt_prog_compiler_can_build_shared
=no
8199 # QNX uses GNU C++, but need to define -shared option too, otherwise
8201 lt_prog_compiler_pic
='-fPIC -shared'
8205 if test -d /usr
/nec
; then
8206 lt_prog_compiler_pic
=-Kconform_pic
8211 lt_prog_compiler_pic
='-fPIC'
8215 case $cc_basename in
8216 nvcc
*) # Cuda Compiler Driver 2.2
8217 lt_prog_compiler_wl
='-Xlinker '
8218 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8222 # PORTME Check for flag to pass linker flags through the system compiler.
8225 lt_prog_compiler_wl
='-Wl,'
8226 if test "$host_cpu" = ia64
; then
8227 # AIX 5 now supports IA64 processor
8228 lt_prog_compiler_static
='-Bstatic'
8230 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8234 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8235 # This hack is so that the source file can tell whether it is being
8236 # built for inclusion in a dll (and should export symbols for example).
8237 lt_prog_compiler_pic
='-DDLL_EXPORT'
8240 hpux9
* | hpux10
* | hpux11
*)
8241 lt_prog_compiler_wl
='-Wl,'
8242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8249 lt_prog_compiler_pic
='+Z'
8252 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8253 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8256 irix5
* | irix6
* | nonstopux
*)
8257 lt_prog_compiler_wl
='-Wl,'
8258 # PIC (with -KPIC) is the default.
8259 lt_prog_compiler_static
='-non_shared'
8262 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8263 case $cc_basename in
8264 # old Intel for x86_64 which still supported -KPIC.
8266 lt_prog_compiler_wl
='-Wl,'
8267 lt_prog_compiler_pic
='-KPIC'
8268 lt_prog_compiler_static
='-static'
8270 # icc used to be incompatible with GCC.
8271 # ICC 10 doesn't accept -KPIC any more.
8273 lt_prog_compiler_wl
='-Wl,'
8274 lt_prog_compiler_pic
='-fPIC'
8275 lt_prog_compiler_static
='-static'
8277 # Lahey Fortran 8.1.
8279 lt_prog_compiler_wl
='-Wl,'
8280 lt_prog_compiler_pic
='--shared'
8281 lt_prog_compiler_static
='--static'
8283 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8284 # Portland Group compilers (*not* the Pentium gcc compiler,
8285 # which looks to be a dead project)
8286 lt_prog_compiler_wl
='-Wl,'
8287 lt_prog_compiler_pic
='-fpic'
8288 lt_prog_compiler_static
='-Bstatic'
8291 lt_prog_compiler_wl
='-Wl,'
8292 # All Alpha code is PIC.
8293 lt_prog_compiler_static
='-non_shared'
8295 xl
* | bgxl
* | bgf
* | mpixl
*)
8296 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8297 lt_prog_compiler_wl
='-Wl,'
8298 lt_prog_compiler_pic
='-qpic'
8299 lt_prog_compiler_static
='-qstaticlink'
8302 case `$CC -V 2>&1 | sed 5q` in
8303 *Sun\ F
* |
*Sun
*Fortran
*)
8304 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8305 lt_prog_compiler_pic
='-KPIC'
8306 lt_prog_compiler_static
='-Bstatic'
8307 lt_prog_compiler_wl
=''
8311 lt_prog_compiler_pic
='-KPIC'
8312 lt_prog_compiler_static
='-Bstatic'
8313 lt_prog_compiler_wl
='-Wl,'
8321 lt_prog_compiler_pic
='-KPIC'
8322 lt_prog_compiler_static
='-Bstatic'
8326 # QNX uses GNU C++, but need to define -shared option too, otherwise
8328 lt_prog_compiler_pic
='-fPIC -shared'
8331 osf3
* | osf4
* | osf5
*)
8332 lt_prog_compiler_wl
='-Wl,'
8333 # All OSF/1 code is PIC.
8334 lt_prog_compiler_static
='-non_shared'
8338 lt_prog_compiler_static
='-non_shared'
8342 lt_prog_compiler_pic
='-KPIC'
8343 lt_prog_compiler_static
='-Bstatic'
8344 case $cc_basename in
8346 lt_prog_compiler_wl
='-Qoption ld ';;
8348 lt_prog_compiler_wl
='-Wl,';;
8353 lt_prog_compiler_wl
='-Qoption ld '
8354 lt_prog_compiler_pic
='-PIC'
8355 lt_prog_compiler_static
='-Bstatic'
8358 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8359 lt_prog_compiler_wl
='-Wl,'
8360 lt_prog_compiler_pic
='-KPIC'
8361 lt_prog_compiler_static
='-Bstatic'
8365 if test -d /usr
/nec
;then
8366 lt_prog_compiler_pic
='-Kconform_pic'
8367 lt_prog_compiler_static
='-Bstatic'
8371 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8372 lt_prog_compiler_wl
='-Wl,'
8373 lt_prog_compiler_pic
='-KPIC'
8374 lt_prog_compiler_static
='-Bstatic'
8378 lt_prog_compiler_wl
='-Wl,'
8379 lt_prog_compiler_can_build_shared
=no
8383 lt_prog_compiler_pic
='-pic'
8384 lt_prog_compiler_static
='-Bstatic'
8388 lt_prog_compiler_can_build_shared
=no
8394 # For platforms which do not support PIC, -DPIC is meaningless:
8396 lt_prog_compiler_pic
=
8399 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8403 $as_echo "$lt_prog_compiler_pic" >&6; }
8411 # Check to make sure the PIC flag actually works.
8413 if test -n "$lt_prog_compiler_pic"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8415 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8416 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8419 lt_cv_prog_compiler_pic_works
=no
8420 ac_outfile
=conftest.
$ac_objext
8421 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8422 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8423 # Insert the option either (1) after the last *FLAGS variable, or
8424 # (2) before a word containing "conftest.", or (3) at the end.
8425 # Note that $ac_compile itself does not contain backslashes and begins
8426 # with a dollar sign (not a hyphen), so the echo should work correctly.
8427 # The option is referenced via a variable to avoid confusing sed.
8428 lt_compile
=`echo "$ac_compile" | $SED \
8429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8431 -e 's:$: $lt_compiler_flag:'`
8432 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8433 (eval "$lt_compile" 2>conftest.err
)
8435 cat conftest.err
>&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 if (exit $ac_status) && test -s "$ac_outfile"; then
8438 # The compiler can only warn and ignore the option if not recognized
8439 # So say no if there are warnings other than the usual output.
8440 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8441 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8442 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8443 lt_cv_prog_compiler_pic_works
=yes
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8450 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8452 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8453 case $lt_prog_compiler_pic in
8455 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8458 lt_prog_compiler_pic
=
8459 lt_prog_compiler_can_build_shared
=no
8470 # Check to make sure the static flag actually works.
8472 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8475 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8478 lt_cv_prog_compiler_static_works
=no
8479 save_LDFLAGS
="$LDFLAGS"
8480 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8481 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8482 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8483 # The linker can only warn and ignore the option if not recognized
8484 # So say no if there are warnings
8485 if test -s conftest.err
; then
8486 # Append any errors to the config.log.
8487 cat conftest.err
1>&5
8488 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8489 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8490 if diff conftest.exp conftest.er2
>/dev
/null
; then
8491 lt_cv_prog_compiler_static_works
=yes
8494 lt_cv_prog_compiler_static_works
=yes
8498 LDFLAGS
="$save_LDFLAGS"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8502 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8504 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8507 lt_prog_compiler_static
=
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8518 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8519 $as_echo_n "(cached) " >&6
8521 lt_cv_prog_compiler_c_o
=no
8522 $RM -r conftest
2>/dev
/null
8526 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8528 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8529 # Insert the option either (1) after the last *FLAGS variable, or
8530 # (2) before a word containing "conftest.", or (3) at the end.
8531 # Note that $ac_compile itself does not contain backslashes and begins
8532 # with a dollar sign (not a hyphen), so the echo should work correctly.
8533 lt_compile
=`echo "$ac_compile" | $SED \
8534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8536 -e 's:$: $lt_compiler_flag:'`
8537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8538 (eval "$lt_compile" 2>out
/conftest.err
)
8540 cat out
/conftest.err
>&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8544 # The compiler can only warn and ignore the option if not recognized
8545 # So say no if there are warnings
8546 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8547 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8548 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8549 lt_cv_prog_compiler_c_o
=yes
8554 # SGI C++ compiler will create directory out/ii_files/ for
8555 # template instantiation
8556 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8557 $RM out
/* && rmdir out
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8564 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8573 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8574 $as_echo_n "(cached) " >&6
8576 lt_cv_prog_compiler_c_o
=no
8577 $RM -r conftest
2>/dev
/null
8581 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8583 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8584 # Insert the option either (1) after the last *FLAGS variable, or
8585 # (2) before a word containing "conftest.", or (3) at the end.
8586 # Note that $ac_compile itself does not contain backslashes and begins
8587 # with a dollar sign (not a hyphen), so the echo should work correctly.
8588 lt_compile
=`echo "$ac_compile" | $SED \
8589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8591 -e 's:$: $lt_compiler_flag:'`
8592 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8593 (eval "$lt_compile" 2>out
/conftest.err
)
8595 cat out
/conftest.err
>&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8599 # The compiler can only warn and ignore the option if not recognized
8600 # So say no if there are warnings
8601 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8602 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8603 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8604 lt_cv_prog_compiler_c_o
=yes
8609 # SGI C++ compiler will create directory out/ii_files/ for
8610 # template instantiation
8611 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8612 $RM out
/* && rmdir out
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8619 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8624 hard_links
="nottested"
8625 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8626 # do not overwrite the value of need_locks provided by the user
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8628 $as_echo_n "checking if we can lock with hard links... " >&6; }
8631 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8633 ln conftest.a conftest.b
2>&5 || hard_links
=no
8634 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8636 $as_echo "$hard_links" >&6; }
8637 if test "$hard_links" = no
; then
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8639 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8652 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8655 allow_undefined_flag
=
8656 always_export_symbols
=no
8658 archive_expsym_cmds
=
8659 compiler_needs_object
=no
8660 enable_shared_with_static_runtimes
=no
8661 export_dynamic_flag_spec
=
8662 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8663 hardcode_automatic
=no
8665 hardcode_direct_absolute
=no
8666 hardcode_libdir_flag_spec
=
8667 hardcode_libdir_flag_spec_ld
=
8668 hardcode_libdir_separator
=
8670 hardcode_shlibpath_var
=unsupported
8672 link_all_deplibs
=unknown
8675 old_archive_from_new_cmds
=
8676 old_archive_from_expsyms_cmds
=
8677 thread_safe_flag_spec
=
8678 whole_archive_flag_spec
=
8679 # include_expsyms should be a list of space-separated symbols to be *always*
8680 # included in the symbol list
8682 # exclude_expsyms can be an extended regexp of symbols to exclude
8683 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8684 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8685 # as well as any symbol that contains `d'.
8686 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8687 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8688 # platforms (ab)use it in PIC code, but their linkers get confused if
8689 # the symbol is explicitly referenced. Since portable code cannot
8690 # rely on this symbol name, it's probably fine to never include it in
8691 # preloaded symbol tables.
8692 # Exclude shared library initialization/finalization symbols.
8693 extract_expsyms_cmds
=
8696 cygwin
* | mingw
* | pw32
* | cegcc
*)
8697 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8698 # When not using gcc, we currently assume that we are using
8699 # Microsoft Visual C++.
8700 if test "$GCC" != yes; then
8705 # we just hope/assume this is gcc and not c89 (= MSVC++)
8715 # On some targets, GNU ld is compatible enough with the native linker
8716 # that we're better off using the native interface for both.
8717 lt_use_gnu_ld_interface
=no
8718 if test "$with_gnu_ld" = yes; then
8721 # The AIX port of GNU ld has always aspired to compatibility
8722 # with the native linker. However, as the warning in the GNU ld
8723 # block says, versions before 2.19.5* couldn't really create working
8724 # shared libraries, regardless of the interface used.
8725 case `$LD -v 2>&1` in
8726 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8727 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8728 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8730 lt_use_gnu_ld_interface
=yes
8735 lt_use_gnu_ld_interface
=yes
8740 if test "$lt_use_gnu_ld_interface" = yes; then
8741 # If archive_cmds runs LD, not CC, wlarc should be empty
8744 # Set some defaults for GNU ld with shared library support. These
8745 # are reset later if shared libraries are not supported. Putting them
8746 # here allows them to be overridden if necessary.
8747 runpath_var
=LD_RUN_PATH
8748 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8749 export_dynamic_flag_spec
='${wl}--export-dynamic'
8750 # ancient GNU ld didn't support --whole-archive et. al.
8751 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8752 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8754 whole_archive_flag_spec
=
8756 supports_anon_versioning
=no
8757 case `$LD -v 2>&1` in
8758 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8759 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8760 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8761 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8762 *\
2.11.
*) ;; # other 2.11 versions
8763 *) supports_anon_versioning
=yes ;;
8766 # See if GNU ld supports shared libraries.
8769 # On AIX/PPC, the GNU linker is very broken
8770 if test "$host_cpu" != ia64
; then
8774 *** Warning: the GNU linker, at least up to release 2.19, is reported
8775 *** to be unable to reliably create shared libraries on AIX.
8776 *** Therefore, libtool is disabling shared libraries support. If you
8777 *** really care for shared libraries, you may want to install binutils
8778 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8779 *** You will then need to restart the configuration process.
8788 # see comment about AmigaOS4 .so support
8789 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8790 archive_expsym_cmds
=''
8793 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)'
8794 hardcode_libdir_flag_spec
='-L$libdir'
8795 hardcode_minus_L
=yes
8801 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8802 allow_undefined_flag
=unsupported
8803 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8804 # support --undefined. This deserves some investigation. FIXME
8805 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8811 cygwin
* | mingw
* | pw32
* | cegcc
*)
8812 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8813 # as there is no search path for DLLs.
8814 hardcode_libdir_flag_spec
='-L$libdir'
8815 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8816 allow_undefined_flag
=unsupported
8817 always_export_symbols
=no
8818 enable_shared_with_static_runtimes
=yes
8819 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8821 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8822 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8823 # If the export-symbols file already is a .def file (1st line
8824 # is EXPORTS), use it as is; otherwise, prepend...
8825 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8826 cp $export_symbols $output_objdir/$soname.def;
8828 echo EXPORTS > $output_objdir/$soname.def;
8829 cat $export_symbols >> $output_objdir/$soname.def;
8831 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8838 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8839 link_all_deplibs
=yes
8844 hardcode_shlibpath_var
=no
8845 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8846 export_dynamic_flag_spec
='${wl}-E'
8847 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8848 # Instead, shared libraries are loaded at an image base (0x10000000 by
8849 # default) and relocated if they conflict, which is a slow very memory
8850 # consuming and fragmenting process. To avoid this, we pick a random,
8851 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8852 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8853 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8854 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'
8857 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8859 if test "$host_os" = linux-dietlibc
; then
8860 case $cc_basename in
8861 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8864 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8865 && test "$tmp_diet" = no
8868 tmp_sharedflag
='-shared'
8869 case $cc_basename,$host_cpu in
8870 pgcc
*) # Portland Group C compiler
8871 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'
8872 tmp_addflag
=' $pic_flag'
8874 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8875 # Portland Group f77 and f90 compilers
8876 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'
8877 tmp_addflag
=' $pic_flag -Mnomain' ;;
8878 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8879 tmp_addflag
=' -i_dynamic' ;;
8880 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8881 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8882 ifc
* | ifort
*) # Intel Fortran compiler
8883 tmp_addflag
=' -nofor_main' ;;
8884 lf95
*) # Lahey Fortran 8.1
8885 whole_archive_flag_spec
=
8886 tmp_sharedflag
='--shared' ;;
8887 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8888 tmp_sharedflag
='-qmkshrobj'
8890 nvcc
*) # Cuda Compiler Driver 2.2
8891 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'
8892 compiler_needs_object
=yes
8895 case `$CC -V 2>&1 | sed 5q` in
8896 *Sun\ C
*) # Sun C 5.9
8897 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'
8898 compiler_needs_object
=yes
8899 tmp_sharedflag
='-G' ;;
8900 *Sun\ F
*) # Sun Fortran 8.3
8901 tmp_sharedflag
='-G' ;;
8903 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8905 if test "x$supports_anon_versioning" = xyes
; then
8906 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8907 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8908 echo "local: *; };" >> $output_objdir/$libname.ver~
8909 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8912 case $cc_basename in
8913 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8914 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8915 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8916 hardcode_libdir_flag_spec
=
8917 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8918 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8919 if test "x$supports_anon_versioning" = xyes
; then
8920 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8921 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8922 echo "local: *; };" >> $output_objdir/$libname.ver~
8923 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8933 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8934 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8937 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8938 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8943 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8947 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8948 *** create shared libraries on Solaris systems. Therefore, libtool
8949 *** is disabling shared libraries support. We urge you to upgrade GNU
8950 *** binutils to release 2.9.1 or newer. Another option is to modify
8951 *** your PATH or compiler configuration so that the native linker is
8952 *** used, and then restart.
8955 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8956 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8957 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8963 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8964 case `$LD -v 2>&1` in
8965 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8969 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8970 *** reliably create shared libraries on SCO systems. Therefore, libtool
8971 *** is disabling shared libraries support. We urge you to upgrade GNU
8972 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8973 *** your PATH or compiler configuration so that the native linker is
8974 *** used, and then restart.
8979 # For security reasons, it is highly recommended that you always
8980 # use absolute paths for naming shared libraries, and exclude the
8981 # DT_RUNPATH tag from executables and libraries. But doing so
8982 # requires that you compile everything twice, which is a pain.
8983 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8984 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8985 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8995 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8998 hardcode_shlibpath_var
=no
9002 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9003 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9004 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9011 if test "$ld_shlibs" = no
; then
9013 hardcode_libdir_flag_spec
=
9014 export_dynamic_flag_spec
=
9015 whole_archive_flag_spec
=
9018 # PORTME fill in a description of your system's linker (not GNU ld)
9021 allow_undefined_flag
=unsupported
9022 always_export_symbols
=yes
9023 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'
9024 # Note: this linker hardcodes the directories in LIBPATH if there
9025 # are no directories specified by -L.
9026 hardcode_minus_L
=yes
9027 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9028 # Neither direct hardcoding nor static linking is supported with a
9030 hardcode_direct
=unsupported
9035 if test "$host_cpu" = ia64
; then
9036 # On IA64, the linker does run time linking by default, so we don't
9037 # have to do anything special.
9038 aix_use_runtimelinking
=no
9039 exp_sym_flag
='-Bexport'
9042 # If we're using GNU nm, then we don't want the "-C" option.
9043 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9044 # Also, AIX nm treats weak defined symbols like other global
9045 # defined symbols, whereas GNU nm marks them as "W".
9046 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9047 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'
9049 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9051 aix_use_runtimelinking
=no
9053 # Test if we are trying to use run time linking or normal
9054 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9055 # need to do runtime linking.
9056 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9057 for ld_flag
in $LDFLAGS; do
9058 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9059 aix_use_runtimelinking
=yes
9066 exp_sym_flag
='-bexport'
9067 no_entry_flag
='-bnoentry'
9070 # When large executables or shared objects are built, AIX ld can
9071 # have problems creating the table of contents. If linking a library
9072 # or program results in "error TOC overflow" add -mminimal-toc to
9073 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9074 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9078 hardcode_direct_absolute
=yes
9079 hardcode_libdir_separator
=':'
9080 link_all_deplibs
=yes
9081 file_list_spec
='${wl}-f,'
9083 if test "$GCC" = yes; then
9084 case $host_os in aix4.
[012]|aix4.
[012].
*)
9085 # We only want to do this on AIX 4.2 and lower, the check
9086 # below for broken collect2 doesn't work under 4.3+
9087 collect2name
=`${CC} -print-prog-name=collect2`
9088 if test -f "$collect2name" &&
9089 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9091 # We have reworked collect2
9094 # We have old collect2
9095 hardcode_direct
=unsupported
9096 # It fails to find uninstalled libraries when the uninstalled
9097 # path is not listed in the libpath. Setting hardcode_minus_L
9098 # to unsupported forces relinking
9099 hardcode_minus_L
=yes
9100 hardcode_libdir_flag_spec
='-L$libdir'
9101 hardcode_libdir_separator
=
9105 shared_flag
='-shared'
9106 if test "$aix_use_runtimelinking" = yes; then
9107 shared_flag
="$shared_flag "'${wl}-G'
9111 if test "$host_cpu" = ia64
; then
9112 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9113 # chokes on -Wl,-G. The following line is correct:
9116 if test "$aix_use_runtimelinking" = yes; then
9117 shared_flag
='${wl}-G'
9119 shared_flag
='${wl}-bM:SRE'
9124 export_dynamic_flag_spec
='${wl}-bexpall'
9125 # It seems that -bexpall does not export symbols beginning with
9126 # underscore (_), so it is better to generate a list of symbols to export.
9127 always_export_symbols
=yes
9128 if test "$aix_use_runtimelinking" = yes; then
9129 # Warning - without using the other runtime loading flags (-brtl),
9130 # -berok will link without error, but may produce a broken library.
9131 allow_undefined_flag
='-berok'
9132 # Determine the default libpath from the value encoded in an
9134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9145 if ac_fn_c_try_link
"$LINENO"; then :
9147 lt_aix_libpath_sed
='
9148 /Import File Strings/,/^$/ {
9154 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9155 # Check for a 64-bit object if we didn't find anything.
9156 if test -z "$aix_libpath"; then
9157 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9160 rm -f core conftest.err conftest.
$ac_objext \
9161 conftest
$ac_exeext conftest.
$ac_ext
9162 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9164 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9165 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"
9167 if test "$host_cpu" = ia64
; then
9168 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9169 allow_undefined_flag
="-z nodefs"
9170 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"
9172 # Determine the default libpath from the value encoded in an
9174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9185 if ac_fn_c_try_link
"$LINENO"; then :
9187 lt_aix_libpath_sed
='
9188 /Import File Strings/,/^$/ {
9194 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9195 # Check for a 64-bit object if we didn't find anything.
9196 if test -z "$aix_libpath"; then
9197 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9200 rm -f core conftest.err conftest.
$ac_objext \
9201 conftest
$ac_exeext conftest.
$ac_ext
9202 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9204 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9205 # Warning - without using the other run time loading flags,
9206 # -berok will link without error, but may produce a broken library.
9207 no_undefined_flag
=' ${wl}-bernotok'
9208 allow_undefined_flag
=' ${wl}-berok'
9209 if test "$with_gnu_ld" = yes; then
9210 # We only use this code for GNU lds that support --whole-archive.
9211 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9213 # Exported symbols can be pulled into shared objects from archives
9214 whole_archive_flag_spec
='$convenience'
9216 archive_cmds_need_lc
=yes
9217 # This is similar to how AIX traditionally builds its shared libraries.
9218 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'
9226 # see comment about AmigaOS4 .so support
9227 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228 archive_expsym_cmds
=''
9231 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)'
9232 hardcode_libdir_flag_spec
='-L$libdir'
9233 hardcode_minus_L
=yes
9239 export_dynamic_flag_spec
=-rdynamic
9242 cygwin
* | mingw
* | pw32
* | cegcc
*)
9243 # When not using gcc, we currently assume that we are using
9244 # Microsoft Visual C++.
9245 # hardcode_libdir_flag_spec is actually meaningless, as there is
9246 # no search path for DLLs.
9247 hardcode_libdir_flag_spec
=' '
9248 allow_undefined_flag
=unsupported
9249 # Tell ltmain to make .lib files, not .a files.
9251 # Tell ltmain to make .dll files, not .so files.
9253 # FIXME: Setting linknames here is a bad hack.
9254 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9255 # The linker will automatically build a .lib file if we build a DLL.
9256 old_archive_from_new_cmds
='true'
9257 # FIXME: Should let the user specify the lib program.
9258 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9259 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9260 enable_shared_with_static_runtimes
=yes
9263 darwin
* | rhapsody
*)
9266 archive_cmds_need_lc
=no
9268 hardcode_automatic
=yes
9269 hardcode_shlibpath_var
=unsupported
9270 if test "$lt_cv_ld_force_load" = "yes"; then
9271 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\"`'
9273 whole_archive_flag_spec
=''
9275 link_all_deplibs
=yes
9276 allow_undefined_flag
="$_lt_dar_allow_undefined"
9277 case $cc_basename in
9278 ifort
*) _lt_dar_can_shared
=yes ;;
9279 *) _lt_dar_can_shared
=$GCC ;;
9281 if test "$_lt_dar_can_shared" = "yes"; then
9282 output_verbose_link_cmd
=func_echo_all
9283 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9284 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9285 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}"
9286 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}"
9295 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9296 hardcode_libdir_flag_spec
='-L$libdir'
9297 hardcode_shlibpath_var
=no
9304 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9305 # support. Future versions do this automatically, but an explicit c++rt0.o
9306 # does not break anything, and helps significantly (at the cost of a little
9309 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9310 hardcode_libdir_flag_spec
='-R$libdir'
9312 hardcode_shlibpath_var
=no
9315 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9317 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_minus_L
=yes
9320 hardcode_shlibpath_var
=no
9323 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9324 freebsd
* | dragonfly
*)
9325 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9326 hardcode_libdir_flag_spec
='-R$libdir'
9328 hardcode_shlibpath_var
=no
9332 if test "$GCC" = yes; then
9333 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'
9335 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'
9337 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9338 hardcode_libdir_separator
=:
9341 # hardcode_minus_L: Not really in the search PATH,
9342 # but as the default location of the library.
9343 hardcode_minus_L
=yes
9344 export_dynamic_flag_spec
='${wl}-E'
9348 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9349 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9353 if test "$with_gnu_ld" = no
; then
9354 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9355 hardcode_libdir_flag_spec_ld
='+b $libdir'
9356 hardcode_libdir_separator
=:
9358 hardcode_direct_absolute
=yes
9359 export_dynamic_flag_spec
='${wl}-E'
9360 # hardcode_minus_L: Not really in the search PATH,
9361 # but as the default location of the library.
9362 hardcode_minus_L
=yes
9367 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9370 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9373 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9389 # Older versions of the 11.00 compiler do not understand -b yet
9390 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9392 $as_echo_n "checking if $CC understands -b... " >&6; }
9393 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9394 $as_echo_n "(cached) " >&6
9396 lt_cv_prog_compiler__b
=no
9397 save_LDFLAGS
="$LDFLAGS"
9398 LDFLAGS
="$LDFLAGS -b"
9399 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9400 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9401 # The linker can only warn and ignore the option if not recognized
9402 # So say no if there are warnings
9403 if test -s conftest.err
; then
9404 # Append any errors to the config.log.
9405 cat conftest.err
1>&5
9406 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9408 if diff conftest.exp conftest.er2
>/dev
/null
; then
9409 lt_cv_prog_compiler__b
=yes
9412 lt_cv_prog_compiler__b
=yes
9416 LDFLAGS
="$save_LDFLAGS"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9420 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9422 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9423 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9425 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9431 if test "$with_gnu_ld" = no
; then
9432 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9433 hardcode_libdir_separator
=:
9438 hardcode_shlibpath_var
=no
9442 hardcode_direct_absolute
=yes
9443 export_dynamic_flag_spec
='${wl}-E'
9445 # hardcode_minus_L: Not really in the search PATH,
9446 # but as the default location of the library.
9447 hardcode_minus_L
=yes
9453 irix5
* | irix6
* | nonstopux
*)
9454 if test "$GCC" = yes; then
9455 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'
9456 # Try to use the -exported_symbol ld option, if it does not
9457 # work, assume that -exports_file does not work either and
9458 # implicitly export all symbols.
9459 save_LDFLAGS
="$LDFLAGS"
9460 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9465 if ac_fn_c_try_link
"$LINENO"; then :
9466 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'
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LDFLAGS
="$save_LDFLAGS"
9473 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'
9474 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'
9476 archive_cmds_need_lc
='no'
9477 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9478 hardcode_libdir_separator
=:
9480 link_all_deplibs
=yes
9484 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9485 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9487 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9489 hardcode_libdir_flag_spec
='-R$libdir'
9491 hardcode_shlibpath_var
=no
9495 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9497 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9498 hardcode_libdir_separator
=:
9499 hardcode_shlibpath_var
=no
9506 if test -f /usr
/libexec
/ld.so
; then
9508 hardcode_shlibpath_var
=no
9509 hardcode_direct_absolute
=yes
9510 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9511 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9513 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9514 export_dynamic_flag_spec
='${wl}-E'
9517 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9518 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec
='-R$libdir'
9522 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9523 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9533 hardcode_libdir_flag_spec
='-L$libdir'
9534 hardcode_minus_L
=yes
9535 allow_undefined_flag
=unsupported
9536 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'
9537 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9541 if test "$GCC" = yes; then
9542 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9543 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'
9545 allow_undefined_flag
=' -expect_unresolved \*'
9546 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'
9548 archive_cmds_need_lc
='no'
9549 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9550 hardcode_libdir_separator
=:
9553 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9554 if test "$GCC" = yes; then
9555 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9556 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'
9557 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 allow_undefined_flag
=' -expect_unresolved \*'
9560 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'
9561 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~
9562 $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'
9564 # Both c and cxx compiler support -rpath directly
9565 hardcode_libdir_flag_spec
='-rpath $libdir'
9567 archive_cmds_need_lc
='no'
9568 hardcode_libdir_separator
=:
9572 no_undefined_flag
=' -z defs'
9573 if test "$GCC" = yes; then
9575 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9577 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9579 case `$CC -V 2>&1` in
9582 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9583 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9584 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9588 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9590 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9594 hardcode_libdir_flag_spec
='-R$libdir'
9595 hardcode_shlibpath_var
=no
9597 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9599 # The compiler driver will combine and reorder linker options,
9600 # but understands `-z linker_flag'. GCC discards it without `$wl',
9601 # but is careful enough not to reorder.
9602 # Supported since Solaris 2.6 (maybe 2.5.1?)
9603 if test "$GCC" = yes; then
9604 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9606 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9610 link_all_deplibs
=yes
9614 if test "x$host_vendor" = xsequent
; then
9615 # Use $CC to link under sequent, because it throws in some extra .o
9616 # files that make .init and .fini sections work.
9617 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9621 hardcode_libdir_flag_spec
='-L$libdir'
9623 hardcode_minus_L
=yes
9624 hardcode_shlibpath_var
=no
9628 case $host_vendor in
9630 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631 hardcode_direct
=yes # is this really true???
9634 ## LD is ld it makes a PLAMLIB
9635 ## CC just makes a GrossModule.
9636 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9637 reload_cmds
='$CC -r -o $output$reload_objs'
9641 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9642 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9645 runpath_var
='LD_RUN_PATH'
9646 hardcode_shlibpath_var
=no
9650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_shlibpath_var
=no
9652 export_dynamic_flag_spec
='-Bexport'
9656 if test -d /usr
/nec
; then
9657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_shlibpath_var
=no
9659 runpath_var
=LD_RUN_PATH
9660 hardcode_runpath_var
=yes
9665 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9666 no_undefined_flag
='${wl}-z,text'
9667 archive_cmds_need_lc
=no
9668 hardcode_shlibpath_var
=no
9669 runpath_var
='LD_RUN_PATH'
9671 if test "$GCC" = yes; then
9672 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9680 sysv5
* | sco3.2v5
* | sco5v6
*)
9681 # Note: We can NOT use -z defs as we might desire, because we do not
9682 # link with -lc, and that would cause any symbols used from libc to
9683 # always be unresolved, which means just about no library would
9684 # ever link correctly. If we're not using GNU ld we use -z text
9685 # though, which does catch some bad symbols but isn't as heavy-handed
9687 no_undefined_flag
='${wl}-z,text'
9688 allow_undefined_flag
='${wl}-z,nodefs'
9689 archive_cmds_need_lc
=no
9690 hardcode_shlibpath_var
=no
9691 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9692 hardcode_libdir_separator
=':'
9693 link_all_deplibs
=yes
9694 export_dynamic_flag_spec
='${wl}-Bexport'
9695 runpath_var
='LD_RUN_PATH'
9697 if test "$GCC" = yes; then
9698 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9701 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9707 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_libdir_flag_spec
='-L$libdir'
9709 hardcode_shlibpath_var
=no
9717 if test x
$host_vendor = xsni
; then
9719 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9720 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9727 $as_echo "$ld_shlibs" >&6; }
9728 test "$ld_shlibs" = no
&& can_build_shared
=no
9730 with_gnu_ld
=$with_gnu_ld
9747 # Do we need to explicitly link libc?
9749 case "x$archive_cmds_need_lc" in
9751 # Assume -lc should be added
9752 archive_cmds_need_lc
=yes
9754 if test "$enable_shared" = yes && test "$GCC" = yes; then
9755 case $archive_cmds in
9757 # FIXME: we may have to deal with multi-command sequences.
9760 # Test whether the compiler implicitly links with -lc since on some
9761 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9762 # to ld, don't add -lc before -lgcc.
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9764 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9765 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9766 $as_echo_n "(cached) " >&6
9769 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9772 (eval $ac_compile) 2>&5
9774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9775 test $ac_status = 0; } 2>conftest.err
; then
9778 libobjs
=conftest.
$ac_objext
9780 wl
=$lt_prog_compiler_wl
9781 pic_flag
=$lt_prog_compiler_pic
9787 lt_save_allow_undefined_flag
=$allow_undefined_flag
9788 allow_undefined_flag
=
9789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9790 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; }
9795 lt_cv_archive_cmds_need_lc
=no
9797 lt_cv_archive_cmds_need_lc
=yes
9799 allow_undefined_flag
=$lt_save_allow_undefined_flag
9801 cat conftest.err
1>&5
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9807 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9808 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9972 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9974 if test "$GCC" = yes; then
9976 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9977 *) lt_awk_arg
="/^libraries:/" ;;
9980 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9981 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9983 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9984 case $lt_search_path_spec in
9986 # if the path contains ";" then we assume it to be the separator
9987 # otherwise default to the standard path separator (i.e. ":") - it is
9988 # assumed that no part of a normal pathname contains ";" but that should
9989 # okay in the real world where ";" in dirpaths is itself problematic.
9990 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9993 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9996 # Ok, now we have the path, separated by spaces, we can step through it
9997 # and add multilib dir if necessary.
9998 lt_tmp_lt_search_path_spec
=
9999 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10000 for lt_sys_path
in $lt_search_path_spec; do
10001 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10002 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10004 test -d "$lt_sys_path" && \
10005 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10008 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10009 BEGIN {RS=" "; FS="/|\n";} {
10012 for (lt_i = NF; lt_i > 0; lt_i--) {
10013 if ($lt_i != "" && $lt_i != ".") {
10014 if ($lt_i == "..") {
10017 if (lt_count == 0) {
10018 lt_foo="/" $lt_i lt_foo;
10025 if (lt_foo != "") { lt_freq[lt_foo]++; }
10026 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10028 # AWK program above erroneously prepends '/' to C:/dos/paths
10031 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10032 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10034 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10036 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10038 library_names_spec
=
10039 libname_spec
='lib$name'
10043 postuninstall_cmds
=
10047 shlibpath_overrides_runpath
=unknown
10049 dynamic_linker
="$host_os ld.so"
10050 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10051 need_lib_prefix
=unknown
10052 hardcode_into_libs
=no
10054 # when you set need_version to no, make sure it does not cause -set_version
10055 # flags to be left without arguments
10056 need_version
=unknown
10061 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10062 shlibpath_var
=LIBPATH
10064 # AIX 3 has no versioning support, so we append a major version to the name.
10065 soname_spec
='${libname}${release}${shared_ext}$major'
10072 hardcode_into_libs
=yes
10073 if test "$host_cpu" = ia64
; then
10074 # AIX 5 supports IA64
10075 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10076 shlibpath_var
=LD_LIBRARY_PATH
10078 # With GCC up to 2.95.x, collect2 would create an import file
10079 # for dependence libraries. The import file would start with
10080 # the line `#! .'. This would cause the generated library to
10081 # depend on `.', always an invalid library. This was fixed in
10082 # development snapshots of GCC prior to 3.0.
10084 aix4 | aix4.
[01] | aix4.
[01].
*)
10085 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10087 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10090 can_build_shared
=no
10094 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10095 # soname into executable. Probably we can add versioning support to
10096 # collect2, so additional links can be useful in future.
10097 if test "$aix_use_runtimelinking" = yes; then
10098 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10099 # instead of lib<name>.a to let people know that these are not
10100 # typical AIX shared libraries.
10101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10103 # We preserve .a as extension for shared libraries through AIX4.2
10104 # and later when we are not doing run time linking.
10105 library_names_spec
='${libname}${release}.a $libname.a'
10106 soname_spec
='${libname}${release}${shared_ext}$major'
10108 shlibpath_var
=LIBPATH
10115 # Since July 2007 AmigaOS4 officially supports .so libraries.
10116 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10120 library_names_spec
='$libname.ixlibrary $libname.a'
10121 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10122 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'
10128 library_names_spec
='${libname}${shared_ext}'
10129 dynamic_linker
="$host_os ld.so"
10130 shlibpath_var
=LIBRARY_PATH
10136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137 soname_spec
='${libname}${release}${shared_ext}$major'
10138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10139 shlibpath_var
=LD_LIBRARY_PATH
10140 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10141 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10142 # the default ld.so.conf also contains /usr/contrib/lib and
10143 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10144 # libtool to hard-code these into programs
10147 cygwin
* | mingw
* | pw32
* | cegcc
*)
10148 version_type
=windows
10153 case $GCC,$host_os in
10154 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10155 library_names_spec
='$libname.dll.a'
10156 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10157 postinstall_cmds
='base_file=`basename \${file}`~
10158 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10159 dldir=$destdir/`dirname \$dlpath`~
10160 test -d \$dldir || mkdir -p \$dldir~
10161 $install_prog $dir/$dlname \$dldir/$dlname~
10162 chmod a+x \$dldir/$dlname~
10163 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10164 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10166 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10167 dlpath=$dir/\$dldll~
10169 shlibpath_overrides_runpath
=yes
10173 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10174 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10179 # MinGW DLLs use traditional 'lib' prefix
10180 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10183 # pw32 DLLs use 'pw' prefix rather than 'lib'
10184 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10190 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10193 dynamic_linker
='Win32 ld.exe'
10194 # FIXME: first we should search . and the directory the executable is in
10198 darwin
* | rhapsody
*)
10199 dynamic_linker
="$host_os dyld"
10200 version_type
=darwin
10203 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10204 soname_spec
='${libname}${release}${major}$shared_ext'
10205 shlibpath_overrides_runpath
=yes
10206 shlibpath_var
=DYLD_LIBRARY_PATH
10207 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10209 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10210 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10218 soname_spec
='${libname}${release}${shared_ext}$major'
10219 shlibpath_var
=LD_LIBRARY_PATH
10226 freebsd
* | dragonfly
*)
10227 # DragonFly does not have aout. When/if they implement a new
10228 # versioning mechanism, adjust this.
10229 if test -x /usr
/bin
/objformat
; then
10230 objformat
=`/usr/bin/objformat`
10233 freebsd
[123]*) objformat
=aout
;;
10234 *) objformat
=elf
;;
10237 version_type
=freebsd-
$objformat
10238 case $version_type in
10240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10245 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10249 shlibpath_var
=LD_LIBRARY_PATH
10252 shlibpath_overrides_runpath
=yes
10254 freebsd3.
[01]* | freebsdelf3.
[01]*)
10255 shlibpath_overrides_runpath
=yes
10256 hardcode_into_libs
=yes
10258 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10259 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10260 shlibpath_overrides_runpath
=no
10261 hardcode_into_libs
=yes
10263 *) # from 4.6 on, and DragonFly
10264 shlibpath_overrides_runpath
=yes
10265 hardcode_into_libs
=yes
10274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10275 soname_spec
='${libname}${release}${shared_ext}$major'
10276 shlibpath_var
=LD_LIBRARY_PATH
10277 hardcode_into_libs
=yes
10284 dynamic_linker
="$host_os runtime_loader"
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10286 soname_spec
='${libname}${release}${shared_ext}$major'
10287 shlibpath_var
=LIBRARY_PATH
10288 shlibpath_overrides_runpath
=yes
10289 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10290 hardcode_into_libs
=yes
10293 hpux9
* | hpux10
* | hpux11
*)
10294 # Give a soname corresponding to the major version so that dld.sl refuses to
10295 # link against other versions.
10302 hardcode_into_libs
=yes
10303 dynamic_linker
="$host_os dld.so"
10304 shlibpath_var
=LD_LIBRARY_PATH
10305 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 soname_spec
='${libname}${release}${shared_ext}$major'
10308 if test "X$HPUX_IA64_MODE" = X32
; then
10309 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10311 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10313 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10317 hardcode_into_libs
=yes
10318 dynamic_linker
="$host_os dld.sl"
10319 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10320 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10322 soname_spec
='${libname}${release}${shared_ext}$major'
10323 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10324 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10328 dynamic_linker
="$host_os dld.sl"
10329 shlibpath_var
=SHLIB_PATH
10330 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332 soname_spec
='${libname}${release}${shared_ext}$major'
10335 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10336 postinstall_cmds
='chmod 555 $lib'
10337 # or fails outright, so override atomically:
10338 install_override_mode
=555
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10346 soname_spec
='${libname}${release}${shared_ext}$major'
10347 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10348 shlibpath_var
=LD_LIBRARY_PATH
10349 shlibpath_overrides_runpath
=no
10350 hardcode_into_libs
=yes
10353 irix5
* | irix6
* | nonstopux
*)
10355 nonstopux
*) version_type
=nonstopux
;;
10357 if test "$lt_cv_prog_gnu_ld" = yes; then
10365 soname_spec
='${libname}${release}${shared_ext}$major'
10366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10368 irix5
* | nonstopux
*)
10369 libsuff
= shlibsuff
=
10372 case $LD in # libtool.m4 will add one of these switches to LD
10373 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10374 libsuff
= shlibsuff
= libmagic
=32-bit;;
10375 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10376 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10377 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10378 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10379 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10383 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10384 shlibpath_overrides_runpath
=no
10385 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10386 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10387 hardcode_into_libs
=yes
10390 # No shared lib support for Linux oldld, aout, or coff.
10391 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10395 # This must be Linux ELF.
10396 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 soname_spec
='${libname}${release}${shared_ext}$major'
10402 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10403 shlibpath_var
=LD_LIBRARY_PATH
10404 shlibpath_overrides_runpath
=no
10406 # Some binutils ld are patched to set DT_RUNPATH
10407 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10408 $as_echo_n "(cached) " >&6
10410 lt_cv_shlibpath_overrides_runpath
=no
10411 save_LDFLAGS
=$LDFLAGS
10412 save_libdir
=$libdir
10413 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10414 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10426 if ac_fn_c_try_link
"$LINENO"; then :
10427 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10428 lt_cv_shlibpath_overrides_runpath
=yes
10431 rm -f core conftest.err conftest.
$ac_objext \
10432 conftest
$ac_exeext conftest.
$ac_ext
10433 LDFLAGS
=$save_LDFLAGS
10434 libdir
=$save_libdir
10438 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10440 # This implies no fast_install, which is unacceptable.
10441 # Some rework will be needed to allow for fast_install
10442 # before this can be enabled.
10443 hardcode_into_libs
=yes
10445 # Append ld.so.conf contents to the search path
10446 if test -f /etc
/ld.so.conf
; then
10447 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' ' '`
10448 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10451 # We used to test for /lib/ld.so.1 and disable shared libraries on
10452 # powerpc, because MkLinux only supported shared libraries with the
10453 # GNU dynamic linker. Since this was broken with cross compilers,
10454 # most powerpc-linux boxes support dynamic linking these days and
10455 # people can always --disable-shared, the test was removed, and we
10456 # assume the GNU/Linux dynamic linker is in use.
10457 dynamic_linker
='GNU/Linux ld.so'
10464 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10467 dynamic_linker
='NetBSD (a.out) ld.so'
10469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10470 soname_spec
='${libname}${release}${shared_ext}$major'
10471 dynamic_linker
='NetBSD ld.elf_so'
10473 shlibpath_var
=LD_LIBRARY_PATH
10474 shlibpath_overrides_runpath
=yes
10475 hardcode_into_libs
=yes
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10481 shlibpath_var
=LD_LIBRARY_PATH
10482 shlibpath_overrides_runpath
=yes
10489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490 soname_spec
='${libname}${release}${shared_ext}$major'
10491 shlibpath_var
=LD_LIBRARY_PATH
10492 shlibpath_overrides_runpath
=no
10493 hardcode_into_libs
=yes
10494 dynamic_linker
='ldqnx.so'
10499 sys_lib_dlsearch_path_spec
="/usr/lib"
10501 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10503 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10504 *) need_version
=no
;;
10506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10507 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10508 shlibpath_var
=LD_LIBRARY_PATH
10509 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10511 openbsd2.
[89] | openbsd2.
[89].
*)
10512 shlibpath_overrides_runpath
=no
10515 shlibpath_overrides_runpath
=yes
10519 shlibpath_overrides_runpath
=yes
10524 libname_spec
='$name'
10527 library_names_spec
='$libname${shared_ext} $libname.a'
10528 dynamic_linker
='OS/2 ld.exe'
10529 shlibpath_var
=LIBPATH
10532 osf3
* | osf4
* | osf5
*)
10536 soname_spec
='${libname}${release}${shared_ext}$major'
10537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 shlibpath_var
=LD_LIBRARY_PATH
10539 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10540 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552 soname_spec
='${libname}${release}${shared_ext}$major'
10553 shlibpath_var
=LD_LIBRARY_PATH
10554 shlibpath_overrides_runpath
=yes
10555 hardcode_into_libs
=yes
10556 # ldd complains unless libraries are executable
10557 postinstall_cmds
='chmod +x $lib'
10562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10563 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10564 shlibpath_var
=LD_LIBRARY_PATH
10565 shlibpath_overrides_runpath
=yes
10566 if test "$with_gnu_ld" = yes; then
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 soname_spec
='${libname}${release}${shared_ext}$major'
10576 shlibpath_var
=LD_LIBRARY_PATH
10577 case $host_vendor in
10579 shlibpath_overrides_runpath
=no
10581 runpath_var
=LD_RUN_PATH
10589 shlibpath_overrides_runpath
=no
10590 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10596 if test -d /usr
/nec
;then
10598 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10599 soname_spec
='$libname${shared_ext}.$major'
10600 shlibpath_var
=LD_LIBRARY_PATH
10604 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10605 version_type
=freebsd-elf
10608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10609 soname_spec
='${libname}${release}${shared_ext}$major'
10610 shlibpath_var
=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath
=yes
10612 hardcode_into_libs
=yes
10613 if test "$with_gnu_ld" = yes; then
10614 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10616 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10619 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10623 sys_lib_dlsearch_path_spec
='/usr/lib'
10627 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10632 shlibpath_var
=LD_LIBRARY_PATH
10633 shlibpath_overrides_runpath
=no
10634 hardcode_into_libs
=yes
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 soname_spec
='${libname}${release}${shared_ext}$major'
10641 shlibpath_var
=LD_LIBRARY_PATH
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10649 $as_echo "$dynamic_linker" >&6; }
10650 test "$dynamic_linker" = no
&& can_build_shared
=no
10652 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10653 if test "$GCC" = yes; then
10654 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10657 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10658 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10660 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10661 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10758 if test -n "$hardcode_libdir_flag_spec" ||
10759 test -n "$runpath_var" ||
10760 test "X$hardcode_automatic" = "Xyes" ; then
10762 # We can hardcode non-existent directories.
10763 if test "$hardcode_direct" != no
&&
10764 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10765 # have to relink, otherwise we might link with an installed library
10766 # when we should be linking with a yet-to-be-installed one
10767 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10768 test "$hardcode_minus_L" != no
; then
10769 # Linking always hardcodes the temporary library directory.
10770 hardcode_action
=relink
10772 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10773 hardcode_action
=immediate
10776 # We cannot hardcode anything, or else we can only hardcode existing
10778 hardcode_action
=unsupported
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10781 $as_echo "$hardcode_action" >&6; }
10783 if test "$hardcode_action" = relink ||
10784 test "$inherit_rpath" = yes; then
10785 # Fast installation is not supported
10786 enable_fast_install
=no
10787 elif test "$shlibpath_overrides_runpath" = yes ||
10788 test "$enable_shared" = no
; then
10789 # Fast installation is not necessary
10790 enable_fast_install
=needless
10798 if test "x$enable_dlopen" != xyes
; then
10799 enable_dlopen
=unknown
10800 enable_dlopen_self
=unknown
10801 enable_dlopen_self_static
=unknown
10808 lt_cv_dlopen
="load_add_on"
10810 lt_cv_dlopen_self
=yes
10813 mingw
* | pw32
* | cegcc
*)
10814 lt_cv_dlopen
="LoadLibrary"
10819 lt_cv_dlopen
="dlopen"
10824 # if libdl is installed we need to link against it
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10826 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10827 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10828 $as_echo_n "(cached) " >&6
10830 ac_check_lib_save_LIBS
=$LIBS
10832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10850 if ac_fn_c_try_link
"$LINENO"; then :
10851 ac_cv_lib_dl_dlopen
=yes
10853 ac_cv_lib_dl_dlopen
=no
10855 rm -f core conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10860 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10861 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10862 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10865 lt_cv_dlopen
="dyld"
10867 lt_cv_dlopen_self
=yes
10874 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10875 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10876 lt_cv_dlopen
="shl_load"
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10879 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10880 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10881 $as_echo_n "(cached) " >&6
10883 ac_check_lib_save_LIBS
=$LIBS
10885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10898 return shl_load ();
10903 if ac_fn_c_try_link
"$LINENO"; then :
10904 ac_cv_lib_dld_shl_load
=yes
10906 ac_cv_lib_dld_shl_load
=no
10908 rm -f core conftest.err conftest.
$ac_objext \
10909 conftest
$ac_exeext conftest.
$ac_ext
10910 LIBS
=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10913 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10914 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10915 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10917 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10918 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10919 lt_cv_dlopen
="dlopen"
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10922 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10923 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_lib_save_LIBS
=$LIBS
10928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10946 if ac_fn_c_try_link
"$LINENO"; then :
10947 ac_cv_lib_dl_dlopen
=yes
10949 ac_cv_lib_dl_dlopen
=no
10951 rm -f core conftest.err conftest.
$ac_objext \
10952 conftest
$ac_exeext conftest.
$ac_ext
10953 LIBS
=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10956 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10957 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10958 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10961 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10962 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS
=$LIBS
10966 LIBS
="-lsvld $LIBS"
10967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10985 if ac_fn_c_try_link
"$LINENO"; then :
10986 ac_cv_lib_svld_dlopen
=yes
10988 ac_cv_lib_svld_dlopen
=no
10990 rm -f core conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10992 LIBS
=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10995 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10996 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10997 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11000 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11001 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11002 $as_echo_n "(cached) " >&6
11004 ac_check_lib_save_LIBS
=$LIBS
11006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11019 return dld_link ();
11024 if ac_fn_c_try_link
"$LINENO"; then :
11025 ac_cv_lib_dld_dld_link
=yes
11027 ac_cv_lib_dld_dld_link
=no
11029 rm -f core conftest.err conftest.
$ac_objext \
11030 conftest
$ac_exeext conftest.
$ac_ext
11031 LIBS
=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11034 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11035 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11036 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11057 if test "x$lt_cv_dlopen" != xno
; then
11063 case $lt_cv_dlopen in
11065 save_CPPFLAGS
="$CPPFLAGS"
11066 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11068 save_LDFLAGS
="$LDFLAGS"
11069 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11072 LIBS
="$lt_cv_dlopen_libs $LIBS"
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11075 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11076 if test "${lt_cv_dlopen_self+set}" = set; then :
11077 $as_echo_n "(cached) " >&6
11079 if test "$cross_compiling" = yes; then :
11080 lt_cv_dlopen_self
=cross
11082 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11083 lt_status
=$lt_dlunknown
11084 cat > conftest.
$ac_ext <<_LT_EOF
11085 #line 11085 "configure"
11086 #include "confdefs.h"
11095 # define LT_DLGLOBAL RTLD_GLOBAL
11098 # define LT_DLGLOBAL DL_GLOBAL
11100 # define LT_DLGLOBAL 0
11104 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11105 find out it does not work in some platform. */
11106 #ifndef LT_DLLAZY_OR_NOW
11108 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11111 # define LT_DLLAZY_OR_NOW DL_LAZY
11114 # define LT_DLLAZY_OR_NOW RTLD_NOW
11117 # define LT_DLLAZY_OR_NOW DL_NOW
11119 # define LT_DLLAZY_OR_NOW 0
11126 /* When -fvisbility=hidden is used, assume the code has been annotated
11127 correspondingly for the symbols needed. */
11128 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11129 void fnord () __attribute__((visibility("default")));
11132 void fnord () { int i=42; }
11135 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11136 int status = $lt_dlunknown;
11140 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11143 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11144 else puts (dlerror ());
11146 /* dlclose (self); */
11154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11155 (eval $ac_link) 2>&5
11157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11158 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11159 (.
/conftest
; exit; ) >&5 2>/dev
/null
11161 case x
$lt_status in
11162 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11163 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11164 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11167 # compilation failed
11168 lt_cv_dlopen_self
=no
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11176 $as_echo "$lt_cv_dlopen_self" >&6; }
11178 if test "x$lt_cv_dlopen_self" = xyes
; then
11179 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11181 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11182 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11183 $as_echo_n "(cached) " >&6
11185 if test "$cross_compiling" = yes; then :
11186 lt_cv_dlopen_self_static
=cross
11188 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11189 lt_status
=$lt_dlunknown
11190 cat > conftest.
$ac_ext <<_LT_EOF
11191 #line 11191 "configure"
11192 #include "confdefs.h"
11201 # define LT_DLGLOBAL RTLD_GLOBAL
11204 # define LT_DLGLOBAL DL_GLOBAL
11206 # define LT_DLGLOBAL 0
11210 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11211 find out it does not work in some platform. */
11212 #ifndef LT_DLLAZY_OR_NOW
11214 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11217 # define LT_DLLAZY_OR_NOW DL_LAZY
11220 # define LT_DLLAZY_OR_NOW RTLD_NOW
11223 # define LT_DLLAZY_OR_NOW DL_NOW
11225 # define LT_DLLAZY_OR_NOW 0
11232 /* When -fvisbility=hidden is used, assume the code has been annotated
11233 correspondingly for the symbols needed. */
11234 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11235 void fnord () __attribute__((visibility("default")));
11238 void fnord () { int i=42; }
11241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11242 int status = $lt_dlunknown;
11246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11249 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11250 else puts (dlerror ());
11252 /* dlclose (self); */
11260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11261 (eval $ac_link) 2>&5
11263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11264 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11265 (.
/conftest
; exit; ) >&5 2>/dev
/null
11267 case x
$lt_status in
11268 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11269 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11270 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11273 # compilation failed
11274 lt_cv_dlopen_self_static
=no
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11282 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11285 CPPFLAGS
="$save_CPPFLAGS"
11286 LDFLAGS
="$save_LDFLAGS"
11291 case $lt_cv_dlopen_self in
11292 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11293 *) enable_dlopen_self
=unknown
;;
11296 case $lt_cv_dlopen_self_static in
11297 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11298 *) enable_dlopen_self_static
=unknown
;;
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11321 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11322 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11323 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11324 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11326 $as_echo "yes" >&6; }
11328 # FIXME - insert some real tests, host_os isn't really good enough
11331 if test -n "$STRIP" ; then
11332 striplib
="$STRIP -x"
11333 old_striplib
="$STRIP -S"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11335 $as_echo "yes" >&6; }
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11338 $as_echo "no" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11359 # Report which library types will actually be built
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11361 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11363 $as_echo "$can_build_shared" >&6; }
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11366 $as_echo_n "checking whether to build shared libraries... " >&6; }
11367 test "$can_build_shared" = "no" && enable_shared
=no
11369 # On AIX, shared libraries and static libraries use the same namespace, and
11370 # are all built from PIC.
11373 test "$enable_shared" = yes && enable_static
=no
11374 if test -n "$RANLIB"; then
11375 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11376 postinstall_cmds
='$RANLIB $lib'
11381 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11382 test "$enable_shared" = yes && enable_static
=no
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11387 $as_echo "$enable_shared" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11390 $as_echo_n "checking whether to build static libraries... " >&6; }
11391 # Make sure either enable_shared or enable_static is yes.
11392 test "$enable_shared" = yes || enable_static
=yes
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11394 $as_echo "$enable_static" >&6; }
11401 ac_cpp
='$CPP $CPPFLAGS'
11402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11420 ac_config_commands
="$ac_config_commands libtool"
11425 # Only expand once:
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11433 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11434 # Check whether --enable-maintainer-mode was given.
11435 if test "${enable_maintainer_mode+set}" = set; then :
11436 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11438 USE_MAINTAINER_MODE
=no
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11442 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11443 if test $USE_MAINTAINER_MODE = yes; then
11444 MAINTAINER_MODE_TRUE
=
11445 MAINTAINER_MODE_FALSE
='#'
11447 MAINTAINER_MODE_TRUE
='#'
11448 MAINTAINER_MODE_FALSE
=
11451 MAINT
=$MAINTAINER_MODE_TRUE
11455 # We need gfortran to compile parts of the library
11456 # We can't use AC_PROG_FC because it expects a fully working gfortran.
11457 #AC_PROG_FC(gfortran)
11458 case `echo $GFORTRAN` in
11462 set dummy
$GFORTRAN; ac_word
=$2
11463 if test -x "$ac_word"; then
11469 ac_ext
=${ac_fc_srcext-f}
11470 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11471 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11472 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11473 if test -n "$ac_tool_prefix"; then
11474 for ac_prog
in gfortran
11476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11477 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11479 $as_echo_n "checking for $ac_word... " >&6; }
11480 if test "${ac_cv_prog_FC+set}" = set; then :
11481 $as_echo_n "(cached) " >&6
11483 if test -n "$FC"; then
11484 ac_cv_prog_FC
="$FC" # Let the user override the test.
11486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11487 for as_dir
in $PATH
11490 test -z "$as_dir" && as_dir
=.
11491 for ac_exec_ext
in '' $ac_executable_extensions; do
11492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11493 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11504 if test -n "$FC"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11506 $as_echo "$FC" >&6; }
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11509 $as_echo "no" >&6; }
11513 test -n "$FC" && break
11516 if test -z "$FC"; then
11518 for ac_prog
in gfortran
11520 # Extract the first word of "$ac_prog", so it can be a program name with args.
11521 set dummy
$ac_prog; ac_word
=$2
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11523 $as_echo_n "checking for $ac_word... " >&6; }
11524 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11525 $as_echo_n "(cached) " >&6
11527 if test -n "$ac_ct_FC"; then
11528 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11531 for as_dir
in $PATH
11534 test -z "$as_dir" && as_dir
=.
11535 for ac_exec_ext
in '' $ac_executable_extensions; do
11536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11537 ac_cv_prog_ac_ct_FC
="$ac_prog"
11538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11547 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11548 if test -n "$ac_ct_FC"; then
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11550 $as_echo "$ac_ct_FC" >&6; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11553 $as_echo "no" >&6; }
11557 test -n "$ac_ct_FC" && break
11560 if test "x$ac_ct_FC" = x
; then
11563 case $cross_compiling:$ac_tool_warned in
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11567 ac_tool_warned
=yes ;;
11574 # Provide some information about the compiler.
11575 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11578 for ac_option
in --version -v -V -qversion; do
11579 { { ac_try
="$ac_compiler $ac_option >&5"
11580 case "(($ac_try" in
11581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11582 *) ac_try_echo=$ac_try;;
11584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11585 $as_echo "$ac_try_echo"; } >&5
11586 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11588 if test -s conftest.err; then
11590 ... rest of stderr output deleted ...
11591 10q' conftest.err >conftest.er1
11592 cat conftest.er1 >&5
11593 rm -f conftest.er1 conftest.err
11595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11596 test $ac_status = 0; }
11600 # If we don't use `.F
' as extension, the preprocessor is not run on the
11601 # input file. (Note that this only needs to work for GNU compilers.)
11602 ac_save_ext=$ac_ext
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11605 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11606 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11607 $as_echo_n "(cached) " >&6
11609 cat > conftest.$ac_ext <<_ACEOF
11617 if ac_fn_fc_try_compile "$LINENO"; then :
11618 ac_compiler_gnu=yes
11622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11623 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11627 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11628 ac_ext=$ac_save_ext
11629 ac_test_FCFLAGS=${FCFLAGS+set}
11630 ac_save_FCFLAGS=$FCFLAGS
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11633 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11634 if test "${ac_cv_prog_fc_g+set}" = set; then :
11635 $as_echo_n "(cached) " >&6
11638 cat > conftest.$ac_ext <<_ACEOF
11643 if ac_fn_fc_try_compile "$LINENO"; then :
11644 ac_cv_prog_fc_g=yes
11648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11652 $as_echo "$ac_cv_prog_fc_g" >&6; }
11653 if test "$ac_test_FCFLAGS" = set; then
11654 FCFLAGS=$ac_save_FCFLAGS
11655 elif test $ac_cv_prog_fc_g = yes; then
11656 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11662 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11670 ac_cpp='$CPP $CPPFLAGS'
11671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11672 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11675 ac_ext=${ac_fc_srcext-f}
11676 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11677 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11678 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11681 if test -z "$FC" || test "X$FC" = "Xno"; then
11685 archive_cmds_need_lc_FC=no
11686 allow_undefined_flag_FC=
11687 always_export_symbols_FC=no
11688 archive_expsym_cmds_FC=
11689 export_dynamic_flag_spec_FC=
11690 hardcode_direct_FC=no
11691 hardcode_direct_absolute_FC=no
11692 hardcode_libdir_flag_spec_FC=
11693 hardcode_libdir_flag_spec_ld_FC=
11694 hardcode_libdir_separator_FC=
11695 hardcode_minus_L_FC=no
11696 hardcode_automatic_FC=no
11697 inherit_rpath_FC=no
11699 module_expsym_cmds_FC=
11700 link_all_deplibs_FC=unknown
11701 old_archive_cmds_FC=$old_archive_cmds
11702 reload_flag_FC=$reload_flag
11703 reload_cmds_FC=$reload_cmds
11704 no_undefined_flag_FC=
11705 whole_archive_flag_spec_FC=
11706 enable_shared_with_static_runtimes_FC=no
11708 # Source file extension for fc test sources.
11709 ac_ext=${ac_fc_srcext-f}
11711 # Object file extension for compiled fc test sources.
11715 # No sense in running all these tests if we already determined that
11716 # the FC compiler isn't working. Some variables
(like enable_shared
)
11717 # are currently assumed to apply to all compilers on this platform,
11718 # and will be corrupted by setting them based on a non-working compiler.
11719 if test "$_lt_disable_FC" != yes; then
11720 # Code to be used in simple compile tests
11721 lt_simple_compile_test_code
="\
11727 # Code to be used in simple link tests
11728 lt_simple_link_test_code
="\
11733 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11740 # If no C compiler was specified, use CC.
11743 # If no C compiler flags were specified, use CFLAGS.
11744 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11746 # Allow CC to be a program name with arguments.
11750 # save warnings/boilerplate of simple test code
11751 ac_outfile
=conftest.
$ac_objext
11752 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11753 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11754 _lt_compiler_boilerplate
=`cat conftest.err`
11757 ac_outfile
=conftest.
$ac_objext
11758 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11759 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11760 _lt_linker_boilerplate
=`cat conftest.err`
11764 # Allow CC to be a program name with arguments.
11769 GCC
=$ac_cv_fc_compiler_gnu
11772 for cc_temp
in $compiler""; do
11774 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11775 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11780 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11783 if test -n "$compiler"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11785 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11787 $as_echo "$can_build_shared" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11790 $as_echo_n "checking whether to build shared libraries... " >&6; }
11791 test "$can_build_shared" = "no" && enable_shared
=no
11793 # On AIX, shared libraries and static libraries use the same namespace, and
11794 # are all built from PIC.
11797 test "$enable_shared" = yes && enable_static
=no
11798 if test -n "$RANLIB"; then
11799 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11800 postinstall_cmds
='$RANLIB $lib'
11804 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11805 test "$enable_shared" = yes && enable_static
=no
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11810 $as_echo "$enable_shared" >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11813 $as_echo_n "checking whether to build static libraries... " >&6; }
11814 # Make sure either enable_shared or enable_static is yes.
11815 test "$enable_shared" = yes || enable_static
=yes
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11817 $as_echo "$enable_static" >&6; }
11819 GCC_FC
="$ac_cv_fc_compiler_gnu"
11823 ## There is no encapsulation within the following macros, do not change
11824 ## the running order or otherwise move them around unless you know exactly
11825 ## what you are doing...
11826 # Dependencies to place before and after the object being linked:
11828 postdep_objects_FC
=
11831 compiler_lib_search_path_FC
=
11833 cat > conftest.
$ac_ext <<_LT_EOF
11842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11843 (eval $ac_compile) 2>&5
11845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11846 test $ac_status = 0; }; then
11847 # Parse the compiler output and extract the necessary
11848 # objects, libraries and library flags.
11850 # Sentinel used to keep track of whether or not we are before
11851 # the conftest object file.
11852 pre_test_object_deps_done
=no
11854 for p
in `eval "$output_verbose_link_cmd"`; do
11858 # Some compilers place space between "-{L,R}" and the path.
11859 # Remove the space.
11860 if test $p = "-L" ||
11861 test $p = "-R"; then
11868 if test "$pre_test_object_deps_done" = no
; then
11871 # Internal compiler library paths should come after those
11872 # provided the user. The postdeps already come after the
11873 # user supplied libs so there is no need to process them.
11874 if test -z "$compiler_lib_search_path_FC"; then
11875 compiler_lib_search_path_FC
="${prev}${p}"
11877 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11880 # The "-l" case would never come before the object being
11881 # linked, so don't bother handling this case.
11884 if test -z "$postdeps_FC"; then
11885 postdeps_FC
="${prev}${p}"
11887 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11893 # This assumes that the test object file only shows up
11894 # once in the compiler output.
11895 if test "$p" = "conftest.$objext"; then
11896 pre_test_object_deps_done
=yes
11900 if test "$pre_test_object_deps_done" = no
; then
11901 if test -z "$predep_objects_FC"; then
11902 predep_objects_FC
="$p"
11904 predep_objects_FC
="$predep_objects_FC $p"
11907 if test -z "$postdep_objects_FC"; then
11908 postdep_objects_FC
="$p"
11910 postdep_objects_FC
="$postdep_objects_FC $p"
11915 *) ;; # Ignore the rest.
11923 echo "libtool.m4: error: problem compiling FC test program"
11926 $RM -f confest.
$objext
11928 # PORTME: override above test on systems where it is broken
11931 case " $postdeps_FC " in
11932 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11934 compiler_lib_search_dirs_FC
=
11935 if test -n "${compiler_lib_search_path_FC}"; then
11936 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11969 lt_prog_compiler_wl_FC
=
11970 lt_prog_compiler_pic_FC
=
11971 lt_prog_compiler_static_FC
=
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11974 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11976 if test "$GCC" = yes; then
11977 lt_prog_compiler_wl_FC
='-Wl,'
11978 lt_prog_compiler_static_FC
='-static'
11982 # All AIX code is PIC.
11983 if test "$host_cpu" = ia64
; then
11984 # AIX 5 now supports IA64 processor
11985 lt_prog_compiler_static_FC
='-Bstatic'
11992 # see comment about AmigaOS4 .so support
11993 lt_prog_compiler_pic_FC
='-fPIC'
11996 # FIXME: we need at least 68020 code to build shared libraries, but
11997 # adding the `-m68020' flag to GCC prevents building anything better,
11999 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12004 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12005 # PIC is the default for these OSes.
12008 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12009 # This hack is so that the source file can tell whether it is being
12010 # built for inclusion in a dll (and should export symbols for example).
12011 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12012 # (--disable-auto-import) libraries
12013 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12016 darwin
* | rhapsody
*)
12017 # PIC is the default on this platform
12018 # Common symbols not allowed in MH_DYLIB files
12019 lt_prog_compiler_pic_FC
='-fno-common'
12023 # PIC is the default for Haiku.
12024 # The "-static" flag exists, but is broken.
12025 lt_prog_compiler_static_FC
=
12029 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12030 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12031 # sets the default TLS model and affects inlining.
12037 lt_prog_compiler_pic_FC
='-fPIC'
12043 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12044 # Instead, we relocate shared libraries at runtime.
12048 # Just because we use GCC doesn't mean we suddenly get shared libraries
12049 # on systems that don't support them.
12050 lt_prog_compiler_can_build_shared_FC
=no
12055 # QNX uses GNU C++, but need to define -shared option too, otherwise
12056 # it will coredump.
12057 lt_prog_compiler_pic_FC
='-fPIC -shared'
12061 if test -d /usr
/nec
; then
12062 lt_prog_compiler_pic_FC
=-Kconform_pic
12067 lt_prog_compiler_pic_FC
='-fPIC'
12071 case $cc_basename in
12072 nvcc
*) # Cuda Compiler Driver 2.2
12073 lt_prog_compiler_wl_FC
='-Xlinker '
12074 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12078 # PORTME Check for flag to pass linker flags through the system compiler.
12081 lt_prog_compiler_wl_FC
='-Wl,'
12082 if test "$host_cpu" = ia64
; then
12083 # AIX 5 now supports IA64 processor
12084 lt_prog_compiler_static_FC
='-Bstatic'
12086 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12090 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12091 # This hack is so that the source file can tell whether it is being
12092 # built for inclusion in a dll (and should export symbols for example).
12093 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12096 hpux9
* | hpux10
* | hpux11
*)
12097 lt_prog_compiler_wl_FC
='-Wl,'
12098 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12099 # not for PA HP-UX.
12105 lt_prog_compiler_pic_FC
='+Z'
12108 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12109 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12112 irix5
* | irix6
* | nonstopux
*)
12113 lt_prog_compiler_wl_FC
='-Wl,'
12114 # PIC (with -KPIC) is the default.
12115 lt_prog_compiler_static_FC
='-non_shared'
12118 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12119 case $cc_basename in
12120 # old Intel for x86_64 which still supported -KPIC.
12122 lt_prog_compiler_wl_FC
='-Wl,'
12123 lt_prog_compiler_pic_FC
='-KPIC'
12124 lt_prog_compiler_static_FC
='-static'
12126 # icc used to be incompatible with GCC.
12127 # ICC 10 doesn't accept -KPIC any more.
12129 lt_prog_compiler_wl_FC
='-Wl,'
12130 lt_prog_compiler_pic_FC
='-fPIC'
12131 lt_prog_compiler_static_FC
='-static'
12133 # Lahey Fortran 8.1.
12135 lt_prog_compiler_wl_FC
='-Wl,'
12136 lt_prog_compiler_pic_FC
='--shared'
12137 lt_prog_compiler_static_FC
='--static'
12139 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12140 # Portland Group compilers (*not* the Pentium gcc compiler,
12141 # which looks to be a dead project)
12142 lt_prog_compiler_wl_FC
='-Wl,'
12143 lt_prog_compiler_pic_FC
='-fpic'
12144 lt_prog_compiler_static_FC
='-Bstatic'
12147 lt_prog_compiler_wl_FC
='-Wl,'
12148 # All Alpha code is PIC.
12149 lt_prog_compiler_static_FC
='-non_shared'
12151 xl
* | bgxl
* | bgf
* | mpixl
*)
12152 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12153 lt_prog_compiler_wl_FC
='-Wl,'
12154 lt_prog_compiler_pic_FC
='-qpic'
12155 lt_prog_compiler_static_FC
='-qstaticlink'
12158 case `$CC -V 2>&1 | sed 5q` in
12159 *Sun\ F
* |
*Sun
*Fortran
*)
12160 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12161 lt_prog_compiler_pic_FC
='-KPIC'
12162 lt_prog_compiler_static_FC
='-Bstatic'
12163 lt_prog_compiler_wl_FC
=''
12167 lt_prog_compiler_pic_FC
='-KPIC'
12168 lt_prog_compiler_static_FC
='-Bstatic'
12169 lt_prog_compiler_wl_FC
='-Wl,'
12177 lt_prog_compiler_pic_FC
='-KPIC'
12178 lt_prog_compiler_static_FC
='-Bstatic'
12182 # QNX uses GNU C++, but need to define -shared option too, otherwise
12183 # it will coredump.
12184 lt_prog_compiler_pic_FC
='-fPIC -shared'
12187 osf3
* | osf4
* | osf5
*)
12188 lt_prog_compiler_wl_FC
='-Wl,'
12189 # All OSF/1 code is PIC.
12190 lt_prog_compiler_static_FC
='-non_shared'
12194 lt_prog_compiler_static_FC
='-non_shared'
12198 lt_prog_compiler_pic_FC
='-KPIC'
12199 lt_prog_compiler_static_FC
='-Bstatic'
12200 case $cc_basename in
12201 f77
* | f90
* | f95
*)
12202 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12204 lt_prog_compiler_wl_FC
='-Wl,';;
12209 lt_prog_compiler_wl_FC
='-Qoption ld '
12210 lt_prog_compiler_pic_FC
='-PIC'
12211 lt_prog_compiler_static_FC
='-Bstatic'
12214 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12215 lt_prog_compiler_wl_FC
='-Wl,'
12216 lt_prog_compiler_pic_FC
='-KPIC'
12217 lt_prog_compiler_static_FC
='-Bstatic'
12221 if test -d /usr
/nec
;then
12222 lt_prog_compiler_pic_FC
='-Kconform_pic'
12223 lt_prog_compiler_static_FC
='-Bstatic'
12227 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12228 lt_prog_compiler_wl_FC
='-Wl,'
12229 lt_prog_compiler_pic_FC
='-KPIC'
12230 lt_prog_compiler_static_FC
='-Bstatic'
12234 lt_prog_compiler_wl_FC
='-Wl,'
12235 lt_prog_compiler_can_build_shared_FC
=no
12239 lt_prog_compiler_pic_FC
='-pic'
12240 lt_prog_compiler_static_FC
='-Bstatic'
12244 lt_prog_compiler_can_build_shared_FC
=no
12250 # For platforms which do not support PIC, -DPIC is meaningless:
12252 lt_prog_compiler_pic_FC
=
12255 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12259 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12264 # Check to make sure the PIC flag actually works.
12266 if test -n "$lt_prog_compiler_pic_FC"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12268 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12269 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12270 $as_echo_n "(cached) " >&6
12272 lt_cv_prog_compiler_pic_works_FC
=no
12273 ac_outfile
=conftest.
$ac_objext
12274 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12275 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12276 # Insert the option either (1) after the last *FLAGS variable, or
12277 # (2) before a word containing "conftest.", or (3) at the end.
12278 # Note that $ac_compile itself does not contain backslashes and begins
12279 # with a dollar sign (not a hyphen), so the echo should work correctly.
12280 # The option is referenced via a variable to avoid confusing sed.
12281 lt_compile
=`echo "$ac_compile" | $SED \
12282 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12283 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12284 -e 's:$: $lt_compiler_flag:'`
12285 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12286 (eval "$lt_compile" 2>conftest.err
)
12288 cat conftest.err
>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 if (exit $ac_status) && test -s "$ac_outfile"; then
12291 # The compiler can only warn and ignore the option if not recognized
12292 # So say no if there are warnings other than the usual output.
12293 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12294 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12295 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12296 lt_cv_prog_compiler_pic_works_FC
=yes
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12303 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12305 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12306 case $lt_prog_compiler_pic_FC in
12308 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12311 lt_prog_compiler_pic_FC
=
12312 lt_prog_compiler_can_build_shared_FC
=no
12320 # Check to make sure the static flag actually works.
12322 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12324 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12325 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12326 $as_echo_n "(cached) " >&6
12328 lt_cv_prog_compiler_static_works_FC
=no
12329 save_LDFLAGS
="$LDFLAGS"
12330 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12331 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12332 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12333 # The linker can only warn and ignore the option if not recognized
12334 # So say no if there are warnings
12335 if test -s conftest.err
; then
12336 # Append any errors to the config.log.
12337 cat conftest.err
1>&5
12338 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12339 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12340 if diff conftest.exp conftest.er2
>/dev
/null
; then
12341 lt_cv_prog_compiler_static_works_FC
=yes
12344 lt_cv_prog_compiler_static_works_FC
=yes
12348 LDFLAGS
="$save_LDFLAGS"
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12352 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12354 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12357 lt_prog_compiler_static_FC
=
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12364 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12365 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12366 $as_echo_n "(cached) " >&6
12368 lt_cv_prog_compiler_c_o_FC
=no
12369 $RM -r conftest
2>/dev
/null
12373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12375 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12376 # Insert the option either (1) after the last *FLAGS variable, or
12377 # (2) before a word containing "conftest.", or (3) at the end.
12378 # Note that $ac_compile itself does not contain backslashes and begins
12379 # with a dollar sign (not a hyphen), so the echo should work correctly.
12380 lt_compile
=`echo "$ac_compile" | $SED \
12381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12383 -e 's:$: $lt_compiler_flag:'`
12384 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12385 (eval "$lt_compile" 2>out
/conftest.err
)
12387 cat out
/conftest.err
>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12391 # The compiler can only warn and ignore the option if not recognized
12392 # So say no if there are warnings
12393 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12394 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12395 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12396 lt_cv_prog_compiler_c_o_FC
=yes
12401 # SGI C++ compiler will create directory out/ii_files/ for
12402 # template instantiation
12403 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12404 $RM out
/* && rmdir out
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12411 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12416 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12417 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12418 $as_echo_n "(cached) " >&6
12420 lt_cv_prog_compiler_c_o_FC
=no
12421 $RM -r conftest
2>/dev
/null
12425 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12427 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12428 # Insert the option either (1) after the last *FLAGS variable, or
12429 # (2) before a word containing "conftest.", or (3) at the end.
12430 # Note that $ac_compile itself does not contain backslashes and begins
12431 # with a dollar sign (not a hyphen), so the echo should work correctly.
12432 lt_compile
=`echo "$ac_compile" | $SED \
12433 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12434 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12435 -e 's:$: $lt_compiler_flag:'`
12436 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12437 (eval "$lt_compile" 2>out
/conftest.err
)
12439 cat out
/conftest.err
>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12443 # The compiler can only warn and ignore the option if not recognized
12444 # So say no if there are warnings
12445 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12446 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12447 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12448 lt_cv_prog_compiler_c_o_FC
=yes
12453 # SGI C++ compiler will create directory out/ii_files/ for
12454 # template instantiation
12455 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12456 $RM out
/* && rmdir out
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12463 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12468 hard_links
="nottested"
12469 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12470 # do not overwrite the value of need_locks provided by the user
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12472 $as_echo_n "checking if we can lock with hard links... " >&6; }
12475 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12477 ln conftest.a conftest.b
2>&5 || hard_links
=no
12478 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12480 $as_echo "$hard_links" >&6; }
12481 if test "$hard_links" = no
; then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12483 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12493 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12496 allow_undefined_flag_FC
=
12497 always_export_symbols_FC
=no
12499 archive_expsym_cmds_FC
=
12500 compiler_needs_object_FC
=no
12501 enable_shared_with_static_runtimes_FC
=no
12502 export_dynamic_flag_spec_FC
=
12503 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12504 hardcode_automatic_FC
=no
12505 hardcode_direct_FC
=no
12506 hardcode_direct_absolute_FC
=no
12507 hardcode_libdir_flag_spec_FC
=
12508 hardcode_libdir_flag_spec_ld_FC
=
12509 hardcode_libdir_separator_FC
=
12510 hardcode_minus_L_FC
=no
12511 hardcode_shlibpath_var_FC
=unsupported
12512 inherit_rpath_FC
=no
12513 link_all_deplibs_FC
=unknown
12515 module_expsym_cmds_FC
=
12516 old_archive_from_new_cmds_FC
=
12517 old_archive_from_expsyms_cmds_FC
=
12518 thread_safe_flag_spec_FC
=
12519 whole_archive_flag_spec_FC
=
12520 # include_expsyms should be a list of space-separated symbols to be *always*
12521 # included in the symbol list
12522 include_expsyms_FC
=
12523 # exclude_expsyms can be an extended regexp of symbols to exclude
12524 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12525 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12526 # as well as any symbol that contains `d'.
12527 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12528 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12529 # platforms (ab)use it in PIC code, but their linkers get confused if
12530 # the symbol is explicitly referenced. Since portable code cannot
12531 # rely on this symbol name, it's probably fine to never include it in
12532 # preloaded symbol tables.
12533 # Exclude shared library initialization/finalization symbols.
12534 extract_expsyms_cmds
=
12537 cygwin
* | mingw
* | pw32
* | cegcc
*)
12538 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12539 # When not using gcc, we currently assume that we are using
12540 # Microsoft Visual C++.
12541 if test "$GCC" != yes; then
12546 # we just hope/assume this is gcc and not c89 (= MSVC++)
12556 # On some targets, GNU ld is compatible enough with the native linker
12557 # that we're better off using the native interface for both.
12558 lt_use_gnu_ld_interface
=no
12559 if test "$with_gnu_ld" = yes; then
12562 # The AIX port of GNU ld has always aspired to compatibility
12563 # with the native linker. However, as the warning in the GNU ld
12564 # block says, versions before 2.19.5* couldn't really create working
12565 # shared libraries, regardless of the interface used.
12566 case `$LD -v 2>&1` in
12567 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12568 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12569 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12571 lt_use_gnu_ld_interface
=yes
12576 lt_use_gnu_ld_interface
=yes
12581 if test "$lt_use_gnu_ld_interface" = yes; then
12582 # If archive_cmds runs LD, not CC, wlarc should be empty
12585 # Set some defaults for GNU ld with shared library support. These
12586 # are reset later if shared libraries are not supported. Putting them
12587 # here allows them to be overridden if necessary.
12588 runpath_var
=LD_RUN_PATH
12589 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12590 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12591 # ancient GNU ld didn't support --whole-archive et. al.
12592 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12593 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12595 whole_archive_flag_spec_FC
=
12597 supports_anon_versioning
=no
12598 case `$LD -v 2>&1` in
12599 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12600 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12601 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12602 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12603 *\
2.11.
*) ;; # other 2.11 versions
12604 *) supports_anon_versioning
=yes ;;
12607 # See if GNU ld supports shared libraries.
12610 # On AIX/PPC, the GNU linker is very broken
12611 if test "$host_cpu" != ia64
; then
12615 *** Warning: the GNU linker, at least up to release 2.19, is reported
12616 *** to be unable to reliably create shared libraries on AIX.
12617 *** Therefore, libtool is disabling shared libraries support. If you
12618 *** really care for shared libraries, you may want to install binutils
12619 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12620 *** You will then need to restart the configuration process.
12629 # see comment about AmigaOS4 .so support
12630 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12631 archive_expsym_cmds_FC
=''
12634 archive_cmds_FC
='$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)'
12635 hardcode_libdir_flag_spec_FC
='-L$libdir'
12636 hardcode_minus_L_FC
=yes
12642 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12643 allow_undefined_flag_FC
=unsupported
12644 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12645 # support --undefined. This deserves some investigation. FIXME
12646 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12652 cygwin
* | mingw
* | pw32
* | cegcc
*)
12653 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12654 # as there is no search path for DLLs.
12655 hardcode_libdir_flag_spec_FC
='-L$libdir'
12656 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12657 allow_undefined_flag_FC
=unsupported
12658 always_export_symbols_FC
=no
12659 enable_shared_with_static_runtimes_FC
=yes
12660 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12662 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12663 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12664 # If the export-symbols file already is a .def file (1st line
12665 # is EXPORTS), use it as is; otherwise, prepend...
12666 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12667 cp $export_symbols $output_objdir/$soname.def;
12669 echo EXPORTS > $output_objdir/$soname.def;
12670 cat $export_symbols >> $output_objdir/$soname.def;
12672 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12679 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12680 link_all_deplibs_FC
=yes
12684 hardcode_direct_FC
=no
12685 hardcode_shlibpath_var_FC
=no
12686 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12687 export_dynamic_flag_spec_FC
='${wl}-E'
12688 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12689 # Instead, shared libraries are loaded at an image base (0x10000000 by
12690 # default) and relocated if they conflict, which is a slow very memory
12691 # consuming and fragmenting process. To avoid this, we pick a random,
12692 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12693 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12694 archive_cmds_FC
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12695 archive_expsym_cmds_FC
='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'
12698 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12700 if test "$host_os" = linux-dietlibc
; then
12701 case $cc_basename in
12702 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12705 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12706 && test "$tmp_diet" = no
12709 tmp_sharedflag
='-shared'
12710 case $cc_basename,$host_cpu in
12711 pgcc
*) # Portland Group C compiler
12712 whole_archive_flag_spec_FC
='${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'
12713 tmp_addflag
=' $pic_flag'
12715 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12716 # Portland Group f77 and f90 compilers
12717 whole_archive_flag_spec_FC
='${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'
12718 tmp_addflag
=' $pic_flag -Mnomain' ;;
12719 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12720 tmp_addflag
=' -i_dynamic' ;;
12721 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12722 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12723 ifc
* | ifort
*) # Intel Fortran compiler
12724 tmp_addflag
=' -nofor_main' ;;
12725 lf95
*) # Lahey Fortran 8.1
12726 whole_archive_flag_spec_FC
=
12727 tmp_sharedflag
='--shared' ;;
12728 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12729 tmp_sharedflag
='-qmkshrobj'
12731 nvcc
*) # Cuda Compiler Driver 2.2
12732 whole_archive_flag_spec_FC
='${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'
12733 compiler_needs_object_FC
=yes
12736 case `$CC -V 2>&1 | sed 5q` in
12737 *Sun\ C
*) # Sun C 5.9
12738 whole_archive_flag_spec_FC
='${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'
12739 compiler_needs_object_FC
=yes
12740 tmp_sharedflag
='-G' ;;
12741 *Sun\ F
*) # Sun Fortran 8.3
12742 tmp_sharedflag
='-G' ;;
12744 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12746 if test "x$supports_anon_versioning" = xyes
; then
12747 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12748 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12749 echo "local: *; };" >> $output_objdir/$libname.ver~
12750 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12753 case $cc_basename in
12754 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12755 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12756 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12757 hardcode_libdir_flag_spec_FC
=
12758 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12759 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12760 if test "x$supports_anon_versioning" = xyes
; then
12761 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12762 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12763 echo "local: *; };" >> $output_objdir/$libname.ver~
12764 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12774 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12775 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12778 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12779 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12784 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12788 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12789 *** create shared libraries on Solaris systems. Therefore, libtool
12790 *** is disabling shared libraries support. We urge you to upgrade GNU
12791 *** binutils to release 2.9.1 or newer. Another option is to modify
12792 *** your PATH or compiler configuration so that the native linker is
12793 *** used, and then restart.
12796 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12797 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12798 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12804 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12805 case `$LD -v 2>&1` in
12806 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12810 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12811 *** reliably create shared libraries on SCO systems. Therefore, libtool
12812 *** is disabling shared libraries support. We urge you to upgrade GNU
12813 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12814 *** your PATH or compiler configuration so that the native linker is
12815 *** used, and then restart.
12820 # For security reasons, it is highly recommended that you always
12821 # use absolute paths for naming shared libraries, and exclude the
12822 # DT_RUNPATH tag from executables and libraries. But doing so
12823 # requires that you compile everything twice, which is a pain.
12824 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12825 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12826 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12827 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12836 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12838 hardcode_direct_FC
=yes
12839 hardcode_shlibpath_var_FC
=no
12843 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12844 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12845 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12852 if test "$ld_shlibs_FC" = no
; then
12854 hardcode_libdir_flag_spec_FC
=
12855 export_dynamic_flag_spec_FC
=
12856 whole_archive_flag_spec_FC
=
12859 # PORTME fill in a description of your system's linker (not GNU ld)
12862 allow_undefined_flag_FC
=unsupported
12863 always_export_symbols_FC
=yes
12864 archive_expsym_cmds_FC
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12865 # Note: this linker hardcodes the directories in LIBPATH if there
12866 # are no directories specified by -L.
12867 hardcode_minus_L_FC
=yes
12868 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12869 # Neither direct hardcoding nor static linking is supported with a
12871 hardcode_direct_FC
=unsupported
12876 if test "$host_cpu" = ia64
; then
12877 # On IA64, the linker does run time linking by default, so we don't
12878 # have to do anything special.
12879 aix_use_runtimelinking
=no
12880 exp_sym_flag
='-Bexport'
12883 # If we're using GNU nm, then we don't want the "-C" option.
12884 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12885 # Also, AIX nm treats weak defined symbols like other global
12886 # defined symbols, whereas GNU nm marks them as "W".
12887 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12888 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12890 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12892 aix_use_runtimelinking
=no
12894 # Test if we are trying to use run time linking or normal
12895 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12896 # need to do runtime linking.
12897 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12898 for ld_flag
in $LDFLAGS; do
12899 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12900 aix_use_runtimelinking
=yes
12907 exp_sym_flag
='-bexport'
12908 no_entry_flag
='-bnoentry'
12911 # When large executables or shared objects are built, AIX ld can
12912 # have problems creating the table of contents. If linking a library
12913 # or program results in "error TOC overflow" add -mminimal-toc to
12914 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12915 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12918 hardcode_direct_FC
=yes
12919 hardcode_direct_absolute_FC
=yes
12920 hardcode_libdir_separator_FC
=':'
12921 link_all_deplibs_FC
=yes
12922 file_list_spec_FC
='${wl}-f,'
12924 if test "$GCC" = yes; then
12925 case $host_os in aix4.
[012]|aix4.
[012].
*)
12926 # We only want to do this on AIX 4.2 and lower, the check
12927 # below for broken collect2 doesn't work under 4.3+
12928 collect2name
=`${CC} -print-prog-name=collect2`
12929 if test -f "$collect2name" &&
12930 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12932 # We have reworked collect2
12935 # We have old collect2
12936 hardcode_direct_FC
=unsupported
12937 # It fails to find uninstalled libraries when the uninstalled
12938 # path is not listed in the libpath. Setting hardcode_minus_L
12939 # to unsupported forces relinking
12940 hardcode_minus_L_FC
=yes
12941 hardcode_libdir_flag_spec_FC
='-L$libdir'
12942 hardcode_libdir_separator_FC
=
12946 shared_flag
='-shared'
12947 if test "$aix_use_runtimelinking" = yes; then
12948 shared_flag
="$shared_flag "'${wl}-G'
12952 if test "$host_cpu" = ia64
; then
12953 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12954 # chokes on -Wl,-G. The following line is correct:
12957 if test "$aix_use_runtimelinking" = yes; then
12958 shared_flag
='${wl}-G'
12960 shared_flag
='${wl}-bM:SRE'
12965 export_dynamic_flag_spec_FC
='${wl}-bexpall'
12966 # It seems that -bexpall does not export symbols beginning with
12967 # underscore (_), so it is better to generate a list of symbols to export.
12968 always_export_symbols_FC
=yes
12969 if test "$aix_use_runtimelinking" = yes; then
12970 # Warning - without using the other runtime loading flags (-brtl),
12971 # -berok will link without error, but may produce a broken library.
12972 allow_undefined_flag_FC
='-berok'
12973 # Determine the default libpath from the value encoded in an
12974 # empty executable.
12975 cat > conftest.
$ac_ext <<_ACEOF
12980 if ac_fn_fc_try_link
"$LINENO"; then :
12982 lt_aix_libpath_sed
='
12983 /Import File Strings/,/^$/ {
12989 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12990 # Check for a 64-bit object if we didn't find anything.
12991 if test -z "$aix_libpath"; then
12992 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12995 rm -f core conftest.err conftest.
$ac_objext \
12996 conftest
$ac_exeext conftest.
$ac_ext
12997 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12999 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13000 archive_expsym_cmds_FC
='$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"
13002 if test "$host_cpu" = ia64
; then
13003 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13004 allow_undefined_flag_FC
="-z nodefs"
13005 archive_expsym_cmds_FC
="\$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"
13007 # Determine the default libpath from the value encoded in an
13008 # empty executable.
13009 cat > conftest.
$ac_ext <<_ACEOF
13014 if ac_fn_fc_try_link
"$LINENO"; then :
13016 lt_aix_libpath_sed
='
13017 /Import File Strings/,/^$/ {
13023 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13024 # Check for a 64-bit object if we didn't find anything.
13025 if test -z "$aix_libpath"; then
13026 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13029 rm -f core conftest.err conftest.
$ac_objext \
13030 conftest
$ac_exeext conftest.
$ac_ext
13031 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13033 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13034 # Warning - without using the other run time loading flags,
13035 # -berok will link without error, but may produce a broken library.
13036 no_undefined_flag_FC
=' ${wl}-bernotok'
13037 allow_undefined_flag_FC
=' ${wl}-berok'
13038 if test "$with_gnu_ld" = yes; then
13039 # We only use this code for GNU lds that support --whole-archive.
13040 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13042 # Exported symbols can be pulled into shared objects from archives
13043 whole_archive_flag_spec_FC
='$convenience'
13045 archive_cmds_need_lc_FC
=yes
13046 # This is similar to how AIX traditionally builds its shared libraries.
13047 archive_expsym_cmds_FC
="\$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'
13055 # see comment about AmigaOS4 .so support
13056 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13057 archive_expsym_cmds_FC
=''
13060 archive_cmds_FC
='$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)'
13061 hardcode_libdir_flag_spec_FC
='-L$libdir'
13062 hardcode_minus_L_FC
=yes
13068 export_dynamic_flag_spec_FC
=-rdynamic
13071 cygwin
* | mingw
* | pw32
* | cegcc
*)
13072 # When not using gcc, we currently assume that we are using
13073 # Microsoft Visual C++.
13074 # hardcode_libdir_flag_spec is actually meaningless, as there is
13075 # no search path for DLLs.
13076 hardcode_libdir_flag_spec_FC
=' '
13077 allow_undefined_flag_FC
=unsupported
13078 # Tell ltmain to make .lib files, not .a files.
13080 # Tell ltmain to make .dll files, not .so files.
13082 # FIXME: Setting linknames here is a bad hack.
13083 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13084 # The linker will automatically build a .lib file if we build a DLL.
13085 old_archive_from_new_cmds_FC
='true'
13086 # FIXME: Should let the user specify the lib program.
13087 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13088 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13089 enable_shared_with_static_runtimes_FC
=yes
13092 darwin
* | rhapsody
*)
13095 archive_cmds_need_lc_FC
=no
13096 hardcode_direct_FC
=no
13097 hardcode_automatic_FC
=yes
13098 hardcode_shlibpath_var_FC
=unsupported
13099 if test "$lt_cv_ld_force_load" = "yes"; then
13100 whole_archive_flag_spec_FC
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13102 whole_archive_flag_spec_FC
=''
13104 link_all_deplibs_FC
=yes
13105 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13106 case $cc_basename in
13107 ifort
*) _lt_dar_can_shared
=yes ;;
13108 *) _lt_dar_can_shared
=$GCC ;;
13110 if test "$_lt_dar_can_shared" = "yes"; then
13111 output_verbose_link_cmd
=func_echo_all
13112 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13113 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13114 archive_expsym_cmds_FC
="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}"
13115 module_expsym_cmds_FC
="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}"
13124 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13125 hardcode_libdir_flag_spec_FC
='-L$libdir'
13126 hardcode_shlibpath_var_FC
=no
13133 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13134 # support. Future versions do this automatically, but an explicit c++rt0.o
13135 # does not break anything, and helps significantly (at the cost of a little
13138 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13139 hardcode_libdir_flag_spec_FC
='-R$libdir'
13140 hardcode_direct_FC
=yes
13141 hardcode_shlibpath_var_FC
=no
13144 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13146 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13147 hardcode_direct_FC
=yes
13148 hardcode_minus_L_FC
=yes
13149 hardcode_shlibpath_var_FC
=no
13152 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13153 freebsd
* | dragonfly
*)
13154 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13155 hardcode_libdir_flag_spec_FC
='-R$libdir'
13156 hardcode_direct_FC
=yes
13157 hardcode_shlibpath_var_FC
=no
13161 if test "$GCC" = yes; then
13162 archive_cmds_FC
='$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'
13164 archive_cmds_FC
='$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'
13166 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13167 hardcode_libdir_separator_FC
=:
13168 hardcode_direct_FC
=yes
13170 # hardcode_minus_L: Not really in the search PATH,
13171 # but as the default location of the library.
13172 hardcode_minus_L_FC
=yes
13173 export_dynamic_flag_spec_FC
='${wl}-E'
13177 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13178 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13182 if test "$with_gnu_ld" = no
; then
13183 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13184 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13185 hardcode_libdir_separator_FC
=:
13186 hardcode_direct_FC
=yes
13187 hardcode_direct_absolute_FC
=yes
13188 export_dynamic_flag_spec_FC
='${wl}-E'
13189 # hardcode_minus_L: Not really in the search PATH,
13190 # but as the default location of the library.
13191 hardcode_minus_L_FC
=yes
13196 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13199 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13202 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13205 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13221 if test "$with_gnu_ld" = no
; then
13222 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13223 hardcode_libdir_separator_FC
=:
13227 hardcode_direct_FC
=no
13228 hardcode_shlibpath_var_FC
=no
13231 hardcode_direct_FC
=yes
13232 hardcode_direct_absolute_FC
=yes
13233 export_dynamic_flag_spec_FC
='${wl}-E'
13235 # hardcode_minus_L: Not really in the search PATH,
13236 # but as the default location of the library.
13237 hardcode_minus_L_FC
=yes
13243 irix5
* | irix6
* | nonstopux
*)
13244 if test "$GCC" = yes; then
13245 archive_cmds_FC
='$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'
13246 # Try to use the -exported_symbol ld option, if it does not
13247 # work, assume that -exports_file does not work either and
13248 # implicitly export all symbols.
13249 save_LDFLAGS
="$LDFLAGS"
13250 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13251 cat > conftest.
$ac_ext <<_ACEOF
13254 if ac_fn_fc_try_link
"$LINENO"; then :
13255 archive_expsym_cmds_FC
='$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'
13258 rm -f core conftest.err conftest.
$ac_objext \
13259 conftest
$ac_exeext conftest.
$ac_ext
13260 LDFLAGS
="$save_LDFLAGS"
13262 archive_cmds_FC
='$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'
13263 archive_expsym_cmds_FC
='$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'
13265 archive_cmds_need_lc_FC
='no'
13266 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13267 hardcode_libdir_separator_FC
=:
13268 inherit_rpath_FC
=yes
13269 link_all_deplibs_FC
=yes
13273 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13274 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13276 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13278 hardcode_libdir_flag_spec_FC
='-R$libdir'
13279 hardcode_direct_FC
=yes
13280 hardcode_shlibpath_var_FC
=no
13284 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13285 hardcode_direct_FC
=yes
13286 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13287 hardcode_libdir_separator_FC
=:
13288 hardcode_shlibpath_var_FC
=no
13295 if test -f /usr
/libexec
/ld.so
; then
13296 hardcode_direct_FC
=yes
13297 hardcode_shlibpath_var_FC
=no
13298 hardcode_direct_absolute_FC
=yes
13299 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13300 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13301 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13302 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13303 export_dynamic_flag_spec_FC
='${wl}-E'
13306 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13307 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13308 hardcode_libdir_flag_spec_FC
='-R$libdir'
13311 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13312 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13322 hardcode_libdir_flag_spec_FC
='-L$libdir'
13323 hardcode_minus_L_FC
=yes
13324 allow_undefined_flag_FC
=unsupported
13325 archive_cmds_FC
='$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'
13326 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13330 if test "$GCC" = yes; then
13331 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13332 archive_cmds_FC
='$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'
13334 allow_undefined_flag_FC
=' -expect_unresolved \*'
13335 archive_cmds_FC
='$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'
13337 archive_cmds_need_lc_FC
='no'
13338 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13339 hardcode_libdir_separator_FC
=:
13342 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13343 if test "$GCC" = yes; then
13344 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13345 archive_cmds_FC
='$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'
13346 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13348 allow_undefined_flag_FC
=' -expect_unresolved \*'
13349 archive_cmds_FC
='$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'
13350 archive_expsym_cmds_FC
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13351 $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'
13353 # Both c and cxx compiler support -rpath directly
13354 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13356 archive_cmds_need_lc_FC
='no'
13357 hardcode_libdir_separator_FC
=:
13361 no_undefined_flag_FC
=' -z defs'
13362 if test "$GCC" = yes; then
13364 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13365 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13366 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13368 case `$CC -V 2>&1` in
13371 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13372 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13373 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13377 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13378 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13379 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13383 hardcode_libdir_flag_spec_FC
='-R$libdir'
13384 hardcode_shlibpath_var_FC
=no
13386 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13388 # The compiler driver will combine and reorder linker options,
13389 # but understands `-z linker_flag'. GCC discards it without `$wl',
13390 # but is careful enough not to reorder.
13391 # Supported since Solaris 2.6 (maybe 2.5.1?)
13392 if test "$GCC" = yes; then
13393 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13395 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13399 link_all_deplibs_FC
=yes
13403 if test "x$host_vendor" = xsequent
; then
13404 # Use $CC to link under sequent, because it throws in some extra .o
13405 # files that make .init and .fini sections work.
13406 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13408 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13410 hardcode_libdir_flag_spec_FC
='-L$libdir'
13411 hardcode_direct_FC
=yes
13412 hardcode_minus_L_FC
=yes
13413 hardcode_shlibpath_var_FC
=no
13417 case $host_vendor in
13419 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13420 hardcode_direct_FC
=yes # is this really true???
13423 ## LD is ld it makes a PLAMLIB
13424 ## CC just makes a GrossModule.
13425 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13426 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13427 hardcode_direct_FC
=no
13430 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13431 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13434 runpath_var
='LD_RUN_PATH'
13435 hardcode_shlibpath_var_FC
=no
13439 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13440 hardcode_shlibpath_var_FC
=no
13441 export_dynamic_flag_spec_FC
='-Bexport'
13445 if test -d /usr
/nec
; then
13446 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13447 hardcode_shlibpath_var_FC
=no
13448 runpath_var
=LD_RUN_PATH
13449 hardcode_runpath_var
=yes
13454 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13455 no_undefined_flag_FC
='${wl}-z,text'
13456 archive_cmds_need_lc_FC
=no
13457 hardcode_shlibpath_var_FC
=no
13458 runpath_var
='LD_RUN_PATH'
13460 if test "$GCC" = yes; then
13461 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13462 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13464 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13465 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13469 sysv5
* | sco3.2v5
* | sco5v6
*)
13470 # Note: We can NOT use -z defs as we might desire, because we do not
13471 # link with -lc, and that would cause any symbols used from libc to
13472 # always be unresolved, which means just about no library would
13473 # ever link correctly. If we're not using GNU ld we use -z text
13474 # though, which does catch some bad symbols but isn't as heavy-handed
13476 no_undefined_flag_FC
='${wl}-z,text'
13477 allow_undefined_flag_FC
='${wl}-z,nodefs'
13478 archive_cmds_need_lc_FC
=no
13479 hardcode_shlibpath_var_FC
=no
13480 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13481 hardcode_libdir_separator_FC
=':'
13482 link_all_deplibs_FC
=yes
13483 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13484 runpath_var
='LD_RUN_PATH'
13486 if test "$GCC" = yes; then
13487 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13488 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13490 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13496 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13497 hardcode_libdir_flag_spec_FC
='-L$libdir'
13498 hardcode_shlibpath_var_FC
=no
13506 if test x
$host_vendor = xsni
; then
13508 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13509 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13516 $as_echo "$ld_shlibs_FC" >&6; }
13517 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13519 with_gnu_ld_FC
=$with_gnu_ld
13527 # Do we need to explicitly link libc?
13529 case "x$archive_cmds_need_lc_FC" in
13531 # Assume -lc should be added
13532 archive_cmds_need_lc_FC
=yes
13534 if test "$enable_shared" = yes && test "$GCC" = yes; then
13535 case $archive_cmds_FC in
13537 # FIXME: we may have to deal with multi-command sequences.
13540 # Test whether the compiler implicitly links with -lc since on some
13541 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13542 # to ld, don't add -lc before -lgcc.
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13544 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13545 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13546 $as_echo_n "(cached) " >&6
13549 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13551 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13552 (eval $ac_compile) 2>&5
13554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13555 test $ac_status = 0; } 2>conftest.err
; then
13558 libobjs
=conftest.
$ac_objext
13560 wl
=$lt_prog_compiler_wl_FC
13561 pic_flag
=$lt_prog_compiler_pic_FC
13567 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13568 allow_undefined_flag_FC
=
13569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13570 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13573 test $ac_status = 0; }
13575 lt_cv_archive_cmds_need_lc_FC
=no
13577 lt_cv_archive_cmds_need_lc_FC
=yes
13579 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13581 cat conftest.err
1>&5
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13587 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13588 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13659 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13661 library_names_spec
=
13662 libname_spec
='lib$name'
13666 postuninstall_cmds
=
13670 shlibpath_overrides_runpath
=unknown
13672 dynamic_linker
="$host_os ld.so"
13673 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13674 need_lib_prefix
=unknown
13675 hardcode_into_libs
=no
13677 # when you set need_version to no, make sure it does not cause -set_version
13678 # flags to be left without arguments
13679 need_version
=unknown
13684 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13685 shlibpath_var
=LIBPATH
13687 # AIX 3 has no versioning support, so we append a major version to the name.
13688 soname_spec
='${libname}${release}${shared_ext}$major'
13695 hardcode_into_libs
=yes
13696 if test "$host_cpu" = ia64
; then
13697 # AIX 5 supports IA64
13698 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13699 shlibpath_var
=LD_LIBRARY_PATH
13701 # With GCC up to 2.95.x, collect2 would create an import file
13702 # for dependence libraries. The import file would start with
13703 # the line `#! .'. This would cause the generated library to
13704 # depend on `.', always an invalid library. This was fixed in
13705 # development snapshots of GCC prior to 3.0.
13707 aix4 | aix4.
[01] | aix4.
[01].
*)
13708 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13710 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13713 can_build_shared
=no
13717 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13718 # soname into executable. Probably we can add versioning support to
13719 # collect2, so additional links can be useful in future.
13720 if test "$aix_use_runtimelinking" = yes; then
13721 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13722 # instead of lib<name>.a to let people know that these are not
13723 # typical AIX shared libraries.
13724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13726 # We preserve .a as extension for shared libraries through AIX4.2
13727 # and later when we are not doing run time linking.
13728 library_names_spec
='${libname}${release}.a $libname.a'
13729 soname_spec
='${libname}${release}${shared_ext}$major'
13731 shlibpath_var
=LIBPATH
13738 # Since July 2007 AmigaOS4 officially supports .so libraries.
13739 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13743 library_names_spec
='$libname.ixlibrary $libname.a'
13744 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13745 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'
13751 library_names_spec
='${libname}${shared_ext}'
13752 dynamic_linker
="$host_os ld.so"
13753 shlibpath_var
=LIBRARY_PATH
13759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13760 soname_spec
='${libname}${release}${shared_ext}$major'
13761 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13762 shlibpath_var
=LD_LIBRARY_PATH
13763 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13764 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13765 # the default ld.so.conf also contains /usr/contrib/lib and
13766 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13767 # libtool to hard-code these into programs
13770 cygwin
* | mingw
* | pw32
* | cegcc
*)
13771 version_type
=windows
13776 case $GCC,$host_os in
13777 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13778 library_names_spec
='$libname.dll.a'
13779 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13780 postinstall_cmds
='base_file=`basename \${file}`~
13781 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13782 dldir=$destdir/`dirname \$dlpath`~
13783 test -d \$dldir || mkdir -p \$dldir~
13784 $install_prog $dir/$dlname \$dldir/$dlname~
13785 chmod a+x \$dldir/$dlname~
13786 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13787 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13789 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13790 dlpath=$dir/\$dldll~
13792 shlibpath_overrides_runpath
=yes
13796 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13797 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13801 # MinGW DLLs use traditional 'lib' prefix
13802 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13805 # pw32 DLLs use 'pw' prefix rather than 'lib'
13806 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13812 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13815 dynamic_linker
='Win32 ld.exe'
13816 # FIXME: first we should search . and the directory the executable is in
13820 darwin
* | rhapsody
*)
13821 dynamic_linker
="$host_os dyld"
13822 version_type
=darwin
13825 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13826 soname_spec
='${libname}${release}${major}$shared_ext'
13827 shlibpath_overrides_runpath
=yes
13828 shlibpath_var
=DYLD_LIBRARY_PATH
13829 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13831 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13839 soname_spec
='${libname}${release}${shared_ext}$major'
13840 shlibpath_var
=LD_LIBRARY_PATH
13847 freebsd
* | dragonfly
*)
13848 # DragonFly does not have aout. When/if they implement a new
13849 # versioning mechanism, adjust this.
13850 if test -x /usr
/bin
/objformat
; then
13851 objformat
=`/usr/bin/objformat`
13854 freebsd
[123]*) objformat
=aout
;;
13855 *) objformat
=elf
;;
13858 version_type
=freebsd-
$objformat
13859 case $version_type in
13861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13866 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13870 shlibpath_var
=LD_LIBRARY_PATH
13873 shlibpath_overrides_runpath
=yes
13875 freebsd3.
[01]* | freebsdelf3.
[01]*)
13876 shlibpath_overrides_runpath
=yes
13877 hardcode_into_libs
=yes
13879 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13880 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13881 shlibpath_overrides_runpath
=no
13882 hardcode_into_libs
=yes
13884 *) # from 4.6 on, and DragonFly
13885 shlibpath_overrides_runpath
=yes
13886 hardcode_into_libs
=yes
13895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13896 soname_spec
='${libname}${release}${shared_ext}$major'
13897 shlibpath_var
=LD_LIBRARY_PATH
13898 hardcode_into_libs
=yes
13905 dynamic_linker
="$host_os runtime_loader"
13906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13907 soname_spec
='${libname}${release}${shared_ext}$major'
13908 shlibpath_var
=LIBRARY_PATH
13909 shlibpath_overrides_runpath
=yes
13910 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13911 hardcode_into_libs
=yes
13914 hpux9
* | hpux10
* | hpux11
*)
13915 # Give a soname corresponding to the major version so that dld.sl refuses to
13916 # link against other versions.
13923 hardcode_into_libs
=yes
13924 dynamic_linker
="$host_os dld.so"
13925 shlibpath_var
=LD_LIBRARY_PATH
13926 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13928 soname_spec
='${libname}${release}${shared_ext}$major'
13929 if test "X$HPUX_IA64_MODE" = X32
; then
13930 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13932 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13934 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13938 hardcode_into_libs
=yes
13939 dynamic_linker
="$host_os dld.sl"
13940 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13941 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13943 soname_spec
='${libname}${release}${shared_ext}$major'
13944 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13945 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13949 dynamic_linker
="$host_os dld.sl"
13950 shlibpath_var
=SHLIB_PATH
13951 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13953 soname_spec
='${libname}${release}${shared_ext}$major'
13956 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13957 postinstall_cmds
='chmod 555 $lib'
13958 # or fails outright, so override atomically:
13959 install_override_mode
=555
13966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13967 soname_spec
='${libname}${release}${shared_ext}$major'
13968 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13969 shlibpath_var
=LD_LIBRARY_PATH
13970 shlibpath_overrides_runpath
=no
13971 hardcode_into_libs
=yes
13974 irix5
* | irix6
* | nonstopux
*)
13976 nonstopux
*) version_type
=nonstopux
;;
13978 if test "$lt_cv_prog_gnu_ld" = yes; then
13986 soname_spec
='${libname}${release}${shared_ext}$major'
13987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13989 irix5
* | nonstopux
*)
13990 libsuff
= shlibsuff
=
13993 case $LD in # libtool.m4 will add one of these switches to LD
13994 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13995 libsuff
= shlibsuff
= libmagic
=32-bit;;
13996 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13997 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13998 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13999 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14000 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14004 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14005 shlibpath_overrides_runpath
=no
14006 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14007 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14008 hardcode_into_libs
=yes
14011 # No shared lib support for Linux oldld, aout, or coff.
14012 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14016 # This must be Linux ELF.
14017 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14022 soname_spec
='${libname}${release}${shared_ext}$major'
14023 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14024 shlibpath_var
=LD_LIBRARY_PATH
14025 shlibpath_overrides_runpath
=no
14027 # Some binutils ld are patched to set DT_RUNPATH
14028 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14029 $as_echo_n "(cached) " >&6
14031 lt_cv_shlibpath_overrides_runpath
=no
14032 save_LDFLAGS
=$LDFLAGS
14033 save_libdir
=$libdir
14034 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14035 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14036 cat > conftest.
$ac_ext <<_ACEOF
14041 if ac_fn_fc_try_link
"$LINENO"; then :
14042 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14043 lt_cv_shlibpath_overrides_runpath
=yes
14046 rm -f core conftest.err conftest.
$ac_objext \
14047 conftest
$ac_exeext conftest.
$ac_ext
14048 LDFLAGS
=$save_LDFLAGS
14049 libdir
=$save_libdir
14053 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14055 # This implies no fast_install, which is unacceptable.
14056 # Some rework will be needed to allow for fast_install
14057 # before this can be enabled.
14058 hardcode_into_libs
=yes
14060 # Append ld.so.conf contents to the search path
14061 if test -f /etc
/ld.so.conf
; then
14062 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' ' '`
14063 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14066 # We used to test for /lib/ld.so.1 and disable shared libraries on
14067 # powerpc, because MkLinux only supported shared libraries with the
14068 # GNU dynamic linker. Since this was broken with cross compilers,
14069 # most powerpc-linux boxes support dynamic linking these days and
14070 # people can always --disable-shared, the test was removed, and we
14071 # assume the GNU/Linux dynamic linker is in use.
14072 dynamic_linker
='GNU/Linux ld.so'
14079 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14081 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14082 dynamic_linker
='NetBSD (a.out) ld.so'
14084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14085 soname_spec
='${libname}${release}${shared_ext}$major'
14086 dynamic_linker
='NetBSD ld.elf_so'
14088 shlibpath_var
=LD_LIBRARY_PATH
14089 shlibpath_overrides_runpath
=yes
14090 hardcode_into_libs
=yes
14095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14096 shlibpath_var
=LD_LIBRARY_PATH
14097 shlibpath_overrides_runpath
=yes
14104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14105 soname_spec
='${libname}${release}${shared_ext}$major'
14106 shlibpath_var
=LD_LIBRARY_PATH
14107 shlibpath_overrides_runpath
=no
14108 hardcode_into_libs
=yes
14109 dynamic_linker
='ldqnx.so'
14114 sys_lib_dlsearch_path_spec
="/usr/lib"
14116 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14118 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14119 *) need_version
=no
;;
14121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14122 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14123 shlibpath_var
=LD_LIBRARY_PATH
14124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14126 openbsd2.
[89] | openbsd2.
[89].
*)
14127 shlibpath_overrides_runpath
=no
14130 shlibpath_overrides_runpath
=yes
14134 shlibpath_overrides_runpath
=yes
14139 libname_spec
='$name'
14142 library_names_spec
='$libname${shared_ext} $libname.a'
14143 dynamic_linker
='OS/2 ld.exe'
14144 shlibpath_var
=LIBPATH
14147 osf3
* | osf4
* | osf5
*)
14151 soname_spec
='${libname}${release}${shared_ext}$major'
14152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14153 shlibpath_var
=LD_LIBRARY_PATH
14154 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14155 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14167 soname_spec
='${libname}${release}${shared_ext}$major'
14168 shlibpath_var
=LD_LIBRARY_PATH
14169 shlibpath_overrides_runpath
=yes
14170 hardcode_into_libs
=yes
14171 # ldd complains unless libraries are executable
14172 postinstall_cmds
='chmod +x $lib'
14177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14178 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14179 shlibpath_var
=LD_LIBRARY_PATH
14180 shlibpath_overrides_runpath
=yes
14181 if test "$with_gnu_ld" = yes; then
14189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14190 soname_spec
='${libname}${release}${shared_ext}$major'
14191 shlibpath_var
=LD_LIBRARY_PATH
14192 case $host_vendor in
14194 shlibpath_overrides_runpath
=no
14196 runpath_var
=LD_RUN_PATH
14204 shlibpath_overrides_runpath
=no
14205 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14211 if test -d /usr
/nec
;then
14213 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14214 soname_spec
='$libname${shared_ext}.$major'
14215 shlibpath_var
=LD_LIBRARY_PATH
14219 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14220 version_type
=freebsd-elf
14223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14224 soname_spec
='${libname}${release}${shared_ext}$major'
14225 shlibpath_var
=LD_LIBRARY_PATH
14226 shlibpath_overrides_runpath
=yes
14227 hardcode_into_libs
=yes
14228 if test "$with_gnu_ld" = yes; then
14229 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14231 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14234 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14238 sys_lib_dlsearch_path_spec
='/usr/lib'
14242 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 shlibpath_var
=LD_LIBRARY_PATH
14248 shlibpath_overrides_runpath
=no
14249 hardcode_into_libs
=yes
14254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14255 soname_spec
='${libname}${release}${shared_ext}$major'
14256 shlibpath_var
=LD_LIBRARY_PATH
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14264 $as_echo "$dynamic_linker" >&6; }
14265 test "$dynamic_linker" = no
&& can_build_shared
=no
14267 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14268 if test "$GCC" = yes; then
14269 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14272 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14273 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14275 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14276 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14317 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14318 hardcode_action_FC
=
14319 if test -n "$hardcode_libdir_flag_spec_FC" ||
14320 test -n "$runpath_var_FC" ||
14321 test "X$hardcode_automatic_FC" = "Xyes" ; then
14323 # We can hardcode non-existent directories.
14324 if test "$hardcode_direct_FC" != no
&&
14325 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14326 # have to relink, otherwise we might link with an installed library
14327 # when we should be linking with a yet-to-be-installed one
14328 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14329 test "$hardcode_minus_L_FC" != no
; then
14330 # Linking always hardcodes the temporary library directory.
14331 hardcode_action_FC
=relink
14333 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14334 hardcode_action_FC
=immediate
14337 # We cannot hardcode anything, or else we can only hardcode existing
14339 hardcode_action_FC
=unsupported
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14342 $as_echo "$hardcode_action_FC" >&6; }
14344 if test "$hardcode_action_FC" = relink ||
14345 test "$inherit_rpath_FC" = yes; then
14346 # Fast installation is not supported
14347 enable_fast_install
=no
14348 elif test "$shlibpath_overrides_runpath" = yes ||
14349 test "$enable_shared" = no
; then
14350 # Fast installation is not necessary
14351 enable_fast_install
=needless
14360 fi # test -n "$compiler"
14364 fi # test "$_lt_disable_FC" != yes
14367 ac_cpp
='$CPP $CPPFLAGS'
14368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14373 FCFLAGS
="$FCFLAGS -Wall"
14375 # For libtool versioning info, format is CURRENT:REVISION:AGE
14376 libtool_VERSION
=1:0:0
14379 # Check header files.
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14381 $as_echo_n "checking for ANSI C header files... " >&6; }
14382 if test "${ac_cv_header_stdc+set}" = set; then :
14383 $as_echo_n "(cached) " >&6
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 #include <stdlib.h>
14388 #include <stdarg.h>
14389 #include <string.h>
14400 if ac_fn_c_try_compile
"$LINENO"; then :
14401 ac_cv_header_stdc
=yes
14403 ac_cv_header_stdc
=no
14405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14407 if test $ac_cv_header_stdc = yes; then
14408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 #include <string.h>
14414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14415 $EGREP "memchr" >/dev
/null
2>&1; then :
14418 ac_cv_header_stdc
=no
14424 if test $ac_cv_header_stdc = yes; then
14425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 #include <stdlib.h>
14431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14432 $EGREP "free" >/dev
/null
2>&1; then :
14435 ac_cv_header_stdc
=no
14441 if test $ac_cv_header_stdc = yes; then
14442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14443 if test "$cross_compiling" = yes; then :
14446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14449 #include <stdlib.h>
14450 #if ((' ' & 0x0FF) == 0x020)
14451 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14452 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14454 # define ISLOWER(c) \
14455 (('a' <= (c) && (c) <= 'i') \
14456 || ('j' <= (c) && (c) <= 'r') \
14457 || ('s' <= (c) && (c) <= 'z'))
14458 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14466 for (i = 0; i < 256; i++)
14467 if (XOR (islower (i), ISLOWER (i))
14468 || toupper (i) != TOUPPER (i))
14473 if ac_fn_c_try_run
"$LINENO"; then :
14476 ac_cv_header_stdc
=no
14478 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14479 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14485 $as_echo "$ac_cv_header_stdc" >&6; }
14486 if test $ac_cv_header_stdc = yes; then
14488 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14493 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14494 if test "${ac_cv_header_time+set}" = set; then :
14495 $as_echo_n "(cached) " >&6
14497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 #include <sys/types.h>
14500 #include <sys/time.h>
14506 if ((struct tm *) 0)
14512 if ac_fn_c_try_compile
"$LINENO"; then :
14513 ac_cv_header_time
=yes
14515 ac_cv_header_time
=no
14517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14520 $as_echo "$ac_cv_header_time" >&6; }
14521 if test $ac_cv_header_time = yes; then
14523 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14528 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14529 if test "${gcc_cv_header_string+set}" = set; then :
14530 $as_echo_n "(cached) " >&6
14532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 #include <string.h>
14535 #include <strings.h>
14544 if ac_fn_c_try_compile
"$LINENO"; then :
14545 gcc_cv_header_string
=yes
14547 gcc_cv_header_string
=no
14549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14552 $as_echo "$gcc_cv_header_string" >&6; }
14553 if test $gcc_cv_header_string = yes; then
14555 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14559 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h sys
/time.h
14561 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14562 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14563 eval as_val
=\$
$as_ac_Header
14564 if test "x$as_val" = x
""yes; then :
14565 cat >>confdefs.h
<<_ACEOF
14566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14578 acx_cv_header_stdint
=stddef.h
14579 acx_cv_header_stdint_kind
="(already complete)"
14580 for i
in stdint.h
$inttype_headers; do
14581 unset ac_cv_type_uintptr_t
14582 unset ac_cv_type_uintmax_t
14583 unset ac_cv_type_int_least32_t
14584 unset ac_cv_type_int_fast32_t
14585 unset ac_cv_type_uint64_t
14586 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
14587 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
14590 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
14591 acx_cv_header_stdint
=$i
14596 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14599 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14602 acx_cv_header_stdint_kind
="(mostly complete)"
14605 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
14608 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
14611 acx_cv_header_stdint_kind
="(mostly complete)"
14614 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
14617 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
14620 acx_cv_header_stdint_kind
="(mostly complete)"
14623 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14626 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14629 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14634 if test "$acx_cv_header_stdint" = stddef.h
; then
14635 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14636 for i
in stdint.h
$inttype_headers; do
14637 unset ac_cv_type_uintptr_t
14638 unset ac_cv_type_uint32_t
14639 unset ac_cv_type_uint64_t
14640 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
14641 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
14644 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
14645 acx_cv_header_stdint
=$i
14650 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14653 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14657 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14660 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14667 if test "$acx_cv_header_stdint" = stddef.h
; then
14668 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14669 for i
in sys
/types.h
$inttype_headers; do
14670 unset ac_cv_type_u_int32_t
14671 unset ac_cv_type_u_int64_t
14672 $as_echo_n "looking for u_intXX_t types in $i, " >&6
14673 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
14676 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
14677 acx_cv_header_stdint
=$i
14682 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
14685 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
14692 if test "$acx_cv_header_stdint" = stddef.h
; then
14693 acx_cv_header_stdint_kind
="(using manual detection)"
14696 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14697 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14698 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14699 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14700 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14702 # ----------------- Summarize what we found so far
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
14705 $as_echo_n "checking what to include in gstdint.h... " >&6; }
14707 case `$as_basename -- gstdint.h ||
14708 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14709 Xgstdint.h : 'X\(//\)$' \| \
14710 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
14711 $as_echo X/gstdint.h |
14712 sed '/^.*\/\([^/][^/]*\)\/*$/{
14725 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14726 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14727 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14728 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14733 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
14735 # ----------------- done included file, check C basic types --------
14737 # Lacking an uintptr_t? Test size of void *
14738 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14739 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
14740 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14741 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14742 # This bug is HP SR number 8606223364.
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14744 $as_echo_n "checking size of void *... " >&6; }
14745 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14746 $as_echo_n "(cached) " >&6
14748 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14751 if test "$ac_cv_type_void_p" = yes; then
14752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14754 { as_fn_set_status
77
14755 as_fn_error
"cannot compute sizeof (void *)
14756 See \`config.log' for more details." "$LINENO" 5; }; }
14758 ac_cv_sizeof_void_p
=0
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14764 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14768 cat >>confdefs.h
<<_ACEOF
14769 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14775 # Lacking an uint64_t? Test size of long
14776 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14777 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
14778 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14779 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14780 # This bug is HP SR number 8606223364.
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14782 $as_echo_n "checking size of long... " >&6; }
14783 if test "${ac_cv_sizeof_long+set}" = set; then :
14784 $as_echo_n "(cached) " >&6
14786 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14789 if test "$ac_cv_type_long" = yes; then
14790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14792 { as_fn_set_status
77
14793 as_fn_error
"cannot compute sizeof (long)
14794 See \`config.log' for more details." "$LINENO" 5; }; }
14796 ac_cv_sizeof_long
=0
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14802 $as_echo "$ac_cv_sizeof_long" >&6; }
14806 cat >>confdefs.h
<<_ACEOF
14807 #define SIZEOF_LONG $ac_cv_sizeof_long
14813 if test $acx_cv_header_stdint = stddef.h
; then
14814 # Lacking a good header? Test size of everything and deduce all types.
14815 # The cast to long int works around a bug in the HP C Compiler
14816 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14817 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14818 # This bug is HP SR number 8606223364.
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14820 $as_echo_n "checking size of int... " >&6; }
14821 if test "${ac_cv_sizeof_int+set}" = set; then :
14822 $as_echo_n "(cached) " >&6
14824 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14827 if test "$ac_cv_type_int" = yes; then
14828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14830 { as_fn_set_status
77
14831 as_fn_error
"cannot compute sizeof (int)
14832 See \`config.log' for more details." "$LINENO" 5; }; }
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14840 $as_echo "$ac_cv_sizeof_int" >&6; }
14844 cat >>confdefs.h
<<_ACEOF
14845 #define SIZEOF_INT $ac_cv_sizeof_int
14849 # The cast to long int works around a bug in the HP C Compiler
14850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14852 # This bug is HP SR number 8606223364.
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14854 $as_echo_n "checking size of short... " >&6; }
14855 if test "${ac_cv_sizeof_short+set}" = set; then :
14856 $as_echo_n "(cached) " >&6
14858 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
14861 if test "$ac_cv_type_short" = yes; then
14862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14864 { as_fn_set_status
77
14865 as_fn_error
"cannot compute sizeof (short)
14866 See \`config.log' for more details." "$LINENO" 5; }; }
14868 ac_cv_sizeof_short
=0
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14874 $as_echo "$ac_cv_sizeof_short" >&6; }
14878 cat >>confdefs.h
<<_ACEOF
14879 #define SIZEOF_SHORT $ac_cv_sizeof_short
14883 # The cast to long int works around a bug in the HP C Compiler
14884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14886 # This bug is HP SR number 8606223364.
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
14888 $as_echo_n "checking size of char... " >&6; }
14889 if test "${ac_cv_sizeof_char+set}" = set; then :
14890 $as_echo_n "(cached) " >&6
14892 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
14895 if test "$ac_cv_type_char" = yes; then
14896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14898 { as_fn_set_status
77
14899 as_fn_error
"cannot compute sizeof (char)
14900 See \`config.log' for more details." "$LINENO" 5; }; }
14902 ac_cv_sizeof_char
=0
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
14908 $as_echo "$ac_cv_sizeof_char" >&6; }
14912 cat >>confdefs.h
<<_ACEOF
14913 #define SIZEOF_CHAR $ac_cv_sizeof_char
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
14919 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
14920 case "$ac_cv_sizeof_char" in
14921 1) acx_cv_type_int8_t
=char
;;
14922 *) { as_fn_set_status please report a bug
14923 as_fn_error
"no 8-bit type" "$LINENO" 5; }
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
14926 $as_echo "$acx_cv_type_int8_t" >&6; }
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
14929 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
14930 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14931 2:*) acx_cv_type_int16_t
=int
;;
14932 *:2) acx_cv_type_int16_t
=short
;;
14933 *) { as_fn_set_status please report a bug
14934 as_fn_error
"no 16-bit type" "$LINENO" 5; }
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
14937 $as_echo "$acx_cv_type_int16_t" >&6; }
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
14940 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
14941 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14942 4:*) acx_cv_type_int32_t
=int
;;
14943 *:4) acx_cv_type_int32_t
=long
;;
14944 *) { as_fn_set_status please report a bug
14945 as_fn_error
"no 32-bit type" "$LINENO" 5; }
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
14948 $as_echo "$acx_cv_type_int32_t" >&6; }
14951 # These tests are here to make the output prettier
14953 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14954 case "$ac_cv_sizeof_long" in
14955 8) acx_cv_type_int64_t
=long
;;
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
14958 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14960 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
14963 # Now we can use the above types
14965 if test "$ac_cv_type_uintptr_t" != yes; then
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
14967 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
14968 case $ac_cv_sizeof_void_p in
14969 2) acx_cv_type_intptr_t
=int16_t
;;
14970 4) acx_cv_type_intptr_t
=int32_t
;;
14971 8) acx_cv_type_intptr_t
=int64_t
;;
14972 *) { as_fn_set_status please report a bug
14973 as_fn_error
"no equivalent for intptr_t" "$LINENO" 5; }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
14976 $as_echo "$acx_cv_type_intptr_t" >&6; }
14979 # ----------------- done all checks, emit header -------------
14980 ac_config_commands
="$ac_config_commands gstdint.h"
14985 # Check to see if -pthread or -lpthread is needed. Prefer the former.
14986 # In case the pthread.h system header is not found, this test will fail.
14988 CFLAGS
="$CFLAGS -pthread"
14989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 #include <pthread.h>
14992 void *g(void *d) { return NULL; }
14996 pthread_t t; pthread_create(&t,NULL,g,NULL);
15001 if ac_fn_c_try_link
"$LINENO"; then :
15002 XPCFLAGS
=" -Wc,-pthread"
15004 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
15005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 #include <pthread.h>
15008 void *g(void *d) { return NULL; }
15012 pthread_t t; pthread_create(&t,NULL,g,NULL);
15017 if ac_fn_c_try_link
"$LINENO"; then :
15020 as_fn_error
"Pthreads are required to build libgomp" "$LINENO" 5
15022 rm -f core conftest.err conftest.
$ac_objext \
15023 conftest
$ac_exeext conftest.
$ac_ext
15025 rm -f core conftest.err conftest.
$ac_objext \
15026 conftest
$ac_exeext conftest.
$ac_ext
15028 # Check for functions needed.
15029 for ac_func
in getloadavg clock_gettime strtoull
15031 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15032 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15033 eval as_val
=\$
$as_ac_var
15034 if test "x$as_val" = x
""yes; then :
15035 cat >>confdefs.h
<<_ACEOF
15036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15043 # Check for broken semaphore implementation on darwin.
15044 # sem_init returns: sem_init error: Function not implemented.
15048 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
15053 # Check whether --enable-linux-futex was given.
15054 if test "${enable_linux_futex+set}" = set; then :
15055 enableval
=$enable_linux_futex;
15056 case "$enableval" in
15058 *) as_fn_error
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
15062 enable_linux_futex
=default
15068 case "$enable_linux_futex" in
15070 # If headers don't have gettid/futex syscalls definition, then
15071 # default to no, otherwise there will be compile time failures.
15072 # Otherwise, default to yes. If we don't detect we are
15073 # compiled/linked against NPTL and not cross-compiling, check
15074 # if programs are run by default against NPTL and if not, issue
15076 enable_linux_futex
=no
15077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15079 #include <sys/syscall.h>
15084 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15089 if ac_fn_c_try_link
"$LINENO"; then :
15091 LIBS
="-lpthread $LIBS"
15092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15094 #ifndef _GNU_SOURCE
15095 #define _GNU_SOURCE 1
15097 #include <pthread.h>
15098 pthread_t th; void *status;
15102 pthread_tryjoin_np (th, &status);
15107 if ac_fn_c_try_link
"$LINENO"; then :
15108 enable_linux_futex
=yes
15110 if test x
$cross_compiling = xno
; then
15111 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
15112 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
15114 If so, please configure with --disable-linux-futex" >&5
15115 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
15116 If so, please configure with --disable-linux-futex" >&2;}
15119 enable_linux_futex
=yes
15121 rm -f core conftest.err conftest.
$ac_objext \
15122 conftest
$ac_exeext conftest.
$ac_ext
15125 rm -f core conftest.err conftest.
$ac_objext \
15126 conftest
$ac_exeext conftest.
$ac_ext
15129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15131 #include <sys/syscall.h>
15136 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15141 if ac_fn_c_try_link
"$LINENO"; then :
15144 as_fn_error
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
15146 rm -f core conftest.err conftest.
$ac_objext \
15147 conftest
$ac_exeext conftest.
$ac_ext
15152 enable_linux_futex
=no
15155 if test x
$enable_linux_futex = xyes
; then
15160 # Check for pthread_{,attr_}[sg]etaffinity_np.
15161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15163 #define _GNU_SOURCE
15164 #include <pthread.h>
15169 pthread_attr_t attr;
15170 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15171 if (CPU_ISSET (0, &cpuset))
15172 CPU_SET (1, &cpuset);
15174 CPU_ZERO (&cpuset);
15175 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15176 pthread_attr_init (&attr);
15177 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15178 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15183 if ac_fn_c_try_link
"$LINENO"; then :
15185 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
15188 rm -f core conftest.err conftest.
$ac_objext \
15189 conftest
$ac_exeext conftest.
$ac_ext
15191 # At least for glibc, clock_gettime is in librt. But don't pull that
15192 # in if it still doesn't give us the function we want.
15193 if test $ac_cv_func_clock_gettime = no
; then
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15195 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15196 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15197 $as_echo_n "(cached) " >&6
15199 ac_check_lib_save_LIBS
=$LIBS
15201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15204 /* Override any GCC internal prototype to avoid an error.
15205 Use char because int might match the return type of a GCC
15206 builtin and then its argument prototype would still apply. */
15210 char clock_gettime ();
15214 return clock_gettime ();
15219 if ac_fn_c_try_link
"$LINENO"; then :
15220 ac_cv_lib_rt_clock_gettime
=yes
15222 ac_cv_lib_rt_clock_gettime
=no
15224 rm -f core conftest.err conftest.
$ac_objext \
15225 conftest
$ac_exeext conftest.
$ac_ext
15226 LIBS
=$ac_check_lib_save_LIBS
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15229 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15230 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15233 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15239 # See if we support thread-local storage.
15242 # Check whether --enable-tls was given.
15243 if test "${enable_tls+set}" = set; then :
15244 enableval
=$enable_tls;
15245 case "$enableval" in
15247 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
15256 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
15257 if test "${gcc_cv_have_tls+set}" = set; then :
15258 $as_echo_n "(cached) " >&6
15261 if test "$cross_compiling" = yes; then :
15262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264 __thread int a; int b; int main() { return a = b; }
15266 if ac_fn_c_try_link
"$LINENO"; then :
15267 chktls_save_LDFLAGS
="$LDFLAGS"
15270 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
15273 chktls_save_CFLAGS
="$CFLAGS"
15274 CFLAGS
="-fPIC $CFLAGS"
15275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 int f() { return 0; }
15279 if ac_fn_c_try_link
"$LINENO"; then :
15280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282 __thread int a; int b; int f() { return a = b; }
15284 if ac_fn_c_try_link
"$LINENO"; then :
15285 gcc_cv_have_tls
=yes
15289 rm -f core conftest.err conftest.
$ac_objext \
15290 conftest
$ac_exeext conftest.
$ac_ext
15292 gcc_cv_have_tls
=yes
15294 rm -f core conftest.err conftest.
$ac_objext \
15295 conftest
$ac_exeext conftest.
$ac_ext
15296 CFLAGS
="$chktls_save_CFLAGS"
15297 LDFLAGS
="$chktls_save_LDFLAGS"
15301 rm -f core conftest.err conftest.
$ac_objext \
15302 conftest
$ac_exeext conftest.
$ac_ext
15306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15308 __thread int a; int b; int main() { return a = b; }
15310 if ac_fn_c_try_run
"$LINENO"; then :
15311 chktls_save_LDFLAGS
="$LDFLAGS"
15312 LDFLAGS
="-static $LDFLAGS"
15313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15315 int main() { return 0; }
15317 if ac_fn_c_try_link
"$LINENO"; then :
15318 if test "$cross_compiling" = yes; then :
15319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15321 as_fn_error
"cannot run test program while cross compiling
15322 See \`config.log' for more details." "$LINENO" 5; }
15324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15326 __thread int a; int b; int main() { return a = b; }
15328 if ac_fn_c_try_run
"$LINENO"; then :
15329 gcc_cv_have_tls
=yes
15333 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15334 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15338 gcc_cv_have_tls
=yes
15340 rm -f core conftest.err conftest.
$ac_objext \
15341 conftest
$ac_exeext conftest.
$ac_ext
15342 LDFLAGS
="$chktls_save_LDFLAGS"
15343 if test $gcc_cv_have_tls = yes; then
15344 chktls_save_CFLAGS
="$CFLAGS"
15345 thread_CFLAGS
=failed
15346 for flag
in '' '-pthread' '-lpthread'; do
15347 CFLAGS
="$flag $chktls_save_CFLAGS"
15348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15350 #include <pthread.h>
15351 void *g(void *d) { return NULL; }
15355 pthread_t t; pthread_create(&t,NULL,g,NULL);
15360 if ac_fn_c_try_link
"$LINENO"; then :
15361 thread_CFLAGS
="$flag"
15363 rm -f core conftest.err conftest.
$ac_objext \
15364 conftest
$ac_exeext conftest.
$ac_ext
15365 if test "X$thread_CFLAGS" != Xfailed
; then
15369 CFLAGS
="$chktls_save_CFLAGS"
15370 if test "X$thread_CFLAGS" != Xfailed
; then
15371 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
15372 if test "$cross_compiling" = yes; then :
15373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15375 as_fn_error
"cannot run test program while cross compiling
15376 See \`config.log' for more details." "$LINENO" 5; }
15378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15380 #include <pthread.h>
15382 static int *a_in_other_thread;
15384 thread_func (void *arg)
15386 a_in_other_thread = &a;
15393 void *thread_retval;
15394 int *a_in_main_thread;
15395 if (pthread_create (&thread, (pthread_attr_t *)0,
15396 thread_func, (void *)0))
15398 a_in_main_thread = &a;
15399 if (pthread_join (thread, &thread_retval))
15401 return (a_in_other_thread == a_in_main_thread);
15406 if ac_fn_c_try_run
"$LINENO"; then :
15407 gcc_cv_have_tls
=yes
15411 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15412 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15415 CFLAGS
="$chktls_save_CFLAGS"
15421 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15422 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
15427 $as_echo "$gcc_cv_have_tls" >&6; }
15428 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
15430 $as_echo "#define HAVE_TLS 1" >>confdefs.h
15434 # See what sort of export controls are availible.
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
15437 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
15438 if test "${libgomp_cv_have_attribute_visibility+set}" = set; then :
15439 $as_echo_n "(cached) " >&6
15442 save_CFLAGS
="$CFLAGS"
15443 CFLAGS
="$CFLAGS -Werror"
15444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15445 /* end confdefs.h. */
15446 void __attribute__((visibility("hidden"))) foo(void) { }
15455 if ac_fn_c_try_compile
"$LINENO"; then :
15456 libgomp_cv_have_attribute_visibility
=yes
15458 libgomp_cv_have_attribute_visibility
=no
15460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15461 CFLAGS
="$save_CFLAGS"
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_visibility" >&5
15464 $as_echo "$libgomp_cv_have_attribute_visibility" >&6; }
15465 if test $libgomp_cv_have_attribute_visibility = yes; then
15467 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
15472 $as_echo_n "checking whether the target supports dllexport... " >&6; }
15473 if test "${libgomp_cv_have_attribute_dllexport+set}" = set; then :
15474 $as_echo_n "(cached) " >&6
15477 save_CFLAGS
="$CFLAGS"
15478 CFLAGS
="$CFLAGS -Werror"
15479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15480 /* end confdefs.h. */
15481 void __attribute__((dllexport)) foo(void) { }
15490 if ac_fn_c_try_compile
"$LINENO"; then :
15491 libgomp_cv_have_attribute_dllexport
=yes
15493 libgomp_cv_have_attribute_dllexport
=no
15495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15496 CFLAGS
="$save_CFLAGS"
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_dllexport" >&5
15499 $as_echo "$libgomp_cv_have_attribute_dllexport" >&6; }
15500 if test $libgomp_cv_have_attribute_dllexport = yes; then
15502 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
15507 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
15508 if test "${libgomp_cv_have_attribute_alias+set}" = set; then :
15509 $as_echo_n "(cached) " >&6
15512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15516 extern void bar(void) __attribute__((alias("foo")));
15525 if ac_fn_c_try_link
"$LINENO"; then :
15526 libgomp_cv_have_attribute_alias
=yes
15528 libgomp_cv_have_attribute_alias
=no
15530 rm -f core conftest.err conftest.
$ac_objext \
15531 conftest
$ac_exeext conftest.
$ac_ext
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_alias" >&5
15534 $as_echo "$libgomp_cv_have_attribute_alias" >&6; }
15535 if test $libgomp_cv_have_attribute_alias = yes; then
15537 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
15542 # Check whether --with-gnu-ld was given.
15543 if test "${with_gnu_ld+set}" = set; then :
15544 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15550 if test "$GCC" = yes; then
15551 # Check if gcc -print-prog-name=ld gives a path.
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15553 $as_echo_n "checking for ld used by $CC... " >&6; }
15556 # gcc leaves a trailing carriage return which upsets mingw
15557 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15559 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15562 # Accept absolute paths.
15564 re_direlt
='/[^/][^/]*/\.\./'
15565 # Canonicalize the pathname of ld
15566 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15567 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15568 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15570 test -z "$LD" && LD
="$ac_prog"
15573 # If it fails, then pretend we aren't using GCC.
15577 # If it is relative, then search for the first ld in PATH.
15578 with_gnu_ld
=unknown
15581 elif test "$with_gnu_ld" = yes; then
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15583 $as_echo_n "checking for GNU ld... " >&6; }
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15586 $as_echo_n "checking for non-GNU ld... " >&6; }
15588 if test "${lt_cv_path_LD+set}" = set; then :
15589 $as_echo_n "(cached) " >&6
15591 if test -z "$LD"; then
15592 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15593 for ac_dir
in $PATH; do
15595 test -z "$ac_dir" && ac_dir
=.
15596 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15597 lt_cv_path_LD
="$ac_dir/$ac_prog"
15598 # Check to see if the program is GNU ld. I'd rather use --version,
15599 # but apparently some variants of GNU ld only accept -v.
15600 # Break only if it was the GNU/non-GNU ld that we prefer.
15601 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15602 *GNU
* |
*'with BFD'*)
15603 test "$with_gnu_ld" != no
&& break
15606 test "$with_gnu_ld" != yes && break
15613 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15617 LD
="$lt_cv_path_LD"
15618 if test -n "$LD"; then
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15620 $as_echo "$LD" >&6; }
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15623 $as_echo "no" >&6; }
15625 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15627 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15628 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
15629 $as_echo_n "(cached) " >&6
15631 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15632 case `$LD -v 2>&1 </dev/null` in
15633 *GNU
* |
*'with BFD'*)
15634 lt_cv_prog_gnu_ld
=yes
15637 lt_cv_prog_gnu_ld
=no
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15642 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15643 with_gnu_ld
=$lt_cv_prog_gnu_ld
15651 # If we're not using GNU ld, then there's no point in even trying these
15652 # tests. Check for that first. We should have already tested for gld
15653 # by now (in libtool), but require it now just to be safe...
15654 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
15655 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
15659 # The name set by libtool depends on the version of libtool. Shame on us
15660 # for depending on an impl detail, but c'est la vie. Older versions used
15661 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
15662 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
15663 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
15664 # set (hence we're using an older libtool), then set it.
15665 if test x
${with_gnu_ld+set} != xset
; then
15666 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
15667 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
15670 with_gnu_ld
=$ac_cv_prog_gnu_ld
15674 # Start by getting the version number. I think the libtool test already
15675 # does some of this, but throws away the result.
15676 libgomp_ld_is_gold
=no
15677 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
15678 libgomp_ld_is_gold
=yes
15681 ldver
=`$LD --version 2>/dev/null |
15682 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
15684 libgomp_gnu_ld_version
=`echo $ldver | \
15685 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
15687 # Set --gc-sections.
15688 if test "$with_gnu_ld" = "notbroken"; then
15689 # GNU ld it is! Joy and bunny rabbits!
15691 # All these tests are for C++; save the language and the compiler flags.
15692 # Need to do this so that g++ won't try to link in libstdc++
15693 ac_test_CFLAGS
="${CFLAGS+set}"
15694 ac_save_CFLAGS
="$CFLAGS"
15695 CFLAGS
='-x c++ -Wl,--gc-sections'
15697 # Check for -Wl,--gc-sections
15698 # XXX This test is broken at the moment, as symbols required for linking
15699 # are now in libsupc++ (not built yet). In addition, this test has
15700 # cored on solaris in the past. In addition, --gc-sections doesn't
15701 # really work at the moment (keeps on discarding used sections, first
15702 # .eh_frame and now some of the glibc sections for iconv).
15703 # Bzzzzt. Thanks for playing, maybe next time.
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
15705 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
15706 if test "$cross_compiling" = yes; then :
15707 ac_sectionLDflags
=yes
15709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15720 if ac_fn_c_try_run
"$LINENO"; then :
15721 ac_sectionLDflags
=yes
15723 ac_sectionLDflags
=no
15725 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15726 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15729 if test "$ac_test_CFLAGS" = set; then
15730 CFLAGS
="$ac_save_CFLAGS"
15732 # this is the suspicious part
15735 if test "$ac_sectionLDflags" = "yes"; then
15736 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
15739 $as_echo "$ac_sectionLDflags" >&6; }
15742 # Set linker optimization flags.
15743 if test x
"$with_gnu_ld" = x
"yes"; then
15744 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
15752 # Check whether --enable-symvers was given.
15753 if test "${enable_symvers+set}" = set; then :
15754 enableval
=$enable_symvers;
15755 case "$enableval" in
15757 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
15766 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
15767 # don't know enough about $LD to do tricks...
15769 # FIXME The following test is too strict, in theory.
15770 if test $enable_shared = no ||
15772 test x
$libgomp_gnu_ld_version = x
; then
15776 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
15777 if test $enable_symvers != no
; then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
15779 $as_echo_n "checking for shared libgcc... " >&6; }
15780 ac_save_CFLAGS
="$CFLAGS"
15782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15783 /* end confdefs.h. */
15793 if ac_fn_c_try_link
"$LINENO"; then :
15794 libgomp_shared_libgcc
=yes
15796 libgomp_shared_libgcc
=no
15798 rm -f core conftest.err conftest.
$ac_objext \
15799 conftest
$ac_exeext conftest.
$ac_ext
15800 CFLAGS
="$ac_save_CFLAGS"
15801 if test $libgomp_shared_libgcc = no
; then
15802 cat > conftest.c
<<EOF
15803 int main (void) { return 0; }
15805 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
15806 -shared -shared-libgcc -o conftest.so \
15807 conftest.c -v 2>&1 >/dev/null \
15808 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
15809 rm -f conftest.c conftest.so
15810 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
15811 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
15812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15823 if ac_fn_c_try_link
"$LINENO"; then :
15824 libgomp_shared_libgcc
=yes
15826 rm -f core conftest.err conftest.
$ac_objext \
15827 conftest
$ac_exeext conftest.
$ac_ext
15828 CFLAGS
="$ac_save_CFLAGS"
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
15832 $as_echo "$libgomp_shared_libgcc" >&6; }
15835 # For GNU ld, we need at least this version. The format is described in
15836 # LIBGOMP_CHECK_LINKER_FEATURES above.
15837 libgomp_min_gnu_ld_version
=21400
15838 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
15840 # Check to see if unspecified "yes" value can win, given results above.
15841 # Change "yes" into either "no" or a style name.
15842 if test $enable_symvers = yes; then
15843 if test $with_gnu_ld = yes &&
15844 test $libgomp_shared_libgcc = yes;
15846 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
15848 elif test $libgomp_ld_is_gold = yes ; then
15851 # The right tools, the right setup, but too old. Fallbacks?
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
15853 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
15855 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
15857 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
15859 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
15860 if test $libgomp_gnu_ld_version -ge 21200 ; then
15861 # Globbing fix is present, proper block support is not.
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15863 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15868 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15873 # just fail for now
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
15875 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
15877 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
15879 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15881 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
15887 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
15888 if test "${libgomp_cv_have_as_symver_directive+set}" = set; then :
15889 $as_echo_n "(cached) " >&6
15892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 void foo (void); __asm (".symver foo, bar@SYMVER");
15903 if ac_fn_c_try_compile
"$LINENO"; then :
15904 libgomp_cv_have_as_symver_directive
=yes
15906 libgomp_cv_have_as_symver_directive
=no
15908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
15911 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
15912 if test $libgomp_cv_have_as_symver_directive = yes; then
15914 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
15918 if test $enable_symvers != no
; then
15919 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
15920 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
15922 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
15923 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
15927 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
15930 if test $enable_symvers = gnu
; then
15932 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
15936 # Get target configury.
15937 .
${srcdir}/configure.tgt
15938 CFLAGS
="$save_CFLAGS $XCFLAGS"
15940 # Check for __sync_val_compare_and_swap, but only after the target has
15941 # had a chance to set XCFLAGS.
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
15944 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
15945 if test "${libgomp_cv_have_sync_builtins+set}" = set; then :
15946 $as_echo_n "(cached) " >&6
15949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15955 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
15960 if ac_fn_c_try_link
"$LINENO"; then :
15961 libgomp_cv_have_sync_builtins
=yes
15963 libgomp_cv_have_sync_builtins
=no
15965 rm -f core conftest.err conftest.
$ac_objext \
15966 conftest
$ac_exeext conftest.
$ac_ext
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
15969 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
15970 if test $libgomp_cv_have_sync_builtins = yes; then
15972 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
15976 XCFLAGS
="$XCFLAGS$XPCFLAGS"
15982 # Cleanup and exit.
15983 CFLAGS
="$save_CFLAGS"
15984 cat >confcache
<<\_ACEOF
15985 # This file is a shell script that caches the results of configure
15986 # tests run on this system so they can be shared between configure
15987 # scripts and configure runs, see configure's option --config-cache.
15988 # It is not useful on other systems. If it contains results you don't
15989 # want to keep, you may remove or edit it.
15991 # config.status only pays attention to the cache file if you give it
15992 # the --recheck option to rerun configure.
15994 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15995 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15996 # following values.
16000 # The following way of writing the cache mishandles newlines in values,
16001 # but we know of no workaround that is simple, portable, and efficient.
16002 # So, we kill variables containing newlines.
16003 # Ultrix sh set writes to stderr and can't be redirected directly,
16004 # and sets the high bit in the cache file unless we assign to the vars.
16006 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16007 eval ac_val
=\$
$ac_var
16011 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16015 _ | IFS | as_nl
) ;; #(
16016 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16017 *) { eval $ac_var=; unset $ac_var;} ;;
16023 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16024 *${as_nl}ac_space
=\
*)
16025 # `set' does not quote correctly, so add quotes: double-quote
16026 # substitution turns \\\\ into \\, and sed turns \\ into \.
16029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16032 # `set' quotes correctly as required by POSIX, so do not add quotes.
16033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16042 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16044 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16046 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16047 if test -w "$cache_file"; then
16048 test "x$cache_file" != "x/dev/null" &&
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16050 $as_echo "$as_me: updating cache $cache_file" >&6;}
16051 cat confcache
>$cache_file
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16054 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16059 if test ${multilib} = yes; then
16060 multilib_arg
="--enable-multilib"
16065 # Set up the set of libraries that we need to link against for libgomp.
16066 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
16067 # which will force linkage against -lpthread (or equivalent for the system).
16068 # That's not 100% ideal, but about the best we can do easily.
16069 if test $enable_shared = yes; then
16070 link_gomp
="-lgomp %{static: $LIBS}"
16072 link_gomp
="-lgomp $LIBS"
16076 if test "$ac_cv_fc_compiler_gnu" = yes; then
16078 USE_FORTRAN_FALSE
='#'
16080 USE_FORTRAN_TRUE
='#'
16085 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
16086 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
16087 # the underscore here and update the PREREQ. If it doesn't, then we'll
16088 # need to copy this macro to our acinclude.m4.
16089 save_CFLAGS
="$CFLAGS"
16090 for i
in $config_path; do
16091 if test -f $srcdir/config
/$i/omp-lock.h
; then
16092 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
16097 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE" ""; then :
16100 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
16104 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN" ""; then :
16109 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE" ""; then :
16114 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN" ""; then :
16119 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE" ""; then :
16122 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
16126 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN" ""; then :
16131 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE" ""; then :
16136 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN" ""; then :
16142 # If the lock fits in an integer, then arrange for Fortran to use that
16143 # integer. If it doesn't, then arrange for Fortran to use a pointer.
16144 # Except that we don't have a way at present to multi-lib the installed
16145 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
16147 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
16148 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
16149 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
16152 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
16153 OMP_NEST_LOCK_KIND
=8
16155 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
16156 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
16157 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
16160 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
16161 OMP_NEST_LOCK_25_KIND
=8
16176 CFLAGS
="$save_CFLAGS"
16178 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
16180 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
16182 cat >confcache
<<\_ACEOF
16183 # This file is a shell script that caches the results of configure
16184 # tests run on this system so they can be shared between configure
16185 # scripts and configure runs, see configure's option --config-cache.
16186 # It is not useful on other systems. If it contains results you don't
16187 # want to keep, you may remove or edit it.
16189 # config.status only pays attention to the cache file if you give it
16190 # the --recheck option to rerun configure.
16192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16194 # following values.
16198 # The following way of writing the cache mishandles newlines in values,
16199 # but we know of no workaround that is simple, portable, and efficient.
16200 # So, we kill variables containing newlines.
16201 # Ultrix sh set writes to stderr and can't be redirected directly,
16202 # and sets the high bit in the cache file unless we assign to the vars.
16204 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16205 eval ac_val
=\$
$ac_var
16209 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16210 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16213 _ | IFS | as_nl
) ;; #(
16214 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16215 *) { eval $ac_var=; unset $ac_var;} ;;
16221 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16222 *${as_nl}ac_space
=\
*)
16223 # `set' does not quote correctly, so add quotes: double-quote
16224 # substitution turns \\\\ into \\, and sed turns \\ into \.
16227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16230 # `set' quotes correctly as required by POSIX, so do not add quotes.
16231 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16240 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16242 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16244 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16245 if test -w "$cache_file"; then
16246 test "x$cache_file" != "x/dev/null" &&
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16248 $as_echo "$as_me: updating cache $cache_file" >&6;}
16249 cat confcache
>$cache_file
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16252 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16257 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16258 # Let make expand exec_prefix.
16259 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16261 DEFS
=-DHAVE_CONFIG_H
16265 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16266 # 1. Remove the extension, and $U if already installed.
16267 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16268 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16269 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16270 # will be set to the directory where LIBOBJS objects are built.
16271 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16272 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16274 LIBOBJS
=$ac_libobjs
16276 LTLIBOBJS
=$ac_ltlibobjs
16279 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
16280 as_fn_error
"conditional \"GENINSRC\" was never defined.
16281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16283 if test -n "$EXEEXT"; then
16285 am__EXEEXT_FALSE
='#'
16287 am__EXEEXT_TRUE
='#'
16291 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16292 as_fn_error
"conditional \"AMDEP\" was never defined.
16293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16295 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16296 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16299 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
16300 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
16301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16303 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16304 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16307 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
16308 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
16309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16311 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
16312 as_fn_error
"conditional \"USE_FORTRAN\" was never defined.
16313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16316 : ${CONFIG_STATUS=./config.status}
16318 ac_clean_files_save
=$ac_clean_files
16319 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16321 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16323 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16325 # Generated by $as_me.
16326 # Run this file to recreate the current configuration.
16327 # Compiler output produced by configure, useful for debugging
16328 # configure, is in config.log if it exists.
16331 ac_cs_recheck=false
16334 SHELL=\${CONFIG_SHELL-$SHELL}
16337 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16338 ## -------------------- ##
16339 ## M4sh Initialization. ##
16340 ## -------------------- ##
16342 # Be more Bourne compatible
16343 DUALCASE
=1; export DUALCASE
# for MKS sh
16344 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16347 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16348 # is contrary to our usage. Disable this feature.
16349 alias -g '${1+"$@"}'='"$@"'
16350 setopt NO_GLOB_SUBST
16352 case `(set -o) 2>/dev/null` in #(
16364 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16365 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16366 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16367 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16368 # Prefer a ksh shell builtin over an external printf program on Solaris,
16369 # but without wasting forks for bash or zsh.
16370 if test -z "$BASH_VERSION$ZSH_VERSION" \
16371 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16372 as_echo='print
-r --'
16373 as_echo_n='print
-rn --'
16374 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16375 as_echo='printf %s
\n'
16376 as_echo_n='printf %s
'
16378 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16379 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16380 as_echo_n='/usr
/ucb
/echo -n'
16382 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16383 as_echo_n_body='eval
16387 expr "X$arg" : "X\\(.*\\)$as_nl";
16388 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16390 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16392 export as_echo_n_body
16393 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16395 export as_echo_body
16396 as_echo='sh
-c $as_echo_body as_echo
'
16399 # The user is always right.
16400 if test "${PATH_SEPARATOR+set}" != set; then
16402 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16403 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16410 # We need space, tab and new line, in precisely that order. Quoting is
16411 # there to prevent editors from complaining about space-tab.
16412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16413 # splitting by setting IFS to empty value.)
16416 # Find who we are. Look in the path if we contain no directory separator.
16418 *[\\/]* ) as_myself=$0 ;;
16419 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16420 for as_dir in $PATH
16423 test -z "$as_dir" && as_dir=.
16424 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16430 # We did not find ourselves, most probably we were run as `sh COMMAND'
16431 # in which case we are not to be found in the path.
16432 if test "x$as_myself" = x
; then
16435 if test ! -f "$as_myself"; then
16436 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16440 # Unset variables that we do not need and which cause bugs (e.g. in
16441 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16442 # suppresses any "Segmentation fault" message there. '((' could
16443 # trigger a bug in pdksh 5.2.14.
16444 for as_var
in BASH_ENV ENV MAIL MAILPATH
16445 do eval test x\
${$as_var+set} = xset \
16446 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16459 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16462 # as_fn_error ERROR [LINENO LOG_FD]
16463 # ---------------------------------
16464 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16465 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16466 # script with status $?, using 1 if that was 0.
16469 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16471 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16472 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16474 $as_echo "$as_me: error: $1" >&2
16475 as_fn_exit
$as_status
16479 # as_fn_set_status STATUS
16480 # -----------------------
16481 # Set $? to STATUS, without forking.
16482 as_fn_set_status
()
16485 } # as_fn_set_status
16487 # as_fn_exit STATUS
16488 # -----------------
16489 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16493 as_fn_set_status
$1
16499 # Portably unset VAR.
16502 { eval $1=; unset $1;}
16504 as_unset
=as_fn_unset
16505 # as_fn_append VAR VALUE
16506 # ----------------------
16507 # Append the text in VALUE to the end of the definition contained in VAR. Take
16508 # advantage of any shell optimizations that allow amortized linear growth over
16509 # repeated appends, instead of the typical quadratic growth present in naive
16511 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16512 eval 'as_fn_append ()
16523 # as_fn_arith ARG...
16524 # ------------------
16525 # Perform arithmetic evaluation on the ARGs, and store the result in the
16526 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16527 # must be portable across $(()) and expr.
16528 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16529 eval 'as_fn_arith ()
16536 as_val
=`expr "$@" || test $? -eq 1`
16541 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16542 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16548 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16549 as_basename
=basename
16554 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16560 as_me
=`$as_basename -- "$0" ||
16561 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16562 X"$0" : 'X\(//\)$' \| \
16563 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16565 sed '/^.*\/\([^/][^/]*\)\/*$/{
16579 # Avoid depending upon Character Ranges.
16580 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16581 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16582 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16583 as_cr_digits
='0123456789'
16584 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16586 ECHO_C
= ECHO_N
= ECHO_T
=
16587 case `echo -n x` in #(((((
16589 case `echo 'xy\c'` in
16590 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16592 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16599 rm -f conf$$ conf$$.exe conf$$.
file
16600 if test -d conf$$.dir
; then
16601 rm -f conf$$.dir
/conf$$.
file
16604 mkdir conf$$.dir
2>/dev
/null
16606 if (echo >conf$$.
file) 2>/dev
/null
; then
16607 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16609 # ... but there are two gotchas:
16610 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16611 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16612 # In both cases, we have to default to `cp -p'.
16613 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16615 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16623 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16624 rmdir conf$$.dir
2>/dev
/null
16629 # Create "$as_dir" as a directory, including parents if necessary.
16634 -*) as_dir
=.
/$as_dir;;
16636 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16640 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16641 *) as_qdir
=$as_dir;;
16643 as_dirs
="'$as_qdir' $as_dirs"
16644 as_dir
=`$as_dirname -- "$as_dir" ||
16645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16646 X"$as_dir" : 'X\(//\)[^/]' \| \
16647 X"$as_dir" : 'X\(//\)$' \| \
16648 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16649 $as_echo X"$as_dir" |
16650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16654 /^X\(\/\/\)[^/].*/{
16667 test -d "$as_dir" && break
16669 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16670 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16674 if mkdir
-p .
2>/dev
/null
; then
16675 as_mkdir_p
='mkdir -p "$as_dir"'
16677 test -d .
/-p && rmdir .
/-p
16681 if test -x / >/dev
/null
2>&1; then
16682 as_test_x
='test -x'
16684 if ls -dL / >/dev
/null
2>&1; then
16691 if test -d "$1"; then
16697 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16698 ???[sx]*):;;*)false;;esac;fi
16702 as_executable_p
=$as_test_x
16704 # Sed expression to map a string onto a valid CPP name.
16705 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16707 # Sed expression to map a string onto a valid variable name.
16708 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16712 ## ----------------------------------- ##
16713 ## Main body of $CONFIG_STATUS script. ##
16714 ## ----------------------------------- ##
16716 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16719 # Save the log message, to keep $0 and so on meaningful, and to
16720 # report actual input values of CONFIG_FILES etc. instead of their
16721 # values after options handling.
16723 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
16724 generated by GNU Autoconf 2.64. Invocation command line was
16726 CONFIG_FILES = $CONFIG_FILES
16727 CONFIG_HEADERS = $CONFIG_HEADERS
16728 CONFIG_LINKS = $CONFIG_LINKS
16729 CONFIG_COMMANDS = $CONFIG_COMMANDS
16732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16737 case $ac_config_files in *"
16738 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16741 case $ac_config_headers in *"
16742 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16747 # Files that config.status was made for.
16748 config_files="$ac_config_files"
16749 config_headers="$ac_config_headers"
16750 config_commands="$ac_config_commands"
16754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16756 \`$as_me' instantiates files and other configuration actions
16757 from templates according to the current configuration. Unless the files
16758 and actions are specified as TAGs, all are instantiated by default.
16760 Usage: $0 [OPTION]... [TAG]...
16762 -h, --help print this help, then exit
16763 -V, --version print version number and configuration settings, then exit
16764 -q, --quiet, --silent
16765 do not print progress messages
16766 -d, --debug don't remove temporary files
16767 --recheck update $as_me by reconfiguring in the same conditions
16768 --file=FILE[:TEMPLATE]
16769 instantiate the configuration file FILE
16770 --header=FILE[:TEMPLATE]
16771 instantiate the configuration header FILE
16773 Configuration files:
16776 Configuration headers:
16779 Configuration commands:
16782 Report bugs to the package provider.
16783 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
16784 General help using GNU software: <http://www.gnu.org/gethelp/>."
16787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16789 GNU OpenMP Runtime Library config.status 1.0
16790 configured by $0, generated by GNU Autoconf 2.64,
16791 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16793 Copyright (C) 2009 Free Software Foundation, Inc.
16794 This config.status script is free software; the Free Software Foundation
16795 gives unlimited permission to copy, distribute and modify it."
16802 test -n "\$AWK" || AWK=awk
16805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16806 # The default lists apply if the user does not specify any file.
16812 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16813 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16824 # Handling of the options.
16825 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16827 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16828 $as_echo "$ac_cs_version"; exit ;;
16829 --debug |
--debu |
--deb |
--de |
--d |
-d )
16831 --file |
--fil |
--fi |
--f )
16834 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16836 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16837 ac_need_defaults
=false
;;
16838 --header |
--heade |
--head |
--hea )
16841 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16843 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16844 ac_need_defaults
=false
;;
16846 # Conflict between --help and --header
16847 as_fn_error
"ambiguous option: \`$1'
16848 Try \`$0 --help' for more information.";;
16849 --help |
--hel |
-h )
16850 $as_echo "$ac_cs_usage"; exit ;;
16851 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16852 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16855 # This is an error.
16856 -*) as_fn_error
"unrecognized option: \`$1'
16857 Try \`$0 --help' for more information." ;;
16859 *) as_fn_append ac_config_targets
" $1"
16860 ac_need_defaults
=false
;;
16866 ac_configure_extra_args
=
16868 if $ac_cs_silent; then
16870 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16875 if \$ac_cs_recheck; then
16876 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16878 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16879 CONFIG_SHELL='$SHELL'
16880 export CONFIG_SHELL
16885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16889 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16890 ## Running $as_me. ##
16896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16904 with_multisubdir="$with_multisubdir"
16905 with_multisrctop="$with_multisrctop"
16906 with_target_subdir="$with_target_subdir"
16907 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16908 multi_basedir="$multi_basedir"
16909 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16912 GFORTRAN="$GFORTRAN"
16914 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16917 # The HP-UX ksh and POSIX shell print the target directory to stdout
16918 # if CDPATH is set.
16919 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16921 sed_quote_subst='$sed_quote_subst'
16922 double_quote_subst='$double_quote_subst'
16923 delay_variable_subst='$delay_variable_subst'
16924 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16925 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16926 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16927 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16928 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16929 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16930 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16931 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16932 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16933 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16934 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16935 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16936 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16937 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16938 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16939 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16940 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16941 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16942 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16943 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16944 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16945 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16946 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16947 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16948 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16949 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16950 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16951 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16952 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16953 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16954 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16955 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16956 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16957 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16958 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16959 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16960 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16961 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16962 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16963 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16964 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16965 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16966 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16967 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16968 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16969 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16970 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16971 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16972 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"`'
16973 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16974 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16975 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16976 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16977 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16978 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16979 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16980 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16981 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16982 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16983 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16984 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16985 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16986 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16987 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16988 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16989 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16990 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16991 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16992 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16993 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16994 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16995 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16996 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16997 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16998 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16999 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17000 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17001 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17002 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17003 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17004 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17005 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17006 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17007 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17008 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17009 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17010 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17011 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17012 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17013 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17014 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17015 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17016 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17017 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17018 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17019 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17020 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17021 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17022 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17023 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17024 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17025 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17026 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17027 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17028 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17029 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17030 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17031 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17032 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17033 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17034 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17035 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17036 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17037 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17038 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17039 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17040 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17041 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17042 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17043 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17044 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17045 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17046 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17047 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17048 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17049 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17050 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
17051 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
17052 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
17053 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17054 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
17055 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
17056 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
17057 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
17058 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
17059 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
17060 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
17061 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
17062 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
17063 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17064 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17065 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
17066 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
17067 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
17068 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17069 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17070 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
17071 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17072 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
17073 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17074 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17075 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17076 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
17077 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
17078 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
17079 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
17080 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
17081 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
17082 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
17083 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
17084 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
17085 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
17086 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
17087 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
17088 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17089 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17090 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
17091 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
17092 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
17093 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
17094 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
17095 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
17096 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
17097 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
17098 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
17101 LTCFLAGS='$LTCFLAGS'
17102 compiler='$compiler_DEFAULT'
17104 # A function that is used when there is no print builtin or printf.
17105 func_fallback_echo ()
17107 eval 'cat <<_LTECHO_EOF
17112 # Quote evaled strings.
17126 deplibs_check_method \
17135 lt_cv_sys_global_symbol_pipe \
17136 lt_cv_sys_global_symbol_to_cdecl \
17137 lt_cv_sys_global_symbol_to_c_name_address \
17138 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17139 lt_prog_compiler_no_builtin_flag \
17140 lt_prog_compiler_wl \
17141 lt_prog_compiler_pic \
17142 lt_prog_compiler_static \
17143 lt_cv_prog_compiler_c_o \
17151 export_dynamic_flag_spec \
17152 whole_archive_flag_spec \
17153 compiler_needs_object \
17155 allow_undefined_flag \
17156 no_undefined_flag \
17157 hardcode_libdir_flag_spec \
17158 hardcode_libdir_flag_spec_ld \
17159 hardcode_libdir_separator \
17164 variables_saved_for_relink \
17166 library_names_spec \
17168 install_override_mode \
17172 compiler_lib_search_dirs \
17177 compiler_lib_search_path \
17181 lt_prog_compiler_no_builtin_flag_FC \
17182 lt_prog_compiler_wl_FC \
17183 lt_prog_compiler_pic_FC \
17184 lt_prog_compiler_static_FC \
17185 lt_cv_prog_compiler_c_o_FC \
17186 export_dynamic_flag_spec_FC \
17187 whole_archive_flag_spec_FC \
17188 compiler_needs_object_FC \
17190 allow_undefined_flag_FC \
17191 no_undefined_flag_FC \
17192 hardcode_libdir_flag_spec_FC \
17193 hardcode_libdir_flag_spec_ld_FC \
17194 hardcode_libdir_separator_FC \
17195 fix_srcfile_path_FC \
17196 exclude_expsyms_FC \
17197 include_expsyms_FC \
17198 file_list_spec_FC \
17199 compiler_lib_search_dirs_FC \
17200 predep_objects_FC \
17201 postdep_objects_FC \
17204 compiler_lib_search_path_FC; do
17205 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17206 *[\\\\\\\`\\"\\\$]*)
17207 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17210 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17215 # Double-quote double-evaled strings.
17216 for var in reload_cmds \
17217 old_postinstall_cmds \
17218 old_postuninstall_cmds \
17220 extract_expsyms_cmds \
17221 old_archive_from_new_cmds \
17222 old_archive_from_expsyms_cmds \
17224 archive_expsym_cmds \
17226 module_expsym_cmds \
17227 export_symbols_cmds \
17230 postuninstall_cmds \
17232 sys_lib_search_path_spec \
17233 sys_lib_dlsearch_path_spec \
17235 old_archive_cmds_FC \
17236 old_archive_from_new_cmds_FC \
17237 old_archive_from_expsyms_cmds_FC \
17239 archive_expsym_cmds_FC \
17241 module_expsym_cmds_FC \
17242 export_symbols_cmds_FC \
17243 prelink_cmds_FC; do
17244 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17245 *[\\\\\\\`\\"\\\$]*)
17246 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17249 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17254 ac_aux_dir='$ac_aux_dir'
17255 xsi_shell='$xsi_shell'
17256 lt_shell_append='$lt_shell_append'
17258 # See if we are running on zsh, and set the options which allow our
17259 # commands through without removal of \ escapes INIT.
17260 if test -n "\${ZSH_VERSION+set}" ; then
17261 setopt NO_GLOB_SUBST
17267 TIMESTAMP='$TIMESTAMP'
17278 acx_cv_header_stdint="$acx_cv_header_stdint"
17279 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17280 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17281 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17282 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17283 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17284 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17285 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17286 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17287 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17288 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17289 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17290 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17291 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17298 # Handling of arguments.
17299 for ac_config_target
in $ac_config_targets
17301 case $ac_config_target in
17302 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17303 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17304 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17305 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17306 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17307 "omp.h") CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
17308 "omp_lib.h") CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
17309 "omp_lib.f90") CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
17310 "libgomp_f.h") CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
17311 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17312 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17313 "libgomp.spec") CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
17315 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17320 # If the user did not use the arguments to specify the items to instantiate,
17321 # then the envvar interface is used. Set only those that are not.
17322 # We use the long form for the default assignment because of an extremely
17323 # bizarre bug on SunOS 4.1.3.
17324 if $ac_need_defaults; then
17325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17327 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17330 # Have a temporary directory for convenience. Make it in the build tree
17331 # simply because there is no reason against having it here, and in addition,
17332 # creating and moving files from /tmp can sometimes cause problems.
17333 # Hook for its removal unless debugging.
17334 # Note that there is a small window in which the directory will not be cleaned:
17335 # after its creation but before its name has been assigned to `$tmp'.
17339 trap 'exit_status=$?
17340 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17342 trap 'as_fn_exit 1' 1 2 13 15
17344 # Create a (secure) tmp directory for tmp files.
17347 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17348 test -n "$tmp" && test -d "$tmp"
17351 tmp
=.
/conf$$
-$RANDOM
17352 (umask 077 && mkdir
"$tmp")
17353 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17355 # Set up the scripts for CONFIG_FILES section.
17356 # No need to generate them if there are no CONFIG_FILES.
17357 # This happens for instance with `./config.status config.h'.
17358 if test -n "$CONFIG_FILES"; then
17361 ac_cr
=`echo X | tr X '\015'`
17362 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17363 # But we know of no other shell where ac_cr would be empty at this
17364 # point, so we can use a bashism as a fallback.
17365 if test "x$ac_cr" = x
; then
17366 eval ac_cr
=\$
\'\\r
\'
17368 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17369 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17372 ac_cs_awk_cr
=$ac_cr
17375 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17380 echo "cat >conf$$subs.awk <<_ACEOF" &&
17381 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17383 } >conf$$subs.sh ||
17384 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17385 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17387 for ac_last_try in false false false false false :; do
17388 . ./conf$$subs.sh ||
17389 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17391 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17392 if test $ac_delim_n = $ac_delim_num; then
17394 elif $ac_last_try; then
17395 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17397 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17400 rm -f conf$$subs.sh
17402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17403 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17407 s/^/S["/; s
/!.
*/"]=/
17417 s/\(.\{148\}\).*/\1/
17419 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17424 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17431 s/\(.\{148\}\).*/\1/
17433 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17437 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17442 ' <conf$$subs.awk | sed '
17447 ' >>$CONFIG_STATUS || ac_write_fail=1
17448 rm -f conf$$subs.awk
17449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17451 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17452 for (key in S) S_is_set[key] = 1
17458 nfields = split(line, field, "@
")
17460 len = length(field[1])
17461 for (i = 2; i < nfields; i++) {
17463 keylen = length(key)
17464 if (S_is_set[key]) {
17466 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17467 len += length(value) + length(field[++i])
17478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17479 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17480 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17483 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17484 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17487 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17488 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17489 # trailing colons and then remove the whole line if VPATH becomes empty
17490 # (actually we leave an empty line to preserve line numbers).
17491 if test "x
$srcdir" = x.; then
17492 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17493 s/:*\$(srcdir):*/:/
17494 s/:*\${srcdir}:*/:/
17496 s/^\([^=]*=[ ]*\):*/\1/
17502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17503 fi # test -n "$CONFIG_FILES"
17505 # Set up the scripts for CONFIG_HEADERS section.
17506 # No need to generate them if there are no CONFIG_HEADERS.
17507 # This happens for instance with `./config.status Makefile'.
17508 if test -n "$CONFIG_HEADERS"; then
17509 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17513 # Transform confdefs.h into an awk script `defines.awk', embedded as
17514 # here-document in config.status, that substitutes the proper values into
17515 # config.h.in to produce config.h.
17517 # Create a delimiter string that does not exist in confdefs.h, to ease
17518 # handling of long lines.
17520 for ac_last_try in false false :; do
17521 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17522 if test -z "$ac_t"; then
17524 elif $ac_last_try; then
17525 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17527 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17531 # For the awk script, D is an array of macro values keyed by name,
17532 # likewise P contains macro parameters if any. Preserve backslash
17533 # newline sequences.
17535 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17537 s/.\{148\}/&'"$ac_delim"'/g
17540 s/^[ ]*#[ ]*define[ ][ ]*/ /
17547 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17549 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17553 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17554 D["\
1"]=" \
3\\\\\\n
"\\/p
17556 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17561 s/.\{148\}/&'"$ac_delim"'/g
17566 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17569 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17571 ' <confdefs.h | sed '
17572 s/'"$ac_delim"'/"\\\
17573 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17576 for (key in D) D_is_set[key] = 1
17579 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17581 split(line, arg, " ")
17582 if (arg[1] == "#") {
17586 defundef
= substr
(arg
[1], 2)
17589 split(mac1
, mac2
, "(") #)
17591 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17592 if (D_is_set
[macro
]) {
17593 # Preserve the white space surrounding the "#".
17594 print prefix
"define", macro P
[macro
] D
[macro
]
17597 # Replace #undef with comments. This is necessary, for example,
17598 # in the case of _POSIX_SOURCE, which is predefined and required
17599 # on some systems where configure will not decide to define it.
17600 if (defundef
== "undef") {
17601 print
"/*", prefix defundef
, macro
, "*/"
17609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17610 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17611 fi # test -n "$CONFIG_HEADERS"
17614 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17619 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17621 case $ac_mode$ac_tag in
17623 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17624 :[FH
]-) ac_tag
=-:-;;
17625 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17642 -) ac_f
="$tmp/stdin";;
17643 *) # Look for the file first in the build tree, then in the source tree
17644 # (if the path is not absolute). The absolute path cannot be DOS-style,
17645 # because $ac_f cannot contain `:'.
17649 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17651 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17653 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17654 as_fn_append ac_file_inputs
" '$ac_f'"
17657 # Let's still pretend it is `configure' which instantiates (i.e., don't
17658 # use $as_me), people would be surprised to read:
17659 # /* config.h. Generated by config.status. */
17660 configure_input
='Generated from '`
17661 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17663 if test x
"$ac_file" != x-
; then
17664 configure_input
="$ac_file. $configure_input"
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17666 $as_echo "$as_me: creating $ac_file" >&6;}
17668 # Neutralize special characters interpreted by sed in replacement strings.
17669 case $configure_input in #(
17670 *\
&* |
*\|
* |
*\\* )
17671 ac_sed_conf_input
=`$as_echo "$configure_input" |
17672 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17673 *) ac_sed_conf_input
=$configure_input;;
17677 *:-:* |
*:-) cat >"$tmp/stdin" \
17678 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17683 ac_dir
=`$as_dirname -- "$ac_file" ||
17684 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17685 X"$ac_file" : 'X\(//\)[^/]' \| \
17686 X"$ac_file" : 'X\(//\)$' \| \
17687 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17688 $as_echo X"$ac_file" |
17689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17693 /^X\(\/\/\)[^/].*/{
17706 as_dir
="$ac_dir"; as_fn_mkdir_p
17710 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17712 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17713 # A ".." for each directory in $ac_dir_suffix.
17714 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17715 case $ac_top_builddir_sub in
17716 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17717 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17720 ac_abs_top_builddir
=$ac_pwd
17721 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17722 # for backward compatibility:
17723 ac_top_builddir
=$ac_top_build_prefix
17726 .
) # We are building in place.
17728 ac_top_srcdir
=$ac_top_builddir_sub
17729 ac_abs_top_srcdir
=$ac_pwd ;;
17730 [\\/]* | ?
:[\\/]* ) # Absolute name.
17731 ac_srcdir
=$srcdir$ac_dir_suffix;
17732 ac_top_srcdir
=$srcdir
17733 ac_abs_top_srcdir
=$srcdir ;;
17734 *) # Relative name.
17735 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17736 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17737 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17739 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17749 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17750 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17752 ac_MKDIR_P
=$MKDIR_P
17754 [\\/$
]* | ?
:[\\/]* ) ;;
17755 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17760 # If the template does not know about datarootdir, expand it.
17761 # FIXME: This hack should be removed a few years after 2.60.
17762 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17773 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17774 *datarootdir
*) ac_datarootdir_seen
=yes;;
17775 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17777 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17780 ac_datarootdir_hack='
17781 s&@datadir@&$datadir&g
17782 s&@docdir@&$docdir&g
17783 s&@infodir@&$infodir&g
17784 s&@localedir@&$localedir&g
17785 s&@mandir@&$mandir&g
17786 s&\\\${datarootdir}&$datarootdir&g' ;;
17790 # Neutralize VPATH when `$srcdir' = `.'.
17791 # Shell code in configure.ac might set extrasub.
17792 # FIXME: do we really want to maintain this feature?
17793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17794 ac_sed_extra="$ac_vpsub
17797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17799 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17800 s|@configure_input@|
$ac_sed_conf_input|
;t t
17801 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17802 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17803 s
&@srcdir@
&$ac_srcdir&;t t
17804 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17805 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17806 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17807 s
&@builddir@
&$ac_builddir&;t t
17808 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17809 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17810 s
&@INSTALL@
&$ac_INSTALL&;t t
17811 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17812 $ac_datarootdir_hack
17814 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17815 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17817 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17818 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17819 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17821 which seems to be undefined. Please make sure it is defined." >&5
17822 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17823 which seems to be undefined. Please make sure it is defined." >&2;}
17827 -) cat "$tmp/out" && rm -f "$tmp/out";;
17828 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17830 || as_fn_error "could not create $ac_file" "$LINENO" 5
17836 if test x"$ac_file" != x-; then
17838 $as_echo "/* $configure_input */" \
17839 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17840 } >"$tmp/config.h" \
17841 || as_fn_error "could not create $ac_file" "$LINENO" 5
17842 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17844 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17847 mv "$tmp/config.h" "$ac_file" \
17848 || as_fn_error "could not create $ac_file" "$LINENO" 5
17851 $as_echo "/* $configure_input */" \
17852 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17853 || as_fn_error "could not create -" "$LINENO" 5
17855 # Compute "$ac_file"'s index
in $config_headers.
17858 for _am_header
in $config_headers :; do
17859 case $_am_header in
17860 $_am_arg |
$_am_arg:* )
17863 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17866 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17867 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17868 X"$_am_arg" : 'X\(//\)[^/]' \| \
17869 X"$_am_arg" : 'X\(//\)$' \| \
17870 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17871 $as_echo X"$_am_arg" |
17872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17876 /^X\(\/\/\)[^/].*/{
17888 s/.*/./; q'`/stamp-h
$_am_stamp_count
17891 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17892 $as_echo "$as_me: executing $ac_file commands" >&6;}
17897 case $ac_file$ac_mode in
17899 # Only add multilib support code if we just rebuilt the top-level
17901 case " $CONFIG_FILES " in
17903 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17906 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17907 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17908 # are listed without --file. Let's play safe and only enable the eval
17909 # if we detect the quoting.
17910 case $CONFIG_FILES in
17911 *\'*) eval set x
"$CONFIG_FILES" ;;
17912 *) set x
$CONFIG_FILES ;;
17917 # Strip MF so we end up with the name of the file.
17918 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17919 # Check whether this is an Automake generated Makefile or not.
17920 # We used to match only the files named `Makefile.in', but
17921 # some people rename them; so instead we look at the file content.
17922 # Grep'ing the first line is not enough: some people post-process
17923 # each Makefile.in and add a new line on top of each file to say so.
17924 # Grep'ing the whole file is not good either: AIX grep has a line
17925 # limit of 2048, but all sed's we know have understand at least 4000.
17926 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17927 dirpart
=`$as_dirname -- "$mf" ||
17928 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17929 X"$mf" : 'X\(//\)[^/]' \| \
17930 X"$mf" : 'X\(//\)$' \| \
17931 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17937 /^X\(\/\/\)[^/].*/{
17953 # Extract the definition of DEPDIR, am__include, and am__quote
17954 # from the Makefile without running `make'.
17955 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17956 test -z "$DEPDIR" && continue
17957 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17958 test -z "am__include" && continue
17959 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17960 # When using ansi2knr, U may be empty or an underscore; expand it
17961 U
=`sed -n 's/^U = //p' < "$mf"`
17962 # Find all dependency output files, they are included files with
17963 # $(DEPDIR) in their names. We invoke sed twice because it is the
17964 # simplest approach to changing $(DEPDIR) to its actual value in the
17966 for file in `sed -n "
17967 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17968 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17969 # Make sure the directory exists.
17970 test -f "$dirpart/$file" && continue
17971 fdir
=`$as_dirname -- "$file" ||
17972 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17973 X"$file" : 'X\(//\)[^/]' \| \
17974 X"$file" : 'X\(//\)$' \| \
17975 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17976 $as_echo X"$file" |
17977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17981 /^X\(\/\/\)[^/].*/{
17994 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17995 # echo "creating $dirpart/$file"
17996 echo '# dummy' > "$dirpart/$file"
18003 # See if we are running on zsh, and set the options which allow our
18004 # commands through without removal of \ escapes.
18005 if test -n "${ZSH_VERSION+set}" ; then
18006 setopt NO_GLOB_SUBST
18009 cfgfile
="${ofile}T"
18010 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18013 cat <<_LT_EOF >> "$cfgfile"
18016 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18017 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18018 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18019 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18021 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18022 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18023 # Written by Gordon Matzigkeit, 1996
18025 # This file is part of GNU Libtool.
18027 # GNU Libtool is free software; you can redistribute it and/or
18028 # modify it under the terms of the GNU General Public License as
18029 # published by the Free Software Foundation; either version 2 of
18030 # the License, or (at your option) any later version.
18032 # As a special exception to the GNU General Public License,
18033 # if you distribute this file as part of a program or library that
18034 # is built using GNU Libtool, you may include this file under the
18035 # same distribution terms that you use for the rest of that program.
18037 # GNU Libtool is distributed in the hope that it will be useful,
18038 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18039 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18040 # GNU General Public License for more details.
18042 # You should have received a copy of the GNU General Public License
18043 # along with GNU Libtool; see the file COPYING. If not, a copy
18044 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18045 # obtained by writing to the Free Software Foundation, Inc.,
18046 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18049 # The names of the tagged configurations supported by this script.
18050 available_tags="FC "
18052 # ### BEGIN LIBTOOL CONFIG
18054 # Which release of libtool.m4 was used?
18055 macro_version=$macro_version
18056 macro_revision=$macro_revision
18058 # Whether or not to build shared libraries.
18059 build_libtool_libs=$enable_shared
18061 # Whether or not to build static libraries.
18062 build_old_libs=$enable_static
18064 # What type of objects to build.
18067 # Whether or not to optimize for fast installation.
18068 fast_install=$enable_fast_install
18070 # Shell to use when invoking shell scripts.
18073 # An echo program that protects backslashes.
18077 host_alias=$host_alias
18081 # The build system.
18082 build_alias=$build_alias
18086 # A sed program that does not truncate output.
18089 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18090 Xsed="\$SED -e 1s/^X//"
18092 # A grep program that handles long lines.
18098 # A literal string matcher.
18101 # A BSD- or MS-compatible name lister.
18104 # Whether we need soft or hard links.
18107 # What is the maximum length of a command?
18108 max_cmd_len=$max_cmd_len
18110 # Object file suffix (normally "o").
18113 # Executable file suffix (normally "").
18116 # whether the shell understands "unset".
18119 # turn spaces into newlines.
18122 # turn newlines into spaces.
18125 # An object symbol dumper.
18126 OBJDUMP=$lt_OBJDUMP
18128 # Method to check whether dependent libraries are shared objects.
18129 deplibs_check_method=$lt_deplibs_check_method
18131 # Command to use when deplibs_check_method == "file_magic".
18132 file_magic_cmd=$lt_file_magic_cmd
18136 AR_FLAGS=$lt_AR_FLAGS
18138 # A symbol stripping program.
18141 # Commands used to install an old-style archive.
18143 old_postinstall_cmds=$lt_old_postinstall_cmds
18144 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18146 # Whether to use a lock for old archive extraction.
18147 lock_old_archive_extraction=$lock_old_archive_extraction
18152 # LTCC compiler flags.
18153 LTCFLAGS=$lt_CFLAGS
18155 # Take the output of nm and produce a listing of raw symbols and C names.
18156 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18158 # Transform the output of nm in a proper C declaration.
18159 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18161 # Transform the output of nm in a C name address pair.
18162 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18164 # Transform the output of nm in a C name address pair when lib prefix is needed.
18165 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18167 # The name of the directory that contains temporary libtool files.
18170 # Used to examine libraries when file_magic_cmd begins with "file".
18171 MAGIC_CMD=$MAGIC_CMD
18173 # Must we lock files when doing compilation?
18174 need_locks=$lt_need_locks
18176 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18177 DSYMUTIL=$lt_DSYMUTIL
18179 # Tool to change global to local symbols on Mac OS X.
18182 # Tool to manipulate fat objects and archives on Mac OS X.
18185 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18188 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18189 OTOOL64=$lt_OTOOL64
18191 # Old archive suffix (normally "a").
18194 # Shared library suffix (normally ".so").
18195 shrext_cmds=$lt_shrext_cmds
18197 # The commands to extract the exported symbol list from a shared archive.
18198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18200 # Variables whose values should be saved in libtool wrapper scripts and
18201 # restored at link time.
18202 variables_saved_for_relink=$lt_variables_saved_for_relink
18204 # Do we need the "lib" prefix for modules?
18205 need_lib_prefix=$need_lib_prefix
18207 # Do we need a version for libraries?
18208 need_version=$need_version
18210 # Library versioning type.
18211 version_type=$version_type
18213 # Shared library runtime path variable.
18214 runpath_var=$runpath_var
18216 # Shared library path variable.
18217 shlibpath_var=$shlibpath_var
18219 # Is shlibpath searched before the hard-coded library search path?
18220 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18222 # Format of library name prefix.
18223 libname_spec=$lt_libname_spec
18225 # List of archive names. First name is the real one, the rest are links.
18226 # The last name is the one that the linker finds with -lNAME
18227 library_names_spec=$lt_library_names_spec
18229 # The coded name of the library, if different from the real name.
18230 soname_spec=$lt_soname_spec
18232 # Permission mode override for installation of shared libraries.
18233 install_override_mode=$lt_install_override_mode
18235 # Command to use after installation of a shared archive.
18236 postinstall_cmds=$lt_postinstall_cmds
18238 # Command to use after uninstallation of a shared archive.
18239 postuninstall_cmds=$lt_postuninstall_cmds
18241 # Commands used to finish a libtool library installation in a directory.
18242 finish_cmds=$lt_finish_cmds
18244 # As "finish_cmds", except a single script fragment to be evaled but
18246 finish_eval=$lt_finish_eval
18248 # Whether we should hardcode library paths into libraries.
18249 hardcode_into_libs=$hardcode_into_libs
18251 # Compile-time system search path for libraries.
18252 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18254 # Run-time system search path for libraries.
18255 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18257 # Whether dlopen is supported.
18258 dlopen_support=$enable_dlopen
18260 # Whether dlopen of programs is supported.
18261 dlopen_self=$enable_dlopen_self
18263 # Whether dlopen of statically linked programs is supported.
18264 dlopen_self_static=$enable_dlopen_self_static
18266 # Commands to strip libraries.
18267 old_striplib=$lt_old_striplib
18268 striplib=$lt_striplib
18271 # The linker used to build libraries.
18274 # How to create reloadable object files.
18275 reload_flag=$lt_reload_flag
18276 reload_cmds=$lt_reload_cmds
18278 # Commands used to build an old-style archive.
18279 old_archive_cmds=$lt_old_archive_cmds
18281 # A language specific compiler.
18284 # Is the compiler the GNU compiler?
18287 # Compiler flag to turn off builtin functions.
18288 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18290 # How to pass a linker flag through the compiler.
18291 wl=$lt_lt_prog_compiler_wl
18293 # Additional compiler flags for building library objects.
18294 pic_flag=$lt_lt_prog_compiler_pic
18296 # Compiler flag to prevent dynamic linking.
18297 link_static_flag=$lt_lt_prog_compiler_static
18299 # Does compiler simultaneously support -c and -o options?
18300 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18302 # Whether or not to add -lc for building shared libraries.
18303 build_libtool_need_lc=$archive_cmds_need_lc
18305 # Whether or not to disallow shared libs when runtime libs are static.
18306 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18308 # Compiler flag to allow reflexive dlopens.
18309 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18311 # Compiler flag to generate shared objects directly from archives.
18312 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18314 # Whether the compiler copes with passing no objects directly.
18315 compiler_needs_object=$lt_compiler_needs_object
18317 # Create an old-style archive from a shared archive.
18318 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18320 # Create a temporary old-style archive to link instead of a shared archive.
18321 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18323 # Commands used to build a shared archive.
18324 archive_cmds=$lt_archive_cmds
18325 archive_expsym_cmds=$lt_archive_expsym_cmds
18327 # Commands used to build a loadable module if different from building
18328 # a shared archive.
18329 module_cmds=$lt_module_cmds
18330 module_expsym_cmds=$lt_module_expsym_cmds
18332 # Whether we are building with GNU ld or not.
18333 with_gnu_ld=$lt_with_gnu_ld
18335 # Flag that allows shared libraries with undefined symbols to be built.
18336 allow_undefined_flag=$lt_allow_undefined_flag
18338 # Flag that enforces no undefined symbols.
18339 no_undefined_flag=$lt_no_undefined_flag
18341 # Flag to hardcode \$libdir into a binary during linking.
18342 # This must work even if \$libdir does not exist
18343 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18345 # If ld is used when linking, flag to hardcode \$libdir into a binary
18346 # during linking. This must work even if \$libdir does not exist.
18347 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18349 # Whether we need a single "-rpath" flag with a separated argument.
18350 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18353 # DIR into the resulting binary.
18354 hardcode_direct=$hardcode_direct
18356 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18357 # DIR into the resulting binary and the resulting library dependency is
18358 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18359 # library is relocated.
18360 hardcode_direct_absolute=$hardcode_direct_absolute
18362 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18363 # into the resulting binary.
18364 hardcode_minus_L=$hardcode_minus_L
18366 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18367 # into the resulting binary.
18368 hardcode_shlibpath_var=$hardcode_shlibpath_var
18370 # Set to "yes" if building a shared library automatically hardcodes DIR
18371 # into the library and all subsequent libraries and executables linked
18373 hardcode_automatic=$hardcode_automatic
18375 # Set to yes if linker adds runtime paths of dependent libraries
18376 # to runtime path list.
18377 inherit_rpath=$inherit_rpath
18379 # Whether libtool must link a program against all its dependency libraries.
18380 link_all_deplibs=$link_all_deplibs
18382 # Fix the shell variable \$srcfile for the compiler.
18383 fix_srcfile_path=$lt_fix_srcfile_path
18385 # Set to "yes" if exported symbols are required.
18386 always_export_symbols=$always_export_symbols
18388 # The commands to list exported symbols.
18389 export_symbols_cmds=$lt_export_symbols_cmds
18391 # Symbols that should not be listed in the preloaded symbols.
18392 exclude_expsyms=$lt_exclude_expsyms
18394 # Symbols that must always be exported.
18395 include_expsyms=$lt_include_expsyms
18397 # Commands necessary for linking programs (against libraries) with templates.
18398 prelink_cmds=$lt_prelink_cmds
18400 # Specify filename containing input files.
18401 file_list_spec=$lt_file_list_spec
18403 # How to hardcode a shared library path into an executable.
18404 hardcode_action=$hardcode_action
18406 # The directories searched by this compiler when creating a shared library.
18407 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18409 # Dependencies to place before and after the objects being linked to
18410 # create a shared library.
18411 predep_objects=$lt_predep_objects
18412 postdep_objects=$lt_postdep_objects
18413 predeps=$lt_predeps
18414 postdeps=$lt_postdeps
18416 # The library search path used internally by the compiler when linking
18417 # a shared library.
18418 compiler_lib_search_path=$lt_compiler_lib_search_path
18420 # ### END LIBTOOL CONFIG
18426 cat <<\_LT_EOF
>> "$cfgfile"
18427 # AIX sometimes has problems with the GCC collect2 program. For some
18428 # reason, if we set the COLLECT_NAMES environment variable, the problems
18429 # vanish in a puff of smoke.
18430 if test "X${COLLECT_NAMES+set}" != Xset
; then
18432 export COLLECT_NAMES
18439 ltmain
="$ac_aux_dir/ltmain.sh"
18442 # We use sed instead of cat because bash on DJGPP gets confused if
18443 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18444 # text mode, it properly converts lines to CR/LF. This bash problem
18445 # is reportedly fixed, but why not run on old versions too?
18446 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18447 ||
(rm -f "$cfgfile"; exit 1)
18451 cat << \_LT_EOF
>> "$cfgfile"
18453 # func_dirname file append nondir_replacement
18454 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18455 # otherwise set result to NONDIR_REPLACEMENT.
18459 */*) func_dirname_result
="${1%/*}${2}" ;;
18460 * ) func_dirname_result
="${3}" ;;
18464 # func_basename file
18467 func_basename_result
="${1##*/}"
18470 # func_dirname_and_basename file append nondir_replacement
18471 # perform func_basename and func_dirname in a single function
18473 # dirname: Compute the dirname of FILE. If nonempty,
18474 # add APPEND to the result, otherwise set result
18475 # to NONDIR_REPLACEMENT.
18476 # value returned in "$func_dirname_result"
18477 # basename: Compute filename of FILE.
18478 # value retuned in "$func_basename_result"
18479 # Implementation must be kept synchronized with func_dirname
18480 # and func_basename. For efficiency, we do not delegate to
18481 # those functions but instead duplicate the functionality here.
18482 func_dirname_and_basename
()
18485 */*) func_dirname_result
="${1%/*}${2}" ;;
18486 * ) func_dirname_result
="${3}" ;;
18488 func_basename_result
="${1##*/}"
18491 # func_stripname prefix suffix name
18492 # strip PREFIX and SUFFIX off of NAME.
18493 # PREFIX and SUFFIX must not contain globbing or regex special
18494 # characters, hashes, percent signs, but SUFFIX may contain a leading
18495 # dot (in which case that matches only a dot).
18498 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18499 # positional parameters, so assign one to ordinary parameter first.
18500 func_stripname_result
=${3}
18501 func_stripname_result
=${func_stripname_result#"${1}"}
18502 func_stripname_result
=${func_stripname_result%"${2}"}
18508 func_opt_split_opt
=${1%%=*}
18509 func_opt_split_arg
=${1#*=}
18516 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18517 *) func_lo2o_result
=${1} ;;
18521 # func_xform libobj-or-source
18524 func_xform_result
=${1%.*}.lo
18527 # func_arith arithmetic-term...
18530 func_arith_result
=$
(( $
* ))
18534 # STRING may not start with a hyphen.
18537 func_len_result
=${#1}
18542 *) # Bourne compatible functions.
18543 cat << \_LT_EOF
>> "$cfgfile"
18545 # func_dirname file append nondir_replacement
18546 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18547 # otherwise set result to NONDIR_REPLACEMENT.
18550 # Extract subdirectory from the argument.
18551 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18552 if test "X$func_dirname_result" = "X${1}"; then
18553 func_dirname_result
="${3}"
18555 func_dirname_result
="$func_dirname_result${2}"
18559 # func_basename file
18562 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18566 # func_stripname prefix suffix name
18567 # strip PREFIX and SUFFIX off of NAME.
18568 # PREFIX and SUFFIX must not contain globbing or regex special
18569 # characters, hashes, percent signs, but SUFFIX may contain a leading
18570 # dot (in which case that matches only a dot).
18571 # func_strip_suffix prefix name
18575 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18576 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18581 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18582 my_sed_long_arg
='1s/^-[^=]*=//'
18587 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18588 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18594 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18597 # func_xform libobj-or-source
18600 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18603 # func_arith arithmetic-term...
18606 func_arith_result
=`expr "$@"`
18610 # STRING may not start with a hyphen.
18613 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18619 case $lt_shell_append in
18621 cat << \_LT_EOF
>> "$cfgfile"
18623 # func_append var value
18624 # Append VALUE to the end of shell variable VAR.
18632 cat << \_LT_EOF
>> "$cfgfile"
18634 # func_append var value
18635 # Append VALUE to the end of shell variable VAR.
18646 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18647 ||
(rm -f "$cfgfile"; exit 1)
18649 mv -f "$cfgfile" "$ofile" ||
18650 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18654 cat <<_LT_EOF >> "$ofile"
18656 # ### BEGIN LIBTOOL TAG CONFIG: FC
18658 # The linker used to build libraries.
18661 # How to create reloadable object files.
18662 reload_flag=$lt_reload_flag_FC
18663 reload_cmds=$lt_reload_cmds_FC
18665 # Commands used to build an old-style archive.
18666 old_archive_cmds=$lt_old_archive_cmds_FC
18668 # A language specific compiler.
18671 # Is the compiler the GNU compiler?
18674 # Compiler flag to turn off builtin functions.
18675 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
18677 # How to pass a linker flag through the compiler.
18678 wl=$lt_lt_prog_compiler_wl_FC
18680 # Additional compiler flags for building library objects.
18681 pic_flag=$lt_lt_prog_compiler_pic_FC
18683 # Compiler flag to prevent dynamic linking.
18684 link_static_flag=$lt_lt_prog_compiler_static_FC
18686 # Does compiler simultaneously support -c and -o options?
18687 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
18689 # Whether or not to add -lc for building shared libraries.
18690 build_libtool_need_lc=$archive_cmds_need_lc_FC
18692 # Whether or not to disallow shared libs when runtime libs are static.
18693 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
18695 # Compiler flag to allow reflexive dlopens.
18696 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
18698 # Compiler flag to generate shared objects directly from archives.
18699 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
18701 # Whether the compiler copes with passing no objects directly.
18702 compiler_needs_object=$lt_compiler_needs_object_FC
18704 # Create an old-style archive from a shared archive.
18705 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
18707 # Create a temporary old-style archive to link instead of a shared archive.
18708 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
18710 # Commands used to build a shared archive.
18711 archive_cmds=$lt_archive_cmds_FC
18712 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
18714 # Commands used to build a loadable module if different from building
18715 # a shared archive.
18716 module_cmds=$lt_module_cmds_FC
18717 module_expsym_cmds=$lt_module_expsym_cmds_FC
18719 # Whether we are building with GNU ld or not.
18720 with_gnu_ld=$lt_with_gnu_ld_FC
18722 # Flag that allows shared libraries with undefined symbols to be built.
18723 allow_undefined_flag=$lt_allow_undefined_flag_FC
18725 # Flag that enforces no undefined symbols.
18726 no_undefined_flag=$lt_no_undefined_flag_FC
18728 # Flag to hardcode \$libdir into a binary during linking.
18729 # This must work even if \$libdir does not exist
18730 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
18732 # If ld is used when linking, flag to hardcode \$libdir into a binary
18733 # during linking. This must work even if \$libdir does not exist.
18734 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
18736 # Whether we need a single "-rpath" flag with a separated argument.
18737 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
18739 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18740 # DIR into the resulting binary.
18741 hardcode_direct=$hardcode_direct_FC
18743 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18744 # DIR into the resulting binary and the resulting library dependency is
18745 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18746 # library is relocated.
18747 hardcode_direct_absolute=$hardcode_direct_absolute_FC
18749 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18750 # into the resulting binary.
18751 hardcode_minus_L=$hardcode_minus_L_FC
18753 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18754 # into the resulting binary.
18755 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
18757 # Set to "yes" if building a shared library automatically hardcodes DIR
18758 # into the library and all subsequent libraries and executables linked
18760 hardcode_automatic=$hardcode_automatic_FC
18762 # Set to yes if linker adds runtime paths of dependent libraries
18763 # to runtime path list.
18764 inherit_rpath=$inherit_rpath_FC
18766 # Whether libtool must link a program against all its dependency libraries.
18767 link_all_deplibs=$link_all_deplibs_FC
18769 # Fix the shell variable \$srcfile for the compiler.
18770 fix_srcfile_path=$lt_fix_srcfile_path_FC
18772 # Set to "yes" if exported symbols are required.
18773 always_export_symbols=$always_export_symbols_FC
18775 # The commands to list exported symbols.
18776 export_symbols_cmds=$lt_export_symbols_cmds_FC
18778 # Symbols that should not be listed in the preloaded symbols.
18779 exclude_expsyms=$lt_exclude_expsyms_FC
18781 # Symbols that must always be exported.
18782 include_expsyms=$lt_include_expsyms_FC
18784 # Commands necessary for linking programs (against libraries) with templates.
18785 prelink_cmds=$lt_prelink_cmds_FC
18787 # Specify filename containing input files.
18788 file_list_spec=$lt_file_list_spec_FC
18790 # How to hardcode a shared library path into an executable.
18791 hardcode_action=$hardcode_action_FC
18793 # The directories searched by this compiler when creating a shared library.
18794 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
18796 # Dependencies to place before and after the objects being linked to
18797 # create a shared library.
18798 predep_objects=$lt_predep_objects_FC
18799 postdep_objects=$lt_postdep_objects_FC
18800 predeps=$lt_predeps_FC
18801 postdeps=$lt_postdeps_FC
18803 # The library search path used internally by the compiler when linking
18804 # a shared library.
18805 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
18807 # ### END LIBTOOL TAG CONFIG: FC
18812 if test "$GCC" = yes; then
18813 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
18815 echo "/* generated for $CC */" > tmp-stdint.h
18818 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18820 #ifndef GCC_GENERATED_STDINT_H
18821 #define GCC_GENERATED_STDINT_H 1
18823 #include <sys/types.h>
18826 if test "$acx_cv_header_stdint" != stdint.h
; then
18827 echo "#include <stddef.h>" >> tmp-stdint.h
18829 if test "$acx_cv_header_stdint" != stddef.h
; then
18830 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
18833 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18834 /* glibc uses these symbols as guards to prevent redefinitions. */
18835 #ifdef __int8_t_defined
18840 #ifdef __uint32_t_defined
18846 # ----------------- done header, emit basic int types -------------
18847 if test "$acx_cv_header_stdint" = stddef.h
; then
18848 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18852 #ifndef __uint8_t_defined
18853 #define __uint8_t_defined
18855 typedef unsigned $acx_cv_type_int8_t uint8_t;
18862 #ifndef __uint16_t_defined
18863 #define __uint16_t_defined
18865 typedef unsigned $acx_cv_type_int16_t uint16_t;
18872 #ifndef __uint32_t_defined
18873 #define __uint32_t_defined
18875 typedef unsigned $acx_cv_type_int32_t uint32_t;
18882 #ifndef __int8_t_defined
18883 #define __int8_t_defined
18885 typedef $acx_cv_type_int8_t int8_t;
18892 #ifndef __int16_t_defined
18893 #define __int16_t_defined
18895 typedef $acx_cv_type_int16_t int16_t;
18902 #ifndef __int32_t_defined
18903 #define __int32_t_defined
18905 typedef $acx_cv_type_int32_t int32_t;
18910 elif test "$ac_cv_type_u_int32_t" = yes; then
18911 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18913 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
18926 #ifndef __uint8_t_defined
18927 #define __uint8_t_defined
18929 typedef u_int8_t uint8_t;
18936 #ifndef __uint16_t_defined
18937 #define __uint16_t_defined
18939 typedef u_int16_t uint16_t;
18946 #ifndef __uint32_t_defined
18947 #define __uint32_t_defined
18949 typedef u_int32_t uint32_t;
18955 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18957 /* Some systems have guard macros to prevent redefinitions, define them. */
18979 # ------------- done basic int types, emit int64_t types ------------
18980 if test "$ac_cv_type_uint64_t" = yes; then
18981 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18983 /* system headers have good uint64_t and int64_t */
18991 elif test "$ac_cv_type_u_int64_t" = yes; then
18992 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18994 /* system headers have an u_int64_t (and int64_t) */
19000 #ifndef __uint64_t_defined
19001 #define __uint64_t_defined
19003 typedef u_int64_t uint64_t;
19008 elif test -n "$acx_cv_type_int64_t"; then
19009 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19011 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19015 typedef $acx_cv_type_int64_t int64_t;
19020 #ifndef __uint64_t_defined
19021 #define __uint64_t_defined
19023 typedef unsigned $acx_cv_type_int64_t uint64_t;
19029 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19031 /* some common heuristics for int64_t, using compiler-specific tests */
19032 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19035 #ifndef __int64_t_defined
19037 typedef long long int64_t;
19044 typedef unsigned long long uint64_t;
19048 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19049 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19050 does not implement __extension__. But that compiler doesn't define
19052 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19053 # define __extension__
19059 __extension__ typedef long long int64_t;
19065 __extension__ typedef unsigned long long uint64_t;
19069 #elif !defined __STRICT_ANSI__
19070 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19075 typedef __int64 int64_t;
19081 typedef unsigned __int64 uint64_t;
19084 # endif /* compiler */
19086 #endif /* ANSI version */
19090 # ------------- done int64_t types, emit intptr types ------------
19091 if test "$ac_cv_type_uintptr_t" != yes; then
19092 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19094 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19095 #ifndef __uintptr_t_defined
19097 typedef u$acx_cv_type_intptr_t uintptr_t;
19100 #ifndef __intptr_t_defined
19102 typedef $acx_cv_type_intptr_t intptr_t;
19108 # ------------- done intptr types, emit int_least types ------------
19109 if test "$ac_cv_type_int_least32_t" != yes; then
19110 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19112 /* Define int_least types */
19113 typedef int8_t int_least8_t;
19114 typedef int16_t int_least16_t;
19115 typedef int32_t int_least32_t;
19117 typedef int64_t int_least64_t;
19120 typedef uint8_t uint_least8_t;
19121 typedef uint16_t uint_least16_t;
19122 typedef uint32_t uint_least32_t;
19124 typedef uint64_t uint_least64_t;
19129 # ------------- done intptr types, emit int_fast types ------------
19130 if test "$ac_cv_type_int_fast32_t" != yes; then
19131 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19133 /* Define int_fast types. short is often slow */
19134 typedef int8_t int_fast8_t;
19135 typedef int int_fast16_t;
19136 typedef int32_t int_fast32_t;
19138 typedef int64_t int_fast64_t;
19141 typedef uint8_t uint_fast8_t;
19142 typedef unsigned int uint_fast16_t;
19143 typedef uint32_t uint_fast32_t;
19145 typedef uint64_t uint_fast64_t;
19150 if test "$ac_cv_type_uintmax_t" != yes; then
19151 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19153 /* Define intmax based on what we found */
19156 typedef int64_t intmax_t;
19158 typedef long intmax_t;
19163 typedef uint64_t uintmax_t;
19165 typedef unsigned long uintmax_t;
19171 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19173 #endif /* GCC_GENERATED_STDINT_H */
19176 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19179 mv -f tmp-stdint.h gstdint.h
19190 ac_clean_files
=$ac_clean_files_save
19192 test $ac_write_fail = 0 ||
19193 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19196 # configure is writing to config.log, and then calls config.status.
19197 # config.status does its own redirection, appending to config.log.
19198 # Unfortunately, on DOS this fails, as config.log is still kept open
19199 # by configure, so config.status won't be able to write to it; its
19200 # output is simply discarded. So we exec the FD to /dev/null,
19201 # effectively closing config.log, so it can be properly (re)opened and
19202 # appended to by config.status. When coming back to configure, we
19203 # need to make the FD available again.
19204 if test "$no_create" != yes; then
19206 ac_config_status_args
=
19207 test "$silent" = yes &&
19208 ac_config_status_args
="$ac_config_status_args --quiet"
19210 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19212 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19213 # would make configure fail if this is the last instruction.
19214 $ac_cs_success || as_fn_exit $?
19216 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19218 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}