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_SUN_FALSE
623 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
624 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
625 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
626 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
627 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
635 MAINTAINER_MODE_FALSE
689 INSTALL_STRIP_PROGRAM
745 program_transform_name
758 enable_option_checking
759 enable_version_specific_runtime_libs
760 enable_generated_files_in_srcdir
762 enable_dependency_tracking
769 enable_maintainer_mode
774 ac_precious_vars
='build_alias
785 # Initialize some variables set by options.
787 ac_init_version
=false
788 ac_unrecognized_opts
=
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
799 program_transform_name
=s
,x
,x
,
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir
='${exec_prefix}/bin'
814 sbindir
='${exec_prefix}/sbin'
815 libexecdir
='${exec_prefix}/libexec'
816 datarootdir
='${prefix}/share'
817 datadir
='${datarootdir}'
818 sysconfdir
='${prefix}/etc'
819 sharedstatedir
='${prefix}/com'
820 localstatedir
='${prefix}/var'
821 includedir
='${prefix}/include'
822 oldincludedir
='/usr/include'
823 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir
='${datarootdir}/info'
829 libdir
='${exec_prefix}/lib'
830 localedir
='${datarootdir}/locale'
831 mandir
='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\
$ac_option
845 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
857 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
860 -build |
--build |
--buil |
--bui |
--bu)
861 ac_prev
=build_alias
;;
862 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
863 build_alias
=$ac_optarg ;;
865 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
866 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
867 ac_prev
=cache_file
;;
868 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
869 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
870 cache_file
=$ac_optarg ;;
873 cache_file
=config.cache
;;
875 -datadir |
--datadir |
--datadi |
--datad)
877 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
878 datadir
=$ac_optarg ;;
880 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
881 |
--dataroo |
--dataro |
--datar)
882 ac_prev
=datarootdir
;;
883 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
884 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
885 datarootdir
=$ac_optarg ;;
887 -disable-* |
--disable-*)
888 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
891 as_fn_error
"invalid feature name: $ac_useropt"
892 ac_useropt_orig
=$ac_useropt
893 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep
=', ';;
901 eval enable_
$ac_useropt=no
;;
903 -docdir |
--docdir |
--docdi |
--doc |
--do)
905 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
908 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
910 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
913 -enable-* |
--enable-*)
914 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
917 as_fn_error
"invalid feature name: $ac_useropt"
918 ac_useropt_orig
=$ac_useropt
919 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep
=', ';;
927 eval enable_
$ac_useropt=\
$ac_optarg ;;
929 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
930 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
931 |
--exec |
--exe |
--ex)
932 ac_prev
=exec_prefix
;;
933 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
934 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
935 |
--exec=* |
--exe=* |
--ex=*)
936 exec_prefix
=$ac_optarg ;;
938 -gas |
--gas |
--ga |
--g)
939 # Obsolete; use --with-gas.
942 -help |
--help |
--hel |
--he |
-h)
944 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
945 ac_init_help
=recursive
;;
946 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
947 ac_init_help
=short
;;
949 -host |
--host |
--hos |
--ho)
950 ac_prev
=host_alias
;;
951 -host=* |
--host=* |
--hos=* |
--ho=*)
952 host_alias
=$ac_optarg ;;
954 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
956 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
958 htmldir
=$ac_optarg ;;
960 -includedir |
--includedir |
--includedi |
--included |
--include \
961 |
--includ |
--inclu |
--incl |
--inc)
962 ac_prev
=includedir
;;
963 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
964 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
965 includedir
=$ac_optarg ;;
967 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
969 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
970 infodir
=$ac_optarg ;;
972 -libdir |
--libdir |
--libdi |
--libd)
974 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
977 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
978 |
--libexe |
--libex |
--libe)
979 ac_prev
=libexecdir
;;
980 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
981 |
--libexe=* |
--libex=* |
--libe=*)
982 libexecdir
=$ac_optarg ;;
984 -localedir |
--localedir |
--localedi |
--localed |
--locale)
986 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
987 localedir
=$ac_optarg ;;
989 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
990 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
991 ac_prev
=localstatedir
;;
992 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
993 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
994 localstatedir
=$ac_optarg ;;
996 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
998 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 -nfp |
--nfp |
--nf)
1002 # Obsolete; use --without-fp.
1005 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1006 |
--no-cr |
--no-c |
-n)
1009 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1010 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1013 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1014 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1015 |
--oldin |
--oldi |
--old |
--ol |
--o)
1016 ac_prev
=oldincludedir
;;
1017 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1018 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1019 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1020 oldincludedir
=$ac_optarg ;;
1022 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1024 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1025 prefix
=$ac_optarg ;;
1027 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1028 |
--program-pre |
--program-pr |
--program-p)
1029 ac_prev
=program_prefix
;;
1030 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1031 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1032 program_prefix
=$ac_optarg ;;
1034 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1035 |
--program-suf |
--program-su |
--program-s)
1036 ac_prev
=program_suffix
;;
1037 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1038 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1039 program_suffix
=$ac_optarg ;;
1041 -program-transform-name |
--program-transform-name \
1042 |
--program-transform-nam |
--program-transform-na \
1043 |
--program-transform-n |
--program-transform- \
1044 |
--program-transform |
--program-transfor \
1045 |
--program-transfo |
--program-transf \
1046 |
--program-trans |
--program-tran \
1047 |
--progr-tra |
--program-tr |
--program-t)
1048 ac_prev
=program_transform_name
;;
1049 -program-transform-name=* |
--program-transform-name=* \
1050 |
--program-transform-nam=* |
--program-transform-na=* \
1051 |
--program-transform-n=* |
--program-transform-=* \
1052 |
--program-transform=* |
--program-transfor=* \
1053 |
--program-transfo=* |
--program-transf=* \
1054 |
--program-trans=* |
--program-tran=* \
1055 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1056 program_transform_name
=$ac_optarg ;;
1058 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1060 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1061 pdfdir
=$ac_optarg ;;
1063 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1065 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1072 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1074 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1076 sbindir
=$ac_optarg ;;
1078 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1079 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1080 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1082 ac_prev
=sharedstatedir
;;
1083 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1084 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1085 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1087 sharedstatedir
=$ac_optarg ;;
1089 -site |
--site |
--sit)
1091 -site=* |
--site=* |
--sit=*)
1094 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1096 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1097 srcdir
=$ac_optarg ;;
1099 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1100 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1101 ac_prev
=sysconfdir
;;
1102 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1103 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1104 sysconfdir
=$ac_optarg ;;
1106 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1107 ac_prev
=target_alias
;;
1108 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1109 target_alias
=$ac_optarg ;;
1111 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1114 -version |
--version |
--versio |
--versi |
--vers |
-V)
1115 ac_init_version
=: ;;
1118 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=\
$ac_optarg ;;
1133 -without-* |
--without-*)
1134 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=no
;;
1150 # Obsolete; use --with-x.
1153 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1154 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1155 ac_prev
=x_includes
;;
1156 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1157 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1158 x_includes
=$ac_optarg ;;
1160 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1161 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1162 ac_prev
=x_libraries
;;
1163 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1164 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1165 x_libraries
=$ac_optarg ;;
1167 -*) as_fn_error
"unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information."
1172 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1176 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1178 eval $ac_envvar=\
$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1192 if test -n "$ac_prev"; then
1193 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error
"missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1200 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 # Check all directory arguments for consistency.
1206 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val
=\$
$ac_var
1212 # Remove trailing slashes.
1215 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\
$ac_val;;
1218 # Be sure to have absolute directory names.
1220 [\\/$
]* | ?
:[\\/]* ) continue;;
1221 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1223 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1231 target
=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x
; then
1235 if test "x$build_alias" = x
; then
1236 cross_compiling
=maybe
1237 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1238 If a cross compiler is detected then cross compile mode will be used." >&2
1239 elif test "x$build_alias" != "x$host_alias"; then
1245 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1247 test "$silent" = yes && exec 6>/dev
/null
1250 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1251 ac_ls_di
=`ls -di .` &&
1252 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1253 as_fn_error
"working directory cannot be determined"
1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255 as_fn_error
"pwd does not report name of working directory"
1258 # Find the source files, if location was not specified.
1259 if test -z "$srcdir"; then
1260 ac_srcdir_defaulted
=yes
1261 # Try the directory containing this script, then the parent directory.
1262 ac_confdir
=`$as_dirname -- "$as_myself" ||
1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264 X"$as_myself" : 'X\(//\)[^/]' \| \
1265 X"$as_myself" : 'X\(//\)$' \| \
1266 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267 $as_echo X"$as_myself" |
1268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1290 ac_srcdir_defaulted
=no
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1294 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1296 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1298 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1308 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310 for ac_var
in $ac_precious_vars; do
1311 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1313 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1318 # Report the --help message.
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1324 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Defaults for the options are specified in brackets.
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1355 For better control, use the options below.
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/libgomp]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1387 --build=BUILD configure
for building on BUILD
[guessed
]
1388 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1389 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1393 if test -n "$ac_init_help"; then
1394 case $ac_init_help in
1395 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1400 --disable-option-checking ignore unrecognized
--enable/--with options
1401 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1402 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1403 --enable-version-specific-runtime-libs
1404 Specify that runtime libraries should be installed
1405 in a compiler-specific directory
[default
=no
]
1406 --enable-generated-files-in-srcdir
1407 put copies of generated files
in source dir intended
1408 for creating
source tarballs
for users without
1409 texinfo bison or flex.
[default
=no
]
1410 --enable-multilib build many library versions
(default
)
1411 --disable-dependency-tracking speeds up one-time build
1412 --enable-dependency-tracking do not reject slow dependency extractors
1413 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1414 --enable-static[=PKGS
] build static libraries
[default
=yes]
1415 --enable-fast-install[=PKGS
]
1416 optimize
for fast installation
[default
=yes]
1417 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1418 --enable-maintainer-mode enable make rules and dependencies not useful
1419 (and sometimes confusing
) to the casual installer
1420 --enable-linux-futex use the Linux futex system call
[default
=default
]
1421 --enable-tls Use thread-local storage
[default
=yes]
1422 --enable-symvers=STYLE enables symbol versioning of the shared library
1426 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1427 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1428 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1430 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1432 Some influential environment variables
:
1433 CC C compiler
command
1434 CFLAGS C compiler flags
1435 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1436 nonstandard directory
<lib dir
>
1437 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1438 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1439 you have headers
in a nonstandard directory
<include dir
>
1441 FC Fortran compiler
command
1442 FCFLAGS Fortran compiler flags
1444 Use these variables to override the choices made by
`configure' or to help
1445 it to find libraries and programs with nonstandard names/locations.
1447 Report bugs to the package provider.
1448 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
1449 General help using GNU software: <http://www.gnu.org/gethelp/>.
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir=$ac_pwd
1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir=$ac_top_build_prefix
1479 .) # We are building in place.
1481 ac_top_srcdir=$ac_top_builddir_sub
1482 ac_abs_top_srcdir=$ac_pwd ;;
1483 [\\/]* | ?:[\\/]* ) # Absolute name.
1484 ac_srcdir=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir=$srcdir
1486 ac_abs_top_srcdir=$srcdir ;;
1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" || { ac_status=$?; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" || { ac_status=$?; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1512 GNU OpenMP Runtime Library configure 1.0
1513 generated by GNU Autoconf 2.64
1515 Copyright (C) 2009 Free Software Foundation, Inc.
1516 This configure script is free software; the Free Software Foundation
1517 gives unlimited permission to copy, distribute and modify it.
1522 ## ------------------------ ##
1523 ## Autoconf initialization. ##
1524 ## ------------------------ ##
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile ()
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext
1533 if { { ac_try="$ac_compile"
1535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1536 *) ac_try_echo
=$ac_try;;
1538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1542 if test -s conftest.err
; then
1543 grep -v '^ *+' conftest.err
>conftest.er1
1544 cat conftest.er1
>&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.
$ac_objext; then :
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.
$ac_ext >&5
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1562 } # ac_fn_c_try_compile
1564 # ac_fn_c_try_link LINENO
1565 # -----------------------
1566 # Try to link conftest.$ac_ext, and return whether this succeeded.
1569 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1570 rm -f conftest.
$ac_objext conftest
$ac_exeext
1571 if { { ac_try
="$ac_link"
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_link") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest$ac_exeext && {
1590 test "$cross_compiling" = yes ||
1591 $as_test_x conftest$ac_exeext
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1602 # interfere with the next link command; also delete a directory that is
1603 # left behind by Apple's compiler. We do this before executing the actions.
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1608 } # ac_fn_c_try_link
1610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1611 # -------------------------------------------------------
1612 # Tests whether HEADER exists and can be compiled using the include files in
1613 # INCLUDES, setting the cache variable VAR accordingly.
1614 ac_fn_c_check_header_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1620 $as_echo_n "(cached) " >&6
1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1627 if ac_fn_c_try_compile "$LINENO"; then :
1632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 } # ac_fn_c_check_header_compile
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if { { ac_try="$ac_cpp conftest.$ac_ext"
1649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1650 *) ac_try_echo
=$ac_try;;
1652 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656 if test -s conftest.err
; then
1657 grep -v '^ *+' conftest.err
>conftest.er1
1658 cat conftest.er1
>&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } >/dev
/null
&& {
1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.
$ac_ext >&5
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1678 # ac_fn_c_try_run LINENO
1679 # ----------------------
1680 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1681 # that executables *can* be run.
1684 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1685 if { { ac_try
="$ac_link"
1687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_link") 2>&5
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1696 { { case "(($ac_try" in
1697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1698 *) ac_try_echo
=$ac_try;;
1700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_try") 2>&5
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; }; }; then :
1708 $as_echo "$as_me: program exited with status $ac_status" >&5
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.
$ac_ext >&5
1712 ac_retval
=$ac_status
1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1720 # ac_fn_c_check_func LINENO FUNC VAR
1721 # ----------------------------------
1722 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1723 ac_fn_c_check_func
()
1725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1729 $as_echo_n "(cached) " >&6
1731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1735 #define $2 innocuous_$2
1737 /* System header to define __stub macros and hopefully few prototypes,
1738 which can conflict with char $2 (); below.
1739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1740 <limits.h> exists even on freestanding compilers. */
1743 # include <limits.h>
1745 # include <assert.h>
1750 /* Override any GCC internal prototype to avoid an error.
1751 Use char because int might match the return type of a GCC
1752 builtin and then its argument prototype would still apply. */
1757 /* The GNU C library defines this for functions which it implements
1758 to always fail with ENOSYS. Some functions are actually named
1759 something starting with __ and the normal name is an alias. */
1760 #if defined __stub_$2 || defined __stub___$2
1772 if ac_fn_c_try_link
"$LINENO"; then :
1777 rm -f core conftest.err conftest.
$ac_objext \
1778 conftest
$ac_exeext conftest.
$ac_ext
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1785 } # ac_fn_c_check_func
1787 # ac_fn_fc_try_compile LINENO
1788 # ---------------------------
1789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_fc_try_compile
()
1792 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1793 rm -f conftest.
$ac_objext
1794 if { { ac_try
="$ac_compile"
1796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_compile") 2>conftest.err
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_fc_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest.$ac_objext; then :
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_fc_try_compile
1825 # ac_fn_fc_try_link LINENO
1826 # ------------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_fc_try_link ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1841 if test -s conftest.err
; then
1842 grep -v '^ *+' conftest.err
>conftest.er1
1843 cat conftest.er1
>&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_fc_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest
$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest
$ac_exeext
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.
$ac_ext >&5
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1869 } # ac_fn_fc_try_link
1871 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1874 # the include files in INCLUDES and setting the cache variable VAR
1876 ac_fn_c_check_header_mongrel
()
1878 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1879 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 $as_echo_n "(cached) " >&6
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1889 # Is the header compilable?
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1891 $as_echo_n "checking $2 usability... " >&6; }
1892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1897 if ac_fn_c_try_compile
"$LINENO"; then :
1898 ac_header_compiler
=yes
1900 ac_header_compiler
=no
1902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1904 $as_echo "$ac_header_compiler" >&6; }
1906 # Is the header present?
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1908 $as_echo_n "checking $2 presence... " >&6; }
1909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1913 if ac_fn_c_try_cpp
"$LINENO"; then :
1914 ac_header_preproc
=yes
1916 ac_header_preproc
=no
1918 rm -f conftest.err conftest.
$ac_ext
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1920 $as_echo "$ac_header_preproc" >&6; }
1922 # So? What about this header?
1923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1926 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1928 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1932 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1934 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1936 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1938 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1940 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 $as_echo_n "checking for $2... " >&6; }
1945 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1946 $as_echo_n "(cached) " >&6
1948 eval "$3=\$ac_header_compiler"
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1956 } # ac_fn_c_check_header_mongrel
1958 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1959 # -------------------------------------------
1960 # Tests whether TYPE exists after having included INCLUDES, setting cache
1961 # variable VAR accordingly.
1962 ac_fn_c_check_type
()
1964 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1968 $as_echo_n "(cached) " >&6
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1983 if ac_fn_c_try_compile
"$LINENO"; then :
1984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1996 if ac_fn_c_try_compile
"$LINENO"; then :
2001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2010 } # ac_fn_c_check_type
2012 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2013 # --------------------------------------------
2014 # Tries to find the compile-time value of EXPR in a program that includes
2015 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2017 ac_fn_c_compute_int
()
2019 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2020 if test "$cross_compiling" = yes; then
2021 # Depending upon the size, compute the lo and hi bounds.
2022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2028 static int test_array [1 - 2 * !(($2) >= 0)];
2035 if ac_fn_c_try_compile
"$LINENO"; then :
2038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2044 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2051 if ac_fn_c_try_compile
"$LINENO"; then :
2052 ac_hi
=$ac_mid; break
2054 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2055 if test $ac_lo -le $ac_mid; then
2059 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2070 static int test_array [1 - 2 * !(($2) < 0)];
2077 if ac_fn_c_try_compile
"$LINENO"; then :
2080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2086 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2093 if ac_fn_c_try_compile
"$LINENO"; then :
2094 ac_lo
=$ac_mid; break
2096 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2097 if test $ac_mid -le $ac_hi; then
2101 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2111 # Binary search between lo and hi bounds.
2112 while test "x$ac_lo" != "x$ac_hi"; do
2113 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2120 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2127 if ac_fn_c_try_compile
"$LINENO"; then :
2130 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2135 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2142 static long int longval () { return $2; }
2143 static unsigned long int ulongval () { return $2; }
2150 FILE *f = fopen ("conftest.val", "w");
2155 long int i = longval ();
2158 fprintf (f, "%ld", i);
2162 unsigned long int i = ulongval ();
2165 fprintf (f, "%lu", i);
2167 /* Do not output a trailing newline, as this causes \r\n confusion
2168 on some platforms. */
2169 return ferror (f) || fclose (f) != 0;
2175 if ac_fn_c_try_run
"$LINENO"; then :
2176 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2180 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2181 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2185 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2188 } # ac_fn_c_compute_int
2189 cat >config.log
<<_ACEOF
2190 This file contains any messages produced by compilers while
2191 running configure, to aid debugging if configure makes a mistake.
2193 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
2194 generated by GNU Autoconf 2.64. Invocation command line was
2206 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2207 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2208 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2209 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2210 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2212 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2213 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2215 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2216 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2217 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2218 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2219 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2220 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2221 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir
=.
2230 $as_echo "PATH: $as_dir"
2246 # Keep a trace of the command line.
2247 # Strip out --no-create and --no-recursion so they do not pile up.
2248 # Strip out --silent because we don't want to record it for future runs.
2249 # Also quote any args containing shell meta-characters.
2250 # Make two passes to allow for proper duplicate-argument suppression.
2254 ac_must_keep_next
=false
2260 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2261 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2262 |
-silent |
--silent |
--silen |
--sile |
--sil)
2265 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2268 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2270 as_fn_append ac_configure_args1
" '$ac_arg'"
2271 if test $ac_must_keep_next = true
; then
2272 ac_must_keep_next
=false
# Got value, back to normal.
2275 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2276 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2277 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2278 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2279 case "$ac_configure_args0 " in
2280 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2283 -* ) ac_must_keep_next
=true
;;
2286 as_fn_append ac_configure_args
" '$ac_arg'"
2291 { ac_configure_args0
=; unset ac_configure_args0
;}
2292 { ac_configure_args1
=; unset ac_configure_args1
;}
2294 # When interrupted or exit'd, cleanup temporary files, and complete
2295 # config.log. We remove comments because anyway the quotes in there
2296 # would cause problems or look ugly.
2297 # WARNING: Use '\'' to represent an apostrophe within the trap.
2298 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2299 trap 'exit_status=$?
2300 # Save into config.log some information that might help in debugging.
2305 ## ---------------- ##
2306 ## Cache variables. ##
2307 ## ---------------- ##
2310 # The following way of writing the cache mishandles newlines in values,
2312 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2313 eval ac_val=\$$ac_var
2317 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2318 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2321 _ | IFS | as_nl) ;; #(
2322 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2323 *) { eval $ac_var=; unset $ac_var;} ;;
2328 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2329 *${as_nl}ac_space=\ *)
2331 "s/'\''/'\''\\\\'\'''\''/g;
2332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2335 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2343 ## ----------------- ##
2344 ## Output variables. ##
2345 ## ----------------- ##
2348 for ac_var in $ac_subst_vars
2350 eval ac_val=\$$ac_var
2352 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2354 $as_echo "$ac_var='\''$ac_val'\''"
2358 if test -n "$ac_subst_files"; then
2360 ## ------------------- ##
2361 ## File substitutions. ##
2362 ## ------------------- ##
2365 for ac_var
in $ac_subst_files
2367 eval ac_val
=\$
$ac_var
2369 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2371 $as_echo "$ac_var='\''$ac_val'\''"
2376 if test -s confdefs.h; then
2386 test "$ac_signal" != 0 &&
2387 $as_echo "$as_me: caught signal $ac_signal"
2388 $as_echo "$as_me: exit $exit_status"
2390 rm -f core *.core core.conftest.* &&
2391 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2394 for ac_signal
in 1 2 13 15; do
2395 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2399 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2400 rm -f -r conftest
* confdefs.h
2402 $as_echo "/* confdefs.h */" > confdefs.h
2404 # Predefined preprocessor variables.
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_NAME "$PACKAGE_NAME"
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2414 cat >>confdefs.h
<<_ACEOF
2415 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2418 cat >>confdefs.h
<<_ACEOF
2419 #define PACKAGE_STRING "$PACKAGE_STRING"
2422 cat >>confdefs.h
<<_ACEOF
2423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2426 cat >>confdefs.h
<<_ACEOF
2427 #define PACKAGE_URL "$PACKAGE_URL"
2431 # Let the site file select an alternate cache file if it wants to.
2432 # Prefer an explicitly selected file to automatically selected ones.
2435 if test -n "$CONFIG_SITE"; then
2436 ac_site_file1
=$CONFIG_SITE
2437 elif test "x$prefix" != xNONE
; then
2438 ac_site_file1
=$prefix/share
/config.site
2439 ac_site_file2
=$prefix/etc
/config.site
2441 ac_site_file1
=$ac_default_prefix/share
/config.site
2442 ac_site_file2
=$ac_default_prefix/etc
/config.site
2444 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2446 test "x$ac_site_file" = xNONE
&& continue
2447 if test -r "$ac_site_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2449 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2450 sed 's/^/| /' "$ac_site_file" >&5
2455 if test -r "$cache_file"; then
2456 # Some versions of bash will fail to source /dev/null (special
2457 # files actually), so we avoid doing that.
2458 if test -f "$cache_file"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2460 $as_echo "$as_me: loading cache $cache_file" >&6;}
2462 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2463 *) .
"./$cache_file";;
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2468 $as_echo "$as_me: creating cache $cache_file" >&6;}
2472 # Check that the precious variables saved in the cache have kept the same
2474 ac_cache_corrupted
=false
2475 for ac_var
in $ac_precious_vars; do
2476 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2477 eval ac_new_set
=\
$ac_env_${ac_var}_set
2478 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2479 eval ac_new_val
=\
$ac_env_${ac_var}_value
2480 case $ac_old_set,$ac_new_set in
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2483 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2484 ac_cache_corrupted
=: ;;
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2487 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2488 ac_cache_corrupted
=: ;;
2491 if test "x$ac_old_val" != "x$ac_new_val"; then
2492 # differences in whitespace do not lead to failure.
2493 ac_old_val_w
=`echo x $ac_old_val`
2494 ac_new_val_w
=`echo x $ac_new_val`
2495 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2497 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2498 ac_cache_corrupted
=:
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2501 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2502 eval $ac_var=\
$ac_old_val
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2505 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2507 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2510 # Pass precious variables to config.status.
2511 if test "$ac_new_set" = set; then
2513 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2514 *) ac_arg
=$ac_var=$ac_new_val ;;
2516 case " $ac_configure_args " in
2517 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2518 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2522 if $ac_cache_corrupted; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2526 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2527 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2529 ## -------------------- ##
2530 ## Main body of script. ##
2531 ## -------------------- ##
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2543 ac_config_headers
="$ac_config_headers config.h"
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2551 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2552 # Check whether --enable-version-specific-runtime-libs was given.
2553 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2554 enableval
=$enable_version_specific_runtime_libs;
2555 case "$enableval" in
2557 *) as_fn_error
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2561 enable_version_specific_runtime_libs
=no
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2566 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2568 # We would like our source tree to be readonly. However when releases or
2569 # pre-releases are generated, the flex/bison generated files as well as the
2570 # various formats of manuals need to be included along with the rest of the
2571 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2574 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2575 # Check whether --enable-generated-files-in-srcdir was given.
2576 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2577 enableval
=$enable_generated_files_in_srcdir;
2578 case "$enableval" in
2580 *) as_fn_error
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2584 enable_generated_files_in_srcdir
=no
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2589 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2590 if test "$enable_generated_files_in_srcdir" = yes; then
2603 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2605 # You will slowly go insane if you do not grok the following fact: when
2606 # building this library, the top-level /target/ becomes the library's /host/.
2608 # configure then causes --target to default to --host, exactly like any
2609 # other package using autoconf. Therefore, 'target' and 'host' will
2610 # always be the same. This makes sense both for native and cross compilers
2611 # just think about it for a little while. :-)
2613 # Also, if this library is being configured as part of a cross compiler, the
2614 # top-level configure script will pass the "real" host as $with_cross_host.
2616 # Do not delete or change the following two lines. For why, see
2617 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2619 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2620 for ac_t
in install-sh
install.sh shtool
; do
2621 if test -f "$ac_dir/$ac_t"; then
2623 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2628 if test -z "$ac_aux_dir"; then
2629 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2632 # These three variables are undocumented and unsupported,
2633 # and are intended to be withdrawn in a future Autoconf release.
2634 # They can cause serious problems if a builder's source tree is in a directory
2635 # whose full name contains unusual characters.
2636 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2637 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2638 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2641 # Make sure we can run config.sub.
2642 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2643 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2646 $as_echo_n "checking build system type... " >&6; }
2647 if test "${ac_cv_build+set}" = set; then :
2648 $as_echo_n "(cached) " >&6
2650 ac_build_alias
=$build_alias
2651 test "x$ac_build_alias" = x
&&
2652 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2653 test "x$ac_build_alias" = x
&&
2654 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2655 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2656 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2660 $as_echo "$ac_cv_build" >&6; }
2661 case $ac_cv_build in
2663 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2666 ac_save_IFS
=$IFS; IFS
='-'
2672 # Remember, the first character of IFS is used to create $*,
2673 # except with old shells:
2676 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2680 $as_echo_n "checking host system type... " >&6; }
2681 if test "${ac_cv_host+set}" = set; then :
2682 $as_echo_n "(cached) " >&6
2684 if test "x$host_alias" = x
; then
2685 ac_cv_host
=$ac_cv_build
2687 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2688 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2693 $as_echo "$ac_cv_host" >&6; }
2696 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2699 ac_save_IFS
=$IFS; IFS
='-'
2705 # Remember, the first character of IFS is used to create $*,
2706 # except with old shells:
2709 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2713 $as_echo_n "checking target system type... " >&6; }
2714 if test "${ac_cv_target+set}" = set; then :
2715 $as_echo_n "(cached) " >&6
2717 if test "x$target_alias" = x
; then
2718 ac_cv_target
=$ac_cv_host
2720 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2721 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2726 $as_echo "$ac_cv_target" >&6; }
2727 case $ac_cv_target in
2729 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2731 target
=$ac_cv_target
2732 ac_save_IFS
=$IFS; IFS
='-'
2738 # Remember, the first character of IFS is used to create $*,
2739 # except with old shells:
2742 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2745 # The aliases save the names the user supplied, while $host etc.
2746 # will get canonicalized.
2747 test -n "$target_alias" &&
2748 test "$program_prefix$program_suffix$program_transform_name" = \
2750 program_prefix
=${target_alias}-
2752 target_alias
=${target_alias-$host_alias}
2754 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2755 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2756 # 1.9.0: minimum required version
2757 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2758 # of other PACKAGE_* variables will, however, and there's nothing
2759 # we can do about that; they come from AC_INIT).
2760 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2761 # file in the top srcdir, etc, etc), so stop complaining.
2762 # no-dist: we don't want 'dist' and related rules.
2763 # -Wall: turns on all automake warnings...
2764 # -Wno-portability: ...except this one, since GNU make is required.
2765 # -Wno-override: ... and this one, since we do want this in testsuite.
2766 am__api_version
='1.11'
2768 # Find a good install program. We prefer a C program (faster),
2769 # so one script is as good as another. But avoid the broken or
2770 # incompatible versions:
2771 # SysV /etc/install, /usr/sbin/install
2772 # SunOS /usr/etc/install
2773 # IRIX /sbin/install
2775 # AmigaOS /C/install, which installs bootblocks on floppy discs
2776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2779 # OS/2's system install, which has a completely different semantic
2780 # ./install, which can be erroneously created by make from ./install.sh.
2781 # Reject install programs that cannot install multiple files.
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2783 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2784 if test -z "$INSTALL"; then
2785 if test "${ac_cv_path_install+set}" = set; then :
2786 $as_echo_n "(cached) " >&6
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 # Account for people who put trailing slashes in PATH elements.
2794 case $as_dir/ in #((
2795 .
/ | .
// |
/[cC
]/* | \
2796 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2797 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2800 # OSF1 and SCO ODT 3.0 have their own names for install.
2801 # Don't use installbsd from OSF since it installs stuff as root
2803 for ac_prog
in ginstall scoinst
install; do
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2806 if test $ac_prog = install &&
2807 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2808 # AIX install. It has an incompatible calling convention.
2810 elif test $ac_prog = install &&
2811 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2812 # program-specific install script used by HP pwplus--don't use.
2815 rm -rf conftest.one conftest.two conftest.dir
2816 echo one
> conftest.one
2817 echo two
> conftest.two
2819 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2820 test -s conftest.one
&& test -s conftest.two
&&
2821 test -s conftest.dir
/conftest.one
&&
2822 test -s conftest.dir
/conftest.two
2824 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2837 rm -rf conftest.one conftest.two conftest.dir
2840 if test "${ac_cv_path_install+set}" = set; then
2841 INSTALL
=$ac_cv_path_install
2843 # As a last resort, use the slow shell script. Don't cache a
2844 # value for INSTALL within a source directory, because that will
2845 # break other packages using the cache if that directory is
2846 # removed, or if the value is a relative name.
2847 INSTALL
=$ac_install_sh
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2851 $as_echo "$INSTALL" >&6; }
2853 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2854 # It thinks the first close brace ends the variable substitution.
2855 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2857 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2859 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2862 $as_echo_n "checking whether build environment is sane... " >&6; }
2865 echo timestamp
> conftest.
file
2866 # Reject unsafe characters in $srcdir or the absolute working directory
2867 # name. Accept space and tab only in the latter.
2871 *[\\\"\
#\$\&\'\`$am_lf]*)
2872 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2875 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2876 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2879 # Do `set' in a subshell so we don't clobber the current shell's
2880 # arguments. Must try -L first in case configure is actually a
2881 # symlink; some systems play weird games with the mod time of symlinks
2882 # (eg FreeBSD returns the mod time of the symlink's containing
2885 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2886 if test "$*" = "X"; then
2888 set X
`ls -t "$srcdir/configure" conftest.file`
2891 if test "$*" != "X $srcdir/configure conftest.file" \
2892 && test "$*" != "X conftest.file $srcdir/configure"; then
2894 # If neither matched, then we have a broken ls. This can happen
2895 # if, for instance, CONFIG_SHELL is bash and it inherits a
2896 # broken ls alias from the environment. This has actually
2897 # happened. Such a system could not be considered "sane".
2898 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2899 alias in your environment" "$LINENO" 5
2902 test "$2" = conftest.
file
2908 as_fn_error
"newly created file is older than distributed files!
2909 Check your system clock" "$LINENO" 5
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2912 $as_echo "yes" >&6; }
2913 test "$program_prefix" != NONE
&&
2914 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2915 # Use a double $ so make ignores it.
2916 test "$program_suffix" != NONE
&&
2917 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2918 # Double any \ or $.
2919 # By default was `s,x,x', remove it if useless.
2920 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2921 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2923 # expand $ac_aux_dir to an absolute path
2924 am_aux_dir
=`cd $ac_aux_dir && pwd`
2926 if test x
"${MISSING+set}" != xset
; then
2929 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2931 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2934 # Use eval to expand $SHELL
2935 if eval "$MISSING --run true"; then
2936 am_missing_run
="$MISSING --run "
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2940 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2943 if test x
"${install_sh}" != xset
; then
2946 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2948 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2952 # Installed binaries are usually stripped using `strip' when the user
2953 # run `make install-strip'. However `strip' might not be the right
2954 # tool to use in cross-compilation environments, therefore Automake
2955 # will honor the `STRIP' environment variable to overrule this program.
2956 if test "$cross_compiling" != no
; then
2957 if test -n "$ac_tool_prefix"; then
2958 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2959 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_STRIP+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$STRIP"; then
2966 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir
=.
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 STRIP
=$ac_cv_prog_STRIP
2986 if test -n "$STRIP"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2988 $as_echo "$STRIP" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2996 if test -z "$ac_cv_prog_STRIP"; then
2998 # Extract the first word of "strip", so it can be a program name with args.
2999 set dummy strip
; ac_word
=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$ac_ct_STRIP"; then
3006 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir
=.
3013 for ac_exec_ext
in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_ac_ct_STRIP
="strip"
3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3026 if test -n "$ac_ct_STRIP"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3028 $as_echo "$ac_ct_STRIP" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3034 if test "x$ac_ct_STRIP" = x
; then
3037 case $cross_compiling:$ac_tool_warned in
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3041 ac_tool_warned
=yes ;;
3046 STRIP
="$ac_cv_prog_STRIP"
3050 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3053 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3054 if test -z "$MKDIR_P"; then
3055 if test "${ac_cv_path_mkdir+set}" = set; then :
3056 $as_echo_n "(cached) " >&6
3058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3059 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3062 test -z "$as_dir" && as_dir
=.
3063 for ac_prog
in mkdir gmkdir
; do
3064 for ac_exec_ext
in '' $ac_executable_extensions; do
3065 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3066 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3067 'mkdir (GNU coreutils) '* | \
3068 'mkdir (coreutils) '* | \
3069 'mkdir (fileutils) '4.1*)
3070 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3080 if test "${ac_cv_path_mkdir+set}" = set; then
3081 MKDIR_P
="$ac_cv_path_mkdir -p"
3083 # As a last resort, use the slow shell script. Don't cache a
3084 # value for MKDIR_P within a source directory, because that will
3085 # break other packages using the cache if that directory is
3086 # removed, or if the value is a relative name.
3087 test -d .
/--version && rmdir .
/--version
3088 MKDIR_P
="$ac_install_sh -d"
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3092 $as_echo "$MKDIR_P" >&6; }
3096 [\\/$
]* | ?
:[\\/]*) ;;
3097 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3100 for ac_prog
in gawk mawk nawk
awk
3102 # Extract the first word of "$ac_prog", so it can be a program name with args.
3103 set dummy
$ac_prog; ac_word
=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if test "${ac_cv_prog_AWK+set}" = set; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$AWK"; then
3110 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir
=.
3117 for ac_exec_ext
in '' $ac_executable_extensions; do
3118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3119 ac_cv_prog_AWK
="$ac_prog"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 if test -n "$AWK"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3132 $as_echo "$AWK" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3139 test -n "$AWK" && break
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3143 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3145 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3146 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3147 $as_echo_n "(cached) " >&6
3149 cat >conftest.
make <<\_ACEOF
3152 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3155 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3157 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3159 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3163 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165 $as_echo "yes" >&6; }
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3170 SET_MAKE
="MAKE=${MAKE-make}"
3173 rm -rf .tst
2>/dev
/null
3174 mkdir .tst
2>/dev
/null
3175 if test -d .tst
; then
3180 rmdir .tst
2>/dev
/null
3182 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3183 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3184 # is not polluted with repeated "-I."
3185 am__isrc
=' -I$(srcdir)'
3186 # test to see if srcdir already configured
3187 if test -f $srcdir/config.status
; then
3188 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3192 # test whether we have cygpath
3193 if test -z "$CYGPATH_W"; then
3194 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3195 CYGPATH_W
='cygpath -w'
3202 # Define the identity of the package.
3207 cat >>confdefs.h
<<_ACEOF
3208 #define PACKAGE "$PACKAGE"
3212 cat >>confdefs.h
<<_ACEOF
3213 #define VERSION "$VERSION"
3216 # Some tools Automake needs.
3218 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3221 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3224 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3227 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3230 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3232 # We need awk for the "check" target. The system "awk" is bad on
3234 # Always define AMTAR for backward compatibility.
3236 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3238 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3244 # Default to --enable-multilib
3245 # Check whether --enable-multilib was given.
3246 if test "${enable_multilib+set}" = set; then :
3247 enableval
=$enable_multilib; case "$enableval" in
3248 yes) multilib
=yes ;;
3250 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3257 # We may get other options which we leave undocumented:
3258 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3259 # See config-ml.in if you want the gory details.
3261 if test "$srcdir" = "."; then
3262 if test "$with_target_subdir" != "."; then
3263 multi_basedir
="$srcdir/$with_multisrctop../.."
3265 multi_basedir
="$srcdir/$with_multisrctop.."
3268 multi_basedir
="$srcdir/.."
3272 # Even if the default multilib is not a cross compilation,
3273 # it may be that some of the other multilibs are.
3274 if test $cross_compiling = no
&& test $multilib = yes \
3275 && test "x${with_multisubdir}" != x
; then
3276 cross_compiling
=maybe
3279 ac_config_commands
="$ac_config_commands default-1"
3282 # Calculate toolexeclibdir
3283 # Also toolexecdir, though it's only used in toolexeclibdir
3284 case ${enable_version_specific_runtime_libs} in
3286 # Need the gcc compiler version to know where to install libraries
3287 # and header files if --enable-version-specific-runtime-libs option
3289 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3290 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3293 if test -n "$with_cross_host" &&
3294 test x
"$with_cross_host" != x
"no"; then
3295 # Install a library built with a cross compiler in tooldir, not libdir.
3296 toolexecdir
='$(exec_prefix)/$(target_alias)'
3297 toolexeclibdir
='$(toolexecdir)/lib'
3299 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3300 toolexeclibdir
='$(libdir)'
3302 multi_os_directory
=`$CC -print-multi-os-directory`
3303 case $multi_os_directory in
3304 .
) ;; # Avoid trailing /.
3305 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3312 # Check the compiler.
3313 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3314 # We must force CC to /not/ be precious variables; otherwise
3315 # the wrong, non-multilib-adjusted value will be used in multilibs.
3316 # As a side effect, we have to subst CFLAGS ourselves.
3321 ac_cpp
='$CPP $CPPFLAGS'
3322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3325 if test -n "$ac_tool_prefix"; then
3326 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3327 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if test "${ac_cv_prog_CC+set}" = set; then :
3331 $as_echo_n "(cached) " >&6
3333 if test -n "$CC"; then
3334 ac_cv_prog_CC
="$CC" # Let the user override the test.
3336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir
=.
3341 for ac_exec_ext
in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 if test -n "$CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3364 if test -z "$ac_cv_prog_CC"; then
3366 # Extract the first word of "gcc", so it can be a program name with args.
3367 set dummy gcc
; ac_word
=$2
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3373 if test -n "$ac_ct_CC"; then
3374 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir
=.
3381 for ac_exec_ext
in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383 ac_cv_prog_ac_ct_CC
="gcc"
3384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3394 if test -n "$ac_ct_CC"; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3396 $as_echo "$ac_ct_CC" >&6; }
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3402 if test "x$ac_ct_CC" = x
; then
3405 case $cross_compiling:$ac_tool_warned in
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3409 ac_tool_warned
=yes ;;
3417 if test -z "$CC"; then
3418 if test -n "$ac_tool_prefix"; then
3419 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3420 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422 $as_echo_n "checking for $ac_word... " >&6; }
3423 if test "${ac_cv_prog_CC+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3426 if test -n "$CC"; then
3427 ac_cv_prog_CC
="$CC" # Let the user override the test.
3429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3433 test -z "$as_dir" && as_dir
=.
3434 for ac_exec_ext
in '' $ac_executable_extensions; do
3435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 if test -n "$CC"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3449 $as_echo "$CC" >&6; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3458 if test -z "$CC"; then
3459 # Extract the first word of "cc", so it can be a program name with args.
3460 set dummy cc
; ac_word
=$2
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3462 $as_echo_n "checking for $ac_word... " >&6; }
3463 if test "${ac_cv_prog_CC+set}" = set; then :
3464 $as_echo_n "(cached) " >&6
3466 if test -n "$CC"; then
3467 ac_cv_prog_CC
="$CC" # Let the user override the test.
3470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir
=.
3475 for ac_exec_ext
in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3478 ac_prog_rejected
=yes
3482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 if test $ac_prog_rejected = yes; then
3490 # We found a bogon in the path, so make sure we never use it.
3491 set dummy
$ac_cv_prog_CC
3493 if test $# != 0; then
3494 # We chose a different compiler from the bogus one.
3495 # However, it has the same basename, so the bogon will be chosen
3496 # first if we set CC to just the basename; use the full file name.
3498 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3504 if test -n "$CC"; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3506 $as_echo "$CC" >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3514 if test -z "$CC"; then
3515 if test -n "$ac_tool_prefix"; then
3516 for ac_prog
in cl.exe
3518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3519 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521 $as_echo_n "checking for $ac_word... " >&6; }
3522 if test "${ac_cv_prog_CC+set}" = set; then :
3523 $as_echo_n "(cached) " >&6
3525 if test -n "$CC"; then
3526 ac_cv_prog_CC
="$CC" # Let the user override the test.
3528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3532 test -z "$as_dir" && as_dir
=.
3533 for ac_exec_ext
in '' $ac_executable_extensions; do
3534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3535 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3546 if test -n "$CC"; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3548 $as_echo "$CC" >&6; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551 $as_echo "no" >&6; }
3555 test -n "$CC" && break
3558 if test -z "$CC"; then
3560 for ac_prog
in cl.exe
3562 # Extract the first word of "$ac_prog", so it can be a program name with args.
3563 set dummy
$ac_prog; ac_word
=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3567 $as_echo_n "(cached) " >&6
3569 if test -n "$ac_ct_CC"; then
3570 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir
=.
3577 for ac_exec_ext
in '' $ac_executable_extensions; do
3578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3579 ac_cv_prog_ac_ct_CC
="$ac_prog"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3590 if test -n "$ac_ct_CC"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3592 $as_echo "$ac_ct_CC" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3599 test -n "$ac_ct_CC" && break
3602 if test "x$ac_ct_CC" = x
; then
3605 case $cross_compiling:$ac_tool_warned in
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3609 ac_tool_warned
=yes ;;
3618 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error
"no acceptable C compiler found in \$PATH
3621 See \`config.log' for more details." "$LINENO" 5; }
3623 # Provide some information about the compiler.
3624 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3627 for ac_option
in --version -v -V -qversion; do
3628 { { ac_try
="$ac_compiler $ac_option >&5"
3630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634 $as_echo "$ac_try_echo"; } >&5
3635 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3637 if test -s conftest.err; then
3639 ... rest of stderr output deleted ...
3640 10q' conftest.err >conftest.er1
3641 cat conftest.er1 >&5
3642 rm -f conftest.er1 conftest.err
3644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 ac_clean_files_save=$ac_clean_files
3660 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3661 # Try to create an executable without -o first, disregard a.out.
3662 # It will help us diagnose broken compilers, and finding out an intuition
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3665 $as_echo_n "checking for C compiler default output file name... " >&6; }
3666 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3668 # The possible output files:
3669 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3672 for ac_file in $ac_files
3675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3676 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3681 if { { ac_try="$ac_link_default"
3683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3684 *) ac_try_echo
=$ac_try;;
3686 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 $as_echo "$ac_try_echo"; } >&5
3688 (eval "$ac_link_default") 2>&5
3690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691 test $ac_status = 0; }; then :
3692 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3693 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3694 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3695 # so that the user can short-circuit this test for compilers unknown to
3697 for ac_file
in $ac_files ''
3699 test -f "$ac_file" ||
continue
3701 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3704 # We found the default executable, but exeext='' is most
3708 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3710 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3712 # We set ac_cv_exeext here because the later test for it is not
3713 # safe: cross compilers may not add the suffix if given an `-o'
3714 # argument, so we may need to know it at that point already.
3715 # Even if this section looks crufty: it has the advantage of
3722 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3728 $as_echo "$ac_file" >&6; }
3729 if test -z "$ac_file"; then :
3730 $as_echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.
$ac_ext >&5
3733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 { as_fn_set_status
77
3736 as_fn_error
"C compiler cannot create executables
3737 See \`config.log' for more details." "$LINENO" 5; }; }
3739 ac_exeext
=$ac_cv_exeext
3741 # Check that the compiler produces executables we can run. If not, either
3742 # the compiler is broken, or we cross compile.
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3744 $as_echo_n "checking whether the C compiler works... " >&6; }
3745 # If not cross compiling, check that we can run a simple program.
3746 if test "$cross_compiling" != yes; then
3747 if { ac_try
='./$ac_file'
3748 { { case "(($ac_try" in
3749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753 $as_echo "$ac_try_echo"; } >&5
3754 (eval "$ac_try") 2>&5
3756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3757 test $ac_status = 0; }; }; then
3760 if test "$cross_compiling" = maybe; then
3763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3765 as_fn_error "cannot run C compiled programs.
3766 If you meant to cross compile
, use \
`--host'.
3767 See \`config.log
' for more details." "$LINENO" 5; }
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3772 $as_echo "yes" >&6; }
3774 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3775 ac_clean_files=$ac_clean_files_save
3776 # Check that the compiler produces executables we can run. If not, either
3777 # the compiler is broken, or we cross compile.
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3779 $as_echo_n "checking whether we are cross compiling... " >&6; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3781 $as_echo "$cross_compiling" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3784 $as_echo_n "checking for suffix of executables... " >&6; }
3785 if { { ac_try="$ac_link"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3791 $as_echo "$ac_try_echo"; } >&5
3792 (eval "$ac_link") 2>&5
3794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795 test $ac_status = 0; }; then :
3796 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3797 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3798 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3800 for ac_file
in conftest.exe conftest conftest.
*; do
3801 test -f "$ac_file" ||
continue
3803 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3804 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3812 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3813 See \`config.log' for more details." "$LINENO" 5; }
3815 rm -f conftest
$ac_cv_exeext
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3817 $as_echo "$ac_cv_exeext" >&6; }
3819 rm -f conftest.
$ac_ext
3820 EXEEXT
=$ac_cv_exeext
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3823 $as_echo_n "checking for suffix of object files... " >&6; }
3824 if test "${ac_cv_objext+set}" = set; then :
3825 $as_echo_n "(cached) " >&6
3827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3838 rm -f conftest.o conftest.obj
3839 if { { ac_try
="$ac_compile"
3841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_compile") 2>&5
3848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3849 test $ac_status = 0; }; then :
3850 for ac_file in conftest.o conftest.obj conftest.*; do
3851 test -f "$ac_file" || continue;
3853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3859 $as_echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3864 as_fn_error "cannot compute suffix of object files
: cannot compile
3865 See \
`config.log' for more details." "$LINENO" 5; }
3867 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3870 $as_echo "$ac_cv_objext" >&6; }
3871 OBJEXT=$ac_cv_objext
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3874 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3875 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3892 if ac_fn_c_try_compile "$LINENO"; then :
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3902 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3903 if test $ac_compiler_gnu = yes; then
3908 ac_test_CFLAGS=${CFLAGS+set}
3909 ac_save_CFLAGS=$CFLAGS
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3911 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3912 if test "${ac_cv_prog_cc_g+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3915 ac_save_c_werror_flag=$ac_c_werror_flag
3916 ac_c_werror_flag=yes
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 if ac_fn_c_try_compile "$LINENO"; then :
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 if ac_fn_c_try_compile "$LINENO"; then :
3948 ac_c_werror_flag=$ac_save_c_werror_flag
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 if ac_fn_c_try_compile "$LINENO"; then :
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 ac_c_werror_flag=$ac_save_c_werror_flag
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3972 $as_echo "$ac_cv_prog_cc_g" >&6; }
3973 if test "$ac_test_CFLAGS" = set; then
3974 CFLAGS=$ac_save_CFLAGS
3975 elif test $ac_cv_prog_cc_g = yes; then
3976 if test "$GCC" = yes; then
3982 if test "$GCC" = yes; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3989 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3990 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3991 $as_echo_n "(cached) " >&6
3993 ac_cv_prog_cc_c89=no
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3999 #include <sys/types.h>
4000 #include <sys/stat.h>
4001 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4002 struct buf { int x; };
4003 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4004 static char *e (p, i)
4010 static char *f (char * (*g) (char **, int), char **p, ...)
4015 s = g (p, va_arg (v,int));
4020 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4021 function prototypes and stuff, but not '\xHH' hex character constants.
4022 These don't provoke an error unfortunately, instead are silently treated
4023 as 'x'. The following induces an error, until -std is added to get
4024 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4025 array size at least. It's necessary to write '\x00'==0 to get something
4026 that's true only with -std. */
4027 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4029 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4030 inside strings and character constants. */
4032 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4034 int test (int i, double x);
4035 struct s1 {int (*f) (int a);};
4036 struct s2 {int (*f) (double a);};
4037 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4043 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4048 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4049 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4051 CC="$ac_save_CC $ac_arg"
4052 if ac_fn_c_try_compile "$LINENO"; then :
4053 ac_cv_prog_cc_c89=$ac_arg
4055 rm -f core conftest.err conftest.$ac_objext
4056 test "x$ac_cv_prog_cc_c89" != "xno" && break
4058 rm -f conftest.$ac_ext
4063 case "x$ac_cv_prog_cc_c89" in
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4066 $as_echo "none needed" >&6; } ;;
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4069 $as_echo "unsupported" >&6; } ;;
4071 CC="$CC $ac_cv_prog_cc_c89"
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4073 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4075 if test "x$ac_cv_prog_cc_c89" != xno; then :
4080 ac_cpp='$CPP $CPPFLAGS'
4081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4084 DEPDIR="${am__leading_dot}deps"
4086 ac_config_commands="$ac_config_commands depfiles"
4089 am_make=${MAKE-make}
4090 cat > confinc << 'END'
4092 @echo this is the am__doit target
4095 # If we don't find an include directive, just comment out the code.
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4097 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4101 # First try GNU make style include.
4102 echo "include confinc" > confmf
4103 # Ignore all kinds of additional output from `make'.
4104 case `$am_make -s -f confmf 2> /dev/null` in #(
4105 *the\ am__doit\ target*)
4111 # Now try BSD make style include.
4112 if test "$am__include" = "#"; then
4113 echo '.include
"confinc"' > confmf
4114 case `$am_make -s -f confmf 2> /dev/null` in #(
4115 *the\ am__doit\ target*)
4116 am__include=.include
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4125 $as_echo "$_am_result" >&6; }
4126 rm -f confinc confmf
4128 # Check whether --enable-dependency-tracking was given.
4129 if test "${enable_dependency_tracking+set}" = set; then :
4130 enableval=$enable_dependency_tracking;
4133 if test "x$enable_dependency_tracking" != xno; then
4134 am_depcomp="$ac_aux_dir/depcomp"
4137 if test "x$enable_dependency_tracking" != xno
; then
4147 depcc
="$CC" am_compiler_list
=
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4150 $as_echo_n "checking dependency style of $depcc... " >&6; }
4151 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4152 $as_echo_n "(cached) " >&6
4154 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4155 # We make a subdir and do the tests there. Otherwise we can end up
4156 # making bogus files that we don't know about and never remove. For
4157 # instance it was reported that on HP-UX the gcc test will end up
4158 # making a dummy file named `D' -- because `-MD' means `put the output
4161 # Copy depcomp to subdir because otherwise we won't find it if we're
4162 # using a relative directory.
4163 cp "$am_depcomp" conftest.dir
4165 # We will build objects and dependencies in a subdirectory because
4166 # it helps to detect inapplicable dependency modes. For instance
4167 # both Tru64's cc and ICC support -MD to output dependencies as a
4168 # side effect of compilation, but ICC will put the dependencies in
4169 # the current directory while Tru64 will put them in the object
4173 am_cv_CC_dependencies_compiler_type
=none
4174 if test "$am_compiler_list" = ""; then
4175 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4178 case " $depcc " in #(
4179 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4182 for depmode
in $am_compiler_list; do
4183 # Setup a source with many dependencies, because some compilers
4184 # like to wrap large dependency lists on column 80 (with \), and
4185 # we should not choose a depcomp mode which is confused by this.
4187 # We need to recreate these files for each test, as the compiler may
4188 # overwrite some of them when testing with obscure command lines.
4189 # This happens at least with the AIX C compiler.
4191 for i
in 1 2 3 4 5 6; do
4192 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4193 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4194 # Solaris 8's {/usr,}/bin/sh.
4195 touch sub
/conftst
$i.h
4197 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4199 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4200 # mode. It turns out that the SunPro C++ compiler does not properly
4201 # handle `-M -o', and we need to detect this. Also, some Intel
4202 # versions had trouble with output in subdirs
4203 am__obj
=sub
/conftest.
${OBJEXT-o}
4204 am__minus_obj
="-o $am__obj"
4207 # This depmode causes a compiler race in universal mode.
4208 test "$am__universal" = false ||
continue
4211 # after this tag, mechanisms are not by side-effect, so they'll
4212 # only be used when explicitly requested
4213 if test "x$enable_dependency_tracking" = xyes
; then
4219 msvisualcpp | msvcmsys
)
4220 # This compiler won't grok `-c -o', but also, the minuso test has
4221 # not run yet. These depmodes are late enough in the game, and
4222 # so weak that their functioning should not be impacted.
4223 am__obj
=conftest.
${OBJEXT-o}
4228 if depmode
=$depmode \
4229 source=sub
/conftest.c object
=$am__obj \
4230 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4231 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4232 >/dev
/null
2>conftest.err
&&
4233 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4234 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4235 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4236 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4237 # icc doesn't choke on unknown options, it will just issue warnings
4238 # or remarks (even with -Werror). So we grep stderr for any message
4239 # that says an option was ignored or not supported.
4240 # When given -MP, icc 7.0 and 7.1 complain thusly:
4241 # icc: Command line warning: ignoring option '-M'; no argument required
4242 # The diagnosis changed in icc 8.0:
4243 # icc: Command line remark: option '-MP' not supported
4244 if (grep 'ignoring option' conftest.err ||
4245 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4246 am_cv_CC_dependencies_compiler_type
=$depmode
4255 am_cv_CC_dependencies_compiler_type
=none
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4260 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4261 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4264 test "x$enable_dependency_tracking" != xno \
4265 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4267 am__fastdepCC_FALSE
='#'
4269 am__fastdepCC_TRUE
='#'
4270 am__fastdepCC_FALSE
=
4278 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4279 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4280 # in both places for now and restore CFLAGS at the end of config.
4281 save_CFLAGS
="$CFLAGS"
4283 # Add -Wall -Werror if we are using GCC.
4284 if test "x$GCC" = "xyes"; then
4285 XCFLAGS
="$XCFLAGS -Wall -Werror"
4288 # Find other programs we need.
4289 if test -n "$ac_tool_prefix"; then
4290 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4291 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293 $as_echo_n "checking for $ac_word... " >&6; }
4294 if test "${ac_cv_prog_AR+set}" = set; then :
4295 $as_echo_n "(cached) " >&6
4297 if test -n "$AR"; then
4298 ac_cv_prog_AR
="$AR" # Let the user override the test.
4300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4304 test -z "$as_dir" && as_dir
=.
4305 for ac_exec_ext
in '' $ac_executable_extensions; do
4306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4307 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4318 if test -n "$AR"; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4320 $as_echo "$AR" >&6; }
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4328 if test -z "$ac_cv_prog_AR"; then
4330 # Extract the first word of "ar", so it can be a program name with args.
4331 set dummy
ar; ac_word
=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -n "$ac_ct_AR"; then
4338 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4344 test -z "$as_dir" && as_dir
=.
4345 for ac_exec_ext
in '' $ac_executable_extensions; do
4346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4347 ac_cv_prog_ac_ct_AR
="ar"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4358 if test -n "$ac_ct_AR"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4360 $as_echo "$ac_ct_AR" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4366 if test "x$ac_ct_AR" = x
; then
4369 case $cross_compiling:$ac_tool_warned in
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4373 ac_tool_warned
=yes ;;
4381 if test -n "$ac_tool_prefix"; then
4382 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4383 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4387 $as_echo_n "(cached) " >&6
4389 if test -n "$RANLIB"; then
4390 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4399 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 RANLIB
=$ac_cv_prog_RANLIB
4410 if test -n "$RANLIB"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4412 $as_echo "$RANLIB" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4420 if test -z "$ac_cv_prog_RANLIB"; then
4421 ac_ct_RANLIB
=$RANLIB
4422 # Extract the first word of "ranlib", so it can be a program name with args.
4423 set dummy ranlib
; ac_word
=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -n "$ac_ct_RANLIB"; then
4430 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir
=.
4437 for ac_exec_ext
in '' $ac_executable_extensions; do
4438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4439 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4450 if test -n "$ac_ct_RANLIB"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4452 $as_echo "$ac_ct_RANLIB" >&6; }
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4458 if test "x$ac_ct_RANLIB" = x
; then
4459 RANLIB
="ranlib-not-found-in-path-error"
4461 case $cross_compiling:$ac_tool_warned in
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4465 ac_tool_warned
=yes ;;
4467 RANLIB
=$ac_ct_RANLIB
4470 RANLIB
="$ac_cv_prog_RANLIB"
4473 # Extract the first word of "perl", so it can be a program name with args.
4474 set dummy perl
; ac_word
=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if test "${ac_cv_path_PERL+set}" = set; then :
4478 $as_echo_n "(cached) " >&6
4482 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir
=.
4490 for ac_exec_ext
in '' $ac_executable_extensions; do
4491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4492 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
4504 PERL
=$ac_cv_path_PERL
4505 if test -n "$PERL"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4507 $as_echo "$PERL" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4515 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4517 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4518 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4519 $as_echo_n "(cached) " >&6
4521 cat >conftest.
make <<\_ACEOF
4524 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4526 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4527 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4529 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4531 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4535 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4537 $as_echo "yes" >&6; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541 $as_echo "no" >&6; }
4542 SET_MAKE
="MAKE=${MAKE-make}"
4547 # See if makeinfo has been installed and is modern enough
4548 # that we can use it.
4550 # Extract the first word of "makeinfo", so it can be a program name with args.
4551 set dummy makeinfo
; ac_word
=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4555 $as_echo_n "(cached) " >&6
4557 if test -n "$MAKEINFO"; then
4558 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir
=.
4565 for ac_exec_ext
in '' $ac_executable_extensions; do
4566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567 ac_cv_prog_MAKEINFO
="makeinfo"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 MAKEINFO
=$ac_cv_prog_MAKEINFO
4578 if test -n "$MAKEINFO"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4580 $as_echo "$MAKEINFO" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4587 if test -n "$MAKEINFO"; then
4588 # Found it, now check the version.
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4590 $as_echo_n "checking for modern makeinfo... " >&6; }
4591 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4592 $as_echo_n "(cached) " >&6
4594 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4595 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4597 case $ac_prog_version in
4598 '') gcc_cv_prog_makeinfo_modern
=no
;;
4599 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4600 *) gcc_cv_prog_makeinfo_modern
=no
;;
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4605 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4607 gcc_cv_prog_makeinfo_modern
=no
4609 if test $gcc_cv_prog_makeinfo_modern = no
; then
4610 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4613 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4615 BUILD_INFO_FALSE
='#'
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4627 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4632 macro_version
='2.2.7a'
4633 macro_revision
='1.3134'
4647 ltmain
="$ac_aux_dir/ltmain.sh"
4649 # Backslashify metacharacters that are still active within
4650 # double-quoted strings.
4651 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4653 # Same as above, but do not quote variable references.
4654 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4656 # Sed substitution to delay expansion of an escaped shell variable in a
4657 # double_quote_subst'ed string.
4658 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4660 # Sed substitution to delay expansion of an escaped single quote.
4661 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4663 # Sed substitution to avoid accidental globbing in evaled expressions
4664 no_glob_subst
='s/\*/\\\*/g'
4666 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4668 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4671 $as_echo_n "checking how to print strings... " >&6; }
4672 # Test print first, because it will be a builtin if present.
4673 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4674 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4676 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4679 # Use this function as a fallback that always works.
4680 func_fallback_echo ()
4682 eval 'cat <<_LTECHO_EOF
4686 ECHO='func_fallback_echo
'
4689 # func_echo_all arg...
4690 # Invoke $ECHO with all args, space-separated.
4697 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4698 $as_echo "printf" >&6; } ;;
4699 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4700 $as_echo "print -r" >&6; } ;;
4701 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4702 $as_echo "cat" >&6; } ;;
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4719 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4720 if test "${ac_cv_path_SED+set}" = set; then :
4721 $as_echo_n "(cached) " >&6
4723 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4724 for ac_i in 1 2 3 4 5 6 7; do
4725 ac_script="$ac_script$as_nl$ac_script"
4727 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4728 { ac_script=; unset ac_script;}
4729 if test -z "$SED"; then
4730 ac_path_SED_found=false
4731 # Loop through the user's path and
test for each of PROGNAME-LIST
4732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4736 test -z "$as_dir" && as_dir
=.
4737 for ac_prog
in sed gsed
; do
4738 for ac_exec_ext
in '' $ac_executable_extensions; do
4739 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4740 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4741 # Check for GNU ac_path_SED and select it if it is found.
4742 # Check for GNU $ac_path_SED
4743 case `"$ac_path_SED" --version 2>&1` in
4745 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4748 $as_echo_n 0123456789 >"conftest.in"
4751 cat "conftest.in" "conftest.in" >"conftest.tmp"
4752 mv "conftest.tmp" "conftest.in"
4753 cp "conftest.in" "conftest.nl"
4754 $as_echo '' >> "conftest.nl"
4755 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4756 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4757 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4758 if test $ac_count -gt ${ac_path_SED_max-0}; then
4759 # Best one so far, save it but keep looking for a better one
4760 ac_cv_path_SED
="$ac_path_SED"
4761 ac_path_SED_max
=$ac_count
4763 # 10*(2^10) chars as input seems more than enough
4764 test $ac_count -gt 10 && break
4766 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4769 $ac_path_SED_found && break 3
4774 if test -z "$ac_cv_path_SED"; then
4775 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4783 $as_echo "$ac_cv_path_SED" >&6; }
4784 SED
="$ac_cv_path_SED"
4787 test -z "$SED" && SED
=sed
4788 Xsed
="$SED -e 1s/^X//"
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4801 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4802 if test "${ac_cv_path_GREP+set}" = set; then :
4803 $as_echo_n "(cached) " >&6
4805 if test -z "$GREP"; then
4806 ac_path_GREP_found
=false
4807 # Loop through the user's path and test for each of PROGNAME-LIST
4808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4809 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4812 test -z "$as_dir" && as_dir
=.
4813 for ac_prog
in grep ggrep
; do
4814 for ac_exec_ext
in '' $ac_executable_extensions; do
4815 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4816 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4817 # Check for GNU ac_path_GREP and select it if it is found.
4818 # Check for GNU $ac_path_GREP
4819 case `"$ac_path_GREP" --version 2>&1` in
4821 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4824 $as_echo_n 0123456789 >"conftest.in"
4827 cat "conftest.in" "conftest.in" >"conftest.tmp"
4828 mv "conftest.tmp" "conftest.in"
4829 cp "conftest.in" "conftest.nl"
4830 $as_echo 'GREP' >> "conftest.nl"
4831 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4832 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4833 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4834 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4835 # Best one so far, save it but keep looking for a better one
4836 ac_cv_path_GREP
="$ac_path_GREP"
4837 ac_path_GREP_max
=$ac_count
4839 # 10*(2^10) chars as input seems more than enough
4840 test $ac_count -gt 10 && break
4842 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4845 $ac_path_GREP_found && break 3
4850 if test -z "$ac_cv_path_GREP"; then
4851 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4854 ac_cv_path_GREP
=$GREP
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4859 $as_echo "$ac_cv_path_GREP" >&6; }
4860 GREP
="$ac_cv_path_GREP"
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4864 $as_echo_n "checking for egrep... " >&6; }
4865 if test "${ac_cv_path_EGREP+set}" = set; then :
4866 $as_echo_n "(cached) " >&6
4868 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4869 then ac_cv_path_EGREP
="$GREP -E"
4871 if test -z "$EGREP"; then
4872 ac_path_EGREP_found
=false
4873 # Loop through the user's path and test for each of PROGNAME-LIST
4874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4875 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4878 test -z "$as_dir" && as_dir
=.
4879 for ac_prog
in egrep; do
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4882 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4883 # Check for GNU ac_path_EGREP and select it if it is found.
4884 # Check for GNU $ac_path_EGREP
4885 case `"$ac_path_EGREP" --version 2>&1` in
4887 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4890 $as_echo_n 0123456789 >"conftest.in"
4893 cat "conftest.in" "conftest.in" >"conftest.tmp"
4894 mv "conftest.tmp" "conftest.in"
4895 cp "conftest.in" "conftest.nl"
4896 $as_echo 'EGREP' >> "conftest.nl"
4897 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4898 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4899 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4900 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4901 # Best one so far, save it but keep looking for a better one
4902 ac_cv_path_EGREP
="$ac_path_EGREP"
4903 ac_path_EGREP_max
=$ac_count
4905 # 10*(2^10) chars as input seems more than enough
4906 test $ac_count -gt 10 && break
4908 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4911 $ac_path_EGREP_found && break 3
4916 if test -z "$ac_cv_path_EGREP"; then
4917 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4920 ac_cv_path_EGREP
=$EGREP
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4926 $as_echo "$ac_cv_path_EGREP" >&6; }
4927 EGREP
="$ac_cv_path_EGREP"
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4931 $as_echo_n "checking for fgrep... " >&6; }
4932 if test "${ac_cv_path_FGREP+set}" = set; then :
4933 $as_echo_n "(cached) " >&6
4935 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4936 then ac_cv_path_FGREP
="$GREP -F"
4938 if test -z "$FGREP"; then
4939 ac_path_FGREP_found
=false
4940 # Loop through the user's path and test for each of PROGNAME-LIST
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4942 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_prog
in fgrep
; do
4947 for ac_exec_ext
in '' $ac_executable_extensions; do
4948 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4949 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4950 # Check for GNU ac_path_FGREP and select it if it is found.
4951 # Check for GNU $ac_path_FGREP
4952 case `"$ac_path_FGREP" --version 2>&1` in
4954 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4957 $as_echo_n 0123456789 >"conftest.in"
4960 cat "conftest.in" "conftest.in" >"conftest.tmp"
4961 mv "conftest.tmp" "conftest.in"
4962 cp "conftest.in" "conftest.nl"
4963 $as_echo 'FGREP' >> "conftest.nl"
4964 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4965 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4966 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4967 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4968 # Best one so far, save it but keep looking for a better one
4969 ac_cv_path_FGREP
="$ac_path_FGREP"
4970 ac_path_FGREP_max
=$ac_count
4972 # 10*(2^10) chars as input seems more than enough
4973 test $ac_count -gt 10 && break
4975 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4978 $ac_path_FGREP_found && break 3
4983 if test -z "$ac_cv_path_FGREP"; then
4984 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4987 ac_cv_path_FGREP
=$FGREP
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4993 $as_echo "$ac_cv_path_FGREP" >&6; }
4994 FGREP
="$ac_cv_path_FGREP"
4997 test -z "$GREP" && GREP
=grep
5017 # Check whether --with-gnu-ld was given.
5018 if test "${with_gnu_ld+set}" = set; then :
5019 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5025 if test "$GCC" = yes; then
5026 # Check if gcc -print-prog-name=ld gives a path.
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5028 $as_echo_n "checking for ld used by $CC... " >&6; }
5031 # gcc leaves a trailing carriage return which upsets mingw
5032 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5034 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5037 # Accept absolute paths.
5039 re_direlt
='/[^/][^/]*/\.\./'
5040 # Canonicalize the pathname of ld
5041 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5042 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5043 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5045 test -z "$LD" && LD
="$ac_prog"
5048 # If it fails, then pretend we aren't using GCC.
5052 # If it is relative, then search for the first ld in PATH.
5056 elif test "$with_gnu_ld" = yes; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5058 $as_echo_n "checking for GNU ld... " >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5061 $as_echo_n "checking for non-GNU ld... " >&6; }
5063 if test "${lt_cv_path_LD+set}" = set; then :
5064 $as_echo_n "(cached) " >&6
5066 if test -z "$LD"; then
5067 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5068 for ac_dir
in $PATH; do
5070 test -z "$ac_dir" && ac_dir
=.
5071 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5072 lt_cv_path_LD
="$ac_dir/$ac_prog"
5073 # Check to see if the program is GNU ld. I'd rather use --version,
5074 # but apparently some variants of GNU ld only accept -v.
5075 # Break only if it was the GNU/non-GNU ld that we prefer.
5076 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5077 *GNU
* |
*'with BFD'*)
5078 test "$with_gnu_ld" != no
&& break
5081 test "$with_gnu_ld" != yes && break
5088 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5093 if test -n "$LD"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5095 $as_echo "$LD" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5100 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5102 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5103 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5104 $as_echo_n "(cached) " >&6
5106 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5107 case `$LD -v 2>&1 </dev/null` in
5108 *GNU
* |
*'with BFD'*)
5109 lt_cv_prog_gnu_ld
=yes
5112 lt_cv_prog_gnu_ld
=no
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5117 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5118 with_gnu_ld
=$lt_cv_prog_gnu_ld
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5129 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5130 if test "${lt_cv_path_NM+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$NM"; then
5134 # Let the user override the test.
5137 lt_nm_to_check
="${ac_tool_prefix}nm"
5138 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5139 lt_nm_to_check
="$lt_nm_to_check nm"
5141 for lt_tmp_nm
in $lt_nm_to_check; do
5142 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5143 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5145 test -z "$ac_dir" && ac_dir
=.
5146 tmp_nm
="$ac_dir/$lt_tmp_nm"
5147 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5148 # Check to see if the nm accepts a BSD-compat flag.
5149 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5150 # nm: unknown option "B" ignored
5151 # Tru64's nm complains that /dev/null is an invalid object file
5152 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5153 */dev
/null
* |
*'Invalid file or object type'*)
5154 lt_cv_path_NM
="$tmp_nm -B"
5158 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5160 lt_cv_path_NM
="$tmp_nm -p"
5164 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5165 continue # so that we can try to find one that supports BSD flags
5174 : ${lt_cv_path_NM=no}
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5178 $as_echo "$lt_cv_path_NM" >&6; }
5179 if test "$lt_cv_path_NM" != "no"; then
5182 # Didn't find any BSD compatible name lister, look for dumpbin.
5183 if test -n "$DUMPBIN"; then :
5184 # Let the user override the test.
5186 if test -n "$ac_tool_prefix"; then
5187 for ac_prog
in dumpbin
"link -dump"
5189 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5190 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$DUMPBIN"; then
5197 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 DUMPBIN
=$ac_cv_prog_DUMPBIN
5217 if test -n "$DUMPBIN"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5219 $as_echo "$DUMPBIN" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$DUMPBIN" && break
5229 if test -z "$DUMPBIN"; then
5230 ac_ct_DUMPBIN
=$DUMPBIN
5231 for ac_prog
in dumpbin
"link -dump"
5233 # Extract the first word of "$ac_prog", so it can be a program name with args.
5234 set dummy
$ac_prog; ac_word
=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$ac_ct_DUMPBIN"; then
5241 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5261 if test -n "$ac_ct_DUMPBIN"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5263 $as_echo "$ac_ct_DUMPBIN" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5270 test -n "$ac_ct_DUMPBIN" && break
5273 if test "x$ac_ct_DUMPBIN" = x
; then
5276 case $cross_compiling:$ac_tool_warned in
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned
=yes ;;
5282 DUMPBIN
=$ac_ct_DUMPBIN
5286 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5288 DUMPBIN
="$DUMPBIN -symbols"
5296 if test "$DUMPBIN" != ":"; then
5300 test -z "$NM" && NM
=nm
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5308 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5309 if test "${lt_cv_nm_interface+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5312 lt_cv_nm_interface
="BSD nm"
5313 echo "int some_variable = 0;" > conftest.
$ac_ext
5314 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5315 (eval "$ac_compile" 2>conftest.err
)
5316 cat conftest.err
>&5
5317 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5318 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5319 cat conftest.err
>&5
5320 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5321 cat conftest.out
>&5
5322 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5323 lt_cv_nm_interface
="MS dumpbin"
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5328 $as_echo "$lt_cv_nm_interface" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5331 $as_echo_n "checking whether ln -s works... " >&6; }
5333 if test "$LN_S" = "ln -s"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5335 $as_echo "yes" >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5338 $as_echo "no, using $LN_S" >&6; }
5341 # find the maximum length of command line arguments
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5343 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5344 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5345 $as_echo_n "(cached) " >&6
5352 # On DJGPP, this test can blow up pretty badly due to problems in libc
5353 # (any single argument exceeding 2000 bytes causes a buffer overrun
5354 # during glob expansion). Even if it were fixed, the result of this
5355 # check would be larger than it should be.
5356 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5360 # Under GNU Hurd, this test is not required because there is
5361 # no limit to the length of command line arguments.
5362 # Libtool will interpret -1 as no limit whatsoever
5363 lt_cv_sys_max_cmd_len
=-1;
5366 cygwin
* | mingw
* | cegcc
*)
5367 # On Win9x/ME, this test blows up -- it succeeds, but takes
5368 # about 5 minutes as the teststring grows exponentially.
5369 # Worse, since 9x/ME are not pre-emptively multitasking,
5370 # you end up with a "frozen" computer, even though with patience
5371 # the test eventually succeeds (with a max line length of 256k).
5372 # Instead, let's just punt: use the minimum linelength reported by
5373 # all of the supported platforms: 8192 (on NT/2K/XP).
5374 lt_cv_sys_max_cmd_len
=8192;
5378 # On MiNT this can take a long time and run out of memory.
5379 lt_cv_sys_max_cmd_len
=8192;
5383 # On AmigaOS with pdksh, this test takes hours, literally.
5384 # So we just punt and use a minimum line length of 8192.
5385 lt_cv_sys_max_cmd_len
=8192;
5388 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5389 # This has been around since 386BSD, at least. Likely further.
5390 if test -x /sbin
/sysctl
; then
5391 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5392 elif test -x /usr
/sbin
/sysctl
; then
5393 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5395 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5397 # And add a safety zone
5398 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5399 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5403 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5404 lt_cv_sys_max_cmd_len
=196608
5408 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5409 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5410 # nice to cause kernel panics so lets avoid the loop below.
5411 # First set a reasonable default.
5412 lt_cv_sys_max_cmd_len
=16384
5414 if test -x /sbin
/sysconfig
; then
5415 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5416 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5421 lt_cv_sys_max_cmd_len
=102400
5423 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5424 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5425 if test -n "$kargmax"; then
5426 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5428 lt_cv_sys_max_cmd_len
=32768
5432 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5433 if test -n "$lt_cv_sys_max_cmd_len"; then
5434 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5435 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5437 # Make teststring a little bigger before we do anything with it.
5438 # a 1K string should be a reasonable start.
5439 for i
in 1 2 3 4 5 6 7 8 ; do
5440 teststring
=$teststring$teststring
5442 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5443 # If test is not a shell built-in, we'll probably end up computing a
5444 # maximum length that is only half of the actual maximum length, but
5446 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5447 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5448 test $i != 17 # 1/2 MB should be enough
5451 teststring
=$teststring$teststring
5453 # Only check the string length outside the loop.
5454 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5456 # Add a significant safety factor because C++ compilers can tack on
5457 # massive amounts of additional arguments before passing them to the
5458 # linker. It appears as though 1/2 is a usable value.
5459 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5466 if test -n $lt_cv_sys_max_cmd_len ; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5468 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5471 $as_echo "none" >&6; }
5473 max_cmd_len
=$lt_cv_sys_max_cmd_len
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5485 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5486 # Try some XSI features
5489 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5491 && eval 'test $(( 1 + 1 )) -eq 2 \
5492 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5495 $as_echo "$xsi_shell" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5499 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5501 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5503 && lt_shell_append=yes
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5505 $as_echo "$lt_shell_append" >&6; }
5508 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5518 # test EBCDIC or ASCII
5519 case `echo X|tr X '\101'` in
5520 A) # ASCII based system
5521 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5522 lt_SP2NL='tr \040 \012'
5523 lt_NL2SP='tr \015\012 \040\040'
5525 *) # EBCDIC based system
5526 lt_SP2NL='tr \100 \n'
5527 lt_NL2SP='tr \r\n \100\100'
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5540 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5541 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5542 $as_echo_n "(cached
) " >&6
5544 lt_cv_ld_reload_flag='-r'
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5547 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5548 reload_flag=$lt_cv_ld_reload_flag
5549 case $reload_flag in
5551 *) reload_flag=" $reload_flag" ;;
5553 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5556 if test "$GCC" = yes; then
5557 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5559 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5572 if test -n "$ac_tool_prefix"; then
5573 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5574 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5576 $as_echo_n "checking
for $ac_word...
" >&6; }
5577 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5578 $as_echo_n "(cached
) " >&6
5580 if test -n "$OBJDUMP"; then
5581 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5590 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5600 OBJDUMP=$ac_cv_prog_OBJDUMP
5601 if test -n "$OBJDUMP"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5603 $as_echo "$OBJDUMP" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5606 $as_echo "no
" >&6; }
5611 if test -z "$ac_cv_prog_OBJDUMP"; then
5612 ac_ct_OBJDUMP=$OBJDUMP
5613 # Extract the first word of "objdump
", so it can be a program name with args.
5614 set dummy objdump; ac_word=$2
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5616 $as_echo_n "checking
for $ac_word...
" >&6; }
5617 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5618 $as_echo_n "(cached
) " >&6
5620 if test -n "$ac_ct_OBJDUMP"; then
5621 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 test -z "$as_dir" && as_dir=.
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5630 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5640 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5641 if test -n "$ac_ct_OBJDUMP"; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5643 $as_echo "$ac_ct_OBJDUMP" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5646 $as_echo "no
" >&6; }
5649 if test "x
$ac_ct_OBJDUMP" = x; then
5652 case $cross_compiling:$ac_tool_warned in
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5655 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5656 ac_tool_warned=yes ;;
5658 OBJDUMP=$ac_ct_OBJDUMP
5661 OBJDUMP="$ac_cv_prog_OBJDUMP"
5664 test -z "$OBJDUMP" && OBJDUMP=objdump
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5675 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5676 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5677 $as_echo_n "(cached
) " >&6
5679 lt_cv_file_magic_cmd='$MAGIC_CMD'
5680 lt_cv_file_magic_test_file=
5681 lt_cv_deplibs_check_method='unknown'
5682 # Need to set the preceding variable on all platforms that support
5683 # interlibrary dependencies.
5684 # 'none' -- dependencies not supported.
5685 # `unknown' -- same as none, but documents that we really don't know.
5686 # 'pass_all' -- all dependencies passed with no checks.
5687 # 'test_compile' -- check by making test program.
5688 # 'file_magic [[regex]]' -- check by looking for files in library path
5689 # which responds to the $file_magic_cmd with a given extended regex.
5690 # If you have `file' or equivalent on your system and you're not sure
5691 # whether `pass_all' will *always* work, you probably want this one.
5695 lt_cv_deplibs_check_method=pass_all
5699 lt_cv_deplibs_check_method=pass_all
5703 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5704 lt_cv_file_magic_cmd='/usr/bin/file -L'
5705 lt_cv_file_magic_test_file=/shlib/libc.so
5709 # func_win32_libid is a shell function defined in ltmain.sh
5710 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5711 lt_cv_file_magic_cmd='func_win32_libid'
5715 # Base MSYS/MinGW do not provide the 'file' command needed by
5716 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5717 # unless we find 'file', for example because we are cross-compiling.
5718 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5719 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5720 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5721 lt_cv_file_magic_cmd='func_win32_libid'
5723 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5724 lt_cv_file_magic_cmd='$OBJDUMP -f'
5729 # use the weaker test based on 'objdump'. See mingw*.
5730 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5731 lt_cv_file_magic_cmd='$OBJDUMP -f'
5734 darwin* | rhapsody*)
5735 lt_cv_deplibs_check_method=pass_all
5738 freebsd* | dragonfly*)
5739 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5742 # Not sure whether the presence of OpenBSD here was a mistake.
5743 # Let's accept both of them until this is cleared up.
5744 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5745 lt_cv_file_magic_cmd=/usr/bin/file
5746 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5750 lt_cv_deplibs_check_method=pass_all
5755 lt_cv_deplibs_check_method=pass_all
5759 lt_cv_deplibs_check_method=pass_all
5762 hpux10.20* | hpux11*)
5763 lt_cv_file_magic_cmd=/usr/bin/file
5766 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5767 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5770 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]'
5771 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5774 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5775 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5781 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5782 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5785 irix5* | irix6* | nonstopux*)
5787 *-32|*"-32 ") libmagic=32-bit;;
5788 *-n32|*"-n32 ") libmagic=N32;;
5789 *-64|*"-64 ") libmagic=64-bit;;
5790 *) libmagic=never-match;;
5792 lt_cv_deplibs_check_method=pass_all
5795 # This must be Linux ELF.
5796 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5797 lt_cv_deplibs_check_method=pass_all
5801 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5802 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5804 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5809 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5810 lt_cv_file_magic_cmd=/usr/bin/file
5811 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5815 lt_cv_deplibs_check_method=pass_all
5819 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5820 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5822 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5826 osf3* | osf4* | osf5*)
5827 lt_cv_deplibs_check_method=pass_all
5831 lt_cv_deplibs_check_method=pass_all
5835 lt_cv_deplibs_check_method=pass_all
5838 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5839 lt_cv_deplibs_check_method=pass_all
5843 case $host_vendor in
5845 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]'
5846 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5849 lt_cv_deplibs_check_method=pass_all
5852 lt_cv_file_magic_cmd='/bin/file'
5853 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5856 lt_cv_file_magic_cmd='/bin/file'
5857 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5858 lt_cv_file_magic_test_file=/lib/libc.so
5861 lt_cv_deplibs_check_method=pass_all
5864 lt_cv_deplibs_check_method=pass_all
5870 lt_cv_deplibs_check_method=pass_all
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5876 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5877 file_magic_cmd=$lt_cv_file_magic_cmd
5878 deplibs_check_method=$lt_cv_deplibs_check_method
5879 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5892 if test -n "$ac_tool_prefix"; then
5893 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5894 set dummy ${ac_tool_prefix}ar; ac_word=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5896 $as_echo_n "checking
for $ac_word...
" >&6; }
5897 if test "${ac_cv_prog_AR+set}" = set; then :
5898 $as_echo_n "(cached
) " >&6
5900 if test -n "$AR"; then
5901 ac_cv_prog_AR="$AR" # Let the user override the test.
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_AR="${ac_tool_prefix}ar"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5921 if test -n "$AR"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5923 $as_echo "$AR" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5926 $as_echo "no
" >&6; }
5931 if test -z "$ac_cv_prog_AR"; then
5933 # Extract the first word of "ar", so it can be a program name with args.
5934 set dummy ar; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5936 $as_echo_n "checking
for $ac_word...
" >&6; }
5937 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5938 $as_echo_n "(cached
) " >&6
5940 if test -n "$ac_ct_AR"; then
5941 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5950 ac_cv_prog_ac_ct_AR="ar"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5960 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5961 if test -n "$ac_ct_AR"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5963 $as_echo "$ac_ct_AR" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5966 $as_echo "no
" >&6; }
5969 if test "x
$ac_ct_AR" = x; then
5972 case $cross_compiling:$ac_tool_warned in
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5975 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5976 ac_tool_warned=yes ;;
5984 test -z "$AR" && AR=ar
5985 test -z "$AR_FLAGS" && AR_FLAGS=cru
5997 if test -n "$ac_tool_prefix"; then
5998 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5999 set dummy ${ac_tool_prefix}strip; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6001 $as_echo_n "checking
for $ac_word...
" >&6; }
6002 if test "${ac_cv_prog_STRIP+set}" = set; then :
6003 $as_echo_n "(cached
) " >&6
6005 if test -n "$STRIP"; then
6006 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6025 STRIP=$ac_cv_prog_STRIP
6026 if test -n "$STRIP"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6028 $as_echo "$STRIP" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6031 $as_echo "no
" >&6; }
6036 if test -z "$ac_cv_prog_STRIP"; then
6038 # Extract the first word of "strip
", so it can be a program name with args.
6039 set dummy strip; ac_word=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6041 $as_echo_n "checking
for $ac_word...
" >&6; }
6042 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6043 $as_echo_n "(cached
) " >&6
6045 if test -n "$ac_ct_STRIP"; then
6046 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6055 ac_cv_prog_ac_ct_STRIP="strip
"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6065 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6066 if test -n "$ac_ct_STRIP"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6068 $as_echo "$ac_ct_STRIP" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6071 $as_echo "no
" >&6; }
6074 if test "x
$ac_ct_STRIP" = x; then
6077 case $cross_compiling:$ac_tool_warned in
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6080 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6081 ac_tool_warned=yes ;;
6086 STRIP="$ac_cv_prog_STRIP"
6089 test -z "$STRIP" && STRIP=:
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6100 $as_echo_n "checking
for $ac_word...
" >&6; }
6101 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6102 $as_echo_n "(cached
) " >&6
6104 if test -n "$RANLIB"; then
6105 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6124 RANLIB=$ac_cv_prog_RANLIB
6125 if test -n "$RANLIB"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6127 $as_echo "$RANLIB" >&6; }
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6130 $as_echo "no
" >&6; }
6135 if test -z "$ac_cv_prog_RANLIB"; then
6136 ac_ct_RANLIB=$RANLIB
6137 # Extract the first word of "ranlib
", so it can be a program name with args.
6138 set dummy ranlib; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6140 $as_echo_n "checking
for $ac_word...
" >&6; }
6141 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6142 $as_echo_n "(cached
) " >&6
6144 if test -n "$ac_ct_RANLIB"; then
6145 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6164 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6165 if test -n "$ac_ct_RANLIB"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6167 $as_echo "$ac_ct_RANLIB" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6170 $as_echo "no
" >&6; }
6173 if test "x
$ac_ct_RANLIB" = x; then
6176 case $cross_compiling:$ac_tool_warned in
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6179 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6180 ac_tool_warned=yes ;;
6182 RANLIB=$ac_ct_RANLIB
6185 RANLIB="$ac_cv_prog_RANLIB"
6188 test -z "$RANLIB" && RANLIB=:
6195 # Determine commands to create old-style static archives.
6196 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6197 old_postinstall_cmds='chmod 644 $oldlib'
6198 old_postuninstall_cmds=
6200 if test -n "$RANLIB"; then
6203 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6206 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6209 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6214 lock_old_archive_extraction=yes ;;
6216 lock_old_archive_extraction=no ;;
6257 # If no C compiler was specified, use CC.
6260 # If no C compiler flags were specified, use CFLAGS.
6261 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6263 # Allow CC to be a program name with arguments.
6267 # Check for command to grab the raw symbol name followed by C symbol from nm.
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6269 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6270 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6271 $as_echo_n "(cached
) " >&6
6274 # These are sane defaults that work on at least a few old systems.
6275 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6277 # Character class describing NM global symbol codes.
6278 symcode='[BCDEGRST]'
6280 # Regexp to match symbols that can be accessed directly from C.
6281 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6283 # Define system-specific variables.
6288 cygwin* | mingw* | pw32* | cegcc*)
6289 symcode='[ABCDGISTW]'
6292 if test "$host_cpu" = ia64; then
6293 symcode='[ABCDEGRST]'
6297 symcode='[BCDEGRST]'
6300 symcode='[BCDEGQRST]'
6311 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6319 # If we're using GNU nm, then use its standard symbol codes.
6320 case `$NM -V 2>&1` in
6321 *GNU* | *'with BFD'*)
6322 symcode='[ABCDGIRSTW]' ;;
6325 # Transform an extracted symbol line into a proper C declaration.
6326 # Some systems (esp. on ia64) link data and code symbols differently,
6327 # so use this general approach.
6328 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6330 # Transform an extracted symbol line into symbol name and symbol address
6331 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6332 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'"
6334 # Handle CRLF in mingw tool chain
6338 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6342 # Try without a prefix underscore, then with it.
6343 for ac_symprfx in "" "_
"; do
6345 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6346 symxfrm="\\1 $ac_symprfx\\2 \\2"
6348 # Write the raw and C identifiers.
6349 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6350 # Fake it for dumpbin and say T for any non-static function
6351 # and D for any global variable.
6352 # Also find C++ and __fastcall symbols from MSVC++,
6353 # which start with @ or ?.
6354 lt_cv_sys_global_symbol_pipe="$AWK '"\
6355 " {last_section=section; section=\$ 3};"\
6356 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6357 " \$ 0!~/External *\|/{next};"\
6358 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6359 " {if(hide[section]) next};"\
6360 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6361 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6362 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6363 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6364 " ' prfx
=^
$ac_symprfx"
6366 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6369 # Check to see that the pipe works correctly.
6373 cat > conftest.$ac_ext <<_LT_EOF
6378 void nm_test_func(void);
6379 void nm_test_func(void){}
6383 int main(){nm_test_var='a';nm_test_func();return(0);}
6386 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6387 (eval $ac_compile) 2>&5
6389 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6390 test $ac_status = 0; }; then
6391 # Now try to grab the symbols.
6393 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6394 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6396 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6397 test $ac_status = 0; } && test -s "$nlist"; then
6398 # Try sorting and uniquifying the output.
6399 if sort "$nlist" | uniq > "$nlist"T; then
6400 mv -f "$nlist"T "$nlist"
6405 # Make sure that we snagged all the symbols we need.
6406 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6407 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6408 cat <<_LT_EOF > conftest.$ac_ext
6414 # Now generate the symbol file.
6415 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6417 cat <<_LT_EOF >> conftest.$ac_ext
6419 /* The mapping between symbol names and symbols. */
6424 lt__PROGRAM__LTX_preloaded_symbols[] =
6426 { "@PROGRAM@
", (void *) 0 },
6428 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6429 cat <<\_LT_EOF >> conftest.$ac_ext
6433 /* This works around a problem in FreeBSD linker */
6434 #ifdef FREEBSD_WORKAROUND
6435 static const void *lt_preloaded_setup() {
6436 return lt__PROGRAM__LTX_preloaded_symbols;
6444 # Now try linking the two files.
6445 mv conftest.$ac_objext conftstm.$ac_objext
6446 lt_save_LIBS="$LIBS"
6447 lt_save_CFLAGS="$CFLAGS"
6448 LIBS="conftstm.
$ac_objext"
6449 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6450 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6451 (eval $ac_link) 2>&5
6453 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6454 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6457 LIBS="$lt_save_LIBS"
6458 CFLAGS="$lt_save_CFLAGS"
6460 echo "cannot
find nm_test_func
in $nlist" >&5
6463 echo "cannot
find nm_test_var
in $nlist" >&5
6466 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6469 echo "$progname: failed program was
:" >&5
6470 cat conftest.$ac_ext >&5
6472 rm -rf conftest* conftst*
6474 # Do not use the global_symbol_pipe unless it works.
6475 if test "$pipe_works" = yes; then
6478 lt_cv_sys_global_symbol_pipe=
6484 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6485 lt_cv_sys_global_symbol_to_cdecl=
6487 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6489 $as_echo "failed
" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6492 $as_echo "ok
" >&6; }
6517 # Check whether --enable-libtool-lock was given.
6518 if test "${enable_libtool_lock+set}" = set; then :
6519 enableval=$enable_libtool_lock;
6522 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6524 # Some flags need to be propagated to the compiler or linker for good
6528 # Find out which ABI we are using.
6529 echo 'int i;' > conftest.$ac_ext
6530 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531 (eval $ac_compile) 2>&5
6533 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6534 test $ac_status = 0; }; then
6535 case `/usr/bin/file conftest.$ac_objext` in
6547 # Find out which ABI we are using.
6548 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6549 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6550 (eval $ac_compile) 2>&5
6552 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6553 test $ac_status = 0; }; then
6554 if test "$lt_cv_prog_gnu_ld" = yes; then
6555 case `/usr/bin/file conftest.$ac_objext` in
6557 LD="${LD-ld} -melf32bsmip"
6560 LD="${LD-ld} -melf32bmipn32"
6563 LD="${LD-ld} -melf64bmip"
6567 case `/usr/bin/file conftest.$ac_objext` in
6583 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6584 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6585 # Find out which ABI we are using.
6586 echo 'int i;' > conftest.$ac_ext
6587 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6588 (eval $ac_compile) 2>&5
6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6591 test $ac_status = 0; }; then
6592 case `/usr/bin/file conftest.o` in
6595 x86_64-*kfreebsd*-gnu)
6596 LD="${LD-ld} -m elf_i386_fbsd
"
6599 case `/usr/bin/file conftest.o` in
6601 LD="${LD-ld} -m elf32_x86_64
"
6604 LD="${LD-ld} -m elf_i386
"
6608 ppc64-*linux*|powerpc64-*linux*)
6609 LD="${LD-ld} -m elf32ppclinux
"
6612 LD="${LD-ld} -m elf_s390
"
6615 LD="${LD-ld} -m elf32_sparc
"
6621 x86_64-*kfreebsd*-gnu)
6622 LD="${LD-ld} -m elf_x86_64_fbsd
"
6625 LD="${LD-ld} -m elf_x86_64
"
6627 ppc*-*linux*|powerpc*-*linux*)
6628 LD="${LD-ld} -m elf64ppc
"
6630 s390*-*linux*|s390*-*tpf*)
6631 LD="${LD-ld} -m elf64_s390
"
6634 LD="${LD-ld} -m elf64_sparc
"
6644 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6645 SAVE_CFLAGS="$CFLAGS"
6646 CFLAGS="$CFLAGS -belf"
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6648 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6649 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6650 $as_echo_n "(cached
) " >&6
6653 ac_cpp='$CPP $CPPFLAGS'
6654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6669 if ac_fn_c_try_link "$LINENO"; then :
6670 lt_cv_cc_needs_belf=yes
6672 lt_cv_cc_needs_belf=no
6674 rm -f core conftest.err conftest.$ac_objext \
6675 conftest$ac_exeext conftest.$ac_ext
6677 ac_cpp='$CPP $CPPFLAGS'
6678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6684 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6685 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6686 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6687 CFLAGS="$SAVE_CFLAGS"
6691 # Find out which ABI we are using.
6692 echo 'int i;' > conftest.$ac_ext
6693 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6694 (eval $ac_compile) 2>&5
6696 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6697 test $ac_status = 0; }; then
6698 case `/usr/bin/file conftest.o` in
6700 case $lt_cv_prog_gnu_ld in
6701 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6703 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6715 need_locks="$enable_libtool_lock"
6719 rhapsody* | darwin*)
6720 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6722 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6724 $as_echo_n "checking
for $ac_word...
" >&6; }
6725 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6726 $as_echo_n "(cached
) " >&6
6728 if test -n "$DSYMUTIL"; then
6729 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6738 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6748 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6749 if test -n "$DSYMUTIL"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6751 $as_echo "$DSYMUTIL" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6754 $as_echo "no
" >&6; }
6759 if test -z "$ac_cv_prog_DSYMUTIL"; then
6760 ac_ct_DSYMUTIL=$DSYMUTIL
6761 # Extract the first word of "dsymutil
", so it can be a program name with args.
6762 set dummy dsymutil; ac_word=$2
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6764 $as_echo_n "checking
for $ac_word...
" >&6; }
6765 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6766 $as_echo_n "(cached
) " >&6
6768 if test -n "$ac_ct_DSYMUTIL"; then
6769 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 test -z "$as_dir" && as_dir=.
6776 for ac_exec_ext in '' $ac_executable_extensions; do
6777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6778 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6788 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6789 if test -n "$ac_ct_DSYMUTIL"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6791 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6794 $as_echo "no
" >&6; }
6797 if test "x
$ac_ct_DSYMUTIL" = x; then
6800 case $cross_compiling:$ac_tool_warned in
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6803 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6804 ac_tool_warned=yes ;;
6806 DSYMUTIL=$ac_ct_DSYMUTIL
6809 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6812 if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6814 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6816 $as_echo_n "checking
for $ac_word...
" >&6; }
6817 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6818 $as_echo_n "(cached
) " >&6
6820 if test -n "$NMEDIT"; then
6821 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6830 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6840 NMEDIT=$ac_cv_prog_NMEDIT
6841 if test -n "$NMEDIT"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6843 $as_echo "$NMEDIT" >&6; }
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6846 $as_echo "no
" >&6; }
6851 if test -z "$ac_cv_prog_NMEDIT"; then
6852 ac_ct_NMEDIT=$NMEDIT
6853 # Extract the first word of "nmedit
", so it can be a program name with args.
6854 set dummy nmedit; ac_word=$2
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6856 $as_echo_n "checking
for $ac_word...
" >&6; }
6857 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6858 $as_echo_n "(cached
) " >&6
6860 if test -n "$ac_ct_NMEDIT"; then
6861 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 test -z "$as_dir" && as_dir=.
6868 for ac_exec_ext in '' $ac_executable_extensions; do
6869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6870 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6880 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6881 if test -n "$ac_ct_NMEDIT"; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6883 $as_echo "$ac_ct_NMEDIT" >&6; }
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6886 $as_echo "no
" >&6; }
6889 if test "x
$ac_ct_NMEDIT" = x; then
6892 case $cross_compiling:$ac_tool_warned in
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6895 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6896 ac_tool_warned=yes ;;
6898 NMEDIT=$ac_ct_NMEDIT
6901 NMEDIT="$ac_cv_prog_NMEDIT"
6904 if test -n "$ac_tool_prefix"; then
6905 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6908 $as_echo_n "checking
for $ac_word...
" >&6; }
6909 if test "${ac_cv_prog_LIPO+set}" = set; then :
6910 $as_echo_n "(cached
) " >&6
6912 if test -n "$LIPO"; then
6913 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6922 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6932 LIPO=$ac_cv_prog_LIPO
6933 if test -n "$LIPO"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6935 $as_echo "$LIPO" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6938 $as_echo "no
" >&6; }
6943 if test -z "$ac_cv_prog_LIPO"; then
6945 # Extract the first word of "lipo
", so it can be a program name with args.
6946 set dummy lipo; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6948 $as_echo_n "checking
for $ac_word...
" >&6; }
6949 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6950 $as_echo_n "(cached
) " >&6
6952 if test -n "$ac_ct_LIPO"; then
6953 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_prog_ac_ct_LIPO="lipo
"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6972 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6973 if test -n "$ac_ct_LIPO"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6975 $as_echo "$ac_ct_LIPO" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6978 $as_echo "no
" >&6; }
6981 if test "x
$ac_ct_LIPO" = x; then
6984 case $cross_compiling:$ac_tool_warned in
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6987 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6988 ac_tool_warned=yes ;;
6993 LIPO="$ac_cv_prog_LIPO"
6996 if test -n "$ac_tool_prefix"; then
6997 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6998 set dummy ${ac_tool_prefix}otool; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7000 $as_echo_n "checking
for $ac_word...
" >&6; }
7001 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7002 $as_echo_n "(cached
) " >&6
7004 if test -n "$OTOOL"; then
7005 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7014 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7024 OTOOL=$ac_cv_prog_OTOOL
7025 if test -n "$OTOOL"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7027 $as_echo "$OTOOL" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7030 $as_echo "no
" >&6; }
7035 if test -z "$ac_cv_prog_OTOOL"; then
7037 # Extract the first word of "otool
", so it can be a program name with args.
7038 set dummy otool; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7040 $as_echo_n "checking
for $ac_word...
" >&6; }
7041 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7042 $as_echo_n "(cached
) " >&6
7044 if test -n "$ac_ct_OTOOL"; then
7045 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir=.
7052 for ac_exec_ext in '' $ac_executable_extensions; do
7053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7054 ac_cv_prog_ac_ct_OTOOL="otool
"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7064 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7065 if test -n "$ac_ct_OTOOL"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7067 $as_echo "$ac_ct_OTOOL" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7070 $as_echo "no
" >&6; }
7073 if test "x
$ac_ct_OTOOL" = x; then
7076 case $cross_compiling:$ac_tool_warned in
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7079 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7080 ac_tool_warned=yes ;;
7085 OTOOL="$ac_cv_prog_OTOOL"
7088 if test -n "$ac_tool_prefix"; then
7089 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7090 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7092 $as_echo_n "checking
for $ac_word...
" >&6; }
7093 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7094 $as_echo_n "(cached
) " >&6
7096 if test -n "$OTOOL64"; then
7097 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7116 OTOOL64=$ac_cv_prog_OTOOL64
7117 if test -n "$OTOOL64"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7119 $as_echo "$OTOOL64" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7122 $as_echo "no
" >&6; }
7127 if test -z "$ac_cv_prog_OTOOL64"; then
7128 ac_ct_OTOOL64=$OTOOL64
7129 # Extract the first word of "otool64
", so it can be a program name with args.
7130 set dummy otool64; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7132 $as_echo_n "checking
for $ac_word...
" >&6; }
7133 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7134 $as_echo_n "(cached
) " >&6
7136 if test -n "$ac_ct_OTOOL64"; then
7137 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7146 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7156 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7157 if test -n "$ac_ct_OTOOL64"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7159 $as_echo "$ac_ct_OTOOL64" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7162 $as_echo "no
" >&6; }
7165 if test "x
$ac_ct_OTOOL64" = x; then
7168 case $cross_compiling:$ac_tool_warned in
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7171 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7172 ac_tool_warned=yes ;;
7174 OTOOL64=$ac_ct_OTOOL64
7177 OTOOL64="$ac_cv_prog_OTOOL64"
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7207 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7208 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7209 $as_echo_n "(cached
) " >&6
7211 lt_cv_apple_cc_single_mod=no
7212 if test -z "${LT_MULTI_MODULE}"; then
7213 # By default we will add the -single_module flag. You can override
7214 # by either setting the environment variable LT_MULTI_MODULE
7215 # non-empty at configure time, or by adding -multi_module to the
7217 rm -rf libconftest.dylib*
7218 echo "int foo
(void
){return 1;}" > conftest.c
7219 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7220 -dynamiclib -Wl,-single_module conftest.c
" >&5
7221 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7222 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7224 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7225 lt_cv_apple_cc_single_mod=yes
7227 cat conftest.err >&5
7229 rm -rf libconftest.dylib*
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7234 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7236 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7237 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7238 $as_echo_n "(cached
) " >&6
7240 lt_cv_ld_exported_symbols_list=no
7241 save_LDFLAGS=$LDFLAGS
7242 echo "_main
" > conftest.sym
7243 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7255 if ac_fn_c_try_link "$LINENO"; then :
7256 lt_cv_ld_exported_symbols_list=yes
7258 lt_cv_ld_exported_symbols_list=no
7260 rm -f core conftest.err conftest.$ac_objext \
7261 conftest$ac_exeext conftest.$ac_ext
7262 LDFLAGS="$save_LDFLAGS"
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7266 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7268 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7269 if test "${lt_cv_ld_force_load+set}" = set; then :
7270 $as_echo_n "(cached
) " >&6
7272 lt_cv_ld_force_load=no
7273 cat > conftest.c << _LT_EOF
7274 int forced_loaded() { return 2;}
7276 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7277 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7278 echo "$AR cru libconftest.a conftest.o
" >&5
7279 $AR cru libconftest.a conftest.o 2>&5
7280 cat > conftest.c << _LT_EOF
7281 int main() { return 0;}
7283 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7284 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7286 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7287 lt_cv_ld_force_load=yes
7289 cat conftest.err >&5
7291 rm -f conftest.err libconftest.a conftest conftest.c
7292 rm -rf conftest.dSYM
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7296 $as_echo "$lt_cv_ld_force_load" >&6; }
7298 rhapsody* | darwin1.[012])
7299 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7301 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7302 darwin*) # darwin 5.x on
7303 # if running on 10.5 or later, the deployment target defaults
7304 # to the OS version, if on x86, and 10.4, the deployment
7305 # target defaults to 10.4. Don't you love it?
7306 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7307 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7308 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7310 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7312 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7316 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7317 _lt_dar_single_mod='$single_module'
7319 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7320 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7322 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7324 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7325 _lt_dsymutil='~$DSYMUTIL $lib || :'
7333 ac_cpp='$CPP $CPPFLAGS'
7334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7338 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7339 # On Suns, sometimes $CPP names a directory.
7340 if test -n "$CPP" && test -d "$CPP"; then
7343 if test -z "$CPP"; then
7344 if test "${ac_cv_prog_CPP+set}" = set; then :
7345 $as_echo_n "(cached
) " >&6
7347 # Double quotes because CPP needs to be expanded
7348 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7351 for ac_c_preproc_warn_flag in '' yes
7353 # Use a header file that comes with gcc, so configuring glibc
7354 # with a fresh cross-compiler works.
7355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7356 # <limits.h> exists even on freestanding compilers.
7357 # On the NeXT, cc -E runs the code through the compiler's parser,
7358 # not just through cpp. "Syntax error
" is here to catch this case.
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7362 # include <limits.h>
7364 # include <assert.h>
7368 if ac_fn_c_try_cpp "$LINENO"; then :
7371 # Broken: fails on valid input.
7374 rm -f conftest.err conftest.$ac_ext
7376 # OK, works on sane cases. Now check whether nonexistent headers
7377 # can be detected and how.
7378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7379 /* end confdefs.h. */
7380 #include <ac_nonexistent.h>
7382 if ac_fn_c_try_cpp "$LINENO"; then :
7383 # Broken: success on invalid input.
7386 # Passes both tests.
7390 rm -f conftest.err conftest.$ac_ext
7393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7394 rm -f conftest.err conftest.$ac_ext
7395 if $ac_preproc_ok; then :
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7408 $as_echo "$CPP" >&6; }
7410 for ac_c_preproc_warn_flag in '' yes
7412 # Use a header file that comes with gcc, so configuring glibc
7413 # with a fresh cross-compiler works.
7414 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7415 # <limits.h> exists even on freestanding compilers.
7416 # On the NeXT, cc -E runs the code through the compiler's parser,
7417 # not just through cpp. "Syntax error
" is here to catch this case.
7418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7421 # include <limits.h>
7423 # include <assert.h>
7427 if ac_fn_c_try_cpp "$LINENO"; then :
7430 # Broken: fails on valid input.
7433 rm -f conftest.err conftest.$ac_ext
7435 # OK, works on sane cases. Now check whether nonexistent headers
7436 # can be detected and how.
7437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7438 /* end confdefs.h. */
7439 #include <ac_nonexistent.h>
7441 if ac_fn_c_try_cpp "$LINENO"; then :
7442 # Broken: success on invalid input.
7445 # Passes both tests.
7449 rm -f conftest.err conftest.$ac_ext
7452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7453 rm -f conftest.err conftest.$ac_ext
7454 if $ac_preproc_ok; then :
7457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7459 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7460 See \`config.log' for more details.
" "$LINENO" 5; }
7464 ac_cpp='$CPP $CPPFLAGS'
7465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7471 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7472 if test "${ac_cv_header_stdc+set}" = set; then :
7473 $as_echo_n "(cached
) " >&6
7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7490 if ac_fn_c_try_compile "$LINENO"; then :
7491 ac_cv_header_stdc=yes
7493 ac_cv_header_stdc=no
7495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7497 if test $ac_cv_header_stdc = yes; then
7498 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7500 /* end confdefs.h. */
7504 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7505 $EGREP "memchr
" >/dev/null 2>&1; then :
7508 ac_cv_header_stdc=no
7514 if test $ac_cv_header_stdc = yes; then
7515 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7517 /* end confdefs.h. */
7521 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7522 $EGREP "free
" >/dev/null 2>&1; then :
7525 ac_cv_header_stdc=no
7531 if test $ac_cv_header_stdc = yes; then
7532 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7533 if test "$cross_compiling" = yes; then :
7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7540 #if ((' ' & 0x0FF) == 0x020)
7541 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7542 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7544 # define ISLOWER(c) \
7545 (('a' <= (c) && (c) <= 'i') \
7546 || ('j' <= (c) && (c) <= 'r') \
7547 || ('s' <= (c) && (c) <= 'z'))
7548 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7551 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7556 for (i = 0; i < 256; i++)
7557 if (XOR (islower (i), ISLOWER (i))
7558 || toupper (i) != TOUPPER (i))
7563 if ac_fn_c_try_run "$LINENO"; then :
7566 ac_cv_header_stdc=no
7568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7569 conftest.$ac_objext conftest.beam conftest.$ac_ext
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7575 $as_echo "$ac_cv_header_stdc" >&6; }
7576 if test $ac_cv_header_stdc = yes; then
7578 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7582 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7583 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7584 inttypes.h stdint.h unistd.h
7586 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7587 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7589 eval as_val
=\$
$as_ac_Header
7590 if test "x$as_val" = x
""yes; then :
7591 cat >>confdefs.h
<<_ACEOF
7592 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7600 for ac_header
in dlfcn.h
7602 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7604 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7605 cat >>confdefs.h
<<_ACEOF
7606 #define HAVE_DLFCN_H 1
7627 # Check whether --enable-shared was given.
7628 if test "${enable_shared+set}" = set; then :
7629 enableval
=$enable_shared; p
=${PACKAGE-default}
7631 yes) enable_shared
=yes ;;
7632 no
) enable_shared
=no
;;
7635 # Look at the argument we got. We use all the common list separators.
7636 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7637 for pkg
in $enableval; do
7639 if test "X$pkg" = "X$p"; then
7658 # Check whether --enable-static was given.
7659 if test "${enable_static+set}" = set; then :
7660 enableval
=$enable_static; p
=${PACKAGE-default}
7662 yes) enable_static
=yes ;;
7663 no
) enable_static
=no
;;
7666 # Look at the argument we got. We use all the common list separators.
7667 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7668 for pkg
in $enableval; do
7670 if test "X$pkg" = "X$p"; then
7690 # Check whether --with-pic was given.
7691 if test "${with_pic+set}" = set; then :
7692 withval
=$with_pic; pic_mode
="$withval"
7698 test -z "$pic_mode" && pic_mode
=default
7706 # Check whether --enable-fast-install was given.
7707 if test "${enable_fast_install+set}" = set; then :
7708 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7710 yes) enable_fast_install
=yes ;;
7711 no
) enable_fast_install
=no
;;
7713 enable_fast_install
=no
7714 # Look at the argument we got. We use all the common list separators.
7715 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7716 for pkg
in $enableval; do
7718 if test "X$pkg" = "X$p"; then
7719 enable_fast_install
=yes
7726 enable_fast_install
=yes
7739 # This can be used to rebuild libtool when needed
7740 LIBTOOL_DEPS
="$ltmain"
7742 # Always use our own libtool.
7743 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7770 test -z "$LN_S" && LN_S
="ln -s"
7785 if test -n "${ZSH_VERSION+set}" ; then
7786 setopt NO_GLOB_SUBST
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7790 $as_echo_n "checking for objdir... " >&6; }
7791 if test "${lt_cv_objdir+set}" = set; then :
7792 $as_echo_n "(cached) " >&6
7794 rm -f .libs
2>/dev
/null
7795 mkdir .libs
2>/dev
/null
7796 if test -d .libs
; then
7799 # MS-DOS does not allow filenames that begin with a dot.
7802 rmdir .libs
2>/dev
/null
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7805 $as_echo "$lt_cv_objdir" >&6; }
7806 objdir
=$lt_cv_objdir
7812 cat >>confdefs.h
<<_ACEOF
7813 #define LT_OBJDIR "$lt_cv_objdir/"
7821 # AIX sometimes has problems with the GCC collect2 program. For some
7822 # reason, if we set the COLLECT_NAMES environment variable, the problems
7823 # vanish in a puff of smoke.
7824 if test "X${COLLECT_NAMES+set}" != Xset
; then
7826 export COLLECT_NAMES
7833 can_build_shared
=yes
7835 # All known linkers require a `.a' archive for static linking (except MSVC,
7836 # which needs '.lib').
7839 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7842 old_CFLAGS
="$CFLAGS"
7844 # Set sane defaults for various variables
7845 test -z "$CC" && CC
=cc
7846 test -z "$LTCC" && LTCC
=$CC
7847 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7848 test -z "$LD" && LD
=ld
7849 test -z "$ac_objext" && ac_objext
=o
7851 for cc_temp
in $compiler""; do
7853 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7854 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7859 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7862 # Only perform the check for file, if the check method requires it
7863 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7864 case $deplibs_check_method in
7866 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7868 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7869 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7870 $as_echo_n "(cached) " >&6
7874 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7877 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7878 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7879 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7880 for ac_dir
in $ac_dummy; do
7882 test -z "$ac_dir" && ac_dir
=.
7883 if test -f $ac_dir/${ac_tool_prefix}file; then
7884 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7885 if test -n "$file_magic_test_file"; then
7886 case $deplibs_check_method in
7888 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7889 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7890 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7891 $EGREP "$file_magic_regex" > /dev
/null
; then
7896 *** Warning: the command libtool uses to detect shared libraries,
7897 *** $file_magic_cmd, produces output that libtool cannot recognize.
7898 *** The result is that libtool may fail to recognize shared libraries
7899 *** as such. This will affect the creation of libtool libraries that
7900 *** depend on shared libraries, but programs linked with such libtool
7901 *** libraries will work regardless of this problem. Nevertheless, you
7902 *** may want to report the problem to your system manager and/or to
7903 *** bug-libtool@gnu.org
7913 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7918 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7919 if test -n "$MAGIC_CMD"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7921 $as_echo "$MAGIC_CMD" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7924 $as_echo "no" >&6; }
7931 if test -z "$lt_cv_path_MAGIC_CMD"; then
7932 if test -n "$ac_tool_prefix"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7934 $as_echo_n "checking for file... " >&6; }
7935 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7936 $as_echo_n "(cached) " >&6
7940 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7943 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7944 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7945 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7946 for ac_dir
in $ac_dummy; do
7948 test -z "$ac_dir" && ac_dir
=.
7949 if test -f $ac_dir/file; then
7950 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7951 if test -n "$file_magic_test_file"; then
7952 case $deplibs_check_method in
7954 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7955 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7956 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7957 $EGREP "$file_magic_regex" > /dev
/null
; then
7962 *** Warning: the command libtool uses to detect shared libraries,
7963 *** $file_magic_cmd, produces output that libtool cannot recognize.
7964 *** The result is that libtool may fail to recognize shared libraries
7965 *** as such. This will affect the creation of libtool libraries that
7966 *** depend on shared libraries, but programs linked with such libtool
7967 *** libraries will work regardless of this problem. Nevertheless, you
7968 *** may want to report the problem to your system manager and/or to
7969 *** bug-libtool@gnu.org
7979 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7984 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7985 if test -n "$MAGIC_CMD"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7987 $as_echo "$MAGIC_CMD" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
8003 # Use C for the default configuration in the libtool script
8007 ac_cpp
='$CPP $CPPFLAGS'
8008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8013 # Source file extension for C test sources.
8016 # Object file extension for compiled C test sources.
8020 # Code to be used in simple compile tests
8021 lt_simple_compile_test_code
="int some_variable = 0;"
8023 # Code to be used in simple link tests
8024 lt_simple_link_test_code
='int main(){return(0);}'
8032 # If no C compiler was specified, use CC.
8035 # If no C compiler flags were specified, use CFLAGS.
8036 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8038 # Allow CC to be a program name with arguments.
8041 # Save the default compiler, since it gets overwritten when the other
8042 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8043 compiler_DEFAULT
=$CC
8045 # save warnings/boilerplate of simple test code
8046 ac_outfile
=conftest.
$ac_objext
8047 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8048 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8049 _lt_compiler_boilerplate
=`cat conftest.err`
8052 ac_outfile
=conftest.
$ac_objext
8053 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8054 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8055 _lt_linker_boilerplate
=`cat conftest.err`
8060 ## There is no encapsulation within the following macros, do not change
8061 ## the running order or otherwise move them around unless you know exactly
8062 ## what you are doing...
8063 if test -n "$compiler"; then
8065 lt_prog_compiler_no_builtin_flag
=
8067 if test "$GCC" = yes; then
8068 case $cc_basename in
8070 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8072 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8076 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8077 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8078 $as_echo_n "(cached) " >&6
8080 lt_cv_prog_compiler_rtti_exceptions
=no
8081 ac_outfile
=conftest.
$ac_objext
8082 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8083 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8084 # Insert the option either (1) after the last *FLAGS variable, or
8085 # (2) before a word containing "conftest.", or (3) at the end.
8086 # Note that $ac_compile itself does not contain backslashes and begins
8087 # with a dollar sign (not a hyphen), so the echo should work correctly.
8088 # The option is referenced via a variable to avoid confusing sed.
8089 lt_compile
=`echo "$ac_compile" | $SED \
8090 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8092 -e 's:$: $lt_compiler_flag:'`
8093 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8094 (eval "$lt_compile" 2>conftest.err
)
8096 cat conftest.err
>&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 if (exit $ac_status) && test -s "$ac_outfile"; then
8099 # The compiler can only warn and ignore the option if not recognized
8100 # So say no if there are warnings other than the usual output.
8101 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8102 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8103 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8104 lt_cv_prog_compiler_rtti_exceptions
=yes
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8111 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8113 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8114 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8126 lt_prog_compiler_wl
=
8127 lt_prog_compiler_pic
=
8128 lt_prog_compiler_static
=
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8131 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8133 if test "$GCC" = yes; then
8134 lt_prog_compiler_wl
='-Wl,'
8135 lt_prog_compiler_static
='-static'
8139 # All AIX code is PIC.
8140 if test "$host_cpu" = ia64
; then
8141 # AIX 5 now supports IA64 processor
8142 lt_prog_compiler_static
='-Bstatic'
8149 # see comment about AmigaOS4 .so support
8150 lt_prog_compiler_pic
='-fPIC'
8153 # FIXME: we need at least 68020 code to build shared libraries, but
8154 # adding the `-m68020' flag to GCC prevents building anything better,
8156 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8161 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8162 # PIC is the default for these OSes.
8165 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8166 # This hack is so that the source file can tell whether it is being
8167 # built for inclusion in a dll (and should export symbols for example).
8168 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8169 # (--disable-auto-import) libraries
8170 lt_prog_compiler_pic
='-DDLL_EXPORT'
8173 darwin
* | rhapsody
*)
8174 # PIC is the default on this platform
8175 # Common symbols not allowed in MH_DYLIB files
8176 lt_prog_compiler_pic
='-fno-common'
8180 # PIC is the default for Haiku.
8181 # The "-static" flag exists, but is broken.
8182 lt_prog_compiler_static
=
8186 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8187 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8188 # sets the default TLS model and affects inlining.
8194 lt_prog_compiler_pic
='-fPIC'
8200 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8201 # Instead, we relocate shared libraries at runtime.
8205 # Just because we use GCC doesn't mean we suddenly get shared libraries
8206 # on systems that don't support them.
8207 lt_prog_compiler_can_build_shared
=no
8212 # QNX uses GNU C++, but need to define -shared option too, otherwise
8214 lt_prog_compiler_pic
='-fPIC -shared'
8218 if test -d /usr
/nec
; then
8219 lt_prog_compiler_pic
=-Kconform_pic
8224 lt_prog_compiler_pic
='-fPIC'
8228 case $cc_basename in
8229 nvcc
*) # Cuda Compiler Driver 2.2
8230 lt_prog_compiler_wl
='-Xlinker '
8231 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8235 # PORTME Check for flag to pass linker flags through the system compiler.
8238 lt_prog_compiler_wl
='-Wl,'
8239 if test "$host_cpu" = ia64
; then
8240 # AIX 5 now supports IA64 processor
8241 lt_prog_compiler_static
='-Bstatic'
8243 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8247 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8248 # This hack is so that the source file can tell whether it is being
8249 # built for inclusion in a dll (and should export symbols for example).
8250 lt_prog_compiler_pic
='-DDLL_EXPORT'
8253 hpux9
* | hpux10
* | hpux11
*)
8254 lt_prog_compiler_wl
='-Wl,'
8255 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8262 lt_prog_compiler_pic
='+Z'
8265 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8266 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8269 irix5
* | irix6
* | nonstopux
*)
8270 lt_prog_compiler_wl
='-Wl,'
8271 # PIC (with -KPIC) is the default.
8272 lt_prog_compiler_static
='-non_shared'
8275 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8276 case $cc_basename in
8277 # old Intel for x86_64 which still supported -KPIC.
8279 lt_prog_compiler_wl
='-Wl,'
8280 lt_prog_compiler_pic
='-KPIC'
8281 lt_prog_compiler_static
='-static'
8283 # icc used to be incompatible with GCC.
8284 # ICC 10 doesn't accept -KPIC any more.
8286 lt_prog_compiler_wl
='-Wl,'
8287 lt_prog_compiler_pic
='-fPIC'
8288 lt_prog_compiler_static
='-static'
8290 # Lahey Fortran 8.1.
8292 lt_prog_compiler_wl
='-Wl,'
8293 lt_prog_compiler_pic
='--shared'
8294 lt_prog_compiler_static
='--static'
8296 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8297 # Portland Group compilers (*not* the Pentium gcc compiler,
8298 # which looks to be a dead project)
8299 lt_prog_compiler_wl
='-Wl,'
8300 lt_prog_compiler_pic
='-fpic'
8301 lt_prog_compiler_static
='-Bstatic'
8304 lt_prog_compiler_wl
='-Wl,'
8305 # All Alpha code is PIC.
8306 lt_prog_compiler_static
='-non_shared'
8308 xl
* | bgxl
* | bgf
* | mpixl
*)
8309 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8310 lt_prog_compiler_wl
='-Wl,'
8311 lt_prog_compiler_pic
='-qpic'
8312 lt_prog_compiler_static
='-qstaticlink'
8315 case `$CC -V 2>&1 | sed 5q` in
8316 *Sun\ F
* |
*Sun
*Fortran
*)
8317 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8318 lt_prog_compiler_pic
='-KPIC'
8319 lt_prog_compiler_static
='-Bstatic'
8320 lt_prog_compiler_wl
=''
8324 lt_prog_compiler_pic
='-KPIC'
8325 lt_prog_compiler_static
='-Bstatic'
8326 lt_prog_compiler_wl
='-Wl,'
8334 lt_prog_compiler_pic
='-KPIC'
8335 lt_prog_compiler_static
='-Bstatic'
8339 # QNX uses GNU C++, but need to define -shared option too, otherwise
8341 lt_prog_compiler_pic
='-fPIC -shared'
8344 osf3
* | osf4
* | osf5
*)
8345 lt_prog_compiler_wl
='-Wl,'
8346 # All OSF/1 code is PIC.
8347 lt_prog_compiler_static
='-non_shared'
8351 lt_prog_compiler_static
='-non_shared'
8355 lt_prog_compiler_pic
='-KPIC'
8356 lt_prog_compiler_static
='-Bstatic'
8357 case $cc_basename in
8359 lt_prog_compiler_wl
='-Qoption ld ';;
8361 lt_prog_compiler_wl
='-Wl,';;
8366 lt_prog_compiler_wl
='-Qoption ld '
8367 lt_prog_compiler_pic
='-PIC'
8368 lt_prog_compiler_static
='-Bstatic'
8371 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8372 lt_prog_compiler_wl
='-Wl,'
8373 lt_prog_compiler_pic
='-KPIC'
8374 lt_prog_compiler_static
='-Bstatic'
8378 if test -d /usr
/nec
;then
8379 lt_prog_compiler_pic
='-Kconform_pic'
8380 lt_prog_compiler_static
='-Bstatic'
8384 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8385 lt_prog_compiler_wl
='-Wl,'
8386 lt_prog_compiler_pic
='-KPIC'
8387 lt_prog_compiler_static
='-Bstatic'
8391 lt_prog_compiler_wl
='-Wl,'
8392 lt_prog_compiler_can_build_shared
=no
8396 lt_prog_compiler_pic
='-pic'
8397 lt_prog_compiler_static
='-Bstatic'
8401 lt_prog_compiler_can_build_shared
=no
8407 # For platforms which do not support PIC, -DPIC is meaningless:
8409 lt_prog_compiler_pic
=
8412 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8416 $as_echo "$lt_prog_compiler_pic" >&6; }
8424 # Check to make sure the PIC flag actually works.
8426 if test -n "$lt_prog_compiler_pic"; then
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8428 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8429 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8430 $as_echo_n "(cached) " >&6
8432 lt_cv_prog_compiler_pic_works
=no
8433 ac_outfile
=conftest.
$ac_objext
8434 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8435 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8436 # Insert the option either (1) after the last *FLAGS variable, or
8437 # (2) before a word containing "conftest.", or (3) at the end.
8438 # Note that $ac_compile itself does not contain backslashes and begins
8439 # with a dollar sign (not a hyphen), so the echo should work correctly.
8440 # The option is referenced via a variable to avoid confusing sed.
8441 lt_compile
=`echo "$ac_compile" | $SED \
8442 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8443 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8444 -e 's:$: $lt_compiler_flag:'`
8445 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8446 (eval "$lt_compile" 2>conftest.err
)
8448 cat conftest.err
>&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 if (exit $ac_status) && test -s "$ac_outfile"; then
8451 # The compiler can only warn and ignore the option if not recognized
8452 # So say no if there are warnings other than the usual output.
8453 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8454 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8455 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8456 lt_cv_prog_compiler_pic_works
=yes
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8463 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8465 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8466 case $lt_prog_compiler_pic in
8468 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8471 lt_prog_compiler_pic
=
8472 lt_prog_compiler_can_build_shared
=no
8483 # Check to make sure the static flag actually works.
8485 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8487 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8488 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8491 lt_cv_prog_compiler_static_works
=no
8492 save_LDFLAGS
="$LDFLAGS"
8493 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8494 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8495 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8496 # The linker can only warn and ignore the option if not recognized
8497 # So say no if there are warnings
8498 if test -s conftest.err
; then
8499 # Append any errors to the config.log.
8500 cat conftest.err
1>&5
8501 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8502 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8503 if diff conftest.exp conftest.er2
>/dev
/null
; then
8504 lt_cv_prog_compiler_static_works
=yes
8507 lt_cv_prog_compiler_static_works
=yes
8511 LDFLAGS
="$save_LDFLAGS"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8515 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8517 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8520 lt_prog_compiler_static
=
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8530 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8531 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8532 $as_echo_n "(cached) " >&6
8534 lt_cv_prog_compiler_c_o
=no
8535 $RM -r conftest
2>/dev
/null
8539 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8541 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8542 # Insert the option either (1) after the last *FLAGS variable, or
8543 # (2) before a word containing "conftest.", or (3) at the end.
8544 # Note that $ac_compile itself does not contain backslashes and begins
8545 # with a dollar sign (not a hyphen), so the echo should work correctly.
8546 lt_compile
=`echo "$ac_compile" | $SED \
8547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8549 -e 's:$: $lt_compiler_flag:'`
8550 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8551 (eval "$lt_compile" 2>out
/conftest.err
)
8553 cat out
/conftest.err
>&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8557 # The compiler can only warn and ignore the option if not recognized
8558 # So say no if there are warnings
8559 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8560 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8561 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8562 lt_cv_prog_compiler_c_o
=yes
8567 # SGI C++ compiler will create directory out/ii_files/ for
8568 # template instantiation
8569 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8570 $RM out
/* && rmdir out
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8577 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8585 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8586 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8587 $as_echo_n "(cached) " >&6
8589 lt_cv_prog_compiler_c_o
=no
8590 $RM -r conftest
2>/dev
/null
8594 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8596 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8597 # Insert the option either (1) after the last *FLAGS variable, or
8598 # (2) before a word containing "conftest.", or (3) at the end.
8599 # Note that $ac_compile itself does not contain backslashes and begins
8600 # with a dollar sign (not a hyphen), so the echo should work correctly.
8601 lt_compile
=`echo "$ac_compile" | $SED \
8602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8604 -e 's:$: $lt_compiler_flag:'`
8605 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8606 (eval "$lt_compile" 2>out
/conftest.err
)
8608 cat out
/conftest.err
>&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8612 # The compiler can only warn and ignore the option if not recognized
8613 # So say no if there are warnings
8614 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8615 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8616 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8617 lt_cv_prog_compiler_c_o
=yes
8622 # SGI C++ compiler will create directory out/ii_files/ for
8623 # template instantiation
8624 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8625 $RM out
/* && rmdir out
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8632 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8637 hard_links
="nottested"
8638 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8639 # do not overwrite the value of need_locks provided by the user
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8641 $as_echo_n "checking if we can lock with hard links... " >&6; }
8644 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8646 ln conftest.a conftest.b
2>&5 || hard_links
=no
8647 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8649 $as_echo "$hard_links" >&6; }
8650 if test "$hard_links" = no
; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8652 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8665 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8668 allow_undefined_flag
=
8669 always_export_symbols
=no
8671 archive_expsym_cmds
=
8672 compiler_needs_object
=no
8673 enable_shared_with_static_runtimes
=no
8674 export_dynamic_flag_spec
=
8675 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8676 hardcode_automatic
=no
8678 hardcode_direct_absolute
=no
8679 hardcode_libdir_flag_spec
=
8680 hardcode_libdir_flag_spec_ld
=
8681 hardcode_libdir_separator
=
8683 hardcode_shlibpath_var
=unsupported
8685 link_all_deplibs
=unknown
8688 old_archive_from_new_cmds
=
8689 old_archive_from_expsyms_cmds
=
8690 thread_safe_flag_spec
=
8691 whole_archive_flag_spec
=
8692 # include_expsyms should be a list of space-separated symbols to be *always*
8693 # included in the symbol list
8695 # exclude_expsyms can be an extended regexp of symbols to exclude
8696 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8697 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8698 # as well as any symbol that contains `d'.
8699 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8700 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8701 # platforms (ab)use it in PIC code, but their linkers get confused if
8702 # the symbol is explicitly referenced. Since portable code cannot
8703 # rely on this symbol name, it's probably fine to never include it in
8704 # preloaded symbol tables.
8705 # Exclude shared library initialization/finalization symbols.
8706 extract_expsyms_cmds
=
8709 cygwin
* | mingw
* | pw32
* | cegcc
*)
8710 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8711 # When not using gcc, we currently assume that we are using
8712 # Microsoft Visual C++.
8713 if test "$GCC" != yes; then
8718 # we just hope/assume this is gcc and not c89 (= MSVC++)
8728 # On some targets, GNU ld is compatible enough with the native linker
8729 # that we're better off using the native interface for both.
8730 lt_use_gnu_ld_interface
=no
8731 if test "$with_gnu_ld" = yes; then
8734 # The AIX port of GNU ld has always aspired to compatibility
8735 # with the native linker. However, as the warning in the GNU ld
8736 # block says, versions before 2.19.5* couldn't really create working
8737 # shared libraries, regardless of the interface used.
8738 case `$LD -v 2>&1` in
8739 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8740 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8741 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8743 lt_use_gnu_ld_interface
=yes
8748 lt_use_gnu_ld_interface
=yes
8753 if test "$lt_use_gnu_ld_interface" = yes; then
8754 # If archive_cmds runs LD, not CC, wlarc should be empty
8757 # Set some defaults for GNU ld with shared library support. These
8758 # are reset later if shared libraries are not supported. Putting them
8759 # here allows them to be overridden if necessary.
8760 runpath_var
=LD_RUN_PATH
8761 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8762 export_dynamic_flag_spec
='${wl}--export-dynamic'
8763 # ancient GNU ld didn't support --whole-archive et. al.
8764 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8765 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8767 whole_archive_flag_spec
=
8769 supports_anon_versioning
=no
8770 case `$LD -v 2>&1` in
8771 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8772 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8773 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8774 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8775 *\
2.11.
*) ;; # other 2.11 versions
8776 *) supports_anon_versioning
=yes ;;
8779 # See if GNU ld supports shared libraries.
8782 # On AIX/PPC, the GNU linker is very broken
8783 if test "$host_cpu" != ia64
; then
8787 *** Warning: the GNU linker, at least up to release 2.19, is reported
8788 *** to be unable to reliably create shared libraries on AIX.
8789 *** Therefore, libtool is disabling shared libraries support. If you
8790 *** really care for shared libraries, you may want to install binutils
8791 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8792 *** You will then need to restart the configuration process.
8801 # see comment about AmigaOS4 .so support
8802 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8803 archive_expsym_cmds
=''
8806 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)'
8807 hardcode_libdir_flag_spec
='-L$libdir'
8808 hardcode_minus_L
=yes
8814 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8815 allow_undefined_flag
=unsupported
8816 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8817 # support --undefined. This deserves some investigation. FIXME
8818 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8824 cygwin
* | mingw
* | pw32
* | cegcc
*)
8825 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8826 # as there is no search path for DLLs.
8827 hardcode_libdir_flag_spec
='-L$libdir'
8828 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8829 allow_undefined_flag
=unsupported
8830 always_export_symbols
=no
8831 enable_shared_with_static_runtimes
=yes
8832 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8834 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8835 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8836 # If the export-symbols file already is a .def file (1st line
8837 # is EXPORTS), use it as is; otherwise, prepend...
8838 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8839 cp $export_symbols $output_objdir/$soname.def;
8841 echo EXPORTS > $output_objdir/$soname.def;
8842 cat $export_symbols >> $output_objdir/$soname.def;
8844 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8851 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8852 link_all_deplibs
=yes
8857 hardcode_shlibpath_var
=no
8858 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8859 export_dynamic_flag_spec
='${wl}-E'
8860 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8861 # Instead, shared libraries are loaded at an image base (0x10000000 by
8862 # default) and relocated if they conflict, which is a slow very memory
8863 # consuming and fragmenting process. To avoid this, we pick a random,
8864 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8865 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8866 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8867 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'
8870 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8872 if test "$host_os" = linux-dietlibc
; then
8873 case $cc_basename in
8874 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8877 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8878 && test "$tmp_diet" = no
8881 tmp_sharedflag
='-shared'
8882 case $cc_basename,$host_cpu in
8883 pgcc
*) # Portland Group C compiler
8884 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'
8885 tmp_addflag
=' $pic_flag'
8887 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8888 # Portland Group f77 and f90 compilers
8889 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'
8890 tmp_addflag
=' $pic_flag -Mnomain' ;;
8891 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8892 tmp_addflag
=' -i_dynamic' ;;
8893 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8894 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8895 ifc
* | ifort
*) # Intel Fortran compiler
8896 tmp_addflag
=' -nofor_main' ;;
8897 lf95
*) # Lahey Fortran 8.1
8898 whole_archive_flag_spec
=
8899 tmp_sharedflag
='--shared' ;;
8900 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8901 tmp_sharedflag
='-qmkshrobj'
8903 nvcc
*) # Cuda Compiler Driver 2.2
8904 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'
8905 compiler_needs_object
=yes
8908 case `$CC -V 2>&1 | sed 5q` in
8909 *Sun\ C
*) # Sun C 5.9
8910 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'
8911 compiler_needs_object
=yes
8912 tmp_sharedflag
='-G' ;;
8913 *Sun\ F
*) # Sun Fortran 8.3
8914 tmp_sharedflag
='-G' ;;
8916 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8918 if test "x$supports_anon_versioning" = xyes
; then
8919 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8920 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8921 echo "local: *; };" >> $output_objdir/$libname.ver~
8922 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8925 case $cc_basename in
8926 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8927 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8928 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8929 hardcode_libdir_flag_spec
=
8930 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8931 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8932 if test "x$supports_anon_versioning" = xyes
; then
8933 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8934 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8935 echo "local: *; };" >> $output_objdir/$libname.ver~
8936 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8946 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8947 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8950 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8951 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8956 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8960 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8961 *** create shared libraries on Solaris systems. Therefore, libtool
8962 *** is disabling shared libraries support. We urge you to upgrade GNU
8963 *** binutils to release 2.9.1 or newer. Another option is to modify
8964 *** your PATH or compiler configuration so that the native linker is
8965 *** used, and then restart.
8968 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8969 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8976 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8977 case `$LD -v 2>&1` in
8978 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8982 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8983 *** reliably create shared libraries on SCO systems. Therefore, libtool
8984 *** is disabling shared libraries support. We urge you to upgrade GNU
8985 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8986 *** your PATH or compiler configuration so that the native linker is
8987 *** used, and then restart.
8992 # For security reasons, it is highly recommended that you always
8993 # use absolute paths for naming shared libraries, and exclude the
8994 # DT_RUNPATH tag from executables and libraries. But doing so
8995 # requires that you compile everything twice, which is a pain.
8996 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8997 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8998 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8999 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9008 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9011 hardcode_shlibpath_var
=no
9015 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9016 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9024 if test "$ld_shlibs" = no
; then
9026 hardcode_libdir_flag_spec
=
9027 export_dynamic_flag_spec
=
9028 whole_archive_flag_spec
=
9031 # PORTME fill in a description of your system's linker (not GNU ld)
9034 allow_undefined_flag
=unsupported
9035 always_export_symbols
=yes
9036 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'
9037 # Note: this linker hardcodes the directories in LIBPATH if there
9038 # are no directories specified by -L.
9039 hardcode_minus_L
=yes
9040 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9041 # Neither direct hardcoding nor static linking is supported with a
9043 hardcode_direct
=unsupported
9048 if test "$host_cpu" = ia64
; then
9049 # On IA64, the linker does run time linking by default, so we don't
9050 # have to do anything special.
9051 aix_use_runtimelinking
=no
9052 exp_sym_flag
='-Bexport'
9055 # If we're using GNU nm, then we don't want the "-C" option.
9056 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9057 # Also, AIX nm treats weak defined symbols like other global
9058 # defined symbols, whereas GNU nm marks them as "W".
9059 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9060 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'
9062 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'
9064 aix_use_runtimelinking
=no
9066 # Test if we are trying to use run time linking or normal
9067 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9068 # need to do runtime linking.
9069 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9070 for ld_flag
in $LDFLAGS; do
9071 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9072 aix_use_runtimelinking
=yes
9079 exp_sym_flag
='-bexport'
9080 no_entry_flag
='-bnoentry'
9083 # When large executables or shared objects are built, AIX ld can
9084 # have problems creating the table of contents. If linking a library
9085 # or program results in "error TOC overflow" add -mminimal-toc to
9086 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9087 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9091 hardcode_direct_absolute
=yes
9092 hardcode_libdir_separator
=':'
9093 link_all_deplibs
=yes
9094 file_list_spec
='${wl}-f,'
9096 if test "$GCC" = yes; then
9097 case $host_os in aix4.
[012]|aix4.
[012].
*)
9098 # We only want to do this on AIX 4.2 and lower, the check
9099 # below for broken collect2 doesn't work under 4.3+
9100 collect2name
=`${CC} -print-prog-name=collect2`
9101 if test -f "$collect2name" &&
9102 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9104 # We have reworked collect2
9107 # We have old collect2
9108 hardcode_direct
=unsupported
9109 # It fails to find uninstalled libraries when the uninstalled
9110 # path is not listed in the libpath. Setting hardcode_minus_L
9111 # to unsupported forces relinking
9112 hardcode_minus_L
=yes
9113 hardcode_libdir_flag_spec
='-L$libdir'
9114 hardcode_libdir_separator
=
9118 shared_flag
='-shared'
9119 if test "$aix_use_runtimelinking" = yes; then
9120 shared_flag
="$shared_flag "'${wl}-G'
9124 if test "$host_cpu" = ia64
; then
9125 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9126 # chokes on -Wl,-G. The following line is correct:
9129 if test "$aix_use_runtimelinking" = yes; then
9130 shared_flag
='${wl}-G'
9132 shared_flag
='${wl}-bM:SRE'
9137 export_dynamic_flag_spec
='${wl}-bexpall'
9138 # It seems that -bexpall does not export symbols beginning with
9139 # underscore (_), so it is better to generate a list of symbols to export.
9140 always_export_symbols
=yes
9141 if test "$aix_use_runtimelinking" = yes; then
9142 # Warning - without using the other runtime loading flags (-brtl),
9143 # -berok will link without error, but may produce a broken library.
9144 allow_undefined_flag
='-berok'
9145 # Determine the default libpath from the value encoded in an
9147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9158 if ac_fn_c_try_link
"$LINENO"; then :
9160 lt_aix_libpath_sed
='
9161 /Import File Strings/,/^$/ {
9167 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9168 # Check for a 64-bit object if we didn't find anything.
9169 if test -z "$aix_libpath"; then
9170 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9173 rm -f core conftest.err conftest.
$ac_objext \
9174 conftest
$ac_exeext conftest.
$ac_ext
9175 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9177 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9178 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"
9180 if test "$host_cpu" = ia64
; then
9181 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9182 allow_undefined_flag
="-z nodefs"
9183 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"
9185 # Determine the default libpath from the value encoded in an
9187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9198 if ac_fn_c_try_link
"$LINENO"; then :
9200 lt_aix_libpath_sed
='
9201 /Import File Strings/,/^$/ {
9207 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9208 # Check for a 64-bit object if we didn't find anything.
9209 if test -z "$aix_libpath"; then
9210 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9213 rm -f core conftest.err conftest.
$ac_objext \
9214 conftest
$ac_exeext conftest.
$ac_ext
9215 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9217 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9218 # Warning - without using the other run time loading flags,
9219 # -berok will link without error, but may produce a broken library.
9220 no_undefined_flag
=' ${wl}-bernotok'
9221 allow_undefined_flag
=' ${wl}-berok'
9222 if test "$with_gnu_ld" = yes; then
9223 # We only use this code for GNU lds that support --whole-archive.
9224 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9226 # Exported symbols can be pulled into shared objects from archives
9227 whole_archive_flag_spec
='$convenience'
9229 archive_cmds_need_lc
=yes
9230 # This is similar to how AIX traditionally builds its shared libraries.
9231 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'
9239 # see comment about AmigaOS4 .so support
9240 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9241 archive_expsym_cmds
=''
9244 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)'
9245 hardcode_libdir_flag_spec
='-L$libdir'
9246 hardcode_minus_L
=yes
9252 export_dynamic_flag_spec
=-rdynamic
9255 cygwin
* | mingw
* | pw32
* | cegcc
*)
9256 # When not using gcc, we currently assume that we are using
9257 # Microsoft Visual C++.
9258 # hardcode_libdir_flag_spec is actually meaningless, as there is
9259 # no search path for DLLs.
9260 hardcode_libdir_flag_spec
=' '
9261 allow_undefined_flag
=unsupported
9262 # Tell ltmain to make .lib files, not .a files.
9264 # Tell ltmain to make .dll files, not .so files.
9266 # FIXME: Setting linknames here is a bad hack.
9267 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9268 # The linker will automatically build a .lib file if we build a DLL.
9269 old_archive_from_new_cmds
='true'
9270 # FIXME: Should let the user specify the lib program.
9271 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9272 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9273 enable_shared_with_static_runtimes
=yes
9276 darwin
* | rhapsody
*)
9279 archive_cmds_need_lc
=no
9281 hardcode_automatic
=yes
9282 hardcode_shlibpath_var
=unsupported
9283 if test "$lt_cv_ld_force_load" = "yes"; then
9284 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\"`'
9286 whole_archive_flag_spec
=''
9288 link_all_deplibs
=yes
9289 allow_undefined_flag
="$_lt_dar_allow_undefined"
9290 case $cc_basename in
9291 ifort
*) _lt_dar_can_shared
=yes ;;
9292 *) _lt_dar_can_shared
=$GCC ;;
9294 if test "$_lt_dar_can_shared" = "yes"; then
9295 output_verbose_link_cmd
=func_echo_all
9296 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9297 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9298 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}"
9299 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}"
9308 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9309 hardcode_libdir_flag_spec
='-L$libdir'
9310 hardcode_shlibpath_var
=no
9313 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9314 # support. Future versions do this automatically, but an explicit c++rt0.o
9315 # does not break anything, and helps significantly (at the cost of a little
9318 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9319 hardcode_libdir_flag_spec
='-R$libdir'
9321 hardcode_shlibpath_var
=no
9324 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9326 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9328 hardcode_minus_L
=yes
9329 hardcode_shlibpath_var
=no
9332 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9333 freebsd
* | dragonfly
*)
9334 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9335 hardcode_libdir_flag_spec
='-R$libdir'
9337 hardcode_shlibpath_var
=no
9341 if test "$GCC" = yes; then
9342 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'
9344 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'
9346 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9347 hardcode_libdir_separator
=:
9350 # hardcode_minus_L: Not really in the search PATH,
9351 # but as the default location of the library.
9352 hardcode_minus_L
=yes
9353 export_dynamic_flag_spec
='${wl}-E'
9357 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9358 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9360 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9362 if test "$with_gnu_ld" = no
; then
9363 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9364 hardcode_libdir_flag_spec_ld
='+b $libdir'
9365 hardcode_libdir_separator
=:
9367 hardcode_direct_absolute
=yes
9368 export_dynamic_flag_spec
='${wl}-E'
9369 # hardcode_minus_L: Not really in the search PATH,
9370 # but as the default location of the library.
9371 hardcode_minus_L
=yes
9376 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9379 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9391 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9398 # Older versions of the 11.00 compiler do not understand -b yet
9399 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9401 $as_echo_n "checking if $CC understands -b... " >&6; }
9402 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9403 $as_echo_n "(cached) " >&6
9405 lt_cv_prog_compiler__b
=no
9406 save_LDFLAGS
="$LDFLAGS"
9407 LDFLAGS
="$LDFLAGS -b"
9408 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9409 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9410 # The linker can only warn and ignore the option if not recognized
9411 # So say no if there are warnings
9412 if test -s conftest.err
; then
9413 # Append any errors to the config.log.
9414 cat conftest.err
1>&5
9415 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9416 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9417 if diff conftest.exp conftest.er2
>/dev
/null
; then
9418 lt_cv_prog_compiler__b
=yes
9421 lt_cv_prog_compiler__b
=yes
9425 LDFLAGS
="$save_LDFLAGS"
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9429 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9431 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9432 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9434 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9440 if test "$with_gnu_ld" = no
; then
9441 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9442 hardcode_libdir_separator
=:
9447 hardcode_shlibpath_var
=no
9451 hardcode_direct_absolute
=yes
9452 export_dynamic_flag_spec
='${wl}-E'
9454 # hardcode_minus_L: Not really in the search PATH,
9455 # but as the default location of the library.
9456 hardcode_minus_L
=yes
9462 irix5
* | irix6
* | nonstopux
*)
9463 if test "$GCC" = yes; then
9464 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'
9465 # Try to use the -exported_symbol ld option, if it does not
9466 # work, assume that -exports_file does not work either and
9467 # implicitly export all symbols.
9468 save_LDFLAGS
="$LDFLAGS"
9469 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9474 if ac_fn_c_try_link
"$LINENO"; then :
9475 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'
9478 rm -f core conftest.err conftest.
$ac_objext \
9479 conftest
$ac_exeext conftest.
$ac_ext
9480 LDFLAGS
="$save_LDFLAGS"
9482 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'
9483 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'
9485 archive_cmds_need_lc
='no'
9486 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9487 hardcode_libdir_separator
=:
9489 link_all_deplibs
=yes
9493 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9494 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9496 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9498 hardcode_libdir_flag_spec
='-R$libdir'
9500 hardcode_shlibpath_var
=no
9504 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9506 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9507 hardcode_libdir_separator
=:
9508 hardcode_shlibpath_var
=no
9515 if test -f /usr
/libexec
/ld.so
; then
9517 hardcode_shlibpath_var
=no
9518 hardcode_direct_absolute
=yes
9519 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9520 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9521 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9522 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9523 export_dynamic_flag_spec
='${wl}-E'
9526 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9527 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9528 hardcode_libdir_flag_spec
='-R$libdir'
9531 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9532 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9542 hardcode_libdir_flag_spec
='-L$libdir'
9543 hardcode_minus_L
=yes
9544 allow_undefined_flag
=unsupported
9545 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'
9546 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9550 if test "$GCC" = yes; then
9551 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9552 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'
9554 allow_undefined_flag
=' -expect_unresolved \*'
9555 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'
9557 archive_cmds_need_lc
='no'
9558 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 hardcode_libdir_separator
=:
9562 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9563 if test "$GCC" = yes; then
9564 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9565 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'
9566 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9568 allow_undefined_flag
=' -expect_unresolved \*'
9569 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'
9570 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~
9571 $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'
9573 # Both c and cxx compiler support -rpath directly
9574 hardcode_libdir_flag_spec
='-rpath $libdir'
9576 archive_cmds_need_lc
='no'
9577 hardcode_libdir_separator
=:
9581 no_undefined_flag
=' -z defs'
9582 if test "$GCC" = yes; then
9584 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9586 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9588 case `$CC -V 2>&1` in
9591 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9592 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9593 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9597 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9599 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9603 hardcode_libdir_flag_spec
='-R$libdir'
9604 hardcode_shlibpath_var
=no
9606 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9608 # The compiler driver will combine and reorder linker options,
9609 # but understands `-z linker_flag'. GCC discards it without `$wl',
9610 # but is careful enough not to reorder.
9611 # Supported since Solaris 2.6 (maybe 2.5.1?)
9612 if test "$GCC" = yes; then
9613 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9615 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9619 link_all_deplibs
=yes
9623 if test "x$host_vendor" = xsequent
; then
9624 # Use $CC to link under sequent, because it throws in some extra .o
9625 # files that make .init and .fini sections work.
9626 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9630 hardcode_libdir_flag_spec
='-L$libdir'
9632 hardcode_minus_L
=yes
9633 hardcode_shlibpath_var
=no
9637 case $host_vendor in
9639 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9640 hardcode_direct
=yes # is this really true???
9643 ## LD is ld it makes a PLAMLIB
9644 ## CC just makes a GrossModule.
9645 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9646 reload_cmds
='$CC -r -o $output$reload_objs'
9650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9654 runpath_var
='LD_RUN_PATH'
9655 hardcode_shlibpath_var
=no
9659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_shlibpath_var
=no
9661 export_dynamic_flag_spec
='-Bexport'
9665 if test -d /usr
/nec
; then
9666 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9667 hardcode_shlibpath_var
=no
9668 runpath_var
=LD_RUN_PATH
9669 hardcode_runpath_var
=yes
9674 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9675 no_undefined_flag
='${wl}-z,text'
9676 archive_cmds_need_lc
=no
9677 hardcode_shlibpath_var
=no
9678 runpath_var
='LD_RUN_PATH'
9680 if test "$GCC" = yes; then
9681 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9682 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689 sysv5
* | sco3.2v5
* | sco5v6
*)
9690 # Note: We can NOT use -z defs as we might desire, because we do not
9691 # link with -lc, and that would cause any symbols used from libc to
9692 # always be unresolved, which means just about no library would
9693 # ever link correctly. If we're not using GNU ld we use -z text
9694 # though, which does catch some bad symbols but isn't as heavy-handed
9696 no_undefined_flag
='${wl}-z,text'
9697 allow_undefined_flag
='${wl}-z,nodefs'
9698 archive_cmds_need_lc
=no
9699 hardcode_shlibpath_var
=no
9700 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9701 hardcode_libdir_separator
=':'
9702 link_all_deplibs
=yes
9703 export_dynamic_flag_spec
='${wl}-Bexport'
9704 runpath_var
='LD_RUN_PATH'
9706 if test "$GCC" = yes; then
9707 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9708 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9717 hardcode_libdir_flag_spec
='-L$libdir'
9718 hardcode_shlibpath_var
=no
9726 if test x
$host_vendor = xsni
; then
9728 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9729 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9736 $as_echo "$ld_shlibs" >&6; }
9737 test "$ld_shlibs" = no
&& can_build_shared
=no
9739 with_gnu_ld
=$with_gnu_ld
9756 # Do we need to explicitly link libc?
9758 case "x$archive_cmds_need_lc" in
9760 # Assume -lc should be added
9761 archive_cmds_need_lc
=yes
9763 if test "$enable_shared" = yes && test "$GCC" = yes; then
9764 case $archive_cmds in
9766 # FIXME: we may have to deal with multi-command sequences.
9769 # Test whether the compiler implicitly links with -lc since on some
9770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9771 # to ld, don't add -lc before -lgcc.
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9773 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9774 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9775 $as_echo_n "(cached) " >&6
9778 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9781 (eval $ac_compile) 2>&5
9783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9784 test $ac_status = 0; } 2>conftest.err
; then
9787 libobjs
=conftest.
$ac_objext
9789 wl
=$lt_prog_compiler_wl
9790 pic_flag
=$lt_prog_compiler_pic
9796 lt_save_allow_undefined_flag
=$allow_undefined_flag
9797 allow_undefined_flag
=
9798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9799 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9802 test $ac_status = 0; }
9804 lt_cv_archive_cmds_need_lc
=no
9806 lt_cv_archive_cmds_need_lc
=yes
9808 allow_undefined_flag
=$lt_save_allow_undefined_flag
9810 cat conftest.err
1>&5
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9816 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9817 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9981 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9983 if test "$GCC" = yes; then
9985 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9986 *) lt_awk_arg
="/^libraries:/" ;;
9989 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9990 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9992 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9993 case $lt_search_path_spec in
9995 # if the path contains ";" then we assume it to be the separator
9996 # otherwise default to the standard path separator (i.e. ":") - it is
9997 # assumed that no part of a normal pathname contains ";" but that should
9998 # okay in the real world where ";" in dirpaths is itself problematic.
9999 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10002 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10005 # Ok, now we have the path, separated by spaces, we can step through it
10006 # and add multilib dir if necessary.
10007 lt_tmp_lt_search_path_spec
=
10008 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10009 for lt_sys_path
in $lt_search_path_spec; do
10010 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10011 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10013 test -d "$lt_sys_path" && \
10014 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10017 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10018 BEGIN {RS=" "; FS="/|\n";} {
10021 for (lt_i = NF; lt_i > 0; lt_i--) {
10022 if ($lt_i != "" && $lt_i != ".") {
10023 if ($lt_i == "..") {
10026 if (lt_count == 0) {
10027 lt_foo="/" $lt_i lt_foo;
10034 if (lt_foo != "") { lt_freq[lt_foo]++; }
10035 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10037 # AWK program above erroneously prepends '/' to C:/dos/paths
10040 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10041 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10043 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10045 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10047 library_names_spec
=
10048 libname_spec
='lib$name'
10052 postuninstall_cmds
=
10056 shlibpath_overrides_runpath
=unknown
10058 dynamic_linker
="$host_os ld.so"
10059 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10060 need_lib_prefix
=unknown
10061 hardcode_into_libs
=no
10063 # when you set need_version to no, make sure it does not cause -set_version
10064 # flags to be left without arguments
10065 need_version
=unknown
10070 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10071 shlibpath_var
=LIBPATH
10073 # AIX 3 has no versioning support, so we append a major version to the name.
10074 soname_spec
='${libname}${release}${shared_ext}$major'
10081 hardcode_into_libs
=yes
10082 if test "$host_cpu" = ia64
; then
10083 # AIX 5 supports IA64
10084 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10085 shlibpath_var
=LD_LIBRARY_PATH
10087 # With GCC up to 2.95.x, collect2 would create an import file
10088 # for dependence libraries. The import file would start with
10089 # the line `#! .'. This would cause the generated library to
10090 # depend on `.', always an invalid library. This was fixed in
10091 # development snapshots of GCC prior to 3.0.
10093 aix4 | aix4.
[01] | aix4.
[01].
*)
10094 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10096 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10099 can_build_shared
=no
10103 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10104 # soname into executable. Probably we can add versioning support to
10105 # collect2, so additional links can be useful in future.
10106 if test "$aix_use_runtimelinking" = yes; then
10107 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10108 # instead of lib<name>.a to let people know that these are not
10109 # typical AIX shared libraries.
10110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10112 # We preserve .a as extension for shared libraries through AIX4.2
10113 # and later when we are not doing run time linking.
10114 library_names_spec
='${libname}${release}.a $libname.a'
10115 soname_spec
='${libname}${release}${shared_ext}$major'
10117 shlibpath_var
=LIBPATH
10124 # Since July 2007 AmigaOS4 officially supports .so libraries.
10125 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 library_names_spec
='$libname.ixlibrary $libname.a'
10130 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10131 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'
10137 library_names_spec
='${libname}${shared_ext}'
10138 dynamic_linker
="$host_os ld.so"
10139 shlibpath_var
=LIBRARY_PATH
10145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146 soname_spec
='${libname}${release}${shared_ext}$major'
10147 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10148 shlibpath_var
=LD_LIBRARY_PATH
10149 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10150 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10151 # the default ld.so.conf also contains /usr/contrib/lib and
10152 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10153 # libtool to hard-code these into programs
10156 cygwin
* | mingw
* | pw32
* | cegcc
*)
10157 version_type
=windows
10162 case $GCC,$host_os in
10163 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10164 library_names_spec
='$libname.dll.a'
10165 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10166 postinstall_cmds
='base_file=`basename \${file}`~
10167 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10168 dldir=$destdir/`dirname \$dlpath`~
10169 test -d \$dldir || mkdir -p \$dldir~
10170 $install_prog $dir/$dlname \$dldir/$dlname~
10171 chmod a+x \$dldir/$dlname~
10172 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10173 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10175 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10176 dlpath=$dir/\$dldll~
10178 shlibpath_overrides_runpath
=yes
10182 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10183 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10185 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10188 # MinGW DLLs use traditional 'lib' prefix
10189 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10192 # pw32 DLLs use 'pw' prefix rather than 'lib'
10193 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10199 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10202 dynamic_linker
='Win32 ld.exe'
10203 # FIXME: first we should search . and the directory the executable is in
10207 darwin
* | rhapsody
*)
10208 dynamic_linker
="$host_os dyld"
10209 version_type
=darwin
10212 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10213 soname_spec
='${libname}${release}${major}$shared_ext'
10214 shlibpath_overrides_runpath
=yes
10215 shlibpath_var
=DYLD_LIBRARY_PATH
10216 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10218 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10219 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10227 soname_spec
='${libname}${release}${shared_ext}$major'
10228 shlibpath_var
=LD_LIBRARY_PATH
10231 freebsd
* | dragonfly
*)
10232 # DragonFly does not have aout. When/if they implement a new
10233 # versioning mechanism, adjust this.
10234 if test -x /usr
/bin
/objformat
; then
10235 objformat
=`/usr/bin/objformat`
10238 freebsd
[23].
*) objformat
=aout
;;
10239 *) objformat
=elf
;;
10242 version_type
=freebsd-
$objformat
10243 case $version_type in
10245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10250 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10254 shlibpath_var
=LD_LIBRARY_PATH
10257 shlibpath_overrides_runpath
=yes
10259 freebsd3.
[01]* | freebsdelf3.
[01]*)
10260 shlibpath_overrides_runpath
=yes
10261 hardcode_into_libs
=yes
10263 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10264 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10265 shlibpath_overrides_runpath
=no
10266 hardcode_into_libs
=yes
10268 *) # from 4.6 on, and DragonFly
10269 shlibpath_overrides_runpath
=yes
10270 hardcode_into_libs
=yes
10279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10280 soname_spec
='${libname}${release}${shared_ext}$major'
10281 shlibpath_var
=LD_LIBRARY_PATH
10282 hardcode_into_libs
=yes
10289 dynamic_linker
="$host_os runtime_loader"
10290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10291 soname_spec
='${libname}${release}${shared_ext}$major'
10292 shlibpath_var
=LIBRARY_PATH
10293 shlibpath_overrides_runpath
=yes
10294 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10295 hardcode_into_libs
=yes
10298 hpux9
* | hpux10
* | hpux11
*)
10299 # Give a soname corresponding to the major version so that dld.sl refuses to
10300 # link against other versions.
10307 hardcode_into_libs
=yes
10308 dynamic_linker
="$host_os dld.so"
10309 shlibpath_var
=LD_LIBRARY_PATH
10310 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10312 soname_spec
='${libname}${release}${shared_ext}$major'
10313 if test "X$HPUX_IA64_MODE" = X32
; then
10314 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10316 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10318 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10322 hardcode_into_libs
=yes
10323 dynamic_linker
="$host_os dld.sl"
10324 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10325 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327 soname_spec
='${libname}${release}${shared_ext}$major'
10328 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10329 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10333 dynamic_linker
="$host_os dld.sl"
10334 shlibpath_var
=SHLIB_PATH
10335 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10337 soname_spec
='${libname}${release}${shared_ext}$major'
10340 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10341 postinstall_cmds
='chmod 555 $lib'
10342 # or fails outright, so override atomically:
10343 install_override_mode
=555
10350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10351 soname_spec
='${libname}${release}${shared_ext}$major'
10352 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10353 shlibpath_var
=LD_LIBRARY_PATH
10354 shlibpath_overrides_runpath
=no
10355 hardcode_into_libs
=yes
10358 irix5
* | irix6
* | nonstopux
*)
10360 nonstopux
*) version_type
=nonstopux
;;
10362 if test "$lt_cv_prog_gnu_ld" = yes; then
10370 soname_spec
='${libname}${release}${shared_ext}$major'
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10373 irix5
* | nonstopux
*)
10374 libsuff
= shlibsuff
=
10377 case $LD in # libtool.m4 will add one of these switches to LD
10378 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10379 libsuff
= shlibsuff
= libmagic
=32-bit;;
10380 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10381 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10382 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10383 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10384 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10388 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10389 shlibpath_overrides_runpath
=no
10390 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10391 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10392 hardcode_into_libs
=yes
10395 # No shared lib support for Linux oldld, aout, or coff.
10396 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10400 # This must be Linux ELF.
10401 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10408 shlibpath_var
=LD_LIBRARY_PATH
10409 shlibpath_overrides_runpath
=no
10411 # Some binutils ld are patched to set DT_RUNPATH
10412 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10413 $as_echo_n "(cached) " >&6
10415 lt_cv_shlibpath_overrides_runpath
=no
10416 save_LDFLAGS
=$LDFLAGS
10417 save_libdir
=$libdir
10418 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10419 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10431 if ac_fn_c_try_link
"$LINENO"; then :
10432 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10433 lt_cv_shlibpath_overrides_runpath
=yes
10436 rm -f core conftest.err conftest.
$ac_objext \
10437 conftest
$ac_exeext conftest.
$ac_ext
10438 LDFLAGS
=$save_LDFLAGS
10439 libdir
=$save_libdir
10443 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10445 # This implies no fast_install, which is unacceptable.
10446 # Some rework will be needed to allow for fast_install
10447 # before this can be enabled.
10448 hardcode_into_libs
=yes
10450 # Append ld.so.conf contents to the search path
10451 if test -f /etc
/ld.so.conf
; then
10452 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' ' '`
10453 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10456 # We used to test for /lib/ld.so.1 and disable shared libraries on
10457 # powerpc, because MkLinux only supported shared libraries with the
10458 # GNU dynamic linker. Since this was broken with cross compilers,
10459 # most powerpc-linux boxes support dynamic linking these days and
10460 # people can always --disable-shared, the test was removed, and we
10461 # assume the GNU/Linux dynamic linker is in use.
10462 dynamic_linker
='GNU/Linux ld.so'
10469 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10471 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10472 dynamic_linker
='NetBSD (a.out) ld.so'
10474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10475 soname_spec
='${libname}${release}${shared_ext}$major'
10476 dynamic_linker
='NetBSD ld.elf_so'
10478 shlibpath_var
=LD_LIBRARY_PATH
10479 shlibpath_overrides_runpath
=yes
10480 hardcode_into_libs
=yes
10485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10486 shlibpath_var
=LD_LIBRARY_PATH
10487 shlibpath_overrides_runpath
=yes
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495 soname_spec
='${libname}${release}${shared_ext}$major'
10496 shlibpath_var
=LD_LIBRARY_PATH
10497 shlibpath_overrides_runpath
=no
10498 hardcode_into_libs
=yes
10499 dynamic_linker
='ldqnx.so'
10504 sys_lib_dlsearch_path_spec
="/usr/lib"
10506 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10508 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10509 *) need_version
=no
;;
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10512 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10513 shlibpath_var
=LD_LIBRARY_PATH
10514 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10516 openbsd2.
[89] | openbsd2.
[89].
*)
10517 shlibpath_overrides_runpath
=no
10520 shlibpath_overrides_runpath
=yes
10524 shlibpath_overrides_runpath
=yes
10529 libname_spec
='$name'
10532 library_names_spec
='$libname${shared_ext} $libname.a'
10533 dynamic_linker
='OS/2 ld.exe'
10534 shlibpath_var
=LIBPATH
10537 osf3
* | osf4
* | osf5
*)
10541 soname_spec
='${libname}${release}${shared_ext}$major'
10542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 shlibpath_var
=LD_LIBRARY_PATH
10544 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10545 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557 soname_spec
='${libname}${release}${shared_ext}$major'
10558 shlibpath_var
=LD_LIBRARY_PATH
10559 shlibpath_overrides_runpath
=yes
10560 hardcode_into_libs
=yes
10561 # ldd complains unless libraries are executable
10562 postinstall_cmds
='chmod +x $lib'
10567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10568 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10569 shlibpath_var
=LD_LIBRARY_PATH
10570 shlibpath_overrides_runpath
=yes
10571 if test "$with_gnu_ld" = yes; then
10579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec
='${libname}${release}${shared_ext}$major'
10581 shlibpath_var
=LD_LIBRARY_PATH
10582 case $host_vendor in
10584 shlibpath_overrides_runpath
=no
10586 runpath_var
=LD_RUN_PATH
10594 shlibpath_overrides_runpath
=no
10595 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10601 if test -d /usr
/nec
;then
10603 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10604 soname_spec
='$libname${shared_ext}.$major'
10605 shlibpath_var
=LD_LIBRARY_PATH
10609 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10610 version_type
=freebsd-elf
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10614 soname_spec
='${libname}${release}${shared_ext}$major'
10615 shlibpath_var
=LD_LIBRARY_PATH
10616 shlibpath_overrides_runpath
=yes
10617 hardcode_into_libs
=yes
10618 if test "$with_gnu_ld" = yes; then
10619 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10621 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10624 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10628 sys_lib_dlsearch_path_spec
='/usr/lib'
10632 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 shlibpath_var
=LD_LIBRARY_PATH
10638 shlibpath_overrides_runpath
=no
10639 hardcode_into_libs
=yes
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 soname_spec
='${libname}${release}${shared_ext}$major'
10646 shlibpath_var
=LD_LIBRARY_PATH
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10654 $as_echo "$dynamic_linker" >&6; }
10655 test "$dynamic_linker" = no
&& can_build_shared
=no
10657 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10658 if test "$GCC" = yes; then
10659 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10662 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10663 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10665 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10666 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10761 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10763 if test -n "$hardcode_libdir_flag_spec" ||
10764 test -n "$runpath_var" ||
10765 test "X$hardcode_automatic" = "Xyes" ; then
10767 # We can hardcode non-existent directories.
10768 if test "$hardcode_direct" != no
&&
10769 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10770 # have to relink, otherwise we might link with an installed library
10771 # when we should be linking with a yet-to-be-installed one
10772 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10773 test "$hardcode_minus_L" != no
; then
10774 # Linking always hardcodes the temporary library directory.
10775 hardcode_action
=relink
10777 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10778 hardcode_action
=immediate
10781 # We cannot hardcode anything, or else we can only hardcode existing
10783 hardcode_action
=unsupported
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10786 $as_echo "$hardcode_action" >&6; }
10788 if test "$hardcode_action" = relink ||
10789 test "$inherit_rpath" = yes; then
10790 # Fast installation is not supported
10791 enable_fast_install
=no
10792 elif test "$shlibpath_overrides_runpath" = yes ||
10793 test "$enable_shared" = no
; then
10794 # Fast installation is not necessary
10795 enable_fast_install
=needless
10803 if test "x$enable_dlopen" != xyes
; then
10804 enable_dlopen
=unknown
10805 enable_dlopen_self
=unknown
10806 enable_dlopen_self_static
=unknown
10813 lt_cv_dlopen
="load_add_on"
10815 lt_cv_dlopen_self
=yes
10818 mingw
* | pw32
* | cegcc
*)
10819 lt_cv_dlopen
="LoadLibrary"
10824 lt_cv_dlopen
="dlopen"
10829 # if libdl is installed we need to link against it
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10831 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10832 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10833 $as_echo_n "(cached) " >&6
10835 ac_check_lib_save_LIBS
=$LIBS
10837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10855 if ac_fn_c_try_link
"$LINENO"; then :
10856 ac_cv_lib_dl_dlopen
=yes
10858 ac_cv_lib_dl_dlopen
=no
10860 rm -f core conftest.err conftest.
$ac_objext \
10861 conftest
$ac_exeext conftest.
$ac_ext
10862 LIBS
=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10865 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10866 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10867 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10870 lt_cv_dlopen
="dyld"
10872 lt_cv_dlopen_self
=yes
10879 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10880 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10881 lt_cv_dlopen
="shl_load"
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10884 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10885 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10886 $as_echo_n "(cached) " >&6
10888 ac_check_lib_save_LIBS
=$LIBS
10890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10903 return shl_load ();
10908 if ac_fn_c_try_link
"$LINENO"; then :
10909 ac_cv_lib_dld_shl_load
=yes
10911 ac_cv_lib_dld_shl_load
=no
10913 rm -f core conftest.err conftest.
$ac_objext \
10914 conftest
$ac_exeext conftest.
$ac_ext
10915 LIBS
=$ac_check_lib_save_LIBS
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10918 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10919 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10920 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10922 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10923 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10924 lt_cv_dlopen
="dlopen"
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10927 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10928 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10929 $as_echo_n "(cached) " >&6
10931 ac_check_lib_save_LIBS
=$LIBS
10933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10951 if ac_fn_c_try_link
"$LINENO"; then :
10952 ac_cv_lib_dl_dlopen
=yes
10954 ac_cv_lib_dl_dlopen
=no
10956 rm -f core conftest.err conftest.
$ac_objext \
10957 conftest
$ac_exeext conftest.
$ac_ext
10958 LIBS
=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10961 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10962 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10963 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10966 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10967 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10968 $as_echo_n "(cached) " >&6
10970 ac_check_lib_save_LIBS
=$LIBS
10971 LIBS
="-lsvld $LIBS"
10972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10990 if ac_fn_c_try_link
"$LINENO"; then :
10991 ac_cv_lib_svld_dlopen
=yes
10993 ac_cv_lib_svld_dlopen
=no
10995 rm -f core conftest.err conftest.
$ac_objext \
10996 conftest
$ac_exeext conftest.
$ac_ext
10997 LIBS
=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11000 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11001 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11002 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11005 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11006 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11007 $as_echo_n "(cached) " >&6
11009 ac_check_lib_save_LIBS
=$LIBS
11011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11024 return dld_link ();
11029 if ac_fn_c_try_link
"$LINENO"; then :
11030 ac_cv_lib_dld_dld_link
=yes
11032 ac_cv_lib_dld_dld_link
=no
11034 rm -f core conftest.err conftest.
$ac_objext \
11035 conftest
$ac_exeext conftest.
$ac_ext
11036 LIBS
=$ac_check_lib_save_LIBS
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11039 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11040 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11041 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11062 if test "x$lt_cv_dlopen" != xno
; then
11068 case $lt_cv_dlopen in
11070 save_CPPFLAGS
="$CPPFLAGS"
11071 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11073 save_LDFLAGS
="$LDFLAGS"
11074 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11077 LIBS
="$lt_cv_dlopen_libs $LIBS"
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11080 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11081 if test "${lt_cv_dlopen_self+set}" = set; then :
11082 $as_echo_n "(cached) " >&6
11084 if test "$cross_compiling" = yes; then :
11085 lt_cv_dlopen_self
=cross
11087 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11088 lt_status
=$lt_dlunknown
11089 cat > conftest.
$ac_ext <<_LT_EOF
11090 #line 11090 "configure"
11091 #include "confdefs.h"
11100 # define LT_DLGLOBAL RTLD_GLOBAL
11103 # define LT_DLGLOBAL DL_GLOBAL
11105 # define LT_DLGLOBAL 0
11109 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11110 find out it does not work in some platform. */
11111 #ifndef LT_DLLAZY_OR_NOW
11113 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11116 # define LT_DLLAZY_OR_NOW DL_LAZY
11119 # define LT_DLLAZY_OR_NOW RTLD_NOW
11122 # define LT_DLLAZY_OR_NOW DL_NOW
11124 # define LT_DLLAZY_OR_NOW 0
11131 /* When -fvisbility=hidden is used, assume the code has been annotated
11132 correspondingly for the symbols needed. */
11133 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11134 void fnord () __attribute__((visibility("default")));
11137 void fnord () { int i=42; }
11140 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11141 int status = $lt_dlunknown;
11145 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11148 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11149 else puts (dlerror ());
11151 /* dlclose (self); */
11159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11160 (eval $ac_link) 2>&5
11162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11163 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11164 (.
/conftest
; exit; ) >&5 2>/dev
/null
11166 case x
$lt_status in
11167 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11168 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11169 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11172 # compilation failed
11173 lt_cv_dlopen_self
=no
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11181 $as_echo "$lt_cv_dlopen_self" >&6; }
11183 if test "x$lt_cv_dlopen_self" = xyes
; then
11184 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11186 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11187 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11188 $as_echo_n "(cached) " >&6
11190 if test "$cross_compiling" = yes; then :
11191 lt_cv_dlopen_self_static
=cross
11193 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11194 lt_status
=$lt_dlunknown
11195 cat > conftest.
$ac_ext <<_LT_EOF
11196 #line 11196 "configure"
11197 #include "confdefs.h"
11206 # define LT_DLGLOBAL RTLD_GLOBAL
11209 # define LT_DLGLOBAL DL_GLOBAL
11211 # define LT_DLGLOBAL 0
11215 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11216 find out it does not work in some platform. */
11217 #ifndef LT_DLLAZY_OR_NOW
11219 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11222 # define LT_DLLAZY_OR_NOW DL_LAZY
11225 # define LT_DLLAZY_OR_NOW RTLD_NOW
11228 # define LT_DLLAZY_OR_NOW DL_NOW
11230 # define LT_DLLAZY_OR_NOW 0
11237 /* When -fvisbility=hidden is used, assume the code has been annotated
11238 correspondingly for the symbols needed. */
11239 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11240 void fnord () __attribute__((visibility("default")));
11243 void fnord () { int i=42; }
11246 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11247 int status = $lt_dlunknown;
11251 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11254 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11255 else puts (dlerror ());
11257 /* dlclose (self); */
11265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11266 (eval $ac_link) 2>&5
11268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11269 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11270 (.
/conftest
; exit; ) >&5 2>/dev
/null
11272 case x
$lt_status in
11273 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11274 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11275 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11278 # compilation failed
11279 lt_cv_dlopen_self_static
=no
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11287 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11290 CPPFLAGS
="$save_CPPFLAGS"
11291 LDFLAGS
="$save_LDFLAGS"
11296 case $lt_cv_dlopen_self in
11297 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11298 *) enable_dlopen_self
=unknown
;;
11301 case $lt_cv_dlopen_self_static in
11302 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11303 *) enable_dlopen_self_static
=unknown
;;
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11326 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11327 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11328 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11329 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11331 $as_echo "yes" >&6; }
11333 # FIXME - insert some real tests, host_os isn't really good enough
11336 if test -n "$STRIP" ; then
11337 striplib
="$STRIP -x"
11338 old_striplib
="$STRIP -S"
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11340 $as_echo "yes" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11348 $as_echo "no" >&6; }
11364 # Report which library types will actually be built
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11366 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11368 $as_echo "$can_build_shared" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11371 $as_echo_n "checking whether to build shared libraries... " >&6; }
11372 test "$can_build_shared" = "no" && enable_shared
=no
11374 # On AIX, shared libraries and static libraries use the same namespace, and
11375 # are all built from PIC.
11378 test "$enable_shared" = yes && enable_static
=no
11379 if test -n "$RANLIB"; then
11380 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11381 postinstall_cmds
='$RANLIB $lib'
11386 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11387 test "$enable_shared" = yes && enable_static
=no
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11392 $as_echo "$enable_shared" >&6; }
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11395 $as_echo_n "checking whether to build static libraries... " >&6; }
11396 # Make sure either enable_shared or enable_static is yes.
11397 test "$enable_shared" = yes || enable_static
=yes
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11399 $as_echo "$enable_static" >&6; }
11406 ac_cpp
='$CPP $CPPFLAGS'
11407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11425 ac_config_commands
="$ac_config_commands libtool"
11430 # Only expand once:
11437 *-cygwin* |
*-mingw*)
11438 # 'host' will be top-level target in the case of a target lib,
11439 # we must compare to with_cross_host to decide if this is a native
11440 # or cross-compiler and select where to install dlls appropriately.
11441 if test -n "$with_cross_host" &&
11442 test x
"$with_cross_host" != x
"no"; then
11443 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11445 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11460 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11461 # Check whether --enable-maintainer-mode was given.
11462 if test "${enable_maintainer_mode+set}" = set; then :
11463 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11465 USE_MAINTAINER_MODE
=no
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11469 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11470 if test $USE_MAINTAINER_MODE = yes; then
11471 MAINTAINER_MODE_TRUE
=
11472 MAINTAINER_MODE_FALSE
='#'
11474 MAINTAINER_MODE_TRUE
='#'
11475 MAINTAINER_MODE_FALSE
=
11478 MAINT
=$MAINTAINER_MODE_TRUE
11482 # Create a spec file, so that compile/link tests don't fail
11483 test -f libgfortran.spec ||
touch libgfortran.spec
11484 FCFLAGS
="$FCFLAGS -L."
11486 # We need gfortran to compile parts of the library
11487 # We can't use AC_PROG_FC because it expects a fully working gfortran.
11488 #AC_PROG_FC(gfortran)
11489 case `echo $GFORTRAN` in
11493 set dummy
$GFORTRAN; ac_word
=$2
11494 if test -x "$ac_word"; then
11500 ac_ext
=${ac_fc_srcext-f}
11501 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11502 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11503 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11504 if test -n "$ac_tool_prefix"; then
11505 for ac_prog
in gfortran
11507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11508 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11510 $as_echo_n "checking for $ac_word... " >&6; }
11511 if test "${ac_cv_prog_FC+set}" = set; then :
11512 $as_echo_n "(cached) " >&6
11514 if test -n "$FC"; then
11515 ac_cv_prog_FC
="$FC" # Let the user override the test.
11517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11518 for as_dir
in $PATH
11521 test -z "$as_dir" && as_dir
=.
11522 for ac_exec_ext
in '' $ac_executable_extensions; do
11523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11524 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11535 if test -n "$FC"; then
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11537 $as_echo "$FC" >&6; }
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11540 $as_echo "no" >&6; }
11544 test -n "$FC" && break
11547 if test -z "$FC"; then
11549 for ac_prog
in gfortran
11551 # Extract the first word of "$ac_prog", so it can be a program name with args.
11552 set dummy
$ac_prog; ac_word
=$2
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11554 $as_echo_n "checking for $ac_word... " >&6; }
11555 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11556 $as_echo_n "(cached) " >&6
11558 if test -n "$ac_ct_FC"; then
11559 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11562 for as_dir
in $PATH
11565 test -z "$as_dir" && as_dir
=.
11566 for ac_exec_ext
in '' $ac_executable_extensions; do
11567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11568 ac_cv_prog_ac_ct_FC
="$ac_prog"
11569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11578 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11579 if test -n "$ac_ct_FC"; then
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11581 $as_echo "$ac_ct_FC" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11584 $as_echo "no" >&6; }
11588 test -n "$ac_ct_FC" && break
11591 if test "x$ac_ct_FC" = x
; then
11594 case $cross_compiling:$ac_tool_warned in
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11598 ac_tool_warned
=yes ;;
11605 # Provide some information about the compiler.
11606 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11609 for ac_option
in --version -v -V -qversion; do
11610 { { ac_try
="$ac_compiler $ac_option >&5"
11611 case "(($ac_try" in
11612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11613 *) ac_try_echo=$ac_try;;
11615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11616 $as_echo "$ac_try_echo"; } >&5
11617 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11619 if test -s conftest.err; then
11621 ... rest of stderr output deleted ...
11622 10q' conftest.err >conftest.er1
11623 cat conftest.er1 >&5
11624 rm -f conftest.er1 conftest.err
11626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11627 test $ac_status = 0; }
11631 # If we don't use `.F
' as extension, the preprocessor is not run on the
11632 # input file. (Note that this only needs to work for GNU compilers.)
11633 ac_save_ext=$ac_ext
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11636 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11637 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11638 $as_echo_n "(cached) " >&6
11640 cat > conftest.$ac_ext <<_ACEOF
11648 if ac_fn_fc_try_compile "$LINENO"; then :
11649 ac_compiler_gnu=yes
11653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11654 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11658 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11659 ac_ext=$ac_save_ext
11660 ac_test_FCFLAGS=${FCFLAGS+set}
11661 ac_save_FCFLAGS=$FCFLAGS
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11664 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11665 if test "${ac_cv_prog_fc_g+set}" = set; then :
11666 $as_echo_n "(cached) " >&6
11669 cat > conftest.$ac_ext <<_ACEOF
11674 if ac_fn_fc_try_compile "$LINENO"; then :
11675 ac_cv_prog_fc_g=yes
11679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11683 $as_echo "$ac_cv_prog_fc_g" >&6; }
11684 if test "$ac_test_FCFLAGS" = set; then
11685 FCFLAGS=$ac_save_FCFLAGS
11686 elif test $ac_cv_prog_fc_g = yes; then
11687 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11693 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11701 ac_cpp='$CPP $CPPFLAGS'
11702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11703 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11706 ac_ext=${ac_fc_srcext-f}
11707 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11708 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11709 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11712 if test -z "$FC" || test "X$FC" = "Xno"; then
11716 archive_cmds_need_lc_FC=no
11717 allow_undefined_flag_FC=
11718 always_export_symbols_FC=no
11719 archive_expsym_cmds_FC=
11720 export_dynamic_flag_spec_FC=
11721 hardcode_direct_FC=no
11722 hardcode_direct_absolute_FC=no
11723 hardcode_libdir_flag_spec_FC=
11724 hardcode_libdir_flag_spec_ld_FC=
11725 hardcode_libdir_separator_FC=
11726 hardcode_minus_L_FC=no
11727 hardcode_automatic_FC=no
11728 inherit_rpath_FC=no
11730 module_expsym_cmds_FC=
11731 link_all_deplibs_FC=unknown
11732 old_archive_cmds_FC=$old_archive_cmds
11733 reload_flag_FC=$reload_flag
11734 reload_cmds_FC=$reload_cmds
11735 no_undefined_flag_FC=
11736 whole_archive_flag_spec_FC=
11737 enable_shared_with_static_runtimes_FC=no
11739 # Source file extension for fc test sources.
11740 ac_ext=${ac_fc_srcext-f}
11742 # Object file extension for compiled fc test sources.
11746 # No sense in running all these tests if we already determined that
11747 # the FC compiler isn't working. Some variables
(like enable_shared
)
11748 # are currently assumed to apply to all compilers on this platform,
11749 # and will be corrupted by setting them based on a non-working compiler.
11750 if test "$_lt_disable_FC" != yes; then
11751 # Code to be used in simple compile tests
11752 lt_simple_compile_test_code
="\
11758 # Code to be used in simple link tests
11759 lt_simple_link_test_code
="\
11764 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11771 # If no C compiler was specified, use CC.
11774 # If no C compiler flags were specified, use CFLAGS.
11775 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11777 # Allow CC to be a program name with arguments.
11781 # save warnings/boilerplate of simple test code
11782 ac_outfile
=conftest.
$ac_objext
11783 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11784 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11785 _lt_compiler_boilerplate
=`cat conftest.err`
11788 ac_outfile
=conftest.
$ac_objext
11789 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11790 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11791 _lt_linker_boilerplate
=`cat conftest.err`
11795 # Allow CC to be a program name with arguments.
11800 GCC
=$ac_cv_fc_compiler_gnu
11803 for cc_temp
in $compiler""; do
11805 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11806 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11811 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11814 if test -n "$compiler"; then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11816 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11818 $as_echo "$can_build_shared" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11821 $as_echo_n "checking whether to build shared libraries... " >&6; }
11822 test "$can_build_shared" = "no" && enable_shared
=no
11824 # On AIX, shared libraries and static libraries use the same namespace, and
11825 # are all built from PIC.
11828 test "$enable_shared" = yes && enable_static
=no
11829 if test -n "$RANLIB"; then
11830 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11831 postinstall_cmds
='$RANLIB $lib'
11835 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11836 test "$enable_shared" = yes && enable_static
=no
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11841 $as_echo "$enable_shared" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11844 $as_echo_n "checking whether to build static libraries... " >&6; }
11845 # Make sure either enable_shared or enable_static is yes.
11846 test "$enable_shared" = yes || enable_static
=yes
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11848 $as_echo "$enable_static" >&6; }
11850 GCC_FC
="$ac_cv_fc_compiler_gnu"
11854 ## There is no encapsulation within the following macros, do not change
11855 ## the running order or otherwise move them around unless you know exactly
11856 ## what you are doing...
11857 # Dependencies to place before and after the object being linked:
11859 postdep_objects_FC
=
11862 compiler_lib_search_path_FC
=
11864 cat > conftest.
$ac_ext <<_LT_EOF
11873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11874 (eval $ac_compile) 2>&5
11876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11877 test $ac_status = 0; }; then
11878 # Parse the compiler output and extract the necessary
11879 # objects, libraries and library flags.
11881 # Sentinel used to keep track of whether or not we are before
11882 # the conftest object file.
11883 pre_test_object_deps_done
=no
11885 for p
in `eval "$output_verbose_link_cmd"`; do
11889 # Some compilers place space between "-{L,R}" and the path.
11890 # Remove the space.
11891 if test $p = "-L" ||
11892 test $p = "-R"; then
11899 if test "$pre_test_object_deps_done" = no
; then
11902 # Internal compiler library paths should come after those
11903 # provided the user. The postdeps already come after the
11904 # user supplied libs so there is no need to process them.
11905 if test -z "$compiler_lib_search_path_FC"; then
11906 compiler_lib_search_path_FC
="${prev}${p}"
11908 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11911 # The "-l" case would never come before the object being
11912 # linked, so don't bother handling this case.
11915 if test -z "$postdeps_FC"; then
11916 postdeps_FC
="${prev}${p}"
11918 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11924 # This assumes that the test object file only shows up
11925 # once in the compiler output.
11926 if test "$p" = "conftest.$objext"; then
11927 pre_test_object_deps_done
=yes
11931 if test "$pre_test_object_deps_done" = no
; then
11932 if test -z "$predep_objects_FC"; then
11933 predep_objects_FC
="$p"
11935 predep_objects_FC
="$predep_objects_FC $p"
11938 if test -z "$postdep_objects_FC"; then
11939 postdep_objects_FC
="$p"
11941 postdep_objects_FC
="$postdep_objects_FC $p"
11946 *) ;; # Ignore the rest.
11954 echo "libtool.m4: error: problem compiling FC test program"
11957 $RM -f confest.
$objext
11959 # PORTME: override above test on systems where it is broken
11962 case " $postdeps_FC " in
11963 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11965 compiler_lib_search_dirs_FC
=
11966 if test -n "${compiler_lib_search_path_FC}"; then
11967 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12000 lt_prog_compiler_wl_FC
=
12001 lt_prog_compiler_pic_FC
=
12002 lt_prog_compiler_static_FC
=
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12005 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12007 if test "$GCC" = yes; then
12008 lt_prog_compiler_wl_FC
='-Wl,'
12009 lt_prog_compiler_static_FC
='-static'
12013 # All AIX code is PIC.
12014 if test "$host_cpu" = ia64
; then
12015 # AIX 5 now supports IA64 processor
12016 lt_prog_compiler_static_FC
='-Bstatic'
12023 # see comment about AmigaOS4 .so support
12024 lt_prog_compiler_pic_FC
='-fPIC'
12027 # FIXME: we need at least 68020 code to build shared libraries, but
12028 # adding the `-m68020' flag to GCC prevents building anything better,
12030 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12035 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12036 # PIC is the default for these OSes.
12039 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12040 # This hack is so that the source file can tell whether it is being
12041 # built for inclusion in a dll (and should export symbols for example).
12042 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12043 # (--disable-auto-import) libraries
12044 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12047 darwin
* | rhapsody
*)
12048 # PIC is the default on this platform
12049 # Common symbols not allowed in MH_DYLIB files
12050 lt_prog_compiler_pic_FC
='-fno-common'
12054 # PIC is the default for Haiku.
12055 # The "-static" flag exists, but is broken.
12056 lt_prog_compiler_static_FC
=
12060 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12061 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12062 # sets the default TLS model and affects inlining.
12068 lt_prog_compiler_pic_FC
='-fPIC'
12074 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12075 # Instead, we relocate shared libraries at runtime.
12079 # Just because we use GCC doesn't mean we suddenly get shared libraries
12080 # on systems that don't support them.
12081 lt_prog_compiler_can_build_shared_FC
=no
12086 # QNX uses GNU C++, but need to define -shared option too, otherwise
12087 # it will coredump.
12088 lt_prog_compiler_pic_FC
='-fPIC -shared'
12092 if test -d /usr
/nec
; then
12093 lt_prog_compiler_pic_FC
=-Kconform_pic
12098 lt_prog_compiler_pic_FC
='-fPIC'
12102 case $cc_basename in
12103 nvcc
*) # Cuda Compiler Driver 2.2
12104 lt_prog_compiler_wl_FC
='-Xlinker '
12105 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12109 # PORTME Check for flag to pass linker flags through the system compiler.
12112 lt_prog_compiler_wl_FC
='-Wl,'
12113 if test "$host_cpu" = ia64
; then
12114 # AIX 5 now supports IA64 processor
12115 lt_prog_compiler_static_FC
='-Bstatic'
12117 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12121 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12122 # This hack is so that the source file can tell whether it is being
12123 # built for inclusion in a dll (and should export symbols for example).
12124 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12127 hpux9
* | hpux10
* | hpux11
*)
12128 lt_prog_compiler_wl_FC
='-Wl,'
12129 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12130 # not for PA HP-UX.
12136 lt_prog_compiler_pic_FC
='+Z'
12139 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12140 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12143 irix5
* | irix6
* | nonstopux
*)
12144 lt_prog_compiler_wl_FC
='-Wl,'
12145 # PIC (with -KPIC) is the default.
12146 lt_prog_compiler_static_FC
='-non_shared'
12149 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12150 case $cc_basename in
12151 # old Intel for x86_64 which still supported -KPIC.
12153 lt_prog_compiler_wl_FC
='-Wl,'
12154 lt_prog_compiler_pic_FC
='-KPIC'
12155 lt_prog_compiler_static_FC
='-static'
12157 # icc used to be incompatible with GCC.
12158 # ICC 10 doesn't accept -KPIC any more.
12160 lt_prog_compiler_wl_FC
='-Wl,'
12161 lt_prog_compiler_pic_FC
='-fPIC'
12162 lt_prog_compiler_static_FC
='-static'
12164 # Lahey Fortran 8.1.
12166 lt_prog_compiler_wl_FC
='-Wl,'
12167 lt_prog_compiler_pic_FC
='--shared'
12168 lt_prog_compiler_static_FC
='--static'
12170 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12171 # Portland Group compilers (*not* the Pentium gcc compiler,
12172 # which looks to be a dead project)
12173 lt_prog_compiler_wl_FC
='-Wl,'
12174 lt_prog_compiler_pic_FC
='-fpic'
12175 lt_prog_compiler_static_FC
='-Bstatic'
12178 lt_prog_compiler_wl_FC
='-Wl,'
12179 # All Alpha code is PIC.
12180 lt_prog_compiler_static_FC
='-non_shared'
12182 xl
* | bgxl
* | bgf
* | mpixl
*)
12183 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12184 lt_prog_compiler_wl_FC
='-Wl,'
12185 lt_prog_compiler_pic_FC
='-qpic'
12186 lt_prog_compiler_static_FC
='-qstaticlink'
12189 case `$CC -V 2>&1 | sed 5q` in
12190 *Sun\ F
* |
*Sun
*Fortran
*)
12191 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12192 lt_prog_compiler_pic_FC
='-KPIC'
12193 lt_prog_compiler_static_FC
='-Bstatic'
12194 lt_prog_compiler_wl_FC
=''
12198 lt_prog_compiler_pic_FC
='-KPIC'
12199 lt_prog_compiler_static_FC
='-Bstatic'
12200 lt_prog_compiler_wl_FC
='-Wl,'
12208 lt_prog_compiler_pic_FC
='-KPIC'
12209 lt_prog_compiler_static_FC
='-Bstatic'
12213 # QNX uses GNU C++, but need to define -shared option too, otherwise
12214 # it will coredump.
12215 lt_prog_compiler_pic_FC
='-fPIC -shared'
12218 osf3
* | osf4
* | osf5
*)
12219 lt_prog_compiler_wl_FC
='-Wl,'
12220 # All OSF/1 code is PIC.
12221 lt_prog_compiler_static_FC
='-non_shared'
12225 lt_prog_compiler_static_FC
='-non_shared'
12229 lt_prog_compiler_pic_FC
='-KPIC'
12230 lt_prog_compiler_static_FC
='-Bstatic'
12231 case $cc_basename in
12232 f77
* | f90
* | f95
*)
12233 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12235 lt_prog_compiler_wl_FC
='-Wl,';;
12240 lt_prog_compiler_wl_FC
='-Qoption ld '
12241 lt_prog_compiler_pic_FC
='-PIC'
12242 lt_prog_compiler_static_FC
='-Bstatic'
12245 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12246 lt_prog_compiler_wl_FC
='-Wl,'
12247 lt_prog_compiler_pic_FC
='-KPIC'
12248 lt_prog_compiler_static_FC
='-Bstatic'
12252 if test -d /usr
/nec
;then
12253 lt_prog_compiler_pic_FC
='-Kconform_pic'
12254 lt_prog_compiler_static_FC
='-Bstatic'
12258 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12259 lt_prog_compiler_wl_FC
='-Wl,'
12260 lt_prog_compiler_pic_FC
='-KPIC'
12261 lt_prog_compiler_static_FC
='-Bstatic'
12265 lt_prog_compiler_wl_FC
='-Wl,'
12266 lt_prog_compiler_can_build_shared_FC
=no
12270 lt_prog_compiler_pic_FC
='-pic'
12271 lt_prog_compiler_static_FC
='-Bstatic'
12275 lt_prog_compiler_can_build_shared_FC
=no
12281 # For platforms which do not support PIC, -DPIC is meaningless:
12283 lt_prog_compiler_pic_FC
=
12286 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12290 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12295 # Check to make sure the PIC flag actually works.
12297 if test -n "$lt_prog_compiler_pic_FC"; then
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12299 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12300 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12301 $as_echo_n "(cached) " >&6
12303 lt_cv_prog_compiler_pic_works_FC
=no
12304 ac_outfile
=conftest.
$ac_objext
12305 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12306 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12307 # Insert the option either (1) after the last *FLAGS variable, or
12308 # (2) before a word containing "conftest.", or (3) at the end.
12309 # Note that $ac_compile itself does not contain backslashes and begins
12310 # with a dollar sign (not a hyphen), so the echo should work correctly.
12311 # The option is referenced via a variable to avoid confusing sed.
12312 lt_compile
=`echo "$ac_compile" | $SED \
12313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12315 -e 's:$: $lt_compiler_flag:'`
12316 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12317 (eval "$lt_compile" 2>conftest.err
)
12319 cat conftest.err
>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 if (exit $ac_status) && test -s "$ac_outfile"; then
12322 # The compiler can only warn and ignore the option if not recognized
12323 # So say no if there are warnings other than the usual output.
12324 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12325 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12326 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12327 lt_cv_prog_compiler_pic_works_FC
=yes
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12334 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12336 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12337 case $lt_prog_compiler_pic_FC in
12339 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12342 lt_prog_compiler_pic_FC
=
12343 lt_prog_compiler_can_build_shared_FC
=no
12351 # Check to make sure the static flag actually works.
12353 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12355 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12356 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12357 $as_echo_n "(cached) " >&6
12359 lt_cv_prog_compiler_static_works_FC
=no
12360 save_LDFLAGS
="$LDFLAGS"
12361 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12362 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12363 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12364 # The linker can only warn and ignore the option if not recognized
12365 # So say no if there are warnings
12366 if test -s conftest.err
; then
12367 # Append any errors to the config.log.
12368 cat conftest.err
1>&5
12369 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12370 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12371 if diff conftest.exp conftest.er2
>/dev
/null
; then
12372 lt_cv_prog_compiler_static_works_FC
=yes
12375 lt_cv_prog_compiler_static_works_FC
=yes
12379 LDFLAGS
="$save_LDFLAGS"
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12383 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12385 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12388 lt_prog_compiler_static_FC
=
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12395 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12396 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12397 $as_echo_n "(cached) " >&6
12399 lt_cv_prog_compiler_c_o_FC
=no
12400 $RM -r conftest
2>/dev
/null
12404 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12406 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12407 # Insert the option either (1) after the last *FLAGS variable, or
12408 # (2) before a word containing "conftest.", or (3) at the end.
12409 # Note that $ac_compile itself does not contain backslashes and begins
12410 # with a dollar sign (not a hyphen), so the echo should work correctly.
12411 lt_compile
=`echo "$ac_compile" | $SED \
12412 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12414 -e 's:$: $lt_compiler_flag:'`
12415 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12416 (eval "$lt_compile" 2>out
/conftest.err
)
12418 cat out
/conftest.err
>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12422 # The compiler can only warn and ignore the option if not recognized
12423 # So say no if there are warnings
12424 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12425 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12426 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12427 lt_cv_prog_compiler_c_o_FC
=yes
12432 # SGI C++ compiler will create directory out/ii_files/ for
12433 # template instantiation
12434 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12435 $RM out
/* && rmdir out
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12442 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12447 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12448 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12449 $as_echo_n "(cached) " >&6
12451 lt_cv_prog_compiler_c_o_FC
=no
12452 $RM -r conftest
2>/dev
/null
12456 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12458 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12459 # Insert the option either (1) after the last *FLAGS variable, or
12460 # (2) before a word containing "conftest.", or (3) at the end.
12461 # Note that $ac_compile itself does not contain backslashes and begins
12462 # with a dollar sign (not a hyphen), so the echo should work correctly.
12463 lt_compile
=`echo "$ac_compile" | $SED \
12464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12466 -e 's:$: $lt_compiler_flag:'`
12467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12468 (eval "$lt_compile" 2>out
/conftest.err
)
12470 cat out
/conftest.err
>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12474 # The compiler can only warn and ignore the option if not recognized
12475 # So say no if there are warnings
12476 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12477 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12478 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12479 lt_cv_prog_compiler_c_o_FC
=yes
12484 # SGI C++ compiler will create directory out/ii_files/ for
12485 # template instantiation
12486 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12487 $RM out
/* && rmdir out
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12494 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12499 hard_links
="nottested"
12500 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12501 # do not overwrite the value of need_locks provided by the user
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12503 $as_echo_n "checking if we can lock with hard links... " >&6; }
12506 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12508 ln conftest.a conftest.b
2>&5 || hard_links
=no
12509 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12511 $as_echo "$hard_links" >&6; }
12512 if test "$hard_links" = no
; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12514 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12524 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12527 allow_undefined_flag_FC
=
12528 always_export_symbols_FC
=no
12530 archive_expsym_cmds_FC
=
12531 compiler_needs_object_FC
=no
12532 enable_shared_with_static_runtimes_FC
=no
12533 export_dynamic_flag_spec_FC
=
12534 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12535 hardcode_automatic_FC
=no
12536 hardcode_direct_FC
=no
12537 hardcode_direct_absolute_FC
=no
12538 hardcode_libdir_flag_spec_FC
=
12539 hardcode_libdir_flag_spec_ld_FC
=
12540 hardcode_libdir_separator_FC
=
12541 hardcode_minus_L_FC
=no
12542 hardcode_shlibpath_var_FC
=unsupported
12543 inherit_rpath_FC
=no
12544 link_all_deplibs_FC
=unknown
12546 module_expsym_cmds_FC
=
12547 old_archive_from_new_cmds_FC
=
12548 old_archive_from_expsyms_cmds_FC
=
12549 thread_safe_flag_spec_FC
=
12550 whole_archive_flag_spec_FC
=
12551 # include_expsyms should be a list of space-separated symbols to be *always*
12552 # included in the symbol list
12553 include_expsyms_FC
=
12554 # exclude_expsyms can be an extended regexp of symbols to exclude
12555 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12556 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12557 # as well as any symbol that contains `d'.
12558 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12559 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12560 # platforms (ab)use it in PIC code, but their linkers get confused if
12561 # the symbol is explicitly referenced. Since portable code cannot
12562 # rely on this symbol name, it's probably fine to never include it in
12563 # preloaded symbol tables.
12564 # Exclude shared library initialization/finalization symbols.
12565 extract_expsyms_cmds
=
12568 cygwin
* | mingw
* | pw32
* | cegcc
*)
12569 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12570 # When not using gcc, we currently assume that we are using
12571 # Microsoft Visual C++.
12572 if test "$GCC" != yes; then
12577 # we just hope/assume this is gcc and not c89 (= MSVC++)
12587 # On some targets, GNU ld is compatible enough with the native linker
12588 # that we're better off using the native interface for both.
12589 lt_use_gnu_ld_interface
=no
12590 if test "$with_gnu_ld" = yes; then
12593 # The AIX port of GNU ld has always aspired to compatibility
12594 # with the native linker. However, as the warning in the GNU ld
12595 # block says, versions before 2.19.5* couldn't really create working
12596 # shared libraries, regardless of the interface used.
12597 case `$LD -v 2>&1` in
12598 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12599 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12600 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12602 lt_use_gnu_ld_interface
=yes
12607 lt_use_gnu_ld_interface
=yes
12612 if test "$lt_use_gnu_ld_interface" = yes; then
12613 # If archive_cmds runs LD, not CC, wlarc should be empty
12616 # Set some defaults for GNU ld with shared library support. These
12617 # are reset later if shared libraries are not supported. Putting them
12618 # here allows them to be overridden if necessary.
12619 runpath_var
=LD_RUN_PATH
12620 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12621 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12622 # ancient GNU ld didn't support --whole-archive et. al.
12623 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12624 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12626 whole_archive_flag_spec_FC
=
12628 supports_anon_versioning
=no
12629 case `$LD -v 2>&1` in
12630 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12631 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12632 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12633 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12634 *\
2.11.
*) ;; # other 2.11 versions
12635 *) supports_anon_versioning
=yes ;;
12638 # See if GNU ld supports shared libraries.
12641 # On AIX/PPC, the GNU linker is very broken
12642 if test "$host_cpu" != ia64
; then
12646 *** Warning: the GNU linker, at least up to release 2.19, is reported
12647 *** to be unable to reliably create shared libraries on AIX.
12648 *** Therefore, libtool is disabling shared libraries support. If you
12649 *** really care for shared libraries, you may want to install binutils
12650 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12651 *** You will then need to restart the configuration process.
12660 # see comment about AmigaOS4 .so support
12661 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12662 archive_expsym_cmds_FC
=''
12665 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)'
12666 hardcode_libdir_flag_spec_FC
='-L$libdir'
12667 hardcode_minus_L_FC
=yes
12673 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12674 allow_undefined_flag_FC
=unsupported
12675 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12676 # support --undefined. This deserves some investigation. FIXME
12677 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12683 cygwin
* | mingw
* | pw32
* | cegcc
*)
12684 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12685 # as there is no search path for DLLs.
12686 hardcode_libdir_flag_spec_FC
='-L$libdir'
12687 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12688 allow_undefined_flag_FC
=unsupported
12689 always_export_symbols_FC
=no
12690 enable_shared_with_static_runtimes_FC
=yes
12691 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12693 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12694 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12695 # If the export-symbols file already is a .def file (1st line
12696 # is EXPORTS), use it as is; otherwise, prepend...
12697 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12698 cp $export_symbols $output_objdir/$soname.def;
12700 echo EXPORTS > $output_objdir/$soname.def;
12701 cat $export_symbols >> $output_objdir/$soname.def;
12703 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12710 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12711 link_all_deplibs_FC
=yes
12715 hardcode_direct_FC
=no
12716 hardcode_shlibpath_var_FC
=no
12717 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12718 export_dynamic_flag_spec_FC
='${wl}-E'
12719 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12720 # Instead, shared libraries are loaded at an image base (0x10000000 by
12721 # default) and relocated if they conflict, which is a slow very memory
12722 # consuming and fragmenting process. To avoid this, we pick a random,
12723 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12724 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12725 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'
12726 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'
12729 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12731 if test "$host_os" = linux-dietlibc
; then
12732 case $cc_basename in
12733 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12736 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12737 && test "$tmp_diet" = no
12740 tmp_sharedflag
='-shared'
12741 case $cc_basename,$host_cpu in
12742 pgcc
*) # Portland Group C compiler
12743 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'
12744 tmp_addflag
=' $pic_flag'
12746 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12747 # Portland Group f77 and f90 compilers
12748 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'
12749 tmp_addflag
=' $pic_flag -Mnomain' ;;
12750 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12751 tmp_addflag
=' -i_dynamic' ;;
12752 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12753 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12754 ifc
* | ifort
*) # Intel Fortran compiler
12755 tmp_addflag
=' -nofor_main' ;;
12756 lf95
*) # Lahey Fortran 8.1
12757 whole_archive_flag_spec_FC
=
12758 tmp_sharedflag
='--shared' ;;
12759 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12760 tmp_sharedflag
='-qmkshrobj'
12762 nvcc
*) # Cuda Compiler Driver 2.2
12763 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'
12764 compiler_needs_object_FC
=yes
12767 case `$CC -V 2>&1 | sed 5q` in
12768 *Sun\ C
*) # Sun C 5.9
12769 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'
12770 compiler_needs_object_FC
=yes
12771 tmp_sharedflag
='-G' ;;
12772 *Sun\ F
*) # Sun Fortran 8.3
12773 tmp_sharedflag
='-G' ;;
12775 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777 if test "x$supports_anon_versioning" = xyes
; then
12778 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12779 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12780 echo "local: *; };" >> $output_objdir/$libname.ver~
12781 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12784 case $cc_basename in
12785 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12786 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12787 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12788 hardcode_libdir_flag_spec_FC
=
12789 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12790 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12791 if test "x$supports_anon_versioning" = xyes
; then
12792 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12793 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12794 echo "local: *; };" >> $output_objdir/$libname.ver~
12795 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12805 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12806 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12809 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12810 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12815 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12819 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12820 *** create shared libraries on Solaris systems. Therefore, libtool
12821 *** is disabling shared libraries support. We urge you to upgrade GNU
12822 *** binutils to release 2.9.1 or newer. Another option is to modify
12823 *** your PATH or compiler configuration so that the native linker is
12824 *** used, and then restart.
12827 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12828 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12829 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12835 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12836 case `$LD -v 2>&1` in
12837 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12841 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12842 *** reliably create shared libraries on SCO systems. Therefore, libtool
12843 *** is disabling shared libraries support. We urge you to upgrade GNU
12844 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12845 *** your PATH or compiler configuration so that the native linker is
12846 *** used, and then restart.
12851 # For security reasons, it is highly recommended that you always
12852 # use absolute paths for naming shared libraries, and exclude the
12853 # DT_RUNPATH tag from executables and libraries. But doing so
12854 # requires that you compile everything twice, which is a pain.
12855 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12856 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12857 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12858 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12867 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12869 hardcode_direct_FC
=yes
12870 hardcode_shlibpath_var_FC
=no
12874 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12875 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12876 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12883 if test "$ld_shlibs_FC" = no
; then
12885 hardcode_libdir_flag_spec_FC
=
12886 export_dynamic_flag_spec_FC
=
12887 whole_archive_flag_spec_FC
=
12890 # PORTME fill in a description of your system's linker (not GNU ld)
12893 allow_undefined_flag_FC
=unsupported
12894 always_export_symbols_FC
=yes
12895 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'
12896 # Note: this linker hardcodes the directories in LIBPATH if there
12897 # are no directories specified by -L.
12898 hardcode_minus_L_FC
=yes
12899 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12900 # Neither direct hardcoding nor static linking is supported with a
12902 hardcode_direct_FC
=unsupported
12907 if test "$host_cpu" = ia64
; then
12908 # On IA64, the linker does run time linking by default, so we don't
12909 # have to do anything special.
12910 aix_use_runtimelinking
=no
12911 exp_sym_flag
='-Bexport'
12914 # If we're using GNU nm, then we don't want the "-C" option.
12915 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12916 # Also, AIX nm treats weak defined symbols like other global
12917 # defined symbols, whereas GNU nm marks them as "W".
12918 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12919 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'
12921 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'
12923 aix_use_runtimelinking
=no
12925 # Test if we are trying to use run time linking or normal
12926 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12927 # need to do runtime linking.
12928 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12929 for ld_flag
in $LDFLAGS; do
12930 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12931 aix_use_runtimelinking
=yes
12938 exp_sym_flag
='-bexport'
12939 no_entry_flag
='-bnoentry'
12942 # When large executables or shared objects are built, AIX ld can
12943 # have problems creating the table of contents. If linking a library
12944 # or program results in "error TOC overflow" add -mminimal-toc to
12945 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12946 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12949 hardcode_direct_FC
=yes
12950 hardcode_direct_absolute_FC
=yes
12951 hardcode_libdir_separator_FC
=':'
12952 link_all_deplibs_FC
=yes
12953 file_list_spec_FC
='${wl}-f,'
12955 if test "$GCC" = yes; then
12956 case $host_os in aix4.
[012]|aix4.
[012].
*)
12957 # We only want to do this on AIX 4.2 and lower, the check
12958 # below for broken collect2 doesn't work under 4.3+
12959 collect2name
=`${CC} -print-prog-name=collect2`
12960 if test -f "$collect2name" &&
12961 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12963 # We have reworked collect2
12966 # We have old collect2
12967 hardcode_direct_FC
=unsupported
12968 # It fails to find uninstalled libraries when the uninstalled
12969 # path is not listed in the libpath. Setting hardcode_minus_L
12970 # to unsupported forces relinking
12971 hardcode_minus_L_FC
=yes
12972 hardcode_libdir_flag_spec_FC
='-L$libdir'
12973 hardcode_libdir_separator_FC
=
12977 shared_flag
='-shared'
12978 if test "$aix_use_runtimelinking" = yes; then
12979 shared_flag
="$shared_flag "'${wl}-G'
12983 if test "$host_cpu" = ia64
; then
12984 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12985 # chokes on -Wl,-G. The following line is correct:
12988 if test "$aix_use_runtimelinking" = yes; then
12989 shared_flag
='${wl}-G'
12991 shared_flag
='${wl}-bM:SRE'
12996 export_dynamic_flag_spec_FC
='${wl}-bexpall'
12997 # It seems that -bexpall does not export symbols beginning with
12998 # underscore (_), so it is better to generate a list of symbols to export.
12999 always_export_symbols_FC
=yes
13000 if test "$aix_use_runtimelinking" = yes; then
13001 # Warning - without using the other runtime loading flags (-brtl),
13002 # -berok will link without error, but may produce a broken library.
13003 allow_undefined_flag_FC
='-berok'
13004 # Determine the default libpath from the value encoded in an
13005 # empty executable.
13006 cat > conftest.
$ac_ext <<_ACEOF
13011 if ac_fn_fc_try_link
"$LINENO"; then :
13013 lt_aix_libpath_sed
='
13014 /Import File Strings/,/^$/ {
13020 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13021 # Check for a 64-bit object if we didn't find anything.
13022 if test -z "$aix_libpath"; then
13023 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13026 rm -f core conftest.err conftest.
$ac_objext \
13027 conftest
$ac_exeext conftest.
$ac_ext
13028 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13030 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13031 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"
13033 if test "$host_cpu" = ia64
; then
13034 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13035 allow_undefined_flag_FC
="-z nodefs"
13036 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"
13038 # Determine the default libpath from the value encoded in an
13039 # empty executable.
13040 cat > conftest.
$ac_ext <<_ACEOF
13045 if ac_fn_fc_try_link
"$LINENO"; then :
13047 lt_aix_libpath_sed
='
13048 /Import File Strings/,/^$/ {
13054 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13055 # Check for a 64-bit object if we didn't find anything.
13056 if test -z "$aix_libpath"; then
13057 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13060 rm -f core conftest.err conftest.
$ac_objext \
13061 conftest
$ac_exeext conftest.
$ac_ext
13062 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13064 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13065 # Warning - without using the other run time loading flags,
13066 # -berok will link without error, but may produce a broken library.
13067 no_undefined_flag_FC
=' ${wl}-bernotok'
13068 allow_undefined_flag_FC
=' ${wl}-berok'
13069 if test "$with_gnu_ld" = yes; then
13070 # We only use this code for GNU lds that support --whole-archive.
13071 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13073 # Exported symbols can be pulled into shared objects from archives
13074 whole_archive_flag_spec_FC
='$convenience'
13076 archive_cmds_need_lc_FC
=yes
13077 # This is similar to how AIX traditionally builds its shared libraries.
13078 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'
13086 # see comment about AmigaOS4 .so support
13087 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 archive_expsym_cmds_FC
=''
13091 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)'
13092 hardcode_libdir_flag_spec_FC
='-L$libdir'
13093 hardcode_minus_L_FC
=yes
13099 export_dynamic_flag_spec_FC
=-rdynamic
13102 cygwin
* | mingw
* | pw32
* | cegcc
*)
13103 # When not using gcc, we currently assume that we are using
13104 # Microsoft Visual C++.
13105 # hardcode_libdir_flag_spec is actually meaningless, as there is
13106 # no search path for DLLs.
13107 hardcode_libdir_flag_spec_FC
=' '
13108 allow_undefined_flag_FC
=unsupported
13109 # Tell ltmain to make .lib files, not .a files.
13111 # Tell ltmain to make .dll files, not .so files.
13113 # FIXME: Setting linknames here is a bad hack.
13114 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13115 # The linker will automatically build a .lib file if we build a DLL.
13116 old_archive_from_new_cmds_FC
='true'
13117 # FIXME: Should let the user specify the lib program.
13118 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13119 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13120 enable_shared_with_static_runtimes_FC
=yes
13123 darwin
* | rhapsody
*)
13126 archive_cmds_need_lc_FC
=no
13127 hardcode_direct_FC
=no
13128 hardcode_automatic_FC
=yes
13129 hardcode_shlibpath_var_FC
=unsupported
13130 if test "$lt_cv_ld_force_load" = "yes"; then
13131 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\"`'
13133 whole_archive_flag_spec_FC
=''
13135 link_all_deplibs_FC
=yes
13136 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13137 case $cc_basename in
13138 ifort
*) _lt_dar_can_shared
=yes ;;
13139 *) _lt_dar_can_shared
=$GCC ;;
13141 if test "$_lt_dar_can_shared" = "yes"; then
13142 output_verbose_link_cmd
=func_echo_all
13143 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}"
13144 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13145 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}"
13146 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}"
13155 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13156 hardcode_libdir_flag_spec_FC
='-L$libdir'
13157 hardcode_shlibpath_var_FC
=no
13160 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13161 # support. Future versions do this automatically, but an explicit c++rt0.o
13162 # does not break anything, and helps significantly (at the cost of a little
13165 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13166 hardcode_libdir_flag_spec_FC
='-R$libdir'
13167 hardcode_direct_FC
=yes
13168 hardcode_shlibpath_var_FC
=no
13171 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13173 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13174 hardcode_direct_FC
=yes
13175 hardcode_minus_L_FC
=yes
13176 hardcode_shlibpath_var_FC
=no
13179 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13180 freebsd
* | dragonfly
*)
13181 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13182 hardcode_libdir_flag_spec_FC
='-R$libdir'
13183 hardcode_direct_FC
=yes
13184 hardcode_shlibpath_var_FC
=no
13188 if test "$GCC" = yes; then
13189 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'
13191 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'
13193 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13194 hardcode_libdir_separator_FC
=:
13195 hardcode_direct_FC
=yes
13197 # hardcode_minus_L: Not really in the search PATH,
13198 # but as the default location of the library.
13199 hardcode_minus_L_FC
=yes
13200 export_dynamic_flag_spec_FC
='${wl}-E'
13204 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13205 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13207 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13209 if test "$with_gnu_ld" = no
; then
13210 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13211 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13212 hardcode_libdir_separator_FC
=:
13213 hardcode_direct_FC
=yes
13214 hardcode_direct_absolute_FC
=yes
13215 export_dynamic_flag_spec_FC
='${wl}-E'
13216 # hardcode_minus_L: Not really in the search PATH,
13217 # but as the default location of the library.
13218 hardcode_minus_L_FC
=yes
13223 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13226 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13232 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13238 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13244 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13248 if test "$with_gnu_ld" = no
; then
13249 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13250 hardcode_libdir_separator_FC
=:
13254 hardcode_direct_FC
=no
13255 hardcode_shlibpath_var_FC
=no
13258 hardcode_direct_FC
=yes
13259 hardcode_direct_absolute_FC
=yes
13260 export_dynamic_flag_spec_FC
='${wl}-E'
13262 # hardcode_minus_L: Not really in the search PATH,
13263 # but as the default location of the library.
13264 hardcode_minus_L_FC
=yes
13270 irix5
* | irix6
* | nonstopux
*)
13271 if test "$GCC" = yes; then
13272 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'
13273 # Try to use the -exported_symbol ld option, if it does not
13274 # work, assume that -exports_file does not work either and
13275 # implicitly export all symbols.
13276 save_LDFLAGS
="$LDFLAGS"
13277 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13278 cat > conftest.
$ac_ext <<_ACEOF
13281 if ac_fn_fc_try_link
"$LINENO"; then :
13282 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'
13285 rm -f core conftest.err conftest.
$ac_objext \
13286 conftest
$ac_exeext conftest.
$ac_ext
13287 LDFLAGS
="$save_LDFLAGS"
13289 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'
13290 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'
13292 archive_cmds_need_lc_FC
='no'
13293 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13294 hardcode_libdir_separator_FC
=:
13295 inherit_rpath_FC
=yes
13296 link_all_deplibs_FC
=yes
13300 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13301 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13303 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13305 hardcode_libdir_flag_spec_FC
='-R$libdir'
13306 hardcode_direct_FC
=yes
13307 hardcode_shlibpath_var_FC
=no
13311 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13312 hardcode_direct_FC
=yes
13313 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13314 hardcode_libdir_separator_FC
=:
13315 hardcode_shlibpath_var_FC
=no
13322 if test -f /usr
/libexec
/ld.so
; then
13323 hardcode_direct_FC
=yes
13324 hardcode_shlibpath_var_FC
=no
13325 hardcode_direct_absolute_FC
=yes
13326 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13327 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13328 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13329 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13330 export_dynamic_flag_spec_FC
='${wl}-E'
13333 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13334 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13335 hardcode_libdir_flag_spec_FC
='-R$libdir'
13338 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13339 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13349 hardcode_libdir_flag_spec_FC
='-L$libdir'
13350 hardcode_minus_L_FC
=yes
13351 allow_undefined_flag_FC
=unsupported
13352 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'
13353 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13357 if test "$GCC" = yes; then
13358 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13359 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'
13361 allow_undefined_flag_FC
=' -expect_unresolved \*'
13362 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'
13364 archive_cmds_need_lc_FC
='no'
13365 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13366 hardcode_libdir_separator_FC
=:
13369 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13370 if test "$GCC" = yes; then
13371 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13372 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'
13373 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13375 allow_undefined_flag_FC
=' -expect_unresolved \*'
13376 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'
13377 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~
13378 $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'
13380 # Both c and cxx compiler support -rpath directly
13381 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13383 archive_cmds_need_lc_FC
='no'
13384 hardcode_libdir_separator_FC
=:
13388 no_undefined_flag_FC
=' -z defs'
13389 if test "$GCC" = yes; then
13391 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13392 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13393 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13395 case `$CC -V 2>&1` in
13398 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13399 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13400 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13404 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13405 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13406 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13410 hardcode_libdir_flag_spec_FC
='-R$libdir'
13411 hardcode_shlibpath_var_FC
=no
13413 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13415 # The compiler driver will combine and reorder linker options,
13416 # but understands `-z linker_flag'. GCC discards it without `$wl',
13417 # but is careful enough not to reorder.
13418 # Supported since Solaris 2.6 (maybe 2.5.1?)
13419 if test "$GCC" = yes; then
13420 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13422 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13426 link_all_deplibs_FC
=yes
13430 if test "x$host_vendor" = xsequent
; then
13431 # Use $CC to link under sequent, because it throws in some extra .o
13432 # files that make .init and .fini sections work.
13433 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13435 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13437 hardcode_libdir_flag_spec_FC
='-L$libdir'
13438 hardcode_direct_FC
=yes
13439 hardcode_minus_L_FC
=yes
13440 hardcode_shlibpath_var_FC
=no
13444 case $host_vendor in
13446 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13447 hardcode_direct_FC
=yes # is this really true???
13450 ## LD is ld it makes a PLAMLIB
13451 ## CC just makes a GrossModule.
13452 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13453 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13454 hardcode_direct_FC
=no
13457 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13458 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13461 runpath_var
='LD_RUN_PATH'
13462 hardcode_shlibpath_var_FC
=no
13466 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13467 hardcode_shlibpath_var_FC
=no
13468 export_dynamic_flag_spec_FC
='-Bexport'
13472 if test -d /usr
/nec
; then
13473 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13474 hardcode_shlibpath_var_FC
=no
13475 runpath_var
=LD_RUN_PATH
13476 hardcode_runpath_var
=yes
13481 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13482 no_undefined_flag_FC
='${wl}-z,text'
13483 archive_cmds_need_lc_FC
=no
13484 hardcode_shlibpath_var_FC
=no
13485 runpath_var
='LD_RUN_PATH'
13487 if test "$GCC" = yes; then
13488 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13489 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13496 sysv5
* | sco3.2v5
* | sco5v6
*)
13497 # Note: We can NOT use -z defs as we might desire, because we do not
13498 # link with -lc, and that would cause any symbols used from libc to
13499 # always be unresolved, which means just about no library would
13500 # ever link correctly. If we're not using GNU ld we use -z text
13501 # though, which does catch some bad symbols but isn't as heavy-handed
13503 no_undefined_flag_FC
='${wl}-z,text'
13504 allow_undefined_flag_FC
='${wl}-z,nodefs'
13505 archive_cmds_need_lc_FC
=no
13506 hardcode_shlibpath_var_FC
=no
13507 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13508 hardcode_libdir_separator_FC
=':'
13509 link_all_deplibs_FC
=yes
13510 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13511 runpath_var
='LD_RUN_PATH'
13513 if test "$GCC" = yes; then
13514 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13515 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13517 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13518 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13523 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13524 hardcode_libdir_flag_spec_FC
='-L$libdir'
13525 hardcode_shlibpath_var_FC
=no
13533 if test x
$host_vendor = xsni
; then
13535 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13536 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13543 $as_echo "$ld_shlibs_FC" >&6; }
13544 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13546 with_gnu_ld_FC
=$with_gnu_ld
13554 # Do we need to explicitly link libc?
13556 case "x$archive_cmds_need_lc_FC" in
13558 # Assume -lc should be added
13559 archive_cmds_need_lc_FC
=yes
13561 if test "$enable_shared" = yes && test "$GCC" = yes; then
13562 case $archive_cmds_FC in
13564 # FIXME: we may have to deal with multi-command sequences.
13567 # Test whether the compiler implicitly links with -lc since on some
13568 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13569 # to ld, don't add -lc before -lgcc.
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13571 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13572 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13573 $as_echo_n "(cached) " >&6
13576 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13579 (eval $ac_compile) 2>&5
13581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13582 test $ac_status = 0; } 2>conftest.err
; then
13585 libobjs
=conftest.
$ac_objext
13587 wl
=$lt_prog_compiler_wl_FC
13588 pic_flag
=$lt_prog_compiler_pic_FC
13594 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13595 allow_undefined_flag_FC
=
13596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13597 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13600 test $ac_status = 0; }
13602 lt_cv_archive_cmds_need_lc_FC
=no
13604 lt_cv_archive_cmds_need_lc_FC
=yes
13606 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13608 cat conftest.err
1>&5
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13614 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13615 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13686 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13688 library_names_spec
=
13689 libname_spec
='lib$name'
13693 postuninstall_cmds
=
13697 shlibpath_overrides_runpath
=unknown
13699 dynamic_linker
="$host_os ld.so"
13700 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13701 need_lib_prefix
=unknown
13702 hardcode_into_libs
=no
13704 # when you set need_version to no, make sure it does not cause -set_version
13705 # flags to be left without arguments
13706 need_version
=unknown
13711 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13712 shlibpath_var
=LIBPATH
13714 # AIX 3 has no versioning support, so we append a major version to the name.
13715 soname_spec
='${libname}${release}${shared_ext}$major'
13722 hardcode_into_libs
=yes
13723 if test "$host_cpu" = ia64
; then
13724 # AIX 5 supports IA64
13725 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13726 shlibpath_var
=LD_LIBRARY_PATH
13728 # With GCC up to 2.95.x, collect2 would create an import file
13729 # for dependence libraries. The import file would start with
13730 # the line `#! .'. This would cause the generated library to
13731 # depend on `.', always an invalid library. This was fixed in
13732 # development snapshots of GCC prior to 3.0.
13734 aix4 | aix4.
[01] | aix4.
[01].
*)
13735 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13737 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13740 can_build_shared
=no
13744 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13745 # soname into executable. Probably we can add versioning support to
13746 # collect2, so additional links can be useful in future.
13747 if test "$aix_use_runtimelinking" = yes; then
13748 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13749 # instead of lib<name>.a to let people know that these are not
13750 # typical AIX shared libraries.
13751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13753 # We preserve .a as extension for shared libraries through AIX4.2
13754 # and later when we are not doing run time linking.
13755 library_names_spec
='${libname}${release}.a $libname.a'
13756 soname_spec
='${libname}${release}${shared_ext}$major'
13758 shlibpath_var
=LIBPATH
13765 # Since July 2007 AmigaOS4 officially supports .so libraries.
13766 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13770 library_names_spec
='$libname.ixlibrary $libname.a'
13771 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13772 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'
13778 library_names_spec
='${libname}${shared_ext}'
13779 dynamic_linker
="$host_os ld.so"
13780 shlibpath_var
=LIBRARY_PATH
13786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13787 soname_spec
='${libname}${release}${shared_ext}$major'
13788 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13789 shlibpath_var
=LD_LIBRARY_PATH
13790 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13791 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13792 # the default ld.so.conf also contains /usr/contrib/lib and
13793 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13794 # libtool to hard-code these into programs
13797 cygwin
* | mingw
* | pw32
* | cegcc
*)
13798 version_type
=windows
13803 case $GCC,$host_os in
13804 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13805 library_names_spec
='$libname.dll.a'
13806 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13807 postinstall_cmds
='base_file=`basename \${file}`~
13808 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13809 dldir=$destdir/`dirname \$dlpath`~
13810 test -d \$dldir || mkdir -p \$dldir~
13811 $install_prog $dir/$dlname \$dldir/$dlname~
13812 chmod a+x \$dldir/$dlname~
13813 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13814 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13816 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13817 dlpath=$dir/\$dldll~
13819 shlibpath_overrides_runpath
=yes
13823 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13824 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13828 # MinGW DLLs use traditional 'lib' prefix
13829 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13832 # pw32 DLLs use 'pw' prefix rather than 'lib'
13833 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13839 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13842 dynamic_linker
='Win32 ld.exe'
13843 # FIXME: first we should search . and the directory the executable is in
13847 darwin
* | rhapsody
*)
13848 dynamic_linker
="$host_os dyld"
13849 version_type
=darwin
13852 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13853 soname_spec
='${libname}${release}${major}$shared_ext'
13854 shlibpath_overrides_runpath
=yes
13855 shlibpath_var
=DYLD_LIBRARY_PATH
13856 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13858 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13866 soname_spec
='${libname}${release}${shared_ext}$major'
13867 shlibpath_var
=LD_LIBRARY_PATH
13870 freebsd
* | dragonfly
*)
13871 # DragonFly does not have aout. When/if they implement a new
13872 # versioning mechanism, adjust this.
13873 if test -x /usr
/bin
/objformat
; then
13874 objformat
=`/usr/bin/objformat`
13877 freebsd
[23].
*) objformat
=aout
;;
13878 *) objformat
=elf
;;
13881 version_type
=freebsd-
$objformat
13882 case $version_type in
13884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13889 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13893 shlibpath_var
=LD_LIBRARY_PATH
13896 shlibpath_overrides_runpath
=yes
13898 freebsd3.
[01]* | freebsdelf3.
[01]*)
13899 shlibpath_overrides_runpath
=yes
13900 hardcode_into_libs
=yes
13902 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13903 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13904 shlibpath_overrides_runpath
=no
13905 hardcode_into_libs
=yes
13907 *) # from 4.6 on, and DragonFly
13908 shlibpath_overrides_runpath
=yes
13909 hardcode_into_libs
=yes
13918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13919 soname_spec
='${libname}${release}${shared_ext}$major'
13920 shlibpath_var
=LD_LIBRARY_PATH
13921 hardcode_into_libs
=yes
13928 dynamic_linker
="$host_os runtime_loader"
13929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13930 soname_spec
='${libname}${release}${shared_ext}$major'
13931 shlibpath_var
=LIBRARY_PATH
13932 shlibpath_overrides_runpath
=yes
13933 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13934 hardcode_into_libs
=yes
13937 hpux9
* | hpux10
* | hpux11
*)
13938 # Give a soname corresponding to the major version so that dld.sl refuses to
13939 # link against other versions.
13946 hardcode_into_libs
=yes
13947 dynamic_linker
="$host_os dld.so"
13948 shlibpath_var
=LD_LIBRARY_PATH
13949 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13951 soname_spec
='${libname}${release}${shared_ext}$major'
13952 if test "X$HPUX_IA64_MODE" = X32
; then
13953 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13955 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13957 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13961 hardcode_into_libs
=yes
13962 dynamic_linker
="$host_os dld.sl"
13963 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13964 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13966 soname_spec
='${libname}${release}${shared_ext}$major'
13967 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13968 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13972 dynamic_linker
="$host_os dld.sl"
13973 shlibpath_var
=SHLIB_PATH
13974 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13976 soname_spec
='${libname}${release}${shared_ext}$major'
13979 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13980 postinstall_cmds
='chmod 555 $lib'
13981 # or fails outright, so override atomically:
13982 install_override_mode
=555
13989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13990 soname_spec
='${libname}${release}${shared_ext}$major'
13991 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13992 shlibpath_var
=LD_LIBRARY_PATH
13993 shlibpath_overrides_runpath
=no
13994 hardcode_into_libs
=yes
13997 irix5
* | irix6
* | nonstopux
*)
13999 nonstopux
*) version_type
=nonstopux
;;
14001 if test "$lt_cv_prog_gnu_ld" = yes; then
14009 soname_spec
='${libname}${release}${shared_ext}$major'
14010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14012 irix5
* | nonstopux
*)
14013 libsuff
= shlibsuff
=
14016 case $LD in # libtool.m4 will add one of these switches to LD
14017 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14018 libsuff
= shlibsuff
= libmagic
=32-bit;;
14019 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14020 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14021 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14022 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14023 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14027 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14028 shlibpath_overrides_runpath
=no
14029 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14030 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14031 hardcode_into_libs
=yes
14034 # No shared lib support for Linux oldld, aout, or coff.
14035 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14039 # This must be Linux ELF.
14040 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14045 soname_spec
='${libname}${release}${shared_ext}$major'
14046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14047 shlibpath_var
=LD_LIBRARY_PATH
14048 shlibpath_overrides_runpath
=no
14050 # Some binutils ld are patched to set DT_RUNPATH
14051 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14052 $as_echo_n "(cached) " >&6
14054 lt_cv_shlibpath_overrides_runpath
=no
14055 save_LDFLAGS
=$LDFLAGS
14056 save_libdir
=$libdir
14057 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14058 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14059 cat > conftest.
$ac_ext <<_ACEOF
14064 if ac_fn_fc_try_link
"$LINENO"; then :
14065 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14066 lt_cv_shlibpath_overrides_runpath
=yes
14069 rm -f core conftest.err conftest.
$ac_objext \
14070 conftest
$ac_exeext conftest.
$ac_ext
14071 LDFLAGS
=$save_LDFLAGS
14072 libdir
=$save_libdir
14076 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14078 # This implies no fast_install, which is unacceptable.
14079 # Some rework will be needed to allow for fast_install
14080 # before this can be enabled.
14081 hardcode_into_libs
=yes
14083 # Append ld.so.conf contents to the search path
14084 if test -f /etc
/ld.so.conf
; then
14085 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' ' '`
14086 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14089 # We used to test for /lib/ld.so.1 and disable shared libraries on
14090 # powerpc, because MkLinux only supported shared libraries with the
14091 # GNU dynamic linker. Since this was broken with cross compilers,
14092 # most powerpc-linux boxes support dynamic linking these days and
14093 # people can always --disable-shared, the test was removed, and we
14094 # assume the GNU/Linux dynamic linker is in use.
14095 dynamic_linker
='GNU/Linux ld.so'
14102 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14105 dynamic_linker
='NetBSD (a.out) ld.so'
14107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14108 soname_spec
='${libname}${release}${shared_ext}$major'
14109 dynamic_linker
='NetBSD ld.elf_so'
14111 shlibpath_var
=LD_LIBRARY_PATH
14112 shlibpath_overrides_runpath
=yes
14113 hardcode_into_libs
=yes
14118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14119 shlibpath_var
=LD_LIBRARY_PATH
14120 shlibpath_overrides_runpath
=yes
14127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14128 soname_spec
='${libname}${release}${shared_ext}$major'
14129 shlibpath_var
=LD_LIBRARY_PATH
14130 shlibpath_overrides_runpath
=no
14131 hardcode_into_libs
=yes
14132 dynamic_linker
='ldqnx.so'
14137 sys_lib_dlsearch_path_spec
="/usr/lib"
14139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14141 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14142 *) need_version
=no
;;
14144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14146 shlibpath_var
=LD_LIBRARY_PATH
14147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14149 openbsd2.
[89] | openbsd2.
[89].
*)
14150 shlibpath_overrides_runpath
=no
14153 shlibpath_overrides_runpath
=yes
14157 shlibpath_overrides_runpath
=yes
14162 libname_spec
='$name'
14165 library_names_spec
='$libname${shared_ext} $libname.a'
14166 dynamic_linker
='OS/2 ld.exe'
14167 shlibpath_var
=LIBPATH
14170 osf3
* | osf4
* | osf5
*)
14174 soname_spec
='${libname}${release}${shared_ext}$major'
14175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14176 shlibpath_var
=LD_LIBRARY_PATH
14177 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14178 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
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 shlibpath_overrides_runpath
=yes
14193 hardcode_into_libs
=yes
14194 # ldd complains unless libraries are executable
14195 postinstall_cmds
='chmod +x $lib'
14200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14201 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14202 shlibpath_var
=LD_LIBRARY_PATH
14203 shlibpath_overrides_runpath
=yes
14204 if test "$with_gnu_ld" = yes; then
14212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14213 soname_spec
='${libname}${release}${shared_ext}$major'
14214 shlibpath_var
=LD_LIBRARY_PATH
14215 case $host_vendor in
14217 shlibpath_overrides_runpath
=no
14219 runpath_var
=LD_RUN_PATH
14227 shlibpath_overrides_runpath
=no
14228 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14234 if test -d /usr
/nec
;then
14236 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14237 soname_spec
='$libname${shared_ext}.$major'
14238 shlibpath_var
=LD_LIBRARY_PATH
14242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14243 version_type
=freebsd-elf
14246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14247 soname_spec
='${libname}${release}${shared_ext}$major'
14248 shlibpath_var
=LD_LIBRARY_PATH
14249 shlibpath_overrides_runpath
=yes
14250 hardcode_into_libs
=yes
14251 if test "$with_gnu_ld" = yes; then
14252 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14254 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14257 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14261 sys_lib_dlsearch_path_spec
='/usr/lib'
14265 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14270 shlibpath_var
=LD_LIBRARY_PATH
14271 shlibpath_overrides_runpath
=no
14272 hardcode_into_libs
=yes
14277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14278 soname_spec
='${libname}${release}${shared_ext}$major'
14279 shlibpath_var
=LD_LIBRARY_PATH
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14287 $as_echo "$dynamic_linker" >&6; }
14288 test "$dynamic_linker" = no
&& can_build_shared
=no
14290 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14291 if test "$GCC" = yes; then
14292 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14295 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14296 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14298 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14299 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14340 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14341 hardcode_action_FC
=
14342 if test -n "$hardcode_libdir_flag_spec_FC" ||
14343 test -n "$runpath_var_FC" ||
14344 test "X$hardcode_automatic_FC" = "Xyes" ; then
14346 # We can hardcode non-existent directories.
14347 if test "$hardcode_direct_FC" != no
&&
14348 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14349 # have to relink, otherwise we might link with an installed library
14350 # when we should be linking with a yet-to-be-installed one
14351 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14352 test "$hardcode_minus_L_FC" != no
; then
14353 # Linking always hardcodes the temporary library directory.
14354 hardcode_action_FC
=relink
14356 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14357 hardcode_action_FC
=immediate
14360 # We cannot hardcode anything, or else we can only hardcode existing
14362 hardcode_action_FC
=unsupported
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14365 $as_echo "$hardcode_action_FC" >&6; }
14367 if test "$hardcode_action_FC" = relink ||
14368 test "$inherit_rpath_FC" = yes; then
14369 # Fast installation is not supported
14370 enable_fast_install
=no
14371 elif test "$shlibpath_overrides_runpath" = yes ||
14372 test "$enable_shared" = no
; then
14373 # Fast installation is not necessary
14374 enable_fast_install
=needless
14383 fi # test -n "$compiler"
14387 fi # test "$_lt_disable_FC" != yes
14390 ac_cpp
='$CPP $CPPFLAGS'
14391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14396 FCFLAGS
="$FCFLAGS -Wall -L../libgfortran"
14398 # For libtool versioning info, format is CURRENT:REVISION:AGE
14399 libtool_VERSION
=1:0:0
14402 # Check header files.
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14404 $as_echo_n "checking for ANSI C header files... " >&6; }
14405 if test "${ac_cv_header_stdc+set}" = set; then :
14406 $as_echo_n "(cached) " >&6
14408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 #include <stdlib.h>
14411 #include <stdarg.h>
14412 #include <string.h>
14423 if ac_fn_c_try_compile
"$LINENO"; then :
14424 ac_cv_header_stdc
=yes
14426 ac_cv_header_stdc
=no
14428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14430 if test $ac_cv_header_stdc = yes; then
14431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14434 #include <string.h>
14437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14438 $EGREP "memchr" >/dev
/null
2>&1; then :
14441 ac_cv_header_stdc
=no
14447 if test $ac_cv_header_stdc = yes; then
14448 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14451 #include <stdlib.h>
14454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14455 $EGREP "free" >/dev
/null
2>&1; then :
14458 ac_cv_header_stdc
=no
14464 if test $ac_cv_header_stdc = yes; then
14465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14466 if test "$cross_compiling" = yes; then :
14469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14472 #include <stdlib.h>
14473 #if ((' ' & 0x0FF) == 0x020)
14474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14477 # define ISLOWER(c) \
14478 (('a' <= (c) && (c) <= 'i') \
14479 || ('j' <= (c) && (c) <= 'r') \
14480 || ('s' <= (c) && (c) <= 'z'))
14481 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14484 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14489 for (i = 0; i < 256; i++)
14490 if (XOR (islower (i), ISLOWER (i))
14491 || toupper (i) != TOUPPER (i))
14496 if ac_fn_c_try_run
"$LINENO"; then :
14499 ac_cv_header_stdc
=no
14501 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14502 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14508 $as_echo "$ac_cv_header_stdc" >&6; }
14509 if test $ac_cv_header_stdc = yes; then
14511 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14516 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14517 if test "${ac_cv_header_time+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14522 #include <sys/types.h>
14523 #include <sys/time.h>
14529 if ((struct tm *) 0)
14535 if ac_fn_c_try_compile
"$LINENO"; then :
14536 ac_cv_header_time
=yes
14538 ac_cv_header_time
=no
14540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14543 $as_echo "$ac_cv_header_time" >&6; }
14544 if test $ac_cv_header_time = yes; then
14546 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14551 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14552 if test "${gcc_cv_header_string+set}" = set; then :
14553 $as_echo_n "(cached) " >&6
14555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14557 #include <string.h>
14558 #include <strings.h>
14567 if ac_fn_c_try_compile
"$LINENO"; then :
14568 gcc_cv_header_string
=yes
14570 gcc_cv_header_string
=no
14572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14575 $as_echo "$gcc_cv_header_string" >&6; }
14576 if test $gcc_cv_header_string = yes; then
14578 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14582 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h sys
/time.h
14584 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14585 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14586 eval as_val
=\$
$as_ac_Header
14587 if test "x$as_val" = x
""yes; then :
14588 cat >>confdefs.h
<<_ACEOF
14589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14599 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14601 acx_cv_header_stdint
=stddef.h
14602 acx_cv_header_stdint_kind
="(already complete)"
14603 for i
in stdint.h
$inttype_headers; do
14604 unset ac_cv_type_uintptr_t
14605 unset ac_cv_type_uintmax_t
14606 unset ac_cv_type_int_least32_t
14607 unset ac_cv_type_int_fast32_t
14608 unset ac_cv_type_uint64_t
14609 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
14610 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
14613 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
14614 acx_cv_header_stdint
=$i
14619 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14622 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14625 acx_cv_header_stdint_kind
="(mostly complete)"
14628 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
14631 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
14634 acx_cv_header_stdint_kind
="(mostly complete)"
14637 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
14640 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
14643 acx_cv_header_stdint_kind
="(mostly complete)"
14646 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14649 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14652 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14657 if test "$acx_cv_header_stdint" = stddef.h
; then
14658 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14659 for i
in stdint.h
$inttype_headers; do
14660 unset ac_cv_type_uintptr_t
14661 unset ac_cv_type_uint32_t
14662 unset ac_cv_type_uint64_t
14663 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
14664 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
14667 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
14668 acx_cv_header_stdint
=$i
14673 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14676 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14680 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14683 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14690 if test "$acx_cv_header_stdint" = stddef.h
; then
14691 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14692 for i
in sys
/types.h
$inttype_headers; do
14693 unset ac_cv_type_u_int32_t
14694 unset ac_cv_type_u_int64_t
14695 $as_echo_n "looking for u_intXX_t types in $i, " >&6
14696 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
14699 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
14700 acx_cv_header_stdint
=$i
14705 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
14708 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
14715 if test "$acx_cv_header_stdint" = stddef.h
; then
14716 acx_cv_header_stdint_kind
="(using manual detection)"
14719 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14720 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14721 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14722 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14723 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14725 # ----------------- Summarize what we found so far
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
14728 $as_echo_n "checking what to include in gstdint.h... " >&6; }
14730 case `$as_basename -- gstdint.h ||
14731 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14732 Xgstdint.h : 'X\(//\)$' \| \
14733 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
14734 $as_echo X/gstdint.h |
14735 sed '/^.*\/\([^/][^/]*\)\/*$/{
14748 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14749 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14750 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14751 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14756 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
14758 # ----------------- done included file, check C basic types --------
14760 # Lacking an uintptr_t? Test size of void *
14761 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14762 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
14763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14765 # This bug is HP SR number 8606223364.
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14767 $as_echo_n "checking size of void *... " >&6; }
14768 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14769 $as_echo_n "(cached) " >&6
14771 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14774 if test "$ac_cv_type_void_p" = yes; then
14775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14777 { as_fn_set_status
77
14778 as_fn_error
"cannot compute sizeof (void *)
14779 See \`config.log' for more details." "$LINENO" 5; }; }
14781 ac_cv_sizeof_void_p
=0
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14787 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14791 cat >>confdefs.h
<<_ACEOF
14792 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14798 # Lacking an uint64_t? Test size of long
14799 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14800 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
14801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14803 # This bug is HP SR number 8606223364.
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14805 $as_echo_n "checking size of long... " >&6; }
14806 if test "${ac_cv_sizeof_long+set}" = set; then :
14807 $as_echo_n "(cached) " >&6
14809 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14812 if test "$ac_cv_type_long" = yes; then
14813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14815 { as_fn_set_status
77
14816 as_fn_error
"cannot compute sizeof (long)
14817 See \`config.log' for more details." "$LINENO" 5; }; }
14819 ac_cv_sizeof_long
=0
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14825 $as_echo "$ac_cv_sizeof_long" >&6; }
14829 cat >>confdefs.h
<<_ACEOF
14830 #define SIZEOF_LONG $ac_cv_sizeof_long
14836 if test $acx_cv_header_stdint = stddef.h
; then
14837 # Lacking a good header? Test size of everything and deduce all types.
14838 # The cast to long int works around a bug in the HP C Compiler
14839 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14840 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14841 # This bug is HP SR number 8606223364.
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14843 $as_echo_n "checking size of int... " >&6; }
14844 if test "${ac_cv_sizeof_int+set}" = set; then :
14845 $as_echo_n "(cached) " >&6
14847 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14850 if test "$ac_cv_type_int" = yes; then
14851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14853 { as_fn_set_status
77
14854 as_fn_error
"cannot compute sizeof (int)
14855 See \`config.log' for more details." "$LINENO" 5; }; }
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14863 $as_echo "$ac_cv_sizeof_int" >&6; }
14867 cat >>confdefs.h
<<_ACEOF
14868 #define SIZEOF_INT $ac_cv_sizeof_int
14872 # The cast to long int works around a bug in the HP C Compiler
14873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14875 # This bug is HP SR number 8606223364.
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14877 $as_echo_n "checking size of short... " >&6; }
14878 if test "${ac_cv_sizeof_short+set}" = set; then :
14879 $as_echo_n "(cached) " >&6
14881 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
14884 if test "$ac_cv_type_short" = yes; then
14885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14887 { as_fn_set_status
77
14888 as_fn_error
"cannot compute sizeof (short)
14889 See \`config.log' for more details." "$LINENO" 5; }; }
14891 ac_cv_sizeof_short
=0
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14897 $as_echo "$ac_cv_sizeof_short" >&6; }
14901 cat >>confdefs.h
<<_ACEOF
14902 #define SIZEOF_SHORT $ac_cv_sizeof_short
14906 # The cast to long int works around a bug in the HP C Compiler
14907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14909 # This bug is HP SR number 8606223364.
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
14911 $as_echo_n "checking size of char... " >&6; }
14912 if test "${ac_cv_sizeof_char+set}" = set; then :
14913 $as_echo_n "(cached) " >&6
14915 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
14918 if test "$ac_cv_type_char" = yes; then
14919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14921 { as_fn_set_status
77
14922 as_fn_error
"cannot compute sizeof (char)
14923 See \`config.log' for more details." "$LINENO" 5; }; }
14925 ac_cv_sizeof_char
=0
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
14931 $as_echo "$ac_cv_sizeof_char" >&6; }
14935 cat >>confdefs.h
<<_ACEOF
14936 #define SIZEOF_CHAR $ac_cv_sizeof_char
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
14942 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
14943 case "$ac_cv_sizeof_char" in
14944 1) acx_cv_type_int8_t
=char
;;
14945 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
14948 $as_echo "$acx_cv_type_int8_t" >&6; }
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
14951 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
14952 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14953 2:*) acx_cv_type_int16_t
=int
;;
14954 *:2) acx_cv_type_int16_t
=short
;;
14955 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
14958 $as_echo "$acx_cv_type_int16_t" >&6; }
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
14961 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
14962 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14963 4:*) acx_cv_type_int32_t
=int
;;
14964 *:4) acx_cv_type_int32_t
=long
;;
14965 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
14968 $as_echo "$acx_cv_type_int32_t" >&6; }
14971 # These tests are here to make the output prettier
14973 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14974 case "$ac_cv_sizeof_long" in
14975 8) acx_cv_type_int64_t
=long
;;
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
14978 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14980 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
14983 # Now we can use the above types
14985 if test "$ac_cv_type_uintptr_t" != yes; then
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
14987 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
14988 case $ac_cv_sizeof_void_p in
14989 2) acx_cv_type_intptr_t
=int16_t
;;
14990 4) acx_cv_type_intptr_t
=int32_t
;;
14991 8) acx_cv_type_intptr_t
=int64_t
;;
14992 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
14995 $as_echo "$acx_cv_type_intptr_t" >&6; }
14998 # ----------------- done all checks, emit header -------------
14999 ac_config_commands
="$ac_config_commands gstdint.h"
15004 # Check to see if -pthread or -lpthread is needed. Prefer the former.
15005 # In case the pthread.h system header is not found, this test will fail.
15007 CFLAGS
="$CFLAGS -pthread"
15008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 #include <pthread.h>
15011 void *g(void *d) { return NULL; }
15015 pthread_t t; pthread_create(&t,NULL,g,NULL);
15020 if ac_fn_c_try_link
"$LINENO"; then :
15021 XPCFLAGS
=" -Wc,-pthread"
15023 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 #include <pthread.h>
15027 void *g(void *d) { return NULL; }
15031 pthread_t t; pthread_create(&t,NULL,g,NULL);
15036 if ac_fn_c_try_link
"$LINENO"; then :
15039 as_fn_error
"Pthreads are required to build libgomp" "$LINENO" 5
15041 rm -f core conftest.err conftest.
$ac_objext \
15042 conftest
$ac_exeext conftest.
$ac_ext
15044 rm -f core conftest.err conftest.
$ac_objext \
15045 conftest
$ac_exeext conftest.
$ac_ext
15047 # Check for functions needed.
15048 for ac_func
in getloadavg clock_gettime strtoull
15050 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15051 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15052 eval as_val
=\$
$as_ac_var
15053 if test "x$as_val" = x
""yes; then :
15054 cat >>confdefs.h
<<_ACEOF
15055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15062 # Check for broken semaphore implementation on darwin.
15063 # sem_init returns: sem_init error: Function not implemented.
15067 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
15072 # Check whether --enable-linux-futex was given.
15073 if test "${enable_linux_futex+set}" = set; then :
15074 enableval
=$enable_linux_futex;
15075 case "$enableval" in
15077 *) as_fn_error
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
15081 enable_linux_futex
=default
15087 case "$enable_linux_futex" in
15089 # If headers don't have gettid/futex syscalls definition, then
15090 # default to no, otherwise there will be compile time failures.
15091 # Otherwise, default to yes. If we don't detect we are
15092 # compiled/linked against NPTL and not cross-compiling, check
15093 # if programs are run by default against NPTL and if not, issue
15095 enable_linux_futex
=no
15096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <sys/syscall.h>
15103 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15108 if ac_fn_c_try_link
"$LINENO"; then :
15110 LIBS
="-lpthread $LIBS"
15111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15113 #ifndef _GNU_SOURCE
15114 #define _GNU_SOURCE 1
15116 #include <pthread.h>
15117 pthread_t th; void *status;
15121 pthread_tryjoin_np (th, &status);
15126 if ac_fn_c_try_link
"$LINENO"; then :
15127 enable_linux_futex
=yes
15129 if test x
$cross_compiling = xno
; then
15130 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
15131 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
15133 If so, please configure with --disable-linux-futex" >&5
15134 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
15135 If so, please configure with --disable-linux-futex" >&2;}
15138 enable_linux_futex
=yes
15140 rm -f core conftest.err conftest.
$ac_objext \
15141 conftest
$ac_exeext conftest.
$ac_ext
15144 rm -f core conftest.err conftest.
$ac_objext \
15145 conftest
$ac_exeext conftest.
$ac_ext
15148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h. */
15150 #include <sys/syscall.h>
15155 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15160 if ac_fn_c_try_link
"$LINENO"; then :
15163 as_fn_error
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
15165 rm -f core conftest.err conftest.
$ac_objext \
15166 conftest
$ac_exeext conftest.
$ac_ext
15171 enable_linux_futex
=no
15174 if test x
$enable_linux_futex = xyes
; then
15179 # Check for pthread_{,attr_}[sg]etaffinity_np.
15180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15182 #define _GNU_SOURCE
15183 #include <pthread.h>
15188 pthread_attr_t attr;
15189 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15190 if (CPU_ISSET (0, &cpuset))
15191 CPU_SET (1, &cpuset);
15193 CPU_ZERO (&cpuset);
15194 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15195 pthread_attr_init (&attr);
15196 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15197 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15202 if ac_fn_c_try_link
"$LINENO"; then :
15204 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
15207 rm -f core conftest.err conftest.
$ac_objext \
15208 conftest
$ac_exeext conftest.
$ac_ext
15210 # At least for glibc, clock_gettime is in librt. But don't pull that
15211 # in if it still doesn't give us the function we want.
15212 if test $ac_cv_func_clock_gettime = no
; then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15214 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15215 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15218 ac_check_lib_save_LIBS
=$LIBS
15220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply. */
15229 char clock_gettime ();
15233 return clock_gettime ();
15238 if ac_fn_c_try_link
"$LINENO"; then :
15239 ac_cv_lib_rt_clock_gettime
=yes
15241 ac_cv_lib_rt_clock_gettime
=no
15243 rm -f core conftest.err conftest.
$ac_objext \
15244 conftest
$ac_exeext conftest.
$ac_ext
15245 LIBS
=$ac_check_lib_save_LIBS
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15248 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15249 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15252 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15258 # See if we support thread-local storage.
15261 # Check whether --enable-tls was given.
15262 if test "${enable_tls+set}" = set; then :
15263 enableval
=$enable_tls;
15264 case "$enableval" in
15266 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
15275 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
15276 if test "${gcc_cv_have_tls+set}" = set; then :
15277 $as_echo_n "(cached) " >&6
15280 if test "$cross_compiling" = yes; then :
15281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15283 __thread int a; int b; int main() { return a = b; }
15285 if ac_fn_c_try_link
"$LINENO"; then :
15286 chktls_save_LDFLAGS
="$LDFLAGS"
15289 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
15292 chktls_save_CFLAGS
="$CFLAGS"
15293 CFLAGS
="-fPIC $CFLAGS"
15294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15296 int f() { return 0; }
15298 if ac_fn_c_try_link
"$LINENO"; then :
15299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15301 __thread int a; int b; int f() { return a = b; }
15303 if ac_fn_c_try_link
"$LINENO"; then :
15304 gcc_cv_have_tls
=yes
15308 rm -f core conftest.err conftest.
$ac_objext \
15309 conftest
$ac_exeext conftest.
$ac_ext
15311 gcc_cv_have_tls
=yes
15313 rm -f core conftest.err conftest.
$ac_objext \
15314 conftest
$ac_exeext conftest.
$ac_ext
15315 CFLAGS
="$chktls_save_CFLAGS"
15316 LDFLAGS
="$chktls_save_LDFLAGS"
15320 rm -f core conftest.err conftest.
$ac_objext \
15321 conftest
$ac_exeext conftest.
$ac_ext
15325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 __thread int a; int b; int main() { return a = b; }
15329 if ac_fn_c_try_run
"$LINENO"; then :
15330 chktls_save_LDFLAGS
="$LDFLAGS"
15331 LDFLAGS
="-static $LDFLAGS"
15332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15334 int main() { return 0; }
15336 if ac_fn_c_try_link
"$LINENO"; then :
15337 if test "$cross_compiling" = yes; then :
15338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15340 as_fn_error
"cannot run test program while cross compiling
15341 See \`config.log' for more details." "$LINENO" 5; }
15343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345 __thread int a; int b; int main() { return a = b; }
15347 if ac_fn_c_try_run
"$LINENO"; then :
15348 gcc_cv_have_tls
=yes
15352 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15353 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15357 gcc_cv_have_tls
=yes
15359 rm -f core conftest.err conftest.
$ac_objext \
15360 conftest
$ac_exeext conftest.
$ac_ext
15361 LDFLAGS
="$chktls_save_LDFLAGS"
15362 if test $gcc_cv_have_tls = yes; then
15363 chktls_save_CFLAGS
="$CFLAGS"
15364 thread_CFLAGS
=failed
15365 for flag
in '' '-pthread' '-lpthread'; do
15366 CFLAGS
="$flag $chktls_save_CFLAGS"
15367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15369 #include <pthread.h>
15370 void *g(void *d) { return NULL; }
15374 pthread_t t; pthread_create(&t,NULL,g,NULL);
15379 if ac_fn_c_try_link
"$LINENO"; then :
15380 thread_CFLAGS
="$flag"
15382 rm -f core conftest.err conftest.
$ac_objext \
15383 conftest
$ac_exeext conftest.
$ac_ext
15384 if test "X$thread_CFLAGS" != Xfailed
; then
15388 CFLAGS
="$chktls_save_CFLAGS"
15389 if test "X$thread_CFLAGS" != Xfailed
; then
15390 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
15391 if test "$cross_compiling" = yes; then :
15392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15394 as_fn_error
"cannot run test program while cross compiling
15395 See \`config.log' for more details." "$LINENO" 5; }
15397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15399 #include <pthread.h>
15401 static int *volatile a_in_other_thread;
15403 thread_func (void *arg)
15405 a_in_other_thread = &a;
15412 void *thread_retval;
15413 int *volatile a_in_main_thread;
15414 a_in_main_thread = &a;
15415 if (pthread_create (&thread, (pthread_attr_t *)0,
15416 thread_func, (void *)0))
15418 if (pthread_join (thread, &thread_retval))
15420 return (a_in_other_thread == a_in_main_thread);
15425 if ac_fn_c_try_run
"$LINENO"; then :
15426 gcc_cv_have_tls
=yes
15430 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15431 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15434 CFLAGS
="$chktls_save_CFLAGS"
15440 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15441 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
15446 $as_echo "$gcc_cv_have_tls" >&6; }
15447 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
15449 $as_echo "#define HAVE_TLS 1" >>confdefs.h
15453 # See what sort of export controls are availible.
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
15456 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
15457 if test "${libgomp_cv_have_attribute_visibility+set}" = set; then :
15458 $as_echo_n "(cached) " >&6
15461 save_CFLAGS
="$CFLAGS"
15462 CFLAGS
="$CFLAGS -Werror"
15463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 void __attribute__((visibility("hidden"))) foo(void) { }
15474 if ac_fn_c_try_compile
"$LINENO"; then :
15475 libgomp_cv_have_attribute_visibility
=yes
15477 libgomp_cv_have_attribute_visibility
=no
15479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15480 CFLAGS
="$save_CFLAGS"
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_visibility" >&5
15483 $as_echo "$libgomp_cv_have_attribute_visibility" >&6; }
15484 if test $libgomp_cv_have_attribute_visibility = yes; then
15486 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
15491 $as_echo_n "checking whether the target supports dllexport... " >&6; }
15492 if test "${libgomp_cv_have_attribute_dllexport+set}" = set; then :
15493 $as_echo_n "(cached) " >&6
15496 save_CFLAGS
="$CFLAGS"
15497 CFLAGS
="$CFLAGS -Werror"
15498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15500 void __attribute__((dllexport)) foo(void) { }
15509 if ac_fn_c_try_compile
"$LINENO"; then :
15510 libgomp_cv_have_attribute_dllexport
=yes
15512 libgomp_cv_have_attribute_dllexport
=no
15514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15515 CFLAGS
="$save_CFLAGS"
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_dllexport" >&5
15518 $as_echo "$libgomp_cv_have_attribute_dllexport" >&6; }
15519 if test $libgomp_cv_have_attribute_dllexport = yes; then
15521 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
15526 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
15527 if test "${libgomp_cv_have_attribute_alias+set}" = set; then :
15528 $as_echo_n "(cached) " >&6
15531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15535 extern void bar(void) __attribute__((alias("foo")));
15544 if ac_fn_c_try_link
"$LINENO"; then :
15545 libgomp_cv_have_attribute_alias
=yes
15547 libgomp_cv_have_attribute_alias
=no
15549 rm -f core conftest.err conftest.
$ac_objext \
15550 conftest
$ac_exeext conftest.
$ac_ext
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_alias" >&5
15553 $as_echo "$libgomp_cv_have_attribute_alias" >&6; }
15554 if test $libgomp_cv_have_attribute_alias = yes; then
15556 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
15561 # Check whether --with-gnu-ld was given.
15562 if test "${with_gnu_ld+set}" = set; then :
15563 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15569 if test "$GCC" = yes; then
15570 # Check if gcc -print-prog-name=ld gives a path.
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15572 $as_echo_n "checking for ld used by $CC... " >&6; }
15575 # gcc leaves a trailing carriage return which upsets mingw
15576 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15578 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15581 # Accept absolute paths.
15583 re_direlt
='/[^/][^/]*/\.\./'
15584 # Canonicalize the pathname of ld
15585 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15586 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15587 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15589 test -z "$LD" && LD
="$ac_prog"
15592 # If it fails, then pretend we aren't using GCC.
15596 # If it is relative, then search for the first ld in PATH.
15597 with_gnu_ld
=unknown
15600 elif test "$with_gnu_ld" = yes; then
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15602 $as_echo_n "checking for GNU ld... " >&6; }
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15605 $as_echo_n "checking for non-GNU ld... " >&6; }
15607 if test "${lt_cv_path_LD+set}" = set; then :
15608 $as_echo_n "(cached) " >&6
15610 if test -z "$LD"; then
15611 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15612 for ac_dir
in $PATH; do
15614 test -z "$ac_dir" && ac_dir
=.
15615 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15616 lt_cv_path_LD
="$ac_dir/$ac_prog"
15617 # Check to see if the program is GNU ld. I'd rather use --version,
15618 # but apparently some variants of GNU ld only accept -v.
15619 # Break only if it was the GNU/non-GNU ld that we prefer.
15620 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15621 *GNU
* |
*'with BFD'*)
15622 test "$with_gnu_ld" != no
&& break
15625 test "$with_gnu_ld" != yes && break
15632 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15636 LD
="$lt_cv_path_LD"
15637 if test -n "$LD"; then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15639 $as_echo "$LD" >&6; }
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15642 $as_echo "no" >&6; }
15644 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15646 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15647 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
15648 $as_echo_n "(cached) " >&6
15650 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15651 case `$LD -v 2>&1 </dev/null` in
15652 *GNU
* |
*'with BFD'*)
15653 lt_cv_prog_gnu_ld
=yes
15656 lt_cv_prog_gnu_ld
=no
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15661 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15662 with_gnu_ld
=$lt_cv_prog_gnu_ld
15670 # If we're not using GNU ld, then there's no point in even trying these
15671 # tests. Check for that first. We should have already tested for gld
15672 # by now (in libtool), but require it now just to be safe...
15673 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
15674 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
15678 # The name set by libtool depends on the version of libtool. Shame on us
15679 # for depending on an impl detail, but c'est la vie. Older versions used
15680 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
15681 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
15682 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
15683 # set (hence we're using an older libtool), then set it.
15684 if test x
${with_gnu_ld+set} != xset
; then
15685 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
15686 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
15689 with_gnu_ld
=$ac_cv_prog_gnu_ld
15693 # Start by getting the version number. I think the libtool test already
15694 # does some of this, but throws away the result.
15695 libgomp_ld_is_gold
=no
15696 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
15697 libgomp_ld_is_gold
=yes
15700 ldver
=`$LD --version 2>/dev/null |
15701 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'`
15703 libgomp_gnu_ld_version
=`echo $ldver | \
15704 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
15706 # Set --gc-sections.
15707 if test "$with_gnu_ld" = "notbroken"; then
15708 # GNU ld it is! Joy and bunny rabbits!
15710 # All these tests are for C++; save the language and the compiler flags.
15711 # Need to do this so that g++ won't try to link in libstdc++
15712 ac_test_CFLAGS
="${CFLAGS+set}"
15713 ac_save_CFLAGS
="$CFLAGS"
15714 CFLAGS
='-x c++ -Wl,--gc-sections'
15716 # Check for -Wl,--gc-sections
15717 # XXX This test is broken at the moment, as symbols required for linking
15718 # are now in libsupc++ (not built yet). In addition, this test has
15719 # cored on solaris in the past. In addition, --gc-sections doesn't
15720 # really work at the moment (keeps on discarding used sections, first
15721 # .eh_frame and now some of the glibc sections for iconv).
15722 # Bzzzzt. Thanks for playing, maybe next time.
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
15724 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
15725 if test "$cross_compiling" = yes; then :
15726 ac_sectionLDflags
=yes
15728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15729 /* end confdefs.h. */
15739 if ac_fn_c_try_run
"$LINENO"; then :
15740 ac_sectionLDflags
=yes
15742 ac_sectionLDflags
=no
15744 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15745 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15748 if test "$ac_test_CFLAGS" = set; then
15749 CFLAGS
="$ac_save_CFLAGS"
15751 # this is the suspicious part
15754 if test "$ac_sectionLDflags" = "yes"; then
15755 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
15758 $as_echo "$ac_sectionLDflags" >&6; }
15761 # Set linker optimization flags.
15762 if test x
"$with_gnu_ld" = x
"yes"; then
15763 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
15771 # Check whether --enable-symvers was given.
15772 if test "${enable_symvers+set}" = set; then :
15773 enableval
=$enable_symvers;
15774 case "$enableval" in
15775 yes|no|gnu
*|sun
) ;;
15776 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
15785 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
15786 # don't know enough about $LD to do tricks...
15789 # Turn a 'yes' into a suitable default.
15790 if test x
$enable_symvers = xyes
; then
15791 # FIXME The following test is too strict, in theory.
15792 if test $enable_shared = no ||
test "x$LD" = x
; then
15795 if test $with_gnu_ld = yes ; then
15798 case ${target_os} in
15799 # Sun symbol versioning exists since Solaris 2.5.
15800 solaris2.
[5-9]* | solaris2.1
[0-9]*)
15801 enable_symvers
=sun
;;
15803 enable_symvers
=no
;;
15809 # Check if 'sun' was requested on non-Solaris 2 platforms.
15810 if test x
$enable_symvers = xsun
; then
15811 case ${target_os} in
15816 # Unlikely to work.
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
15818 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
15820 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15822 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15828 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
15829 if test $enable_symvers != no
; then
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
15831 $as_echo_n "checking for shared libgcc... " >&6; }
15832 ac_save_CFLAGS
="$CFLAGS"
15834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15835 /* end confdefs.h. */
15845 if ac_fn_c_try_link
"$LINENO"; then :
15846 libgomp_shared_libgcc
=yes
15848 libgomp_shared_libgcc
=no
15850 rm -f core conftest.err conftest.
$ac_objext \
15851 conftest
$ac_exeext conftest.
$ac_ext
15852 CFLAGS
="$ac_save_CFLAGS"
15853 if test $libgomp_shared_libgcc = no
; then
15854 cat > conftest.c
<<EOF
15855 int main (void) { return 0; }
15857 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
15858 -shared -shared-libgcc -o conftest.so \
15859 conftest.c -v 2>&1 >/dev/null \
15860 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
15861 rm -f conftest.c conftest.so
15862 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
15863 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
15864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15875 if ac_fn_c_try_link
"$LINENO"; then :
15876 libgomp_shared_libgcc
=yes
15878 rm -f core conftest.err conftest.
$ac_objext \
15879 conftest
$ac_exeext conftest.
$ac_ext
15880 CFLAGS
="$ac_save_CFLAGS"
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
15884 $as_echo "$libgomp_shared_libgcc" >&6; }
15887 # For GNU ld, we need at least this version. The format is described in
15888 # LIBGOMP_CHECK_LINKER_FEATURES above.
15889 libgomp_min_gnu_ld_version
=21400
15890 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
15892 # Check to see if unspecified "yes" value can win, given results above.
15893 # Change "yes" into either "no" or a style name.
15894 if test $enable_symvers != no
&& test $libgomp_shared_libgcc = yes; then
15895 if test $with_gnu_ld = yes; then
15896 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
15898 elif test $libgomp_ld_is_gold = yes ; then
15901 # The right tools, the right setup, but too old. Fallbacks?
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
15903 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
15905 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
15907 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
15909 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
15910 if test $libgomp_gnu_ld_version -ge 21200 ; then
15911 # Globbing fix is present, proper block support is not.
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15913 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15918 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15922 elif test $enable_symvers = sun
; then
15923 : All interesting versions of Sun ld support sun style symbol versioning.
15925 # just fail for now
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
15927 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
15929 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
15931 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15933 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
15939 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
15940 if test "${libgomp_cv_have_as_symver_directive+set}" = set; then :
15941 $as_echo_n "(cached) " >&6
15944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15946 void foo (void); __asm (".symver foo, bar@SYMVER");
15955 if ac_fn_c_try_compile
"$LINENO"; then :
15956 libgomp_cv_have_as_symver_directive
=yes
15958 libgomp_cv_have_as_symver_directive
=no
15960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
15963 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
15964 if test $libgomp_cv_have_as_symver_directive = yes; then
15966 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
15970 if test $enable_symvers != no
; then
15971 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
15972 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
15974 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
15975 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
15978 if test $enable_symvers = gnu
; then
15979 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
15980 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
15982 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
15983 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
15986 if test $enable_symvers = sun
; then
15987 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
15988 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
15990 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
15991 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
15995 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
15997 if test $enable_symvers != no
; then
15998 case ${target_os} in
15999 # The Solaris 2 runtime linker doesn't support the GNU extension of
16000 # binding the same symbol to different versions
16003 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
16006 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
16013 if test $enable_symvers = gnu
; then
16015 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
16019 # Get target configury.
16020 .
${srcdir}/configure.tgt
16021 CFLAGS
="$save_CFLAGS $XCFLAGS"
16023 # Check for __sync_val_compare_and_swap, but only after the target has
16024 # had a chance to set XCFLAGS.
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
16027 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
16028 if test "${libgomp_cv_have_sync_builtins+set}" = set; then :
16029 $as_echo_n "(cached) " >&6
16032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16033 /* end confdefs.h. */
16038 int foo; __sync_val_compare_and_swap(&foo, 0, 1);
16043 if ac_fn_c_try_link
"$LINENO"; then :
16044 libgomp_cv_have_sync_builtins
=yes
16046 libgomp_cv_have_sync_builtins
=no
16048 rm -f core conftest.err conftest.
$ac_objext \
16049 conftest
$ac_exeext conftest.
$ac_ext
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
16052 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
16053 if test $libgomp_cv_have_sync_builtins = yes; then
16055 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
16059 XCFLAGS
="$XCFLAGS$XPCFLAGS"
16065 # Cleanup and exit.
16066 CFLAGS
="$save_CFLAGS"
16067 cat >confcache
<<\_ACEOF
16068 # This file is a shell script that caches the results of configure
16069 # tests run on this system so they can be shared between configure
16070 # scripts and configure runs, see configure's option --config-cache.
16071 # It is not useful on other systems. If it contains results you don't
16072 # want to keep, you may remove or edit it.
16074 # config.status only pays attention to the cache file if you give it
16075 # the --recheck option to rerun configure.
16077 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16078 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16079 # following values.
16083 # The following way of writing the cache mishandles newlines in values,
16084 # but we know of no workaround that is simple, portable, and efficient.
16085 # So, we kill variables containing newlines.
16086 # Ultrix sh set writes to stderr and can't be redirected directly,
16087 # and sets the high bit in the cache file unless we assign to the vars.
16089 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16090 eval ac_val
=\$
$ac_var
16094 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16095 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16098 _ | IFS | as_nl
) ;; #(
16099 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16100 *) { eval $ac_var=; unset $ac_var;} ;;
16106 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16107 *${as_nl}ac_space
=\
*)
16108 # `set' does not quote correctly, so add quotes: double-quote
16109 # substitution turns \\\\ into \\, and sed turns \\ into \.
16112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16115 # `set' quotes correctly as required by POSIX, so do not add quotes.
16116 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16125 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16127 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16129 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16130 if test -w "$cache_file"; then
16131 test "x$cache_file" != "x/dev/null" &&
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16133 $as_echo "$as_me: updating cache $cache_file" >&6;}
16134 cat confcache
>$cache_file
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16137 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16142 if test ${multilib} = yes; then
16143 multilib_arg
="--enable-multilib"
16148 # Set up the set of libraries that we need to link against for libgomp.
16149 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
16150 # which will force linkage against -lpthread (or equivalent for the system).
16151 # That's not 100% ideal, but about the best we can do easily.
16152 if test $enable_shared = yes; then
16153 link_gomp
="-lgomp %{static: $LIBS}"
16155 link_gomp
="-lgomp $LIBS"
16159 if test "$ac_cv_fc_compiler_gnu" = yes; then
16161 USE_FORTRAN_FALSE
='#'
16163 USE_FORTRAN_TRUE
='#'
16168 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
16169 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
16170 # the underscore here and update the PREREQ. If it doesn't, then we'll
16171 # need to copy this macro to our acinclude.m4.
16172 save_CFLAGS
="$CFLAGS"
16173 for i
in $config_path; do
16174 if test -f $srcdir/config
/$i/omp-lock.h
; then
16175 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
16180 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE" ""; then :
16183 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
16187 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN" ""; then :
16192 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE" ""; then :
16197 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN" ""; then :
16202 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE" ""; then :
16205 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
16209 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN" ""; then :
16214 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE" ""; then :
16219 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN" ""; then :
16225 # If the lock fits in an integer, then arrange for Fortran to use that
16226 # integer. If it doesn't, then arrange for Fortran to use a pointer.
16227 # Except that we don't have a way at present to multi-lib the installed
16228 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
16230 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
16231 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
16232 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
16235 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
16236 OMP_NEST_LOCK_KIND
=8
16238 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
16239 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
16240 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
16243 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
16244 OMP_NEST_LOCK_25_KIND
=8
16259 CFLAGS
="$save_CFLAGS"
16261 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
16263 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
16265 cat >confcache
<<\_ACEOF
16266 # This file is a shell script that caches the results of configure
16267 # tests run on this system so they can be shared between configure
16268 # scripts and configure runs, see configure's option --config-cache.
16269 # It is not useful on other systems. If it contains results you don't
16270 # want to keep, you may remove or edit it.
16272 # config.status only pays attention to the cache file if you give it
16273 # the --recheck option to rerun configure.
16275 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16276 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16277 # following values.
16281 # The following way of writing the cache mishandles newlines in values,
16282 # but we know of no workaround that is simple, portable, and efficient.
16283 # So, we kill variables containing newlines.
16284 # Ultrix sh set writes to stderr and can't be redirected directly,
16285 # and sets the high bit in the cache file unless we assign to the vars.
16287 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16288 eval ac_val
=\$
$ac_var
16292 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16293 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16296 _ | IFS | as_nl
) ;; #(
16297 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16298 *) { eval $ac_var=; unset $ac_var;} ;;
16304 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16305 *${as_nl}ac_space
=\
*)
16306 # `set' does not quote correctly, so add quotes: double-quote
16307 # substitution turns \\\\ into \\, and sed turns \\ into \.
16310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16313 # `set' quotes correctly as required by POSIX, so do not add quotes.
16314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16323 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16325 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16327 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16328 if test -w "$cache_file"; then
16329 test "x$cache_file" != "x/dev/null" &&
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16331 $as_echo "$as_me: updating cache $cache_file" >&6;}
16332 cat confcache
>$cache_file
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16340 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16341 # Let make expand exec_prefix.
16342 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16344 DEFS
=-DHAVE_CONFIG_H
16348 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16349 # 1. Remove the extension, and $U if already installed.
16350 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16351 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16353 # will be set to the directory where LIBOBJS objects are built.
16354 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16355 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16357 LIBOBJS
=$ac_libobjs
16359 LTLIBOBJS
=$ac_ltlibobjs
16362 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
16363 as_fn_error
"conditional \"GENINSRC\" was never defined.
16364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16366 if test -n "$EXEEXT"; then
16368 am__EXEEXT_FALSE
='#'
16370 am__EXEEXT_TRUE
='#'
16374 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16375 as_fn_error
"conditional \"AMDEP\" was never defined.
16376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16378 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16379 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16382 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
16383 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
16384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16386 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16387 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16390 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
16391 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
16392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16394 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
16395 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
16396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16398 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
16399 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
16400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16402 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
16403 as_fn_error
"conditional \"USE_FORTRAN\" was never defined.
16404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16407 : ${CONFIG_STATUS=./config.status}
16409 ac_clean_files_save
=$ac_clean_files
16410 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16412 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16414 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16416 # Generated by $as_me.
16417 # Run this file to recreate the current configuration.
16418 # Compiler output produced by configure, useful for debugging
16419 # configure, is in config.log if it exists.
16422 ac_cs_recheck=false
16425 SHELL=\${CONFIG_SHELL-$SHELL}
16428 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16429 ## -------------------- ##
16430 ## M4sh Initialization. ##
16431 ## -------------------- ##
16433 # Be more Bourne compatible
16434 DUALCASE
=1; export DUALCASE
# for MKS sh
16435 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16438 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16439 # is contrary to our usage. Disable this feature.
16440 alias -g '${1+"$@"}'='"$@"'
16441 setopt NO_GLOB_SUBST
16443 case `(set -o) 2>/dev/null` in #(
16455 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16456 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16457 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16458 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16459 # Prefer a ksh shell builtin over an external printf program on Solaris,
16460 # but without wasting forks for bash or zsh.
16461 if test -z "$BASH_VERSION$ZSH_VERSION" \
16462 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16463 as_echo='print
-r --'
16464 as_echo_n='print
-rn --'
16465 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16466 as_echo='printf %s
\n'
16467 as_echo_n='printf %s
'
16469 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16470 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16471 as_echo_n='/usr
/ucb
/echo -n'
16473 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16474 as_echo_n_body='eval
16478 expr "X$arg" : "X\\(.*\\)$as_nl";
16479 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16481 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16483 export as_echo_n_body
16484 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16486 export as_echo_body
16487 as_echo='sh
-c $as_echo_body as_echo
'
16490 # The user is always right.
16491 if test "${PATH_SEPARATOR+set}" != set; then
16493 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16494 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16501 # We need space, tab and new line, in precisely that order. Quoting is
16502 # there to prevent editors from complaining about space-tab.
16503 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16504 # splitting by setting IFS to empty value.)
16507 # Find who we are. Look in the path if we contain no directory separator.
16509 *[\\/]* ) as_myself=$0 ;;
16510 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16511 for as_dir in $PATH
16514 test -z "$as_dir" && as_dir=.
16515 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16521 # We did not find ourselves, most probably we were run as `sh COMMAND'
16522 # in which case we are not to be found in the path.
16523 if test "x$as_myself" = x
; then
16526 if test ! -f "$as_myself"; then
16527 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16531 # Unset variables that we do not need and which cause bugs (e.g. in
16532 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16533 # suppresses any "Segmentation fault" message there. '((' could
16534 # trigger a bug in pdksh 5.2.14.
16535 for as_var
in BASH_ENV ENV MAIL MAILPATH
16536 do eval test x\
${$as_var+set} = xset \
16537 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16550 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16553 # as_fn_error ERROR [LINENO LOG_FD]
16554 # ---------------------------------
16555 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16556 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16557 # script with status $?, using 1 if that was 0.
16560 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16562 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16563 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16565 $as_echo "$as_me: error: $1" >&2
16566 as_fn_exit
$as_status
16570 # as_fn_set_status STATUS
16571 # -----------------------
16572 # Set $? to STATUS, without forking.
16573 as_fn_set_status
()
16576 } # as_fn_set_status
16578 # as_fn_exit STATUS
16579 # -----------------
16580 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16584 as_fn_set_status
$1
16590 # Portably unset VAR.
16593 { eval $1=; unset $1;}
16595 as_unset
=as_fn_unset
16596 # as_fn_append VAR VALUE
16597 # ----------------------
16598 # Append the text in VALUE to the end of the definition contained in VAR. Take
16599 # advantage of any shell optimizations that allow amortized linear growth over
16600 # repeated appends, instead of the typical quadratic growth present in naive
16602 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16603 eval 'as_fn_append ()
16614 # as_fn_arith ARG...
16615 # ------------------
16616 # Perform arithmetic evaluation on the ARGs, and store the result in the
16617 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16618 # must be portable across $(()) and expr.
16619 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16620 eval 'as_fn_arith ()
16627 as_val
=`expr "$@" || test $? -eq 1`
16632 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16633 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16639 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16640 as_basename
=basename
16645 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16651 as_me
=`$as_basename -- "$0" ||
16652 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16653 X"$0" : 'X\(//\)$' \| \
16654 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16656 sed '/^.*\/\([^/][^/]*\)\/*$/{
16670 # Avoid depending upon Character Ranges.
16671 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16672 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16673 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16674 as_cr_digits
='0123456789'
16675 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16677 ECHO_C
= ECHO_N
= ECHO_T
=
16678 case `echo -n x` in #(((((
16680 case `echo 'xy\c'` in
16681 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16683 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16690 rm -f conf$$ conf$$.exe conf$$.
file
16691 if test -d conf$$.dir
; then
16692 rm -f conf$$.dir
/conf$$.
file
16695 mkdir conf$$.dir
2>/dev
/null
16697 if (echo >conf$$.
file) 2>/dev
/null
; then
16698 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16700 # ... but there are two gotchas:
16701 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16702 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16703 # In both cases, we have to default to `cp -p'.
16704 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16706 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16714 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16715 rmdir conf$$.dir
2>/dev
/null
16720 # Create "$as_dir" as a directory, including parents if necessary.
16725 -*) as_dir
=.
/$as_dir;;
16727 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16731 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16732 *) as_qdir
=$as_dir;;
16734 as_dirs
="'$as_qdir' $as_dirs"
16735 as_dir
=`$as_dirname -- "$as_dir" ||
16736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16737 X"$as_dir" : 'X\(//\)[^/]' \| \
16738 X"$as_dir" : 'X\(//\)$' \| \
16739 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16740 $as_echo X"$as_dir" |
16741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16745 /^X\(\/\/\)[^/].*/{
16758 test -d "$as_dir" && break
16760 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16761 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16765 if mkdir
-p .
2>/dev
/null
; then
16766 as_mkdir_p
='mkdir -p "$as_dir"'
16768 test -d .
/-p && rmdir .
/-p
16772 if test -x / >/dev
/null
2>&1; then
16773 as_test_x
='test -x'
16775 if ls -dL / >/dev
/null
2>&1; then
16782 if test -d "$1"; then
16788 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16789 ???[sx]*):;;*)false;;esac;fi
16793 as_executable_p
=$as_test_x
16795 # Sed expression to map a string onto a valid CPP name.
16796 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16798 # Sed expression to map a string onto a valid variable name.
16799 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16803 ## ----------------------------------- ##
16804 ## Main body of $CONFIG_STATUS script. ##
16805 ## ----------------------------------- ##
16807 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16810 # Save the log message, to keep $0 and so on meaningful, and to
16811 # report actual input values of CONFIG_FILES etc. instead of their
16812 # values after options handling.
16814 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
16815 generated by GNU Autoconf 2.64. Invocation command line was
16817 CONFIG_FILES = $CONFIG_FILES
16818 CONFIG_HEADERS = $CONFIG_HEADERS
16819 CONFIG_LINKS = $CONFIG_LINKS
16820 CONFIG_COMMANDS = $CONFIG_COMMANDS
16823 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16828 case $ac_config_files in *"
16829 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16832 case $ac_config_headers in *"
16833 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16838 # Files that config.status was made for.
16839 config_files="$ac_config_files"
16840 config_headers="$ac_config_headers"
16841 config_commands="$ac_config_commands"
16845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16847 \`$as_me' instantiates files and other configuration actions
16848 from templates according to the current configuration. Unless the files
16849 and actions are specified as TAGs, all are instantiated by default.
16851 Usage: $0 [OPTION]... [TAG]...
16853 -h, --help print this help, then exit
16854 -V, --version print version number and configuration settings, then exit
16855 -q, --quiet, --silent
16856 do not print progress messages
16857 -d, --debug don't remove temporary files
16858 --recheck update $as_me by reconfiguring in the same conditions
16859 --file=FILE[:TEMPLATE]
16860 instantiate the configuration file FILE
16861 --header=FILE[:TEMPLATE]
16862 instantiate the configuration header FILE
16864 Configuration files:
16867 Configuration headers:
16870 Configuration commands:
16873 Report bugs to the package provider.
16874 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
16875 General help using GNU software: <http://www.gnu.org/gethelp/>."
16878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16880 GNU OpenMP Runtime Library config.status 1.0
16881 configured by $0, generated by GNU Autoconf 2.64,
16882 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16884 Copyright (C) 2009 Free Software Foundation, Inc.
16885 This config.status script is free software; the Free Software Foundation
16886 gives unlimited permission to copy, distribute and modify it."
16893 test -n "\$AWK" || AWK=awk
16896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16897 # The default lists apply if the user does not specify any file.
16903 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16904 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16915 # Handling of the options.
16916 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16918 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16919 $as_echo "$ac_cs_version"; exit ;;
16920 --debug |
--debu |
--deb |
--de |
--d |
-d )
16922 --file |
--fil |
--fi |
--f )
16925 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16927 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16928 ac_need_defaults
=false
;;
16929 --header |
--heade |
--head |
--hea )
16932 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16934 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16935 ac_need_defaults
=false
;;
16937 # Conflict between --help and --header
16938 as_fn_error
"ambiguous option: \`$1'
16939 Try \`$0 --help' for more information.";;
16940 --help |
--hel |
-h )
16941 $as_echo "$ac_cs_usage"; exit ;;
16942 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16943 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16946 # This is an error.
16947 -*) as_fn_error
"unrecognized option: \`$1'
16948 Try \`$0 --help' for more information." ;;
16950 *) as_fn_append ac_config_targets
" $1"
16951 ac_need_defaults
=false
;;
16957 ac_configure_extra_args
=
16959 if $ac_cs_silent; then
16961 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16966 if \$ac_cs_recheck; then
16967 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16969 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16970 CONFIG_SHELL='$SHELL'
16971 export CONFIG_SHELL
16976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16980 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16981 ## Running $as_me. ##
16987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16995 with_multisubdir="$with_multisubdir"
16996 with_multisrctop="$with_multisrctop"
16997 with_target_subdir="$with_target_subdir"
16998 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16999 multi_basedir="$multi_basedir"
17000 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17003 GFORTRAN="$GFORTRAN"
17005 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17008 # The HP-UX ksh and POSIX shell print the target directory to stdout
17009 # if CDPATH is set.
17010 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17012 sed_quote_subst='$sed_quote_subst'
17013 double_quote_subst='$double_quote_subst'
17014 delay_variable_subst='$delay_variable_subst'
17015 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17016 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17017 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17018 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17019 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17020 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17021 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17022 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17023 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17024 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17025 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17026 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17027 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17028 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17029 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17030 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17031 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17032 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17033 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17034 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17035 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17036 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17037 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17038 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17039 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17040 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17041 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17042 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17043 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17044 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17045 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17046 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17047 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17048 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17049 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17050 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17051 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17052 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17053 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17054 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17055 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17056 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17057 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17058 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17059 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17060 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17061 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17062 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17063 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"`'
17064 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17065 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17066 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17067 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17068 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17069 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17070 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17071 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17072 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17073 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17074 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17075 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17076 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17077 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17078 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17079 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17080 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17081 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17082 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17083 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17084 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17085 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17086 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17087 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17088 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17089 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17090 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17091 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17092 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17093 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17094 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17095 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17096 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17097 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17098 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17099 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17100 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17101 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17102 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17103 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17104 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17105 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17106 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17107 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17108 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17109 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17110 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17111 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17112 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17113 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17114 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17115 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17116 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17117 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17118 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17119 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17120 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17121 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17122 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17123 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17124 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17125 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17126 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17127 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17128 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17129 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17130 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17131 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17132 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17133 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17134 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17135 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17136 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17137 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17138 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17139 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17140 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17141 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
17142 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
17143 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
17144 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17145 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
17146 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
17147 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
17148 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
17149 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
17150 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
17151 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
17152 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
17153 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
17154 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17155 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17156 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
17157 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
17158 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
17159 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17160 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17161 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
17162 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17163 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
17164 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17165 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17166 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17167 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
17168 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
17169 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
17170 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
17171 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
17172 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
17173 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
17174 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
17175 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
17176 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
17177 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
17178 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
17179 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17180 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17181 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
17182 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
17183 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
17184 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
17185 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
17186 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
17187 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
17188 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
17189 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
17192 LTCFLAGS='$LTCFLAGS'
17193 compiler='$compiler_DEFAULT'
17195 # A function that is used when there is no print builtin or printf.
17196 func_fallback_echo ()
17198 eval 'cat <<_LTECHO_EOF
17203 # Quote evaled strings.
17217 deplibs_check_method \
17226 lt_cv_sys_global_symbol_pipe \
17227 lt_cv_sys_global_symbol_to_cdecl \
17228 lt_cv_sys_global_symbol_to_c_name_address \
17229 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17230 lt_prog_compiler_no_builtin_flag \
17231 lt_prog_compiler_wl \
17232 lt_prog_compiler_pic \
17233 lt_prog_compiler_static \
17234 lt_cv_prog_compiler_c_o \
17242 export_dynamic_flag_spec \
17243 whole_archive_flag_spec \
17244 compiler_needs_object \
17246 allow_undefined_flag \
17247 no_undefined_flag \
17248 hardcode_libdir_flag_spec \
17249 hardcode_libdir_flag_spec_ld \
17250 hardcode_libdir_separator \
17255 variables_saved_for_relink \
17257 library_names_spec \
17259 install_override_mode \
17263 compiler_lib_search_dirs \
17268 compiler_lib_search_path \
17272 lt_prog_compiler_no_builtin_flag_FC \
17273 lt_prog_compiler_wl_FC \
17274 lt_prog_compiler_pic_FC \
17275 lt_prog_compiler_static_FC \
17276 lt_cv_prog_compiler_c_o_FC \
17277 export_dynamic_flag_spec_FC \
17278 whole_archive_flag_spec_FC \
17279 compiler_needs_object_FC \
17281 allow_undefined_flag_FC \
17282 no_undefined_flag_FC \
17283 hardcode_libdir_flag_spec_FC \
17284 hardcode_libdir_flag_spec_ld_FC \
17285 hardcode_libdir_separator_FC \
17286 fix_srcfile_path_FC \
17287 exclude_expsyms_FC \
17288 include_expsyms_FC \
17289 file_list_spec_FC \
17290 compiler_lib_search_dirs_FC \
17291 predep_objects_FC \
17292 postdep_objects_FC \
17295 compiler_lib_search_path_FC; do
17296 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17297 *[\\\\\\\`\\"\\\$]*)
17298 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17301 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17306 # Double-quote double-evaled strings.
17307 for var in reload_cmds \
17308 old_postinstall_cmds \
17309 old_postuninstall_cmds \
17311 extract_expsyms_cmds \
17312 old_archive_from_new_cmds \
17313 old_archive_from_expsyms_cmds \
17315 archive_expsym_cmds \
17317 module_expsym_cmds \
17318 export_symbols_cmds \
17321 postuninstall_cmds \
17323 sys_lib_search_path_spec \
17324 sys_lib_dlsearch_path_spec \
17326 old_archive_cmds_FC \
17327 old_archive_from_new_cmds_FC \
17328 old_archive_from_expsyms_cmds_FC \
17330 archive_expsym_cmds_FC \
17332 module_expsym_cmds_FC \
17333 export_symbols_cmds_FC \
17334 prelink_cmds_FC; do
17335 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17336 *[\\\\\\\`\\"\\\$]*)
17337 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17340 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17345 ac_aux_dir='$ac_aux_dir'
17346 xsi_shell='$xsi_shell'
17347 lt_shell_append='$lt_shell_append'
17349 # See if we are running on zsh, and set the options which allow our
17350 # commands through without removal of \ escapes INIT.
17351 if test -n "\${ZSH_VERSION+set}" ; then
17352 setopt NO_GLOB_SUBST
17358 TIMESTAMP='$TIMESTAMP'
17369 acx_cv_header_stdint="$acx_cv_header_stdint"
17370 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17371 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17372 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17373 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17374 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17375 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17376 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17377 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17378 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17379 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17380 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17381 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17382 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17389 # Handling of arguments.
17390 for ac_config_target
in $ac_config_targets
17392 case $ac_config_target in
17393 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17394 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17395 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17396 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17397 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17398 "omp.h") CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
17399 "omp_lib.h") CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
17400 "omp_lib.f90") CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
17401 "libgomp_f.h") CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
17402 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17403 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17404 "libgomp.spec") CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
17406 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17411 # If the user did not use the arguments to specify the items to instantiate,
17412 # then the envvar interface is used. Set only those that are not.
17413 # We use the long form for the default assignment because of an extremely
17414 # bizarre bug on SunOS 4.1.3.
17415 if $ac_need_defaults; then
17416 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17417 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17418 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17421 # Have a temporary directory for convenience. Make it in the build tree
17422 # simply because there is no reason against having it here, and in addition,
17423 # creating and moving files from /tmp can sometimes cause problems.
17424 # Hook for its removal unless debugging.
17425 # Note that there is a small window in which the directory will not be cleaned:
17426 # after its creation but before its name has been assigned to `$tmp'.
17430 trap 'exit_status=$?
17431 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17433 trap 'as_fn_exit 1' 1 2 13 15
17435 # Create a (secure) tmp directory for tmp files.
17438 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17439 test -n "$tmp" && test -d "$tmp"
17442 tmp
=.
/conf$$
-$RANDOM
17443 (umask 077 && mkdir
"$tmp")
17444 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17446 # Set up the scripts for CONFIG_FILES section.
17447 # No need to generate them if there are no CONFIG_FILES.
17448 # This happens for instance with `./config.status config.h'.
17449 if test -n "$CONFIG_FILES"; then
17452 ac_cr
=`echo X | tr X '\015'`
17453 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17454 # But we know of no other shell where ac_cr would be empty at this
17455 # point, so we can use a bashism as a fallback.
17456 if test "x$ac_cr" = x
; then
17457 eval ac_cr
=\$
\'\\r
\'
17459 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17460 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17463 ac_cs_awk_cr
=$ac_cr
17466 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17471 echo "cat >conf$$subs.awk <<_ACEOF" &&
17472 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17474 } >conf$$subs.sh ||
17475 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17476 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17478 for ac_last_try in false false false false false :; do
17479 . ./conf$$subs.sh ||
17480 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17482 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17483 if test $ac_delim_n = $ac_delim_num; then
17485 elif $ac_last_try; then
17486 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17488 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17491 rm -f conf$$subs.sh
17493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17494 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17498 s/^/S["/; s
/!.
*/"]=/
17508 s/\(.\{148\}\).*/\1/
17510 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17515 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17522 s/\(.\{148\}\).*/\1/
17524 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17528 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17533 ' <conf$$subs.awk | sed '
17538 ' >>$CONFIG_STATUS || ac_write_fail=1
17539 rm -f conf$$subs.awk
17540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17542 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17543 for (key in S) S_is_set[key] = 1
17549 nfields = split(line, field, "@
")
17551 len = length(field[1])
17552 for (i = 2; i < nfields; i++) {
17554 keylen = length(key)
17555 if (S_is_set[key]) {
17557 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17558 len += length(value) + length(field[++i])
17569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17570 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17571 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17574 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17575 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17578 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17579 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17580 # trailing colons and then remove the whole line if VPATH becomes empty
17581 # (actually we leave an empty line to preserve line numbers).
17582 if test "x
$srcdir" = x.; then
17583 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17584 s/:*\$(srcdir):*/:/
17585 s/:*\${srcdir}:*/:/
17587 s/^\([^=]*=[ ]*\):*/\1/
17593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17594 fi # test -n "$CONFIG_FILES"
17596 # Set up the scripts for CONFIG_HEADERS section.
17597 # No need to generate them if there are no CONFIG_HEADERS.
17598 # This happens for instance with `./config.status Makefile'.
17599 if test -n "$CONFIG_HEADERS"; then
17600 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17604 # Transform confdefs.h into an awk script `defines.awk', embedded as
17605 # here-document in config.status, that substitutes the proper values into
17606 # config.h.in to produce config.h.
17608 # Create a delimiter string that does not exist in confdefs.h, to ease
17609 # handling of long lines.
17611 for ac_last_try in false false :; do
17612 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17613 if test -z "$ac_t"; then
17615 elif $ac_last_try; then
17616 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17618 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17622 # For the awk script, D is an array of macro values keyed by name,
17623 # likewise P contains macro parameters if any. Preserve backslash
17624 # newline sequences.
17626 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17628 s/.\{148\}/&'"$ac_delim"'/g
17631 s/^[ ]*#[ ]*define[ ][ ]*/ /
17638 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17640 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17644 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17645 D["\
1"]=" \
3\\\\\\n
"\\/p
17647 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17652 s/.\{148\}/&'"$ac_delim"'/g
17657 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17660 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17662 ' <confdefs.h | sed '
17663 s/'"$ac_delim"'/"\\\
17664 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17667 for (key in D) D_is_set[key] = 1
17670 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17672 split(line, arg, " ")
17673 if (arg[1] == "#") {
17677 defundef
= substr
(arg
[1], 2)
17680 split(mac1
, mac2
, "(") #)
17682 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17683 if (D_is_set
[macro
]) {
17684 # Preserve the white space surrounding the "#".
17685 print prefix
"define", macro P
[macro
] D
[macro
]
17688 # Replace #undef with comments. This is necessary, for example,
17689 # in the case of _POSIX_SOURCE, which is predefined and required
17690 # on some systems where configure will not decide to define it.
17691 if (defundef
== "undef") {
17692 print
"/*", prefix defundef
, macro
, "*/"
17700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17701 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17702 fi # test -n "$CONFIG_HEADERS"
17705 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17710 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17712 case $ac_mode$ac_tag in
17714 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17715 :[FH
]-) ac_tag
=-:-;;
17716 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17733 -) ac_f
="$tmp/stdin";;
17734 *) # Look for the file first in the build tree, then in the source tree
17735 # (if the path is not absolute). The absolute path cannot be DOS-style,
17736 # because $ac_f cannot contain `:'.
17740 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17742 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17744 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17745 as_fn_append ac_file_inputs
" '$ac_f'"
17748 # Let's still pretend it is `configure' which instantiates (i.e., don't
17749 # use $as_me), people would be surprised to read:
17750 # /* config.h. Generated by config.status. */
17751 configure_input
='Generated from '`
17752 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17754 if test x
"$ac_file" != x-
; then
17755 configure_input
="$ac_file. $configure_input"
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17757 $as_echo "$as_me: creating $ac_file" >&6;}
17759 # Neutralize special characters interpreted by sed in replacement strings.
17760 case $configure_input in #(
17761 *\
&* |
*\|
* |
*\\* )
17762 ac_sed_conf_input
=`$as_echo "$configure_input" |
17763 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17764 *) ac_sed_conf_input
=$configure_input;;
17768 *:-:* |
*:-) cat >"$tmp/stdin" \
17769 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17774 ac_dir
=`$as_dirname -- "$ac_file" ||
17775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17776 X"$ac_file" : 'X\(//\)[^/]' \| \
17777 X"$ac_file" : 'X\(//\)$' \| \
17778 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17779 $as_echo X"$ac_file" |
17780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17784 /^X\(\/\/\)[^/].*/{
17797 as_dir
="$ac_dir"; as_fn_mkdir_p
17801 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17803 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17804 # A ".." for each directory in $ac_dir_suffix.
17805 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17806 case $ac_top_builddir_sub in
17807 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17808 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17811 ac_abs_top_builddir
=$ac_pwd
17812 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17813 # for backward compatibility:
17814 ac_top_builddir
=$ac_top_build_prefix
17817 .
) # We are building in place.
17819 ac_top_srcdir
=$ac_top_builddir_sub
17820 ac_abs_top_srcdir
=$ac_pwd ;;
17821 [\\/]* | ?
:[\\/]* ) # Absolute name.
17822 ac_srcdir
=$srcdir$ac_dir_suffix;
17823 ac_top_srcdir
=$srcdir
17824 ac_abs_top_srcdir
=$srcdir ;;
17825 *) # Relative name.
17826 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17827 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17828 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17830 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17840 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17841 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17843 ac_MKDIR_P
=$MKDIR_P
17845 [\\/$
]* | ?
:[\\/]* ) ;;
17846 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17851 # If the template does not know about datarootdir, expand it.
17852 # FIXME: This hack should be removed a few years after 2.60.
17853 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17864 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17865 *datarootdir
*) ac_datarootdir_seen
=yes;;
17866 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17868 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17871 ac_datarootdir_hack='
17872 s&@datadir@&$datadir&g
17873 s&@docdir@&$docdir&g
17874 s&@infodir@&$infodir&g
17875 s&@localedir@&$localedir&g
17876 s&@mandir@&$mandir&g
17877 s&\\\${datarootdir}&$datarootdir&g' ;;
17881 # Neutralize VPATH when `$srcdir' = `.'.
17882 # Shell code in configure.ac might set extrasub.
17883 # FIXME: do we really want to maintain this feature?
17884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17885 ac_sed_extra="$ac_vpsub
17888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17890 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17891 s|@configure_input@|
$ac_sed_conf_input|
;t t
17892 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17893 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17894 s
&@srcdir@
&$ac_srcdir&;t t
17895 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17896 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17897 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17898 s
&@builddir@
&$ac_builddir&;t t
17899 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17900 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17901 s
&@INSTALL@
&$ac_INSTALL&;t t
17902 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17903 $ac_datarootdir_hack
17905 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17906 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17909 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17910 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17912 which seems to be undefined. Please make sure it is defined." >&5
17913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17914 which seems to be undefined. Please make sure it is defined." >&2;}
17918 -) cat "$tmp/out" && rm -f "$tmp/out";;
17919 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17921 || as_fn_error "could not create $ac_file" "$LINENO" 5
17927 if test x"$ac_file" != x-; then
17929 $as_echo "/* $configure_input */" \
17930 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17931 } >"$tmp/config.h" \
17932 || as_fn_error "could not create $ac_file" "$LINENO" 5
17933 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17935 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17938 mv "$tmp/config.h" "$ac_file" \
17939 || as_fn_error "could not create $ac_file" "$LINENO" 5
17942 $as_echo "/* $configure_input */" \
17943 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17944 || as_fn_error "could not create -" "$LINENO" 5
17946 # Compute "$ac_file"'s index
in $config_headers.
17949 for _am_header
in $config_headers :; do
17950 case $_am_header in
17951 $_am_arg |
$_am_arg:* )
17954 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17957 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17958 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17959 X"$_am_arg" : 'X\(//\)[^/]' \| \
17960 X"$_am_arg" : 'X\(//\)$' \| \
17961 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17962 $as_echo X"$_am_arg" |
17963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17967 /^X\(\/\/\)[^/].*/{
17979 s/.*/./; q'`/stamp-h
$_am_stamp_count
17982 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17983 $as_echo "$as_me: executing $ac_file commands" >&6;}
17988 case $ac_file$ac_mode in
17990 # Only add multilib support code if we just rebuilt the top-level
17992 case " $CONFIG_FILES " in
17994 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17997 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17998 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17999 # are listed without --file. Let's play safe and only enable the eval
18000 # if we detect the quoting.
18001 case $CONFIG_FILES in
18002 *\'*) eval set x
"$CONFIG_FILES" ;;
18003 *) set x
$CONFIG_FILES ;;
18008 # Strip MF so we end up with the name of the file.
18009 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18010 # Check whether this is an Automake generated Makefile or not.
18011 # We used to match only the files named `Makefile.in', but
18012 # some people rename them; so instead we look at the file content.
18013 # Grep'ing the first line is not enough: some people post-process
18014 # each Makefile.in and add a new line on top of each file to say so.
18015 # Grep'ing the whole file is not good either: AIX grep has a line
18016 # limit of 2048, but all sed's we know have understand at least 4000.
18017 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18018 dirpart
=`$as_dirname -- "$mf" ||
18019 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18020 X"$mf" : 'X\(//\)[^/]' \| \
18021 X"$mf" : 'X\(//\)$' \| \
18022 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18028 /^X\(\/\/\)[^/].*/{
18044 # Extract the definition of DEPDIR, am__include, and am__quote
18045 # from the Makefile without running `make'.
18046 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18047 test -z "$DEPDIR" && continue
18048 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18049 test -z "am__include" && continue
18050 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18051 # When using ansi2knr, U may be empty or an underscore; expand it
18052 U
=`sed -n 's/^U = //p' < "$mf"`
18053 # Find all dependency output files, they are included files with
18054 # $(DEPDIR) in their names. We invoke sed twice because it is the
18055 # simplest approach to changing $(DEPDIR) to its actual value in the
18057 for file in `sed -n "
18058 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18059 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18060 # Make sure the directory exists.
18061 test -f "$dirpart/$file" && continue
18062 fdir
=`$as_dirname -- "$file" ||
18063 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18064 X"$file" : 'X\(//\)[^/]' \| \
18065 X"$file" : 'X\(//\)$' \| \
18066 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18067 $as_echo X"$file" |
18068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18072 /^X\(\/\/\)[^/].*/{
18085 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18086 # echo "creating $dirpart/$file"
18087 echo '# dummy' > "$dirpart/$file"
18094 # See if we are running on zsh, and set the options which allow our
18095 # commands through without removal of \ escapes.
18096 if test -n "${ZSH_VERSION+set}" ; then
18097 setopt NO_GLOB_SUBST
18100 cfgfile
="${ofile}T"
18101 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18104 cat <<_LT_EOF >> "$cfgfile"
18107 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18108 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18109 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18110 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18112 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18113 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18114 # Written by Gordon Matzigkeit, 1996
18116 # This file is part of GNU Libtool.
18118 # GNU Libtool is free software; you can redistribute it and/or
18119 # modify it under the terms of the GNU General Public License as
18120 # published by the Free Software Foundation; either version 2 of
18121 # the License, or (at your option) any later version.
18123 # As a special exception to the GNU General Public License,
18124 # if you distribute this file as part of a program or library that
18125 # is built using GNU Libtool, you may include this file under the
18126 # same distribution terms that you use for the rest of that program.
18128 # GNU Libtool is distributed in the hope that it will be useful,
18129 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18130 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18131 # GNU General Public License for more details.
18133 # You should have received a copy of the GNU General Public License
18134 # along with GNU Libtool; see the file COPYING. If not, a copy
18135 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18136 # obtained by writing to the Free Software Foundation, Inc.,
18137 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18140 # The names of the tagged configurations supported by this script.
18141 available_tags="FC "
18143 # ### BEGIN LIBTOOL CONFIG
18145 # Which release of libtool.m4 was used?
18146 macro_version=$macro_version
18147 macro_revision=$macro_revision
18149 # Whether or not to build shared libraries.
18150 build_libtool_libs=$enable_shared
18152 # Whether or not to build static libraries.
18153 build_old_libs=$enable_static
18155 # What type of objects to build.
18158 # Whether or not to optimize for fast installation.
18159 fast_install=$enable_fast_install
18161 # Shell to use when invoking shell scripts.
18164 # An echo program that protects backslashes.
18168 host_alias=$host_alias
18172 # The build system.
18173 build_alias=$build_alias
18177 # A sed program that does not truncate output.
18180 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18181 Xsed="\$SED -e 1s/^X//"
18183 # A grep program that handles long lines.
18189 # A literal string matcher.
18192 # A BSD- or MS-compatible name lister.
18195 # Whether we need soft or hard links.
18198 # What is the maximum length of a command?
18199 max_cmd_len=$max_cmd_len
18201 # Object file suffix (normally "o").
18204 # Executable file suffix (normally "").
18207 # whether the shell understands "unset".
18210 # turn spaces into newlines.
18213 # turn newlines into spaces.
18216 # An object symbol dumper.
18217 OBJDUMP=$lt_OBJDUMP
18219 # Method to check whether dependent libraries are shared objects.
18220 deplibs_check_method=$lt_deplibs_check_method
18222 # Command to use when deplibs_check_method == "file_magic".
18223 file_magic_cmd=$lt_file_magic_cmd
18227 AR_FLAGS=$lt_AR_FLAGS
18229 # A symbol stripping program.
18232 # Commands used to install an old-style archive.
18234 old_postinstall_cmds=$lt_old_postinstall_cmds
18235 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18237 # Whether to use a lock for old archive extraction.
18238 lock_old_archive_extraction=$lock_old_archive_extraction
18243 # LTCC compiler flags.
18244 LTCFLAGS=$lt_CFLAGS
18246 # Take the output of nm and produce a listing of raw symbols and C names.
18247 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18249 # Transform the output of nm in a proper C declaration.
18250 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18252 # Transform the output of nm in a C name address pair.
18253 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18255 # Transform the output of nm in a C name address pair when lib prefix is needed.
18256 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18258 # The name of the directory that contains temporary libtool files.
18261 # Used to examine libraries when file_magic_cmd begins with "file".
18262 MAGIC_CMD=$MAGIC_CMD
18264 # Must we lock files when doing compilation?
18265 need_locks=$lt_need_locks
18267 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18268 DSYMUTIL=$lt_DSYMUTIL
18270 # Tool to change global to local symbols on Mac OS X.
18273 # Tool to manipulate fat objects and archives on Mac OS X.
18276 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18279 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18280 OTOOL64=$lt_OTOOL64
18282 # Old archive suffix (normally "a").
18285 # Shared library suffix (normally ".so").
18286 shrext_cmds=$lt_shrext_cmds
18288 # The commands to extract the exported symbol list from a shared archive.
18289 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18291 # Variables whose values should be saved in libtool wrapper scripts and
18292 # restored at link time.
18293 variables_saved_for_relink=$lt_variables_saved_for_relink
18295 # Do we need the "lib" prefix for modules?
18296 need_lib_prefix=$need_lib_prefix
18298 # Do we need a version for libraries?
18299 need_version=$need_version
18301 # Library versioning type.
18302 version_type=$version_type
18304 # Shared library runtime path variable.
18305 runpath_var=$runpath_var
18307 # Shared library path variable.
18308 shlibpath_var=$shlibpath_var
18310 # Is shlibpath searched before the hard-coded library search path?
18311 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18313 # Format of library name prefix.
18314 libname_spec=$lt_libname_spec
18316 # List of archive names. First name is the real one, the rest are links.
18317 # The last name is the one that the linker finds with -lNAME
18318 library_names_spec=$lt_library_names_spec
18320 # The coded name of the library, if different from the real name.
18321 soname_spec=$lt_soname_spec
18323 # Permission mode override for installation of shared libraries.
18324 install_override_mode=$lt_install_override_mode
18326 # Command to use after installation of a shared archive.
18327 postinstall_cmds=$lt_postinstall_cmds
18329 # Command to use after uninstallation of a shared archive.
18330 postuninstall_cmds=$lt_postuninstall_cmds
18332 # Commands used to finish a libtool library installation in a directory.
18333 finish_cmds=$lt_finish_cmds
18335 # As "finish_cmds", except a single script fragment to be evaled but
18337 finish_eval=$lt_finish_eval
18339 # Whether we should hardcode library paths into libraries.
18340 hardcode_into_libs=$hardcode_into_libs
18342 # Compile-time system search path for libraries.
18343 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18345 # Run-time system search path for libraries.
18346 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18348 # Whether dlopen is supported.
18349 dlopen_support=$enable_dlopen
18351 # Whether dlopen of programs is supported.
18352 dlopen_self=$enable_dlopen_self
18354 # Whether dlopen of statically linked programs is supported.
18355 dlopen_self_static=$enable_dlopen_self_static
18357 # Commands to strip libraries.
18358 old_striplib=$lt_old_striplib
18359 striplib=$lt_striplib
18362 # The linker used to build libraries.
18365 # How to create reloadable object files.
18366 reload_flag=$lt_reload_flag
18367 reload_cmds=$lt_reload_cmds
18369 # Commands used to build an old-style archive.
18370 old_archive_cmds=$lt_old_archive_cmds
18372 # A language specific compiler.
18375 # Is the compiler the GNU compiler?
18378 # Compiler flag to turn off builtin functions.
18379 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18381 # How to pass a linker flag through the compiler.
18382 wl=$lt_lt_prog_compiler_wl
18384 # Additional compiler flags for building library objects.
18385 pic_flag=$lt_lt_prog_compiler_pic
18387 # Compiler flag to prevent dynamic linking.
18388 link_static_flag=$lt_lt_prog_compiler_static
18390 # Does compiler simultaneously support -c and -o options?
18391 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18393 # Whether or not to add -lc for building shared libraries.
18394 build_libtool_need_lc=$archive_cmds_need_lc
18396 # Whether or not to disallow shared libs when runtime libs are static.
18397 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18399 # Compiler flag to allow reflexive dlopens.
18400 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18402 # Compiler flag to generate shared objects directly from archives.
18403 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18405 # Whether the compiler copes with passing no objects directly.
18406 compiler_needs_object=$lt_compiler_needs_object
18408 # Create an old-style archive from a shared archive.
18409 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18411 # Create a temporary old-style archive to link instead of a shared archive.
18412 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18414 # Commands used to build a shared archive.
18415 archive_cmds=$lt_archive_cmds
18416 archive_expsym_cmds=$lt_archive_expsym_cmds
18418 # Commands used to build a loadable module if different from building
18419 # a shared archive.
18420 module_cmds=$lt_module_cmds
18421 module_expsym_cmds=$lt_module_expsym_cmds
18423 # Whether we are building with GNU ld or not.
18424 with_gnu_ld=$lt_with_gnu_ld
18426 # Flag that allows shared libraries with undefined symbols to be built.
18427 allow_undefined_flag=$lt_allow_undefined_flag
18429 # Flag that enforces no undefined symbols.
18430 no_undefined_flag=$lt_no_undefined_flag
18432 # Flag to hardcode \$libdir into a binary during linking.
18433 # This must work even if \$libdir does not exist
18434 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18436 # If ld is used when linking, flag to hardcode \$libdir into a binary
18437 # during linking. This must work even if \$libdir does not exist.
18438 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18440 # Whether we need a single "-rpath" flag with a separated argument.
18441 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18443 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18444 # DIR into the resulting binary.
18445 hardcode_direct=$hardcode_direct
18447 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18448 # DIR into the resulting binary and the resulting library dependency is
18449 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18450 # library is relocated.
18451 hardcode_direct_absolute=$hardcode_direct_absolute
18453 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18454 # into the resulting binary.
18455 hardcode_minus_L=$hardcode_minus_L
18457 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18458 # into the resulting binary.
18459 hardcode_shlibpath_var=$hardcode_shlibpath_var
18461 # Set to "yes" if building a shared library automatically hardcodes DIR
18462 # into the library and all subsequent libraries and executables linked
18464 hardcode_automatic=$hardcode_automatic
18466 # Set to yes if linker adds runtime paths of dependent libraries
18467 # to runtime path list.
18468 inherit_rpath=$inherit_rpath
18470 # Whether libtool must link a program against all its dependency libraries.
18471 link_all_deplibs=$link_all_deplibs
18473 # Fix the shell variable \$srcfile for the compiler.
18474 fix_srcfile_path=$lt_fix_srcfile_path
18476 # Set to "yes" if exported symbols are required.
18477 always_export_symbols=$always_export_symbols
18479 # The commands to list exported symbols.
18480 export_symbols_cmds=$lt_export_symbols_cmds
18482 # Symbols that should not be listed in the preloaded symbols.
18483 exclude_expsyms=$lt_exclude_expsyms
18485 # Symbols that must always be exported.
18486 include_expsyms=$lt_include_expsyms
18488 # Commands necessary for linking programs (against libraries) with templates.
18489 prelink_cmds=$lt_prelink_cmds
18491 # Specify filename containing input files.
18492 file_list_spec=$lt_file_list_spec
18494 # How to hardcode a shared library path into an executable.
18495 hardcode_action=$hardcode_action
18497 # The directories searched by this compiler when creating a shared library.
18498 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18500 # Dependencies to place before and after the objects being linked to
18501 # create a shared library.
18502 predep_objects=$lt_predep_objects
18503 postdep_objects=$lt_postdep_objects
18504 predeps=$lt_predeps
18505 postdeps=$lt_postdeps
18507 # The library search path used internally by the compiler when linking
18508 # a shared library.
18509 compiler_lib_search_path=$lt_compiler_lib_search_path
18511 # ### END LIBTOOL CONFIG
18517 cat <<\_LT_EOF
>> "$cfgfile"
18518 # AIX sometimes has problems with the GCC collect2 program. For some
18519 # reason, if we set the COLLECT_NAMES environment variable, the problems
18520 # vanish in a puff of smoke.
18521 if test "X${COLLECT_NAMES+set}" != Xset
; then
18523 export COLLECT_NAMES
18530 ltmain
="$ac_aux_dir/ltmain.sh"
18533 # We use sed instead of cat because bash on DJGPP gets confused if
18534 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18535 # text mode, it properly converts lines to CR/LF. This bash problem
18536 # is reportedly fixed, but why not run on old versions too?
18537 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18538 ||
(rm -f "$cfgfile"; exit 1)
18542 cat << \_LT_EOF
>> "$cfgfile"
18544 # func_dirname file append nondir_replacement
18545 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18546 # otherwise set result to NONDIR_REPLACEMENT.
18550 */*) func_dirname_result
="${1%/*}${2}" ;;
18551 * ) func_dirname_result
="${3}" ;;
18555 # func_basename file
18558 func_basename_result
="${1##*/}"
18561 # func_dirname_and_basename file append nondir_replacement
18562 # perform func_basename and func_dirname in a single function
18564 # dirname: Compute the dirname of FILE. If nonempty,
18565 # add APPEND to the result, otherwise set result
18566 # to NONDIR_REPLACEMENT.
18567 # value returned in "$func_dirname_result"
18568 # basename: Compute filename of FILE.
18569 # value retuned in "$func_basename_result"
18570 # Implementation must be kept synchronized with func_dirname
18571 # and func_basename. For efficiency, we do not delegate to
18572 # those functions but instead duplicate the functionality here.
18573 func_dirname_and_basename
()
18576 */*) func_dirname_result
="${1%/*}${2}" ;;
18577 * ) func_dirname_result
="${3}" ;;
18579 func_basename_result
="${1##*/}"
18582 # func_stripname prefix suffix name
18583 # strip PREFIX and SUFFIX off of NAME.
18584 # PREFIX and SUFFIX must not contain globbing or regex special
18585 # characters, hashes, percent signs, but SUFFIX may contain a leading
18586 # dot (in which case that matches only a dot).
18589 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18590 # positional parameters, so assign one to ordinary parameter first.
18591 func_stripname_result
=${3}
18592 func_stripname_result
=${func_stripname_result#"${1}"}
18593 func_stripname_result
=${func_stripname_result%"${2}"}
18599 func_opt_split_opt
=${1%%=*}
18600 func_opt_split_arg
=${1#*=}
18607 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18608 *) func_lo2o_result
=${1} ;;
18612 # func_xform libobj-or-source
18615 func_xform_result
=${1%.*}.lo
18618 # func_arith arithmetic-term...
18621 func_arith_result
=$
(( $
* ))
18625 # STRING may not start with a hyphen.
18628 func_len_result
=${#1}
18633 *) # Bourne compatible functions.
18634 cat << \_LT_EOF
>> "$cfgfile"
18636 # func_dirname file append nondir_replacement
18637 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18638 # otherwise set result to NONDIR_REPLACEMENT.
18641 # Extract subdirectory from the argument.
18642 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18643 if test "X$func_dirname_result" = "X${1}"; then
18644 func_dirname_result
="${3}"
18646 func_dirname_result
="$func_dirname_result${2}"
18650 # func_basename file
18653 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18657 # func_stripname prefix suffix name
18658 # strip PREFIX and SUFFIX off of NAME.
18659 # PREFIX and SUFFIX must not contain globbing or regex special
18660 # characters, hashes, percent signs, but SUFFIX may contain a leading
18661 # dot (in which case that matches only a dot).
18662 # func_strip_suffix prefix name
18666 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18667 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18672 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18673 my_sed_long_arg
='1s/^-[^=]*=//'
18678 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18679 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18685 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18688 # func_xform libobj-or-source
18691 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18694 # func_arith arithmetic-term...
18697 func_arith_result
=`expr "$@"`
18701 # STRING may not start with a hyphen.
18704 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18710 case $lt_shell_append in
18712 cat << \_LT_EOF
>> "$cfgfile"
18714 # func_append var value
18715 # Append VALUE to the end of shell variable VAR.
18723 cat << \_LT_EOF
>> "$cfgfile"
18725 # func_append var value
18726 # Append VALUE to the end of shell variable VAR.
18737 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18738 ||
(rm -f "$cfgfile"; exit 1)
18740 mv -f "$cfgfile" "$ofile" ||
18741 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18745 cat <<_LT_EOF >> "$ofile"
18747 # ### BEGIN LIBTOOL TAG CONFIG: FC
18749 # The linker used to build libraries.
18752 # How to create reloadable object files.
18753 reload_flag=$lt_reload_flag_FC
18754 reload_cmds=$lt_reload_cmds_FC
18756 # Commands used to build an old-style archive.
18757 old_archive_cmds=$lt_old_archive_cmds_FC
18759 # A language specific compiler.
18762 # Is the compiler the GNU compiler?
18765 # Compiler flag to turn off builtin functions.
18766 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
18768 # How to pass a linker flag through the compiler.
18769 wl=$lt_lt_prog_compiler_wl_FC
18771 # Additional compiler flags for building library objects.
18772 pic_flag=$lt_lt_prog_compiler_pic_FC
18774 # Compiler flag to prevent dynamic linking.
18775 link_static_flag=$lt_lt_prog_compiler_static_FC
18777 # Does compiler simultaneously support -c and -o options?
18778 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
18780 # Whether or not to add -lc for building shared libraries.
18781 build_libtool_need_lc=$archive_cmds_need_lc_FC
18783 # Whether or not to disallow shared libs when runtime libs are static.
18784 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
18786 # Compiler flag to allow reflexive dlopens.
18787 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
18789 # Compiler flag to generate shared objects directly from archives.
18790 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
18792 # Whether the compiler copes with passing no objects directly.
18793 compiler_needs_object=$lt_compiler_needs_object_FC
18795 # Create an old-style archive from a shared archive.
18796 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
18798 # Create a temporary old-style archive to link instead of a shared archive.
18799 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
18801 # Commands used to build a shared archive.
18802 archive_cmds=$lt_archive_cmds_FC
18803 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
18805 # Commands used to build a loadable module if different from building
18806 # a shared archive.
18807 module_cmds=$lt_module_cmds_FC
18808 module_expsym_cmds=$lt_module_expsym_cmds_FC
18810 # Whether we are building with GNU ld or not.
18811 with_gnu_ld=$lt_with_gnu_ld_FC
18813 # Flag that allows shared libraries with undefined symbols to be built.
18814 allow_undefined_flag=$lt_allow_undefined_flag_FC
18816 # Flag that enforces no undefined symbols.
18817 no_undefined_flag=$lt_no_undefined_flag_FC
18819 # Flag to hardcode \$libdir into a binary during linking.
18820 # This must work even if \$libdir does not exist
18821 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
18823 # If ld is used when linking, flag to hardcode \$libdir into a binary
18824 # during linking. This must work even if \$libdir does not exist.
18825 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
18827 # Whether we need a single "-rpath" flag with a separated argument.
18828 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
18830 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18831 # DIR into the resulting binary.
18832 hardcode_direct=$hardcode_direct_FC
18834 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18835 # DIR into the resulting binary and the resulting library dependency is
18836 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18837 # library is relocated.
18838 hardcode_direct_absolute=$hardcode_direct_absolute_FC
18840 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18841 # into the resulting binary.
18842 hardcode_minus_L=$hardcode_minus_L_FC
18844 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18845 # into the resulting binary.
18846 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
18848 # Set to "yes" if building a shared library automatically hardcodes DIR
18849 # into the library and all subsequent libraries and executables linked
18851 hardcode_automatic=$hardcode_automatic_FC
18853 # Set to yes if linker adds runtime paths of dependent libraries
18854 # to runtime path list.
18855 inherit_rpath=$inherit_rpath_FC
18857 # Whether libtool must link a program against all its dependency libraries.
18858 link_all_deplibs=$link_all_deplibs_FC
18860 # Fix the shell variable \$srcfile for the compiler.
18861 fix_srcfile_path=$lt_fix_srcfile_path_FC
18863 # Set to "yes" if exported symbols are required.
18864 always_export_symbols=$always_export_symbols_FC
18866 # The commands to list exported symbols.
18867 export_symbols_cmds=$lt_export_symbols_cmds_FC
18869 # Symbols that should not be listed in the preloaded symbols.
18870 exclude_expsyms=$lt_exclude_expsyms_FC
18872 # Symbols that must always be exported.
18873 include_expsyms=$lt_include_expsyms_FC
18875 # Commands necessary for linking programs (against libraries) with templates.
18876 prelink_cmds=$lt_prelink_cmds_FC
18878 # Specify filename containing input files.
18879 file_list_spec=$lt_file_list_spec_FC
18881 # How to hardcode a shared library path into an executable.
18882 hardcode_action=$hardcode_action_FC
18884 # The directories searched by this compiler when creating a shared library.
18885 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
18887 # Dependencies to place before and after the objects being linked to
18888 # create a shared library.
18889 predep_objects=$lt_predep_objects_FC
18890 postdep_objects=$lt_postdep_objects_FC
18891 predeps=$lt_predeps_FC
18892 postdeps=$lt_postdeps_FC
18894 # The library search path used internally by the compiler when linking
18895 # a shared library.
18896 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
18898 # ### END LIBTOOL TAG CONFIG: FC
18903 if test "$GCC" = yes; then
18904 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
18906 echo "/* generated for $CC */" > tmp-stdint.h
18909 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18911 #ifndef GCC_GENERATED_STDINT_H
18912 #define GCC_GENERATED_STDINT_H 1
18914 #include <sys/types.h>
18917 if test "$acx_cv_header_stdint" != stdint.h
; then
18918 echo "#include <stddef.h>" >> tmp-stdint.h
18920 if test "$acx_cv_header_stdint" != stddef.h
; then
18921 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
18924 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18925 /* glibc uses these symbols as guards to prevent redefinitions. */
18926 #ifdef __int8_t_defined
18931 #ifdef __uint32_t_defined
18937 # ----------------- done header, emit basic int types -------------
18938 if test "$acx_cv_header_stdint" = stddef.h
; then
18939 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18943 #ifndef __uint8_t_defined
18944 #define __uint8_t_defined
18946 typedef unsigned $acx_cv_type_int8_t uint8_t;
18953 #ifndef __uint16_t_defined
18954 #define __uint16_t_defined
18956 typedef unsigned $acx_cv_type_int16_t uint16_t;
18963 #ifndef __uint32_t_defined
18964 #define __uint32_t_defined
18966 typedef unsigned $acx_cv_type_int32_t uint32_t;
18973 #ifndef __int8_t_defined
18974 #define __int8_t_defined
18976 typedef $acx_cv_type_int8_t int8_t;
18983 #ifndef __int16_t_defined
18984 #define __int16_t_defined
18986 typedef $acx_cv_type_int16_t int16_t;
18993 #ifndef __int32_t_defined
18994 #define __int32_t_defined
18996 typedef $acx_cv_type_int32_t int32_t;
19001 elif test "$ac_cv_type_u_int32_t" = yes; then
19002 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19004 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
19017 #ifndef __uint8_t_defined
19018 #define __uint8_t_defined
19020 typedef u_int8_t uint8_t;
19027 #ifndef __uint16_t_defined
19028 #define __uint16_t_defined
19030 typedef u_int16_t uint16_t;
19037 #ifndef __uint32_t_defined
19038 #define __uint32_t_defined
19040 typedef u_int32_t uint32_t;
19046 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19048 /* Some systems have guard macros to prevent redefinitions, define them. */
19070 # ------------- done basic int types, emit int64_t types ------------
19071 if test "$ac_cv_type_uint64_t" = yes; then
19072 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19074 /* system headers have good uint64_t and int64_t */
19082 elif test "$ac_cv_type_u_int64_t" = yes; then
19083 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19085 /* system headers have an u_int64_t (and int64_t) */
19091 #ifndef __uint64_t_defined
19092 #define __uint64_t_defined
19094 typedef u_int64_t uint64_t;
19099 elif test -n "$acx_cv_type_int64_t"; then
19100 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19102 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19106 typedef $acx_cv_type_int64_t int64_t;
19111 #ifndef __uint64_t_defined
19112 #define __uint64_t_defined
19114 typedef unsigned $acx_cv_type_int64_t uint64_t;
19120 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19122 /* some common heuristics for int64_t, using compiler-specific tests */
19123 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19126 #ifndef __int64_t_defined
19128 typedef long long int64_t;
19135 typedef unsigned long long uint64_t;
19139 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19140 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19141 does not implement __extension__. But that compiler doesn't define
19143 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19144 # define __extension__
19150 __extension__ typedef long long int64_t;
19156 __extension__ typedef unsigned long long uint64_t;
19160 #elif !defined __STRICT_ANSI__
19161 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19166 typedef __int64 int64_t;
19172 typedef unsigned __int64 uint64_t;
19175 # endif /* compiler */
19177 #endif /* ANSI version */
19181 # ------------- done int64_t types, emit intptr types ------------
19182 if test "$ac_cv_type_uintptr_t" != yes; then
19183 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19185 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19186 #ifndef __uintptr_t_defined
19188 typedef u$acx_cv_type_intptr_t uintptr_t;
19191 #ifndef __intptr_t_defined
19193 typedef $acx_cv_type_intptr_t intptr_t;
19199 # ------------- done intptr types, emit int_least types ------------
19200 if test "$ac_cv_type_int_least32_t" != yes; then
19201 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19203 /* Define int_least types */
19204 typedef int8_t int_least8_t;
19205 typedef int16_t int_least16_t;
19206 typedef int32_t int_least32_t;
19208 typedef int64_t int_least64_t;
19211 typedef uint8_t uint_least8_t;
19212 typedef uint16_t uint_least16_t;
19213 typedef uint32_t uint_least32_t;
19215 typedef uint64_t uint_least64_t;
19220 # ------------- done intptr types, emit int_fast types ------------
19221 if test "$ac_cv_type_int_fast32_t" != yes; then
19222 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19224 /* Define int_fast types. short is often slow */
19225 typedef int8_t int_fast8_t;
19226 typedef int int_fast16_t;
19227 typedef int32_t int_fast32_t;
19229 typedef int64_t int_fast64_t;
19232 typedef uint8_t uint_fast8_t;
19233 typedef unsigned int uint_fast16_t;
19234 typedef uint32_t uint_fast32_t;
19236 typedef uint64_t uint_fast64_t;
19241 if test "$ac_cv_type_uintmax_t" != yes; then
19242 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19244 /* Define intmax based on what we found */
19247 typedef int64_t intmax_t;
19249 typedef long intmax_t;
19254 typedef uint64_t uintmax_t;
19256 typedef unsigned long uintmax_t;
19262 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19264 #endif /* GCC_GENERATED_STDINT_H */
19267 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19270 mv -f tmp-stdint.h gstdint.h
19281 ac_clean_files
=$ac_clean_files_save
19283 test $ac_write_fail = 0 ||
19284 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19287 # configure is writing to config.log, and then calls config.status.
19288 # config.status does its own redirection, appending to config.log.
19289 # Unfortunately, on DOS this fails, as config.log is still kept open
19290 # by configure, so config.status won't be able to write to it; its
19291 # output is simply discarded. So we exec the FD to /dev/null,
19292 # effectively closing config.log, so it can be properly (re)opened and
19293 # appended to by config.status. When coming back to configure, we
19294 # need to make the FD available again.
19295 if test "$no_create" != yes; then
19297 ac_config_status_args
=
19298 test "$silent" = yes &&
19299 ac_config_status_args
="$ac_config_status_args --quiet"
19301 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19303 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19304 # would make configure fail if this is the last instruction.
19305 $ac_cs_success || as_fn_exit $?
19307 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19309 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}