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
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
696 PACKAGE_NAME
='GNU OpenMP Runtime Library'
697 PACKAGE_TARNAME
='libgomp'
698 PACKAGE_VERSION
='1.0'
699 PACKAGE_STRING
='GNU OpenMP Runtime Library 1.0'
701 PACKAGE_URL
='http://www.gnu.org/software/libgomp/'
703 # Factoring default headers for most tests.
704 ac_includes_default
="\
706 #ifdef HAVE_SYS_TYPES_H
707 # include <sys/types.h>
709 #ifdef HAVE_SYS_STAT_H
710 # include <sys/stat.h>
716 # ifdef HAVE_STDLIB_H
721 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726 #ifdef HAVE_STRINGS_H
727 # include <strings.h>
729 #ifdef HAVE_INTTYPES_H
730 # include <inttypes.h>
739 ac_subst_vars
='am__EXEEXT_FALSE
743 OMP_NEST_LOCK_25_KIND
745 OMP_NEST_LOCK_25_ALIGN
746 OMP_NEST_LOCK_25_SIZE
761 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
762 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
770 MAINTAINER_MODE_FALSE
824 INSTALL_STRIP_PROGRAM
880 program_transform_name
893 enable_option_checking
894 enable_version_specific_runtime_libs
895 enable_generated_files_in_srcdir
897 enable_dependency_tracking
904 enable_maintainer_mode
909 ac_precious_vars
='build_alias
920 # Initialize some variables set by options.
922 ac_init_version
=false
923 ac_unrecognized_opts
=
925 # The variables have the same names as the options, with
926 # dashes changed to underlines.
934 program_transform_name
=s
,x
,x
,
942 # Installation directory options.
943 # These are left unexpanded so users can "make install exec_prefix=/foo"
944 # and all the variables that are supposed to be based on exec_prefix
945 # by default will actually change.
946 # Use braces instead of parens because sh, perl, etc. also accept them.
947 # (The list follows the same order as the GNU Coding Standards.)
948 bindir
='${exec_prefix}/bin'
949 sbindir
='${exec_prefix}/sbin'
950 libexecdir
='${exec_prefix}/libexec'
951 datarootdir
='${prefix}/share'
952 datadir
='${datarootdir}'
953 sysconfdir
='${prefix}/etc'
954 sharedstatedir
='${prefix}/com'
955 localstatedir
='${prefix}/var'
956 includedir
='${prefix}/include'
957 oldincludedir
='/usr/include'
958 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
959 infodir
='${datarootdir}/info'
964 libdir
='${exec_prefix}/lib'
965 localedir
='${datarootdir}/locale'
966 mandir
='${datarootdir}/man'
972 # If the previous option needs an argument, assign it.
973 if test -n "$ac_prev"; then
974 eval $ac_prev=\
$ac_option
980 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 # Accept the important Cygnus configure options, so we can diagnose typos.
986 case $ac_dashdash$ac_option in
990 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
992 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
995 -build |
--build |
--buil |
--bui |
--bu)
996 ac_prev
=build_alias
;;
997 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
998 build_alias
=$ac_optarg ;;
1000 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1001 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1002 ac_prev
=cache_file
;;
1003 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1004 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1005 cache_file
=$ac_optarg ;;
1007 --config-cache |
-C)
1008 cache_file
=config.cache
;;
1010 -datadir |
--datadir |
--datadi |
--datad)
1012 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1013 datadir
=$ac_optarg ;;
1015 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1016 |
--dataroo |
--dataro |
--datar)
1017 ac_prev
=datarootdir
;;
1018 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1019 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1020 datarootdir
=$ac_optarg ;;
1022 -disable-* |
--disable-*)
1023 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1026 as_fn_error
"invalid feature name: $ac_useropt"
1027 ac_useropt_orig
=$ac_useropt
1028 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_
$ac_useropt"
1033 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1034 ac_unrecognized_sep
=', ';;
1036 eval enable_
$ac_useropt=no
;;
1038 -docdir |
--docdir |
--docdi |
--doc |
--do)
1040 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1041 docdir
=$ac_optarg ;;
1043 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1045 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1046 dvidir
=$ac_optarg ;;
1048 -enable-* |
--enable-*)
1049 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1052 as_fn_error
"invalid feature name: $ac_useropt"
1053 ac_useropt_orig
=$ac_useropt
1054 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "enable_
$ac_useropt"
1059 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1060 ac_unrecognized_sep
=', ';;
1062 eval enable_
$ac_useropt=\
$ac_optarg ;;
1064 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1065 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1066 |
--exec |
--exe |
--ex)
1067 ac_prev
=exec_prefix
;;
1068 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1069 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1070 |
--exec=* |
--exe=* |
--ex=*)
1071 exec_prefix
=$ac_optarg ;;
1073 -gas |
--gas |
--ga |
--g)
1074 # Obsolete; use --with-gas.
1077 -help |
--help |
--hel |
--he |
-h)
1078 ac_init_help
=long
;;
1079 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1080 ac_init_help
=recursive
;;
1081 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1082 ac_init_help
=short
;;
1084 -host |
--host |
--hos |
--ho)
1085 ac_prev
=host_alias
;;
1086 -host=* |
--host=* |
--hos=* |
--ho=*)
1087 host_alias
=$ac_optarg ;;
1089 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1091 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1093 htmldir
=$ac_optarg ;;
1095 -includedir |
--includedir |
--includedi |
--included |
--include \
1096 |
--includ |
--inclu |
--incl |
--inc)
1097 ac_prev
=includedir
;;
1098 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1099 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1100 includedir
=$ac_optarg ;;
1102 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1104 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1105 infodir
=$ac_optarg ;;
1107 -libdir |
--libdir |
--libdi |
--libd)
1109 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1110 libdir
=$ac_optarg ;;
1112 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1113 |
--libexe |
--libex |
--libe)
1114 ac_prev
=libexecdir
;;
1115 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1116 |
--libexe=* |
--libex=* |
--libe=*)
1117 libexecdir
=$ac_optarg ;;
1119 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1120 ac_prev
=localedir
;;
1121 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1122 localedir
=$ac_optarg ;;
1124 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1125 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1126 ac_prev
=localstatedir
;;
1127 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1128 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1129 localstatedir
=$ac_optarg ;;
1131 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1133 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1134 mandir
=$ac_optarg ;;
1136 -nfp |
--nfp |
--nf)
1137 # Obsolete; use --without-fp.
1140 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1141 |
--no-cr |
--no-c |
-n)
1144 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1145 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1148 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1149 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1150 |
--oldin |
--oldi |
--old |
--ol |
--o)
1151 ac_prev
=oldincludedir
;;
1152 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1153 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1154 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1155 oldincludedir
=$ac_optarg ;;
1157 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1159 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1160 prefix
=$ac_optarg ;;
1162 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1163 |
--program-pre |
--program-pr |
--program-p)
1164 ac_prev
=program_prefix
;;
1165 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1166 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1167 program_prefix
=$ac_optarg ;;
1169 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1170 |
--program-suf |
--program-su |
--program-s)
1171 ac_prev
=program_suffix
;;
1172 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1173 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1174 program_suffix
=$ac_optarg ;;
1176 -program-transform-name |
--program-transform-name \
1177 |
--program-transform-nam |
--program-transform-na \
1178 |
--program-transform-n |
--program-transform- \
1179 |
--program-transform |
--program-transfor \
1180 |
--program-transfo |
--program-transf \
1181 |
--program-trans |
--program-tran \
1182 |
--progr-tra |
--program-tr |
--program-t)
1183 ac_prev
=program_transform_name
;;
1184 -program-transform-name=* |
--program-transform-name=* \
1185 |
--program-transform-nam=* |
--program-transform-na=* \
1186 |
--program-transform-n=* |
--program-transform-=* \
1187 |
--program-transform=* |
--program-transfor=* \
1188 |
--program-transfo=* |
--program-transf=* \
1189 |
--program-trans=* |
--program-tran=* \
1190 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1191 program_transform_name
=$ac_optarg ;;
1193 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1195 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1196 pdfdir
=$ac_optarg ;;
1198 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1200 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1204 |
-silent |
--silent |
--silen |
--sile |
--sil)
1207 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1209 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1211 sbindir
=$ac_optarg ;;
1213 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1214 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1215 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1217 ac_prev
=sharedstatedir
;;
1218 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1219 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1220 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1222 sharedstatedir
=$ac_optarg ;;
1224 -site |
--site |
--sit)
1226 -site=* |
--site=* |
--sit=*)
1229 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1231 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1232 srcdir
=$ac_optarg ;;
1234 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1235 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1236 ac_prev
=sysconfdir
;;
1237 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1238 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1239 sysconfdir
=$ac_optarg ;;
1241 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1242 ac_prev
=target_alias
;;
1243 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1244 target_alias
=$ac_optarg ;;
1246 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1249 -version |
--version |
--versio |
--versi |
--vers |
-V)
1250 ac_init_version
=: ;;
1253 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1256 as_fn_error
"invalid package name: $ac_useropt"
1257 ac_useropt_orig
=$ac_useropt
1258 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1264 ac_unrecognized_sep
=', ';;
1266 eval with_
$ac_useropt=\
$ac_optarg ;;
1268 -without-* |
--without-*)
1269 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1272 as_fn_error
"invalid package name: $ac_useropt"
1273 ac_useropt_orig
=$ac_useropt
1274 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280 ac_unrecognized_sep
=', ';;
1282 eval with_
$ac_useropt=no
;;
1285 # Obsolete; use --with-x.
1288 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1289 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1290 ac_prev
=x_includes
;;
1291 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1292 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1293 x_includes
=$ac_optarg ;;
1295 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1296 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1297 ac_prev
=x_libraries
;;
1298 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1299 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1300 x_libraries
=$ac_optarg ;;
1302 -*) as_fn_error
"unrecognized option: \`$ac_option'
1303 Try \`$0 --help' for more information."
1307 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1308 # Reject names that are not valid shell variable names.
1309 case $ac_envvar in #(
1310 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1311 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1313 eval $ac_envvar=\
$ac_optarg
1314 export $ac_envvar ;;
1317 # FIXME: should be removed in autoconf 3.0.
1318 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1320 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327 if test -n "$ac_prev"; then
1328 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1329 as_fn_error
"missing argument to $ac_option"
1332 if test -n "$ac_unrecognized_opts"; then
1333 case $enable_option_checking in
1335 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1336 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 # Check all directory arguments for consistency.
1341 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val
=\$
$ac_var
1347 # Remove trailing slashes.
1350 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351 eval $ac_var=\
$ac_val;;
1353 # Be sure to have absolute directory names.
1355 [\\/$
]* | ?
:[\\/]* ) continue;;
1356 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1358 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1366 target
=$target_alias
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x
; then
1370 if test "x$build_alias" = x
; then
1371 cross_compiling
=maybe
1372 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1373 If a cross compiler is detected then cross compile mode will be used." >&2
1374 elif test "x$build_alias" != "x$host_alias"; then
1380 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1382 test "$silent" = yes && exec 6>/dev
/null
1385 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1386 ac_ls_di
=`ls -di .` &&
1387 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1388 as_fn_error
"working directory cannot be determined"
1389 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1390 as_fn_error
"pwd does not report name of working directory"
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395 ac_srcdir_defaulted
=yes
1396 # Try the directory containing this script, then the parent directory.
1397 ac_confdir
=`$as_dirname -- "$as_myself" ||
1398 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399 X"$as_myself" : 'X\(//\)[^/]' \| \
1400 X"$as_myself" : 'X\(//\)$' \| \
1401 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1402 $as_echo X"$as_myself" |
1403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1425 ac_srcdir_defaulted
=no
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1429 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1431 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1435 # When building in place, set srcdir=.
1436 if test "$ac_abs_confdir" = "$ac_pwd"; then
1439 # Remove unnecessary trailing slashes from srcdir.
1440 # Double slashes in file names in object file debugging info
1441 # mess up M-x gdb in Emacs.
1443 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445 for ac_var
in $ac_precious_vars; do
1446 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1447 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1448 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1453 # Report the --help message.
1455 if test "$ac_init_help" = "long"; then
1456 # Omit some internal or obsolete options to make the list less imposing.
1457 # This message is too long to be a string in the A/UX 3.1 sh.
1459 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
1461 Usage: $0 [OPTION]... [VAR=VALUE]...
1463 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464 VAR=VALUE. See below for descriptions of some of the useful variables.
1466 Defaults for the options are specified in brackets.
1469 -h, --help display this help and exit
1470 --help=short display options specific to this package
1471 --help=recursive display the short help of all the included packages
1472 -V, --version display version information and exit
1473 -q, --quiet, --silent do not print \`checking...' messages
1474 --cache-file=FILE cache test results in FILE [disabled]
1475 -C, --config-cache alias for \`--cache-file=config.cache'
1476 -n, --no-create do not create output files
1477 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1479 Installation directories:
1480 --prefix=PREFIX install architecture-independent files in PREFIX
1481 [$ac_default_prefix]
1482 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485 By default, \`make install' will install all the files in
1486 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1487 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488 for instance \`--prefix=\$HOME'.
1490 For better control, use the options below.
1492 Fine tuning of the installation directories:
1493 --bindir=DIR user executables [EPREFIX/bin]
1494 --sbindir=DIR system admin executables [EPREFIX/sbin]
1495 --libexecdir=DIR program executables [EPREFIX/libexec]
1496 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1497 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1498 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1499 --libdir=DIR object code libraries [EPREFIX/lib]
1500 --includedir=DIR C header files [PREFIX/include]
1501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1504 --infodir=DIR info documentation [DATAROOTDIR/info]
1505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1506 --mandir=DIR man documentation [DATAROOTDIR/man]
1507 --docdir=DIR documentation root [DATAROOTDIR/doc/libgomp]
1508 --htmldir=DIR html documentation [DOCDIR]
1509 --dvidir=DIR dvi documentation [DOCDIR]
1510 --pdfdir=DIR pdf documentation [DOCDIR]
1511 --psdir=DIR ps documentation [DOCDIR]
1517 --program-prefix=PREFIX prepend PREFIX to installed program names
1518 --program-suffix=SUFFIX append SUFFIX to installed program names
1519 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1522 --build=BUILD configure
for building on BUILD
[guessed
]
1523 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1524 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1528 if test -n "$ac_init_help"; then
1529 case $ac_init_help in
1530 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1535 --disable-option-checking ignore unrecognized
--enable/--with options
1536 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1537 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1538 --enable-version-specific-runtime-libs
1539 Specify that runtime libraries should be installed
1540 in a compiler-specific directory
[default
=no
]
1541 --enable-generated-files-in-srcdir
1542 put copies of generated files
in source dir intended
1543 for creating
source tarballs
for users without
1544 texinfo bison or flex.
[default
=no
]
1545 --enable-multilib build many library versions
(default
)
1546 --disable-dependency-tracking speeds up one-time build
1547 --enable-dependency-tracking do not reject slow dependency extractors
1548 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1549 --enable-static[=PKGS
] build static libraries
[default
=yes]
1550 --enable-fast-install[=PKGS
]
1551 optimize
for fast installation
[default
=yes]
1552 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1553 --enable-maintainer-mode enable make rules and dependencies not useful
1554 (and sometimes confusing
) to the casual installer
1555 --enable-linux-futex use the Linux futex system call
[default
=default
]
1556 --enable-tls Use thread-local storage
[default
=yes]
1557 --enable-symvers=STYLE enables symbol versioning of the shared library
1561 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1562 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1563 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1565 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1567 Some influential environment variables
:
1568 CC C compiler
command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1571 nonstandard directory
<lib dir
>
1572 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1573 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1574 you have headers
in a nonstandard directory
<include dir
>
1576 FC Fortran compiler
command
1577 FCFLAGS Fortran compiler flags
1579 Use these variables to override the choices made by
`configure' or to help
1580 it to find libraries and programs with nonstandard names/locations.
1582 Report bugs to the package provider.
1583 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
1584 General help using GNU software: <http://www.gnu.org/gethelp/>.
1589 if test "$ac_init_help" = "recursive"; then
1590 # If there are subdirs, report their specific --help.
1591 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1592 test -d "$ac_dir" ||
1593 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1598 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1601 # A ".." for each directory in $ac_dir_suffix.
1602 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1603 case $ac_top_builddir_sub in
1604 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1608 ac_abs_top_builddir=$ac_pwd
1609 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1610 # for backward compatibility:
1611 ac_top_builddir=$ac_top_build_prefix
1614 .) # We are building in place.
1616 ac_top_srcdir=$ac_top_builddir_sub
1617 ac_abs_top_srcdir=$ac_pwd ;;
1618 [\\/]* | ?:[\\/]* ) # Absolute name.
1619 ac_srcdir=$srcdir$ac_dir_suffix;
1620 ac_top_srcdir=$srcdir
1621 ac_abs_top_srcdir=$srcdir ;;
1623 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624 ac_top_srcdir=$ac_top_build_prefix$srcdir
1625 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1627 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1629 cd "$ac_dir" || { ac_status=$?; continue; }
1630 # Check for guested configure.
1631 if test -f "$ac_srcdir/configure.gnu"; then
1633 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634 elif test -f "$ac_srcdir/configure"; then
1636 $SHELL "$ac_srcdir/configure" --help=recursive
1638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640 cd "$ac_pwd" || { ac_status=$?; break; }
1644 test -n "$ac_init_help" && exit $ac_status
1645 if $ac_init_version; then
1647 GNU OpenMP Runtime Library configure 1.0
1648 generated by GNU Autoconf 2.64
1650 Copyright (C) 2009 Free Software Foundation, Inc.
1651 This configure script is free software; the Free Software Foundation
1652 gives unlimited permission to copy, distribute and modify it.
1657 ## ------------------------ ##
1658 ## Autoconf initialization. ##
1659 ## ------------------------ ##
1661 # ac_fn_c_try_compile LINENO
1662 # --------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_compile ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext
1668 if { { ac_try="$ac_compile"
1670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1671 *) ac_try_echo
=$ac_try;;
1673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err
; then
1678 grep -v '^ *+' conftest.err
>conftest.er1
1679 cat conftest.er1
>&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.
$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.
$ac_ext >&5
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1697 } # ac_fn_c_try_compile
1699 # ac_fn_c_try_link LINENO
1700 # -----------------------
1701 # Try to link conftest.$ac_ext, and return whether this succeeded.
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 rm -f conftest.
$ac_objext conftest
$ac_exeext
1706 if { { ac_try
="$ac_link"
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_link") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest$ac_exeext && {
1725 test "$cross_compiling" = yes ||
1726 $as_test_x conftest$ac_exeext
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1737 # interfere with the next link command; also delete a directory that is
1738 # left behind by Apple's compiler. We do this before executing the actions.
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 } # ac_fn_c_try_link
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_try_cpp LINENO
1777 # ----------------------
1778 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 if { { ac_try="$ac_cpp conftest.$ac_ext"
1784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1785 *) ac_try_echo
=$ac_try;;
1787 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1791 if test -s conftest.err
; then
1792 grep -v '^ *+' conftest.err
>conftest.er1
1793 cat conftest.er1
>&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } >/dev
/null
&& {
1798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.
$ac_ext >&5
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1813 # ac_fn_c_try_run LINENO
1814 # ----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1816 # that executables *can* be run.
1819 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1820 if { { ac_try
="$ac_link"
1822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_link") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1831 { { case "(($ac_try" in
1832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1833 *) ac_try_echo
=$ac_try;;
1835 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_try") 2>&5
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; }; }; then :
1843 $as_echo "$as_me: program exited with status $ac_status" >&5
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.
$ac_ext >&5
1847 ac_retval
=$ac_status
1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1855 # ac_fn_c_check_func LINENO FUNC VAR
1856 # ----------------------------------
1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1858 ac_fn_c_check_func
()
1860 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1864 $as_echo_n "(cached) " >&6
1866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1868 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1870 #define $2 innocuous_$2
1872 /* System header to define __stub macros and hopefully few prototypes,
1873 which can conflict with char $2 (); below.
1874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1875 <limits.h> exists even on freestanding compilers. */
1878 # include <limits.h>
1880 # include <assert.h>
1885 /* Override any GCC internal prototype to avoid an error.
1886 Use char because int might match the return type of a GCC
1887 builtin and then its argument prototype would still apply. */
1892 /* The GNU C library defines this for functions which it implements
1893 to always fail with ENOSYS. Some functions are actually named
1894 something starting with __ and the normal name is an alias. */
1895 #if defined __stub_$2 || defined __stub___$2
1907 if ac_fn_c_try_link
"$LINENO"; then :
1912 rm -f core conftest.err conftest.
$ac_objext \
1913 conftest
$ac_exeext conftest.
$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1920 } # ac_fn_c_check_func
1922 # ac_fn_fc_try_compile LINENO
1923 # ---------------------------
1924 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1925 ac_fn_fc_try_compile
()
1927 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1928 rm -f conftest.
$ac_objext
1929 if { { ac_try
="$ac_compile"
1931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1932 *) ac_try_echo=$ac_try;;
1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_compile") 2>conftest.err
1938 if test -s conftest.err; then
1939 grep -v '^ *+' conftest.err >conftest.er1
1940 cat conftest.er1 >&5
1941 mv -f conftest.er1 conftest.err
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; } && {
1945 test -z "$ac_fc_werror_flag" ||
1946 test ! -s conftest.err
1947 } && test -s conftest.$ac_objext; then :
1950 $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.$ac_ext >&5
1955 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1958 } # ac_fn_fc_try_compile
1960 # ac_fn_fc_try_link LINENO
1961 # ------------------------
1962 # Try to link conftest.$ac_ext, and return whether this succeeded.
1963 ac_fn_fc_try_link ()
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966 rm -f conftest.$ac_objext conftest$ac_exeext
1967 if { { ac_try="$ac_link"
1969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1970 *) ac_try_echo
=$ac_try;;
1972 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973 $as_echo "$ac_try_echo"; } >&5
1974 (eval "$ac_link") 2>conftest.err
1976 if test -s conftest.err
; then
1977 grep -v '^ *+' conftest.err
>conftest.er1
1978 cat conftest.er1
>&5
1979 mv -f conftest.er1 conftest.err
1981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1982 test $ac_status = 0; } && {
1983 test -z "$ac_fc_werror_flag" ||
1984 test ! -s conftest.err
1985 } && test -s conftest
$ac_exeext && {
1986 test "$cross_compiling" = yes ||
1987 $as_test_x conftest
$ac_exeext
1991 $as_echo "$as_me: failed program was:" >&5
1992 sed 's/^/| /' conftest.
$ac_ext >&5
1996 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1997 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1998 # interfere with the next link command; also delete a directory that is
1999 # left behind by Apple's compiler. We do this before executing the actions.
2000 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2004 } # ac_fn_fc_try_link
2006 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2007 # -------------------------------------------------------
2008 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2009 # the include files in INCLUDES and setting the cache variable VAR
2011 ac_fn_c_check_header_mongrel
()
2013 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2014 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2018 $as_echo_n "(cached) " >&6
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2024 # Is the header compilable?
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2026 $as_echo_n "checking $2 usability... " >&6; }
2027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2032 if ac_fn_c_try_compile
"$LINENO"; then :
2033 ac_header_compiler
=yes
2035 ac_header_compiler
=no
2037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2039 $as_echo "$ac_header_compiler" >&6; }
2041 # Is the header present?
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2043 $as_echo_n "checking $2 presence... " >&6; }
2044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2048 if ac_fn_c_try_cpp
"$LINENO"; then :
2049 ac_header_preproc
=yes
2051 ac_header_preproc
=no
2053 rm -f conftest.err conftest.
$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2055 $as_echo "$ac_header_preproc" >&6; }
2057 # So? What about this header?
2058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2061 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2063 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2067 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2069 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2071 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2073 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2075 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 $as_echo_n "(cached) " >&6
2083 eval "$3=\$ac_header_compiler"
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2089 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2091 } # ac_fn_c_check_header_mongrel
2093 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2094 # -------------------------------------------
2095 # Tests whether TYPE exists after having included INCLUDES, setting cache
2096 # variable VAR accordingly.
2097 ac_fn_c_check_type
()
2099 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2101 $as_echo_n "checking for $2... " >&6; }
2102 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2103 $as_echo_n "(cached) " >&6
2106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2118 if ac_fn_c_try_compile
"$LINENO"; then :
2119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2131 if ac_fn_c_try_compile
"$LINENO"; then :
2136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2142 $as_echo "$ac_res" >&6; }
2143 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2145 } # ac_fn_c_check_type
2147 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2148 # --------------------------------------------
2149 # Tries to find the compile-time value of EXPR in a program that includes
2150 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2152 ac_fn_c_compute_int
()
2154 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2155 if test "$cross_compiling" = yes; then
2156 # Depending upon the size, compute the lo and hi bounds.
2157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2163 static int test_array [1 - 2 * !(($2) >= 0)];
2170 if ac_fn_c_try_compile
"$LINENO"; then :
2173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2179 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2186 if ac_fn_c_try_compile
"$LINENO"; then :
2187 ac_hi
=$ac_mid; break
2189 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2190 if test $ac_lo -le $ac_mid; then
2194 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2205 static int test_array [1 - 2 * !(($2) < 0)];
2212 if ac_fn_c_try_compile
"$LINENO"; then :
2215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2221 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2228 if ac_fn_c_try_compile
"$LINENO"; then :
2229 ac_lo
=$ac_mid; break
2231 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2232 if test $ac_mid -le $ac_hi; then
2236 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 # Binary search between lo and hi bounds.
2247 while test "x$ac_lo" != "x$ac_hi"; do
2248 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h. */
2255 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2262 if ac_fn_c_try_compile
"$LINENO"; then :
2265 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2270 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2277 static long int longval () { return $2; }
2278 static unsigned long int ulongval () { return $2; }
2285 FILE *f = fopen ("conftest.val", "w");
2290 long int i = longval ();
2293 fprintf (f, "%ld", i);
2297 unsigned long int i = ulongval ();
2300 fprintf (f, "%lu", i);
2302 /* Do not output a trailing newline, as this causes \r\n confusion
2303 on some platforms. */
2304 return ferror (f) || fclose (f) != 0;
2310 if ac_fn_c_try_run
"$LINENO"; then :
2311 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2315 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2316 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2320 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2323 } # ac_fn_c_compute_int
2324 cat >config.log
<<_ACEOF
2325 This file contains any messages produced by compilers while
2326 running configure, to aid debugging if configure makes a mistake.
2328 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
2329 generated by GNU Autoconf 2.64. Invocation command line was
2341 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2342 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2343 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2344 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2345 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2347 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2348 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2350 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2351 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2352 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2353 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2354 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2355 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2356 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir
=.
2365 $as_echo "PATH: $as_dir"
2381 # Keep a trace of the command line.
2382 # Strip out --no-create and --no-recursion so they do not pile up.
2383 # Strip out --silent because we don't want to record it for future runs.
2384 # Also quote any args containing shell meta-characters.
2385 # Make two passes to allow for proper duplicate-argument suppression.
2389 ac_must_keep_next
=false
2395 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2396 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2397 |
-silent |
--silent |
--silen |
--sile |
--sil)
2400 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2403 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2405 as_fn_append ac_configure_args1
" '$ac_arg'"
2406 if test $ac_must_keep_next = true
; then
2407 ac_must_keep_next
=false
# Got value, back to normal.
2410 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2411 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2412 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2413 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2414 case "$ac_configure_args0 " in
2415 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2418 -* ) ac_must_keep_next
=true
;;
2421 as_fn_append ac_configure_args
" '$ac_arg'"
2426 { ac_configure_args0
=; unset ac_configure_args0
;}
2427 { ac_configure_args1
=; unset ac_configure_args1
;}
2429 # When interrupted or exit'd, cleanup temporary files, and complete
2430 # config.log. We remove comments because anyway the quotes in there
2431 # would cause problems or look ugly.
2432 # WARNING: Use '\'' to represent an apostrophe within the trap.
2433 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2434 trap 'exit_status=$?
2435 # Save into config.log some information that might help in debugging.
2440 ## ---------------- ##
2441 ## Cache variables. ##
2442 ## ---------------- ##
2445 # The following way of writing the cache mishandles newlines in values,
2447 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2448 eval ac_val=\$$ac_var
2452 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2456 _ | IFS | as_nl) ;; #(
2457 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2458 *) { eval $ac_var=; unset $ac_var;} ;;
2463 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2464 *${as_nl}ac_space=\ *)
2466 "s/'\''/'\''\\\\'\'''\''/g;
2467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2478 ## ----------------- ##
2479 ## Output variables. ##
2480 ## ----------------- ##
2483 for ac_var in $ac_subst_vars
2485 eval ac_val=\$$ac_var
2487 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2489 $as_echo "$ac_var='\''$ac_val'\''"
2493 if test -n "$ac_subst_files"; then
2495 ## ------------------- ##
2496 ## File substitutions. ##
2497 ## ------------------- ##
2500 for ac_var
in $ac_subst_files
2502 eval ac_val
=\$
$ac_var
2504 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2506 $as_echo "$ac_var='\''$ac_val'\''"
2511 if test -s confdefs.h; then
2521 test "$ac_signal" != 0 &&
2522 $as_echo "$as_me: caught signal $ac_signal"
2523 $as_echo "$as_me: exit $exit_status"
2525 rm -f core *.core core.conftest.* &&
2526 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2529 for ac_signal
in 1 2 13 15; do
2530 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2534 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2535 rm -f -r conftest
* confdefs.h
2537 $as_echo "/* confdefs.h */" > confdefs.h
2539 # Predefined preprocessor variables.
2541 cat >>confdefs.h
<<_ACEOF
2542 #define PACKAGE_NAME "$PACKAGE_NAME"
2545 cat >>confdefs.h
<<_ACEOF
2546 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2549 cat >>confdefs.h
<<_ACEOF
2550 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2553 cat >>confdefs.h
<<_ACEOF
2554 #define PACKAGE_STRING "$PACKAGE_STRING"
2557 cat >>confdefs.h
<<_ACEOF
2558 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2561 cat >>confdefs.h
<<_ACEOF
2562 #define PACKAGE_URL "$PACKAGE_URL"
2566 # Let the site file select an alternate cache file if it wants to.
2567 # Prefer an explicitly selected file to automatically selected ones.
2570 if test -n "$CONFIG_SITE"; then
2571 ac_site_file1
=$CONFIG_SITE
2572 elif test "x$prefix" != xNONE
; then
2573 ac_site_file1
=$prefix/share
/config.site
2574 ac_site_file2
=$prefix/etc
/config.site
2576 ac_site_file1
=$ac_default_prefix/share
/config.site
2577 ac_site_file2
=$ac_default_prefix/etc
/config.site
2579 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2581 test "x$ac_site_file" = xNONE
&& continue
2582 if test -r "$ac_site_file"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2584 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2585 sed 's/^/| /' "$ac_site_file" >&5
2590 if test -r "$cache_file"; then
2591 # Some versions of bash will fail to source /dev/null (special
2592 # files actually), so we avoid doing that.
2593 if test -f "$cache_file"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2595 $as_echo "$as_me: loading cache $cache_file" >&6;}
2597 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2598 *) .
"./$cache_file";;
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2603 $as_echo "$as_me: creating cache $cache_file" >&6;}
2607 # Check that the precious variables saved in the cache have kept the same
2609 ac_cache_corrupted
=false
2610 for ac_var
in $ac_precious_vars; do
2611 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2612 eval ac_new_set
=\
$ac_env_${ac_var}_set
2613 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2614 eval ac_new_val
=\
$ac_env_${ac_var}_value
2615 case $ac_old_set,$ac_new_set in
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2618 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2619 ac_cache_corrupted
=: ;;
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2622 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2623 ac_cache_corrupted
=: ;;
2626 if test "x$ac_old_val" != "x$ac_new_val"; then
2627 # differences in whitespace do not lead to failure.
2628 ac_old_val_w
=`echo x $ac_old_val`
2629 ac_new_val_w
=`echo x $ac_new_val`
2630 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2632 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2633 ac_cache_corrupted
=:
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2636 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2637 eval $ac_var=\
$ac_old_val
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2640 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2642 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2645 # Pass precious variables to config.status.
2646 if test "$ac_new_set" = set; then
2648 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2649 *) ac_arg
=$ac_var=$ac_new_val ;;
2651 case " $ac_configure_args " in
2652 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2653 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2657 if $ac_cache_corrupted; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2661 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2662 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2664 ## -------------------- ##
2665 ## Main body of script. ##
2666 ## -------------------- ##
2669 ac_cpp
='$CPP $CPPFLAGS'
2670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2678 ac_config_headers
="$ac_config_headers config.h"
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2686 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2687 # Check whether --enable-version-specific-runtime-libs was given.
2688 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2689 enableval
=$enable_version_specific_runtime_libs;
2690 case "$enableval" in
2692 *) as_fn_error
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2696 enable_version_specific_runtime_libs
=no
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2701 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2703 # We would like our source tree to be readonly. However when releases or
2704 # pre-releases are generated, the flex/bison generated files as well as the
2705 # various formats of manuals need to be included along with the rest of the
2706 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2709 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2710 # Check whether --enable-generated-files-in-srcdir was given.
2711 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2712 enableval
=$enable_generated_files_in_srcdir;
2713 case "$enableval" in
2715 *) as_fn_error
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2719 enable_generated_files_in_srcdir
=no
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2724 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2725 if test "$enable_generated_files_in_srcdir" = yes; then
2738 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2740 # You will slowly go insane if you do not grok the following fact: when
2741 # building this library, the top-level /target/ becomes the library's /host/.
2743 # configure then causes --target to default to --host, exactly like any
2744 # other package using autoconf. Therefore, 'target' and 'host' will
2745 # always be the same. This makes sense both for native and cross compilers
2746 # just think about it for a little while. :-)
2748 # Also, if this library is being configured as part of a cross compiler, the
2749 # top-level configure script will pass the "real" host as $with_cross_host.
2751 # Do not delete or change the following two lines. For why, see
2752 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2754 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2755 for ac_t
in install-sh
install.sh shtool
; do
2756 if test -f "$ac_dir/$ac_t"; then
2758 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2763 if test -z "$ac_aux_dir"; then
2764 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2767 # These three variables are undocumented and unsupported,
2768 # and are intended to be withdrawn in a future Autoconf release.
2769 # They can cause serious problems if a builder's source tree is in a directory
2770 # whose full name contains unusual characters.
2771 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2772 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2773 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2776 # Make sure we can run config.sub.
2777 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2778 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2781 $as_echo_n "checking build system type... " >&6; }
2782 if test "${ac_cv_build+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2785 ac_build_alias
=$build_alias
2786 test "x$ac_build_alias" = x
&&
2787 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2788 test "x$ac_build_alias" = x
&&
2789 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2790 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2791 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2795 $as_echo "$ac_cv_build" >&6; }
2796 case $ac_cv_build in
2798 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2801 ac_save_IFS
=$IFS; IFS
='-'
2807 # Remember, the first character of IFS is used to create $*,
2808 # except with old shells:
2811 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2815 $as_echo_n "checking host system type... " >&6; }
2816 if test "${ac_cv_host+set}" = set; then :
2817 $as_echo_n "(cached) " >&6
2819 if test "x$host_alias" = x
; then
2820 ac_cv_host
=$ac_cv_build
2822 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2823 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2828 $as_echo "$ac_cv_host" >&6; }
2831 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2834 ac_save_IFS
=$IFS; IFS
='-'
2840 # Remember, the first character of IFS is used to create $*,
2841 # except with old shells:
2844 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2848 $as_echo_n "checking target system type... " >&6; }
2849 if test "${ac_cv_target+set}" = set; then :
2850 $as_echo_n "(cached) " >&6
2852 if test "x$target_alias" = x
; then
2853 ac_cv_target
=$ac_cv_host
2855 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2856 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2861 $as_echo "$ac_cv_target" >&6; }
2862 case $ac_cv_target in
2864 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2866 target
=$ac_cv_target
2867 ac_save_IFS
=$IFS; IFS
='-'
2873 # Remember, the first character of IFS is used to create $*,
2874 # except with old shells:
2877 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2880 # The aliases save the names the user supplied, while $host etc.
2881 # will get canonicalized.
2882 test -n "$target_alias" &&
2883 test "$program_prefix$program_suffix$program_transform_name" = \
2885 program_prefix
=${target_alias}-
2887 target_alias
=${target_alias-$host_alias}
2889 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2890 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2891 # 1.9.0: minimum required version
2892 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2893 # of other PACKAGE_* variables will, however, and there's nothing
2894 # we can do about that; they come from AC_INIT).
2895 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2896 # file in the top srcdir, etc, etc), so stop complaining.
2897 # -Wall: turns on all automake warnings...
2898 # -Wno-portability: ...except this one, since GNU make is required.
2899 # -Wno-override: ... and this one, since we do want this in testsuite.
2900 am__api_version
='1.11'
2902 # Find a good install program. We prefer a C program (faster),
2903 # so one script is as good as another. But avoid the broken or
2904 # incompatible versions:
2905 # SysV /etc/install, /usr/sbin/install
2906 # SunOS /usr/etc/install
2907 # IRIX /sbin/install
2909 # AmigaOS /C/install, which installs bootblocks on floppy discs
2910 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2911 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2912 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2913 # OS/2's system install, which has a completely different semantic
2914 # ./install, which can be erroneously created by make from ./install.sh.
2915 # Reject install programs that cannot install multiple files.
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2917 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2918 if test -z "$INSTALL"; then
2919 if test "${ac_cv_path_install+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 # Account for people who put trailing slashes in PATH elements.
2928 case $as_dir/ in #((
2929 .
/ | .
// |
/[cC
]/* | \
2930 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2931 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2934 # OSF1 and SCO ODT 3.0 have their own names for install.
2935 # Don't use installbsd from OSF since it installs stuff as root
2937 for ac_prog
in ginstall scoinst
install; do
2938 for ac_exec_ext
in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2940 if test $ac_prog = install &&
2941 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2942 # AIX install. It has an incompatible calling convention.
2944 elif test $ac_prog = install &&
2945 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2946 # program-specific install script used by HP pwplus--don't use.
2949 rm -rf conftest.one conftest.two conftest.dir
2950 echo one
> conftest.one
2951 echo two
> conftest.two
2953 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2954 test -s conftest.one
&& test -s conftest.two
&&
2955 test -s conftest.dir
/conftest.one
&&
2956 test -s conftest.dir
/conftest.two
2958 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2971 rm -rf conftest.one conftest.two conftest.dir
2974 if test "${ac_cv_path_install+set}" = set; then
2975 INSTALL
=$ac_cv_path_install
2977 # As a last resort, use the slow shell script. Don't cache a
2978 # value for INSTALL within a source directory, because that will
2979 # break other packages using the cache if that directory is
2980 # removed, or if the value is a relative name.
2981 INSTALL
=$ac_install_sh
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2985 $as_echo "$INSTALL" >&6; }
2987 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2988 # It thinks the first close brace ends the variable substitution.
2989 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2991 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2993 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2996 $as_echo_n "checking whether build environment is sane... " >&6; }
2999 echo timestamp
> conftest.
file
3000 # Reject unsafe characters in $srcdir or the absolute working directory
3001 # name. Accept space and tab only in the latter.
3005 *[\\\"\
#\$\&\'\`$am_lf]*)
3006 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3009 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3010 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3013 # Do `set' in a subshell so we don't clobber the current shell's
3014 # arguments. Must try -L first in case configure is actually a
3015 # symlink; some systems play weird games with the mod time of symlinks
3016 # (eg FreeBSD returns the mod time of the symlink's containing
3019 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3020 if test "$*" = "X"; then
3022 set X
`ls -t "$srcdir/configure" conftest.file`
3025 if test "$*" != "X $srcdir/configure conftest.file" \
3026 && test "$*" != "X conftest.file $srcdir/configure"; then
3028 # If neither matched, then we have a broken ls. This can happen
3029 # if, for instance, CONFIG_SHELL is bash and it inherits a
3030 # broken ls alias from the environment. This has actually
3031 # happened. Such a system could not be considered "sane".
3032 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3033 alias in your environment" "$LINENO" 5
3036 test "$2" = conftest.
file
3042 as_fn_error
"newly created file is older than distributed files!
3043 Check your system clock" "$LINENO" 5
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3046 $as_echo "yes" >&6; }
3047 test "$program_prefix" != NONE
&&
3048 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3049 # Use a double $ so make ignores it.
3050 test "$program_suffix" != NONE
&&
3051 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3052 # Double any \ or $.
3053 # By default was `s,x,x', remove it if useless.
3054 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3055 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3057 # expand $ac_aux_dir to an absolute path
3058 am_aux_dir
=`cd $ac_aux_dir && pwd`
3060 if test x
"${MISSING+set}" != xset
; then
3063 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3065 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3068 # Use eval to expand $SHELL
3069 if eval "$MISSING --run true"; then
3070 am_missing_run
="$MISSING --run "
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3074 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3077 if test x
"${install_sh}" != xset
; then
3080 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3082 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3086 # Installed binaries are usually stripped using `strip' when the user
3087 # run `make install-strip'. However `strip' might not be the right
3088 # tool to use in cross-compilation environments, therefore Automake
3089 # will honor the `STRIP' environment variable to overrule this program.
3090 if test "$cross_compiling" != no
; then
3091 if test -n "$ac_tool_prefix"; then
3092 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3093 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if test "${ac_cv_prog_STRIP+set}" = set; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$STRIP"; then
3100 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir
=.
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 STRIP
=$ac_cv_prog_STRIP
3120 if test -n "$STRIP"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3122 $as_echo "$STRIP" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3130 if test -z "$ac_cv_prog_STRIP"; then
3132 # Extract the first word of "strip", so it can be a program name with args.
3133 set dummy strip
; ac_word
=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$ac_ct_STRIP"; then
3140 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_ac_ct_STRIP
="strip"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3160 if test -n "$ac_ct_STRIP"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3162 $as_echo "$ac_ct_STRIP" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3168 if test "x$ac_ct_STRIP" = x
; then
3171 case $cross_compiling:$ac_tool_warned in
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3175 ac_tool_warned
=yes ;;
3180 STRIP
="$ac_cv_prog_STRIP"
3184 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3187 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3188 if test -z "$MKDIR_P"; then
3189 if test "${ac_cv_path_mkdir+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_prog
in mkdir gmkdir
; do
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3200 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3201 'mkdir (GNU coreutils) '* | \
3202 'mkdir (coreutils) '* | \
3203 'mkdir (fileutils) '4.1*)
3204 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3214 if test "${ac_cv_path_mkdir+set}" = set; then
3215 MKDIR_P
="$ac_cv_path_mkdir -p"
3217 # As a last resort, use the slow shell script. Don't cache a
3218 # value for MKDIR_P within a source directory, because that will
3219 # break other packages using the cache if that directory is
3220 # removed, or if the value is a relative name.
3221 test -d .
/--version && rmdir .
/--version
3222 MKDIR_P
="$ac_install_sh -d"
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3226 $as_echo "$MKDIR_P" >&6; }
3230 [\\/$
]* | ?
:[\\/]*) ;;
3231 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3234 for ac_prog
in gawk mawk nawk
awk
3236 # Extract the first word of "$ac_prog", so it can be a program name with args.
3237 set dummy
$ac_prog; ac_word
=$2
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if test "${ac_cv_prog_AWK+set}" = set; then :
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$AWK"; then
3244 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3250 test -z "$as_dir" && as_dir
=.
3251 for ac_exec_ext
in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_AWK
="$ac_prog"
3254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 if test -n "$AWK"; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3266 $as_echo "$AWK" >&6; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3273 test -n "$AWK" && break
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3277 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3279 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3280 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3281 $as_echo_n "(cached) " >&6
3283 cat >conftest.
make <<\_ACEOF
3286 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3288 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3289 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3291 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3293 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3297 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3299 $as_echo "yes" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3304 SET_MAKE
="MAKE=${MAKE-make}"
3307 rm -rf .tst
2>/dev
/null
3308 mkdir .tst
2>/dev
/null
3309 if test -d .tst
; then
3314 rmdir .tst
2>/dev
/null
3316 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3317 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3318 # is not polluted with repeated "-I."
3319 am__isrc
=' -I$(srcdir)'
3320 # test to see if srcdir already configured
3321 if test -f $srcdir/config.status
; then
3322 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3326 # test whether we have cygpath
3327 if test -z "$CYGPATH_W"; then
3328 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3329 CYGPATH_W
='cygpath -w'
3336 # Define the identity of the package.
3341 cat >>confdefs.h
<<_ACEOF
3342 #define PACKAGE "$PACKAGE"
3346 cat >>confdefs.h
<<_ACEOF
3347 #define VERSION "$VERSION"
3350 # Some tools Automake needs.
3352 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3355 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3358 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3361 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3364 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3366 # We need awk for the "check" target. The system "awk" is bad on
3368 # Always define AMTAR for backward compatibility.
3370 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3372 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3378 # Default to --enable-multilib
3379 # Check whether --enable-multilib was given.
3380 if test "${enable_multilib+set}" = set; then :
3381 enableval
=$enable_multilib; case "$enableval" in
3382 yes) multilib
=yes ;;
3384 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3391 # We may get other options which we leave undocumented:
3392 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3393 # See config-ml.in if you want the gory details.
3395 if test "$srcdir" = "."; then
3396 if test "$with_target_subdir" != "."; then
3397 multi_basedir
="$srcdir/$with_multisrctop../.."
3399 multi_basedir
="$srcdir/$with_multisrctop.."
3402 multi_basedir
="$srcdir/.."
3406 # Even if the default multilib is not a cross compilation,
3407 # it may be that some of the other multilibs are.
3408 if test $cross_compiling = no
&& test $multilib = yes \
3409 && test "x${with_multisubdir}" != x
; then
3410 cross_compiling
=maybe
3413 ac_config_commands
="$ac_config_commands default-1"
3416 # Calculate toolexeclibdir
3417 # Also toolexecdir, though it's only used in toolexeclibdir
3418 case ${enable_version_specific_runtime_libs} in
3420 # Need the gcc compiler version to know where to install libraries
3421 # and header files if --enable-version-specific-runtime-libs option
3423 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3424 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3427 if test -n "$with_cross_host" &&
3428 test x
"$with_cross_host" != x
"no"; then
3429 # Install a library built with a cross compiler in tooldir, not libdir.
3430 toolexecdir
='$(exec_prefix)/$(target_alias)'
3431 toolexeclibdir
='$(toolexecdir)/lib'
3433 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3434 toolexeclibdir
='$(libdir)'
3436 multi_os_directory
=`$CC -print-multi-os-directory`
3437 case $multi_os_directory in
3438 .
) ;; # Avoid trailing /.
3439 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3446 # Check the compiler.
3447 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3448 # We must force CC to /not/ be precious variables; otherwise
3449 # the wrong, non-multilib-adjusted value will be used in multilibs.
3450 # As a side effect, we have to subst CFLAGS ourselves.
3455 ac_cpp
='$CPP $CPPFLAGS'
3456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3459 if test -n "$ac_tool_prefix"; then
3460 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3461 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 $as_echo_n "checking for $ac_word... " >&6; }
3464 if test "${ac_cv_prog_CC+set}" = set; then :
3465 $as_echo_n "(cached) " >&6
3467 if test -n "$CC"; then
3468 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 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3488 if test -n "$CC"; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3490 $as_echo "$CC" >&6; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3498 if test -z "$ac_cv_prog_CC"; then
3500 # Extract the first word of "gcc", so it can be a program name with args.
3501 set dummy gcc
; ac_word
=$2
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3503 $as_echo_n "checking for $ac_word... " >&6; }
3504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3505 $as_echo_n "(cached) " >&6
3507 if test -n "$ac_ct_CC"; then
3508 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3514 test -z "$as_dir" && as_dir
=.
3515 for ac_exec_ext
in '' $ac_executable_extensions; do
3516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3517 ac_cv_prog_ac_ct_CC
="gcc"
3518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3528 if test -n "$ac_ct_CC"; then
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3530 $as_echo "$ac_ct_CC" >&6; }
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3533 $as_echo "no" >&6; }
3536 if test "x$ac_ct_CC" = x
; then
3539 case $cross_compiling:$ac_tool_warned in
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3543 ac_tool_warned
=yes ;;
3551 if test -z "$CC"; then
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3554 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_CC+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC
="$CC" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 if test -n "$CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3583 $as_echo "$CC" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3592 if test -z "$CC"; then
3593 # Extract the first word of "cc", so it can be a program name with args.
3594 set dummy cc
; ac_word
=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if test "${ac_cv_prog_CC+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -n "$CC"; then
3601 ac_cv_prog_CC
="$CC" # Let the user override the test.
3604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3608 test -z "$as_dir" && as_dir
=.
3609 for ac_exec_ext
in '' $ac_executable_extensions; do
3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3611 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3612 ac_prog_rejected
=yes
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 if test $ac_prog_rejected = yes; then
3624 # We found a bogon in the path, so make sure we never use it.
3625 set dummy
$ac_cv_prog_CC
3627 if test $# != 0; then
3628 # We chose a different compiler from the bogus one.
3629 # However, it has the same basename, so the bogon will be chosen
3630 # first if we set CC to just the basename; use the full file name.
3632 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3638 if test -n "$CC"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3640 $as_echo "$CC" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 for ac_prog
in cl.exe
3652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3653 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if test "${ac_cv_prog_CC+set}" = set; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$CC"; then
3660 ac_cv_prog_CC
="$CC" # Let the user override the test.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 if test -n "$CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3689 test -n "$CC" && break
3692 if test -z "$CC"; then
3694 for ac_prog
in cl.exe
3696 # Extract the first word of "$ac_prog", so it can be a program name with args.
3697 set dummy
$ac_prog; ac_word
=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -n "$ac_ct_CC"; then
3704 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3713 ac_cv_prog_ac_ct_CC
="$ac_prog"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3724 if test -n "$ac_ct_CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3726 $as_echo "$ac_ct_CC" >&6; }
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3733 test -n "$ac_ct_CC" && break
3736 if test "x$ac_ct_CC" = x
; then
3739 case $cross_compiling:$ac_tool_warned in
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3743 ac_tool_warned
=yes ;;
3752 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3754 as_fn_error
"no acceptable C compiler found in \$PATH
3755 See \`config.log' for more details." "$LINENO" 5; }
3757 # Provide some information about the compiler.
3758 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3761 for ac_option
in --version -v -V -qversion; do
3762 { { ac_try
="$ac_compiler $ac_option >&5"
3764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3771 if test -s conftest.err; then
3773 ... rest of stderr output deleted ...
3774 10q' conftest.err >conftest.er1
3775 cat conftest.er1 >&5
3776 rm -f conftest.er1 conftest.err
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3793 ac_clean_files_save=$ac_clean_files
3794 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3795 # Try to create an executable without -o first, disregard a.out.
3796 # It will help us diagnose broken compilers, and finding out an intuition
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3799 $as_echo_n "checking for C compiler default output file name... " >&6; }
3800 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3802 # The possible output files:
3803 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3806 for ac_file in $ac_files
3809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3810 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3815 if { { ac_try="$ac_link_default"
3817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3818 *) ac_try_echo
=$ac_try;;
3820 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3821 $as_echo "$ac_try_echo"; } >&5
3822 (eval "$ac_link_default") 2>&5
3824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3825 test $ac_status = 0; }; then :
3826 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3827 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3828 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3829 # so that the user can short-circuit this test for compilers unknown to
3831 for ac_file
in $ac_files ''
3833 test -f "$ac_file" ||
continue
3835 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3838 # We found the default executable, but exeext='' is most
3842 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3844 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3846 # We set ac_cv_exeext here because the later test for it is not
3847 # safe: cross compilers may not add the suffix if given an `-o'
3848 # argument, so we may need to know it at that point already.
3849 # Even if this section looks crufty: it has the advantage of
3856 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3862 $as_echo "$ac_file" >&6; }
3863 if test -z "$ac_file"; then :
3864 $as_echo "$as_me: failed program was:" >&5
3865 sed 's/^/| /' conftest.
$ac_ext >&5
3867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 { as_fn_set_status
77
3870 as_fn_error
"C compiler cannot create executables
3871 See \`config.log' for more details." "$LINENO" 5; }; }
3873 ac_exeext
=$ac_cv_exeext
3875 # Check that the compiler produces executables we can run. If not, either
3876 # the compiler is broken, or we cross compile.
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3878 $as_echo_n "checking whether the C compiler works... " >&6; }
3879 # If not cross compiling, check that we can run a simple program.
3880 if test "$cross_compiling" != yes; then
3881 if { ac_try
='./$ac_file'
3882 { { case "(($ac_try" in
3883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3884 *) ac_try_echo=$ac_try;;
3886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3887 $as_echo "$ac_try_echo"; } >&5
3888 (eval "$ac_try") 2>&5
3890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3891 test $ac_status = 0; }; }; then
3894 if test "$cross_compiling" = maybe; then
3897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3899 as_fn_error "cannot run C compiled programs.
3900 If you meant to cross compile
, use \
`--host'.
3901 See \`config.log
' for more details." "$LINENO" 5; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3906 $as_echo "yes" >&6; }
3908 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3909 ac_clean_files=$ac_clean_files_save
3910 # Check that the compiler produces executables we can run. If not, either
3911 # the compiler is broken, or we cross compile.
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3913 $as_echo_n "checking whether we are cross compiling... " >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3915 $as_echo "$cross_compiling" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3918 $as_echo_n "checking for suffix of executables... " >&6; }
3919 if { { ac_try="$ac_link"
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_link") 2>&5
3928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929 test $ac_status = 0; }; then :
3930 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3931 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3932 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3934 for ac_file
in conftest.exe conftest conftest.
*; do
3935 test -f "$ac_file" ||
continue
3937 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3938 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3946 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3947 See \`config.log' for more details." "$LINENO" 5; }
3949 rm -f conftest
$ac_cv_exeext
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3951 $as_echo "$ac_cv_exeext" >&6; }
3953 rm -f conftest.
$ac_ext
3954 EXEEXT
=$ac_cv_exeext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3957 $as_echo_n "checking for suffix of object files... " >&6; }
3958 if test "${ac_cv_objext+set}" = set; then :
3959 $as_echo_n "(cached) " >&6
3961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3972 rm -f conftest.o conftest.obj
3973 if { { ac_try
="$ac_compile"
3975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3976 *) ac_try_echo=$ac_try;;
3978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979 $as_echo "$ac_try_echo"; } >&5
3980 (eval "$ac_compile") 2>&5
3982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983 test $ac_status = 0; }; then :
3984 for ac_file in conftest.o conftest.obj conftest.*; do
3985 test -f "$ac_file" || continue;
3987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3988 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3993 $as_echo "$as_me: failed program was:" >&5
3994 sed 's/^/| /' conftest.$ac_ext >&5
3996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3998 as_fn_error "cannot compute suffix of object files
: cannot compile
3999 See \
`config.log' for more details." "$LINENO" 5; }
4001 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4004 $as_echo "$ac_cv_objext" >&6; }
4005 OBJEXT=$ac_cv_objext
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4008 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4009 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4010 $as_echo_n "(cached) " >&6
4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4026 if ac_fn_c_try_compile "$LINENO"; then :
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4036 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4037 if test $ac_compiler_gnu = yes; then
4042 ac_test_CFLAGS=${CFLAGS+set}
4043 ac_save_CFLAGS=$CFLAGS
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4045 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4046 if test "${ac_cv_prog_cc_g+set}" = set; then :
4047 $as_echo_n "(cached) " >&6
4049 ac_save_c_werror_flag=$ac_c_werror_flag
4050 ac_c_werror_flag=yes
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4064 if ac_fn_c_try_compile "$LINENO"; then :
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4079 if ac_fn_c_try_compile "$LINENO"; then :
4082 ac_c_werror_flag=$ac_save_c_werror_flag
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4095 if ac_fn_c_try_compile "$LINENO"; then :
4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103 ac_c_werror_flag=$ac_save_c_werror_flag
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4106 $as_echo "$ac_cv_prog_cc_g" >&6; }
4107 if test "$ac_test_CFLAGS" = set; then
4108 CFLAGS=$ac_save_CFLAGS
4109 elif test $ac_cv_prog_cc_g = yes; then
4110 if test "$GCC" = yes; then
4116 if test "$GCC" = yes; then
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4123 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4124 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4127 ac_cv_prog_cc_c89=no
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4133 #include <sys/types.h>
4134 #include <sys/stat.h>
4135 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4136 struct buf { int x; };
4137 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4138 static char *e (p, i)
4144 static char *f (char * (*g) (char **, int), char **p, ...)
4149 s = g (p, va_arg (v,int));
4154 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4155 function prototypes and stuff, but not '\xHH' hex character constants.
4156 These don't provoke an error unfortunately, instead are silently treated
4157 as 'x'. The following induces an error, until -std is added to get
4158 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4159 array size at least. It's necessary to write '\x00'==0 to get something
4160 that's true only with -std. */
4161 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4163 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4164 inside strings and character constants. */
4166 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4168 int test (int i, double x);
4169 struct s1 {int (*f) (int a);};
4170 struct s2 {int (*f) (double a);};
4171 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4177 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4182 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4183 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4185 CC="$ac_save_CC $ac_arg"
4186 if ac_fn_c_try_compile "$LINENO"; then :
4187 ac_cv_prog_cc_c89=$ac_arg
4189 rm -f core conftest.err conftest.$ac_objext
4190 test "x$ac_cv_prog_cc_c89" != "xno" && break
4192 rm -f conftest.$ac_ext
4197 case "x$ac_cv_prog_cc_c89" in
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4200 $as_echo "none needed" >&6; } ;;
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4203 $as_echo "unsupported" >&6; } ;;
4205 CC="$CC $ac_cv_prog_cc_c89"
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4207 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4209 if test "x$ac_cv_prog_cc_c89" != xno; then :
4214 ac_cpp='$CPP $CPPFLAGS'
4215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4218 DEPDIR="${am__leading_dot}deps"
4220 ac_config_commands="$ac_config_commands depfiles"
4223 am_make=${MAKE-make}
4224 cat > confinc << 'END'
4226 @echo this is the am__doit target
4229 # If we don't find an include directive, just comment out the code.
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4231 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4235 # First try GNU make style include.
4236 echo "include confinc" > confmf
4237 # Ignore all kinds of additional output from `make'.
4238 case `$am_make -s -f confmf 2> /dev/null` in #(
4239 *the\ am__doit\ target*)
4245 # Now try BSD make style include.
4246 if test "$am__include" = "#"; then
4247 echo '.include
"confinc"' > confmf
4248 case `$am_make -s -f confmf 2> /dev/null` in #(
4249 *the\ am__doit\ target*)
4250 am__include=.include
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4259 $as_echo "$_am_result" >&6; }
4260 rm -f confinc confmf
4262 # Check whether --enable-dependency-tracking was given.
4263 if test "${enable_dependency_tracking+set}" = set; then :
4264 enableval=$enable_dependency_tracking;
4267 if test "x$enable_dependency_tracking" != xno; then
4268 am_depcomp="$ac_aux_dir/depcomp"
4271 if test "x$enable_dependency_tracking" != xno
; then
4281 depcc
="$CC" am_compiler_list
=
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4284 $as_echo_n "checking dependency style of $depcc... " >&6; }
4285 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4289 # We make a subdir and do the tests there. Otherwise we can end up
4290 # making bogus files that we don't know about and never remove. For
4291 # instance it was reported that on HP-UX the gcc test will end up
4292 # making a dummy file named `D' -- because `-MD' means `put the output
4295 # Copy depcomp to subdir because otherwise we won't find it if we're
4296 # using a relative directory.
4297 cp "$am_depcomp" conftest.dir
4299 # We will build objects and dependencies in a subdirectory because
4300 # it helps to detect inapplicable dependency modes. For instance
4301 # both Tru64's cc and ICC support -MD to output dependencies as a
4302 # side effect of compilation, but ICC will put the dependencies in
4303 # the current directory while Tru64 will put them in the object
4307 am_cv_CC_dependencies_compiler_type
=none
4308 if test "$am_compiler_list" = ""; then
4309 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4312 case " $depcc " in #(
4313 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4316 for depmode
in $am_compiler_list; do
4317 # Setup a source with many dependencies, because some compilers
4318 # like to wrap large dependency lists on column 80 (with \), and
4319 # we should not choose a depcomp mode which is confused by this.
4321 # We need to recreate these files for each test, as the compiler may
4322 # overwrite some of them when testing with obscure command lines.
4323 # This happens at least with the AIX C compiler.
4325 for i
in 1 2 3 4 5 6; do
4326 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4327 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4328 # Solaris 8's {/usr,}/bin/sh.
4329 touch sub
/conftst
$i.h
4331 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4333 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4334 # mode. It turns out that the SunPro C++ compiler does not properly
4335 # handle `-M -o', and we need to detect this. Also, some Intel
4336 # versions had trouble with output in subdirs
4337 am__obj
=sub
/conftest.
${OBJEXT-o}
4338 am__minus_obj
="-o $am__obj"
4341 # This depmode causes a compiler race in universal mode.
4342 test "$am__universal" = false ||
continue
4345 # after this tag, mechanisms are not by side-effect, so they'll
4346 # only be used when explicitly requested
4347 if test "x$enable_dependency_tracking" = xyes
; then
4353 msvisualcpp | msvcmsys
)
4354 # This compiler won't grok `-c -o', but also, the minuso test has
4355 # not run yet. These depmodes are late enough in the game, and
4356 # so weak that their functioning should not be impacted.
4357 am__obj
=conftest.
${OBJEXT-o}
4362 if depmode
=$depmode \
4363 source=sub
/conftest.c object
=$am__obj \
4364 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4365 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4366 >/dev
/null
2>conftest.err
&&
4367 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4368 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4369 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4370 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4371 # icc doesn't choke on unknown options, it will just issue warnings
4372 # or remarks (even with -Werror). So we grep stderr for any message
4373 # that says an option was ignored or not supported.
4374 # When given -MP, icc 7.0 and 7.1 complain thusly:
4375 # icc: Command line warning: ignoring option '-M'; no argument required
4376 # The diagnosis changed in icc 8.0:
4377 # icc: Command line remark: option '-MP' not supported
4378 if (grep 'ignoring option' conftest.err ||
4379 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4380 am_cv_CC_dependencies_compiler_type
=$depmode
4389 am_cv_CC_dependencies_compiler_type
=none
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4394 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4395 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4398 test "x$enable_dependency_tracking" != xno \
4399 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4401 am__fastdepCC_FALSE
='#'
4403 am__fastdepCC_TRUE
='#'
4404 am__fastdepCC_FALSE
=
4412 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4413 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4414 # in both places for now and restore CFLAGS at the end of config.
4415 save_CFLAGS
="$CFLAGS"
4417 # Add -Wall -Werror if we are using GCC.
4418 if test "x$GCC" = "xyes"; then
4419 XCFLAGS
="$XCFLAGS -Wall -Werror"
4422 # Find other programs we need.
4423 if test -n "$ac_tool_prefix"; then
4424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4425 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if test "${ac_cv_prog_AR+set}" = set; then :
4429 $as_echo_n "(cached) " >&6
4431 if test -n "$AR"; then
4432 ac_cv_prog_AR
="$AR" # Let the user override the test.
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 for ac_exec_ext
in '' $ac_executable_extensions; do
4440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4441 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 if test -n "$AR"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4454 $as_echo "$AR" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4462 if test -z "$ac_cv_prog_AR"; then
4464 # Extract the first word of "ar", so it can be a program name with args.
4465 set dummy
ar; ac_word
=$2
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467 $as_echo_n "checking for $ac_word... " >&6; }
4468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4469 $as_echo_n "(cached) " >&6
4471 if test -n "$ac_ct_AR"; then
4472 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4478 test -z "$as_dir" && as_dir
=.
4479 for ac_exec_ext
in '' $ac_executable_extensions; do
4480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481 ac_cv_prog_ac_ct_AR
="ar"
4482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4492 if test -n "$ac_ct_AR"; then
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4494 $as_echo "$ac_ct_AR" >&6; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497 $as_echo "no" >&6; }
4500 if test "x$ac_ct_AR" = x
; then
4503 case $cross_compiling:$ac_tool_warned in
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4507 ac_tool_warned
=yes ;;
4515 if test -n "$ac_tool_prefix"; then
4516 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4517 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4523 if test -n "$RANLIB"; then
4524 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir
=.
4531 for ac_exec_ext
in '' $ac_executable_extensions; do
4532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 RANLIB
=$ac_cv_prog_RANLIB
4544 if test -n "$RANLIB"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4546 $as_echo "$RANLIB" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4554 if test -z "$ac_cv_prog_RANLIB"; then
4555 ac_ct_RANLIB
=$RANLIB
4556 # Extract the first word of "ranlib", so it can be a program name with args.
4557 set dummy ranlib
; ac_word
=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4563 if test -n "$ac_ct_RANLIB"; then
4564 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir
=.
4571 for ac_exec_ext
in '' $ac_executable_extensions; do
4572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4573 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4584 if test -n "$ac_ct_RANLIB"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4586 $as_echo "$ac_ct_RANLIB" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4592 if test "x$ac_ct_RANLIB" = x
; then
4593 RANLIB
="ranlib-not-found-in-path-error"
4595 case $cross_compiling:$ac_tool_warned in
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4599 ac_tool_warned
=yes ;;
4601 RANLIB
=$ac_ct_RANLIB
4604 RANLIB
="$ac_cv_prog_RANLIB"
4607 # Extract the first word of "perl", so it can be a program name with args.
4608 set dummy perl
; ac_word
=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if test "${ac_cv_path_PERL+set}" = set; then :
4612 $as_echo_n "(cached) " >&6
4616 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir
=.
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
4638 PERL
=$ac_cv_path_PERL
4639 if test -n "$PERL"; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4641 $as_echo "$PERL" >&6; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4651 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4652 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4653 $as_echo_n "(cached) " >&6
4655 cat >conftest.
make <<\_ACEOF
4658 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4660 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4663 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4665 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4669 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4671 $as_echo "yes" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4676 SET_MAKE
="MAKE=${MAKE-make}"
4681 # See if makeinfo has been installed and is modern enough
4682 # that we can use it.
4684 # Extract the first word of "makeinfo", so it can be a program name with args.
4685 set dummy makeinfo
; ac_word
=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4689 $as_echo_n "(cached) " >&6
4691 if test -n "$MAKEINFO"; then
4692 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir
=.
4699 for ac_exec_ext
in '' $ac_executable_extensions; do
4700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4701 ac_cv_prog_MAKEINFO
="makeinfo"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 MAKEINFO
=$ac_cv_prog_MAKEINFO
4712 if test -n "$MAKEINFO"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4714 $as_echo "$MAKEINFO" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4721 if test -n "$MAKEINFO"; then
4722 # Found it, now check the version.
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4724 $as_echo_n "checking for modern makeinfo... " >&6; }
4725 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4726 $as_echo_n "(cached) " >&6
4728 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4729 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4731 case $ac_prog_version in
4732 '') gcc_cv_prog_makeinfo_modern
=no
;;
4733 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4734 *) gcc_cv_prog_makeinfo_modern
=no
;;
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4739 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4741 gcc_cv_prog_makeinfo_modern
=no
4743 if test $gcc_cv_prog_makeinfo_modern = no
; then
4744 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4747 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4749 BUILD_INFO_FALSE
='#'
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4761 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4766 macro_version
='2.2.6'
4767 macro_revision
='1.3012'
4781 ltmain
="$ac_aux_dir/ltmain.sh"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4784 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4785 if test "${ac_cv_path_SED+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4789 for ac_i
in 1 2 3 4 5 6 7; do
4790 ac_script
="$ac_script$as_nl$ac_script"
4792 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4793 { ac_script
=; unset ac_script
;}
4794 if test -z "$SED"; then
4795 ac_path_SED_found
=false
4796 # Loop through the user's path and test for each of PROGNAME-LIST
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_prog
in sed gsed
; do
4803 for ac_exec_ext
in '' $ac_executable_extensions; do
4804 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4805 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4806 # Check for GNU ac_path_SED and select it if it is found.
4807 # Check for GNU $ac_path_SED
4808 case `"$ac_path_SED" --version 2>&1` in
4810 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4813 $as_echo_n 0123456789 >"conftest.in"
4816 cat "conftest.in" "conftest.in" >"conftest.tmp"
4817 mv "conftest.tmp" "conftest.in"
4818 cp "conftest.in" "conftest.nl"
4819 $as_echo '' >> "conftest.nl"
4820 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4821 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4822 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4823 if test $ac_count -gt ${ac_path_SED_max-0}; then
4824 # Best one so far, save it but keep looking for a better one
4825 ac_cv_path_SED
="$ac_path_SED"
4826 ac_path_SED_max
=$ac_count
4828 # 10*(2^10) chars as input seems more than enough
4829 test $ac_count -gt 10 && break
4831 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4834 $ac_path_SED_found && break 3
4839 if test -z "$ac_cv_path_SED"; then
4840 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4848 $as_echo "$ac_cv_path_SED" >&6; }
4849 SED
="$ac_cv_path_SED"
4852 test -z "$SED" && SED
=sed
4853 Xsed
="$SED -e 1s/^X//"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4866 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4867 if test "${ac_cv_path_GREP+set}" = set; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -z "$GREP"; then
4871 ac_path_GREP_found
=false
4872 # Loop through the user's path and test for each of PROGNAME-LIST
4873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4877 test -z "$as_dir" && as_dir
=.
4878 for ac_prog
in grep ggrep
; do
4879 for ac_exec_ext
in '' $ac_executable_extensions; do
4880 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4881 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4882 # Check for GNU ac_path_GREP and select it if it is found.
4883 # Check for GNU $ac_path_GREP
4884 case `"$ac_path_GREP" --version 2>&1` in
4886 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4889 $as_echo_n 0123456789 >"conftest.in"
4892 cat "conftest.in" "conftest.in" >"conftest.tmp"
4893 mv "conftest.tmp" "conftest.in"
4894 cp "conftest.in" "conftest.nl"
4895 $as_echo 'GREP' >> "conftest.nl"
4896 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4897 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4898 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4899 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4900 # Best one so far, save it but keep looking for a better one
4901 ac_cv_path_GREP
="$ac_path_GREP"
4902 ac_path_GREP_max
=$ac_count
4904 # 10*(2^10) chars as input seems more than enough
4905 test $ac_count -gt 10 && break
4907 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4910 $ac_path_GREP_found && break 3
4915 if test -z "$ac_cv_path_GREP"; then
4916 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4919 ac_cv_path_GREP
=$GREP
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4924 $as_echo "$ac_cv_path_GREP" >&6; }
4925 GREP
="$ac_cv_path_GREP"
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4929 $as_echo_n "checking for egrep... " >&6; }
4930 if test "${ac_cv_path_EGREP+set}" = set; then :
4931 $as_echo_n "(cached) " >&6
4933 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4934 then ac_cv_path_EGREP
="$GREP -E"
4936 if test -z "$EGREP"; then
4937 ac_path_EGREP_found
=false
4938 # Loop through the user's path and test for each of PROGNAME-LIST
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4943 test -z "$as_dir" && as_dir
=.
4944 for ac_prog
in egrep; do
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4947 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4948 # Check for GNU ac_path_EGREP and select it if it is found.
4949 # Check for GNU $ac_path_EGREP
4950 case `"$ac_path_EGREP" --version 2>&1` in
4952 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4955 $as_echo_n 0123456789 >"conftest.in"
4958 cat "conftest.in" "conftest.in" >"conftest.tmp"
4959 mv "conftest.tmp" "conftest.in"
4960 cp "conftest.in" "conftest.nl"
4961 $as_echo 'EGREP' >> "conftest.nl"
4962 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4963 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4964 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4965 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4966 # Best one so far, save it but keep looking for a better one
4967 ac_cv_path_EGREP
="$ac_path_EGREP"
4968 ac_path_EGREP_max
=$ac_count
4970 # 10*(2^10) chars as input seems more than enough
4971 test $ac_count -gt 10 && break
4973 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4976 $ac_path_EGREP_found && break 3
4981 if test -z "$ac_cv_path_EGREP"; then
4982 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4985 ac_cv_path_EGREP
=$EGREP
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4991 $as_echo "$ac_cv_path_EGREP" >&6; }
4992 EGREP
="$ac_cv_path_EGREP"
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4996 $as_echo_n "checking for fgrep... " >&6; }
4997 if test "${ac_cv_path_FGREP+set}" = set; then :
4998 $as_echo_n "(cached) " >&6
5000 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5001 then ac_cv_path_FGREP
="$GREP -F"
5003 if test -z "$FGREP"; then
5004 ac_path_FGREP_found
=false
5005 # Loop through the user's path and test for each of PROGNAME-LIST
5006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5007 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5010 test -z "$as_dir" && as_dir
=.
5011 for ac_prog
in fgrep
; do
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5014 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5015 # Check for GNU ac_path_FGREP and select it if it is found.
5016 # Check for GNU $ac_path_FGREP
5017 case `"$ac_path_FGREP" --version 2>&1` in
5019 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5022 $as_echo_n 0123456789 >"conftest.in"
5025 cat "conftest.in" "conftest.in" >"conftest.tmp"
5026 mv "conftest.tmp" "conftest.in"
5027 cp "conftest.in" "conftest.nl"
5028 $as_echo 'FGREP' >> "conftest.nl"
5029 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5030 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5031 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5032 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5033 # Best one so far, save it but keep looking for a better one
5034 ac_cv_path_FGREP
="$ac_path_FGREP"
5035 ac_path_FGREP_max
=$ac_count
5037 # 10*(2^10) chars as input seems more than enough
5038 test $ac_count -gt 10 && break
5040 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5043 $ac_path_FGREP_found && break 3
5048 if test -z "$ac_cv_path_FGREP"; then
5049 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5052 ac_cv_path_FGREP
=$FGREP
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5058 $as_echo "$ac_cv_path_FGREP" >&6; }
5059 FGREP
="$ac_cv_path_FGREP"
5062 test -z "$GREP" && GREP
=grep
5082 # Check whether --with-gnu-ld was given.
5083 if test "${with_gnu_ld+set}" = set; then :
5084 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5090 if test "$GCC" = yes; then
5091 # Check if gcc -print-prog-name=ld gives a path.
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5093 $as_echo_n "checking for ld used by $CC... " >&6; }
5096 # gcc leaves a trailing carriage return which upsets mingw
5097 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5099 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5102 # Accept absolute paths.
5104 re_direlt
='/[^/][^/]*/\.\./'
5105 # Canonicalize the pathname of ld
5106 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5107 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5108 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5110 test -z "$LD" && LD
="$ac_prog"
5113 # If it fails, then pretend we aren't using GCC.
5117 # If it is relative, then search for the first ld in PATH.
5121 elif test "$with_gnu_ld" = yes; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5123 $as_echo_n "checking for GNU ld... " >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5126 $as_echo_n "checking for non-GNU ld... " >&6; }
5128 if test "${lt_cv_path_LD+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -z "$LD"; then
5132 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5133 for ac_dir
in $PATH; do
5135 test -z "$ac_dir" && ac_dir
=.
5136 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5137 lt_cv_path_LD
="$ac_dir/$ac_prog"
5138 # Check to see if the program is GNU ld. I'd rather use --version,
5139 # but apparently some variants of GNU ld only accept -v.
5140 # Break only if it was the GNU/non-GNU ld that we prefer.
5141 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5142 *GNU
* |
*'with BFD'*)
5143 test "$with_gnu_ld" != no
&& break
5146 test "$with_gnu_ld" != yes && break
5153 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5158 if test -n "$LD"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5160 $as_echo "$LD" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5165 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5167 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5168 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5171 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5172 case `$LD -v 2>&1 </dev/null` in
5173 *GNU
* |
*'with BFD'*)
5174 lt_cv_prog_gnu_ld
=yes
5177 lt_cv_prog_gnu_ld
=no
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5182 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5183 with_gnu_ld
=$lt_cv_prog_gnu_ld
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5194 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5195 if test "${lt_cv_path_NM+set}" = set; then :
5196 $as_echo_n "(cached) " >&6
5198 if test -n "$NM"; then
5199 # Let the user override the test.
5202 lt_nm_to_check
="${ac_tool_prefix}nm"
5203 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5204 lt_nm_to_check
="$lt_nm_to_check nm"
5206 for lt_tmp_nm
in $lt_nm_to_check; do
5207 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5208 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5210 test -z "$ac_dir" && ac_dir
=.
5211 tmp_nm
="$ac_dir/$lt_tmp_nm"
5212 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5213 # Check to see if the nm accepts a BSD-compat flag.
5214 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5215 # nm: unknown option "B" ignored
5216 # Tru64's nm complains that /dev/null is an invalid object file
5217 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5218 */dev
/null
* |
*'Invalid file or object type'*)
5219 lt_cv_path_NM
="$tmp_nm -B"
5223 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5225 lt_cv_path_NM
="$tmp_nm -p"
5229 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5230 continue # so that we can try to find one that supports BSD flags
5239 : ${lt_cv_path_NM=no}
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5243 $as_echo "$lt_cv_path_NM" >&6; }
5244 if test "$lt_cv_path_NM" != "no"; then
5247 # Didn't find any BSD compatible name lister, look for dumpbin.
5248 if test -n "$ac_tool_prefix"; then
5249 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5252 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5256 $as_echo_n "(cached) " >&6
5258 if test -n "$DUMPBIN"; then
5259 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5268 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 DUMPBIN
=$ac_cv_prog_DUMPBIN
5279 if test -n "$DUMPBIN"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5281 $as_echo "$DUMPBIN" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5288 test -n "$DUMPBIN" && break
5291 if test -z "$DUMPBIN"; then
5292 ac_ct_DUMPBIN
=$DUMPBIN
5293 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5295 # Extract the first word of "$ac_prog", so it can be a program name with args.
5296 set dummy
$ac_prog; ac_word
=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$ac_ct_DUMPBIN"; then
5303 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5323 if test -n "$ac_ct_DUMPBIN"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5325 $as_echo "$ac_ct_DUMPBIN" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 test -n "$ac_ct_DUMPBIN" && break
5335 if test "x$ac_ct_DUMPBIN" = x
; then
5338 case $cross_compiling:$ac_tool_warned in
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5342 ac_tool_warned
=yes ;;
5344 DUMPBIN
=$ac_ct_DUMPBIN
5349 if test "$DUMPBIN" != ":"; then
5353 test -z "$NM" && NM
=nm
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5361 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5362 if test "${lt_cv_nm_interface+set}" = set; then :
5363 $as_echo_n "(cached) " >&6
5365 lt_cv_nm_interface
="BSD nm"
5366 echo "int some_variable = 0;" > conftest.
$ac_ext
5367 (eval echo "\"\$as_me:5367: $ac_compile\"" >&5)
5368 (eval "$ac_compile" 2>conftest.err
)
5369 cat conftest.err
>&5
5370 (eval echo "\"\$as_me:5370: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5371 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5372 cat conftest.err
>&5
5373 (eval echo "\"\$as_me:5373: output\"" >&5)
5374 cat conftest.out
>&5
5375 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5376 lt_cv_nm_interface
="MS dumpbin"
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5381 $as_echo "$lt_cv_nm_interface" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5384 $as_echo_n "checking whether ln -s works... " >&6; }
5386 if test "$LN_S" = "ln -s"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5388 $as_echo "yes" >&6; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5391 $as_echo "no, using $LN_S" >&6; }
5394 # find the maximum length of command line arguments
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5396 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5397 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5398 $as_echo_n "(cached) " >&6
5405 # On DJGPP, this test can blow up pretty badly due to problems in libc
5406 # (any single argument exceeding 2000 bytes causes a buffer overrun
5407 # during glob expansion). Even if it were fixed, the result of this
5408 # check would be larger than it should be.
5409 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5413 # Under GNU Hurd, this test is not required because there is
5414 # no limit to the length of command line arguments.
5415 # Libtool will interpret -1 as no limit whatsoever
5416 lt_cv_sys_max_cmd_len
=-1;
5419 cygwin
* | mingw
* | cegcc
*)
5420 # On Win9x/ME, this test blows up -- it succeeds, but takes
5421 # about 5 minutes as the teststring grows exponentially.
5422 # Worse, since 9x/ME are not pre-emptively multitasking,
5423 # you end up with a "frozen" computer, even though with patience
5424 # the test eventually succeeds (with a max line length of 256k).
5425 # Instead, let's just punt: use the minimum linelength reported by
5426 # all of the supported platforms: 8192 (on NT/2K/XP).
5427 lt_cv_sys_max_cmd_len
=8192;
5431 # On AmigaOS with pdksh, this test takes hours, literally.
5432 # So we just punt and use a minimum line length of 8192.
5433 lt_cv_sys_max_cmd_len
=8192;
5436 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5437 # This has been around since 386BSD, at least. Likely further.
5438 if test -x /sbin
/sysctl
; then
5439 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5440 elif test -x /usr
/sbin
/sysctl
; then
5441 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5443 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5445 # And add a safety zone
5446 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5447 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5451 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5452 lt_cv_sys_max_cmd_len
=196608
5456 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5457 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5458 # nice to cause kernel panics so lets avoid the loop below.
5459 # First set a reasonable default.
5460 lt_cv_sys_max_cmd_len
=16384
5462 if test -x /sbin
/sysconfig
; then
5463 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5464 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5469 lt_cv_sys_max_cmd_len
=102400
5471 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5472 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5473 if test -n "$kargmax"; then
5474 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5476 lt_cv_sys_max_cmd_len
=32768
5480 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5481 if test -n "$lt_cv_sys_max_cmd_len"; then
5482 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5483 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5485 # Make teststring a little bigger before we do anything with it.
5486 # a 1K string should be a reasonable start.
5487 for i
in 1 2 3 4 5 6 7 8 ; do
5488 teststring
=$teststring$teststring
5490 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5491 # If test is not a shell built-in, we'll probably end up computing a
5492 # maximum length that is only half of the actual maximum length, but
5494 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5495 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5496 test $i != 17 # 1/2 MB should be enough
5499 teststring
=$teststring$teststring
5501 # Only check the string length outside the loop.
5502 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5504 # Add a significant safety factor because C++ compilers can tack on
5505 # massive amounts of additional arguments before passing them to the
5506 # linker. It appears as though 1/2 is a usable value.
5507 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5514 if test -n $lt_cv_sys_max_cmd_len ; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5516 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5519 $as_echo "none" >&6; }
5521 max_cmd_len
=$lt_cv_sys_max_cmd_len
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5533 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5534 # Try some XSI features
5537 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5539 && eval 'test $(( 1 + 1 )) -eq 2 \
5540 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5543 $as_echo "$xsi_shell" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5547 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5549 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5551 && lt_shell_append=yes
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5553 $as_echo "$lt_shell_append" >&6; }
5556 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5566 # test EBCDIC or ASCII
5567 case `echo X|tr X '\101'` in
5568 A) # ASCII based system
5569 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5570 lt_SP2NL='tr \040 \012'
5571 lt_NL2SP='tr \015\012 \040\040'
5573 *) # EBCDIC based system
5574 lt_SP2NL='tr \100 \n'
5575 lt_NL2SP='tr \r\n \100\100'
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5588 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5589 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5590 $as_echo_n "(cached
) " >&6
5592 lt_cv_ld_reload_flag='-r'
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5595 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5596 reload_flag=$lt_cv_ld_reload_flag
5597 case $reload_flag in
5599 *) reload_flag=" $reload_flag" ;;
5601 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5604 if test "$GCC" = yes; then
5605 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5607 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5620 if test -n "$ac_tool_prefix"; then
5621 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5622 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5624 $as_echo_n "checking
for $ac_word...
" >&6; }
5625 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5626 $as_echo_n "(cached
) " >&6
5628 if test -n "$OBJDUMP"; then
5629 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 test -z "$as_dir" && as_dir=.
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5638 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5648 OBJDUMP=$ac_cv_prog_OBJDUMP
5649 if test -n "$OBJDUMP"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5651 $as_echo "$OBJDUMP" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5654 $as_echo "no
" >&6; }
5659 if test -z "$ac_cv_prog_OBJDUMP"; then
5660 ac_ct_OBJDUMP=$OBJDUMP
5661 # Extract the first word of "objdump
", so it can be a program name with args.
5662 set dummy objdump; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5664 $as_echo_n "checking
for $ac_word...
" >&6; }
5665 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5666 $as_echo_n "(cached
) " >&6
5668 if test -n "$ac_ct_OBJDUMP"; then
5669 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5688 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5689 if test -n "$ac_ct_OBJDUMP"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5691 $as_echo "$ac_ct_OBJDUMP" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5694 $as_echo "no
" >&6; }
5697 if test "x
$ac_ct_OBJDUMP" = x; then
5700 case $cross_compiling:$ac_tool_warned in
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5703 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5704 ac_tool_warned=yes ;;
5706 OBJDUMP=$ac_ct_OBJDUMP
5709 OBJDUMP="$ac_cv_prog_OBJDUMP"
5712 test -z "$OBJDUMP" && OBJDUMP=objdump
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5723 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5724 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5725 $as_echo_n "(cached
) " >&6
5727 lt_cv_file_magic_cmd='$MAGIC_CMD'
5728 lt_cv_file_magic_test_file=
5729 lt_cv_deplibs_check_method='unknown'
5730 # Need to set the preceding variable on all platforms that support
5731 # interlibrary dependencies.
5732 # 'none' -- dependencies not supported.
5733 # `unknown' -- same as none, but documents that we really don't know.
5734 # 'pass_all' -- all dependencies passed with no checks.
5735 # 'test_compile' -- check by making test program.
5736 # 'file_magic [[regex]]' -- check by looking for files in library path
5737 # which responds to the $file_magic_cmd with a given extended regex.
5738 # If you have `file' or equivalent on your system and you're not sure
5739 # whether `pass_all' will *always* work, you probably want this one.
5743 lt_cv_deplibs_check_method=pass_all
5747 lt_cv_deplibs_check_method=pass_all
5751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5752 lt_cv_file_magic_cmd='/usr/bin/file -L'
5753 lt_cv_file_magic_test_file=/shlib/libc.so
5757 # func_win32_libid is a shell function defined in ltmain.sh
5758 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5759 lt_cv_file_magic_cmd='func_win32_libid'
5763 # Base MSYS/MinGW do not provide the 'file' command needed by
5764 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5765 # unless we find 'file', for example because we are cross-compiling.
5766 if ( file / ) >/dev/null 2>&1; then
5767 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5768 lt_cv_file_magic_cmd='func_win32_libid'
5770 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5771 lt_cv_file_magic_cmd='$OBJDUMP -f'
5776 # use the weaker test based on 'objdump'. See mingw*.
5777 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5778 lt_cv_file_magic_cmd='$OBJDUMP -f'
5781 darwin* | rhapsody*)
5782 lt_cv_deplibs_check_method=pass_all
5785 freebsd* | dragonfly*)
5786 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5789 # Not sure whether the presence of OpenBSD here was a mistake.
5790 # Let's accept both of them until this is cleared up.
5791 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5792 lt_cv_file_magic_cmd=/usr/bin/file
5793 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5797 lt_cv_deplibs_check_method=pass_all
5802 lt_cv_deplibs_check_method=pass_all
5805 hpux10.20* | hpux11*)
5806 lt_cv_file_magic_cmd=/usr/bin/file
5809 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5810 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5813 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5814 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5817 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5818 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5824 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5828 irix5* | irix6* | nonstopux*)
5830 *-32|*"-32 ") libmagic=32-bit;;
5831 *-n32|*"-n32 ") libmagic=N32;;
5832 *-64|*"-64 ") libmagic=64-bit;;
5833 *) libmagic=never-match;;
5835 lt_cv_deplibs_check_method=pass_all
5838 # This must be Linux ELF.
5839 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5840 lt_cv_deplibs_check_method=pass_all
5844 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5845 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5847 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5852 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5853 lt_cv_file_magic_cmd=/usr/bin/file
5854 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5858 lt_cv_deplibs_check_method=pass_all
5862 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5863 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5865 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5869 osf3* | osf4* | osf5*)
5870 lt_cv_deplibs_check_method=pass_all
5874 lt_cv_deplibs_check_method=pass_all
5878 lt_cv_deplibs_check_method=pass_all
5881 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5882 lt_cv_deplibs_check_method=pass_all
5886 case $host_vendor in
5888 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]'
5889 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5892 lt_cv_deplibs_check_method=pass_all
5895 lt_cv_file_magic_cmd='/bin/file'
5896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5899 lt_cv_file_magic_cmd='/bin/file'
5900 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5901 lt_cv_file_magic_test_file=/lib/libc.so
5904 lt_cv_deplibs_check_method=pass_all
5907 lt_cv_deplibs_check_method=pass_all
5913 lt_cv_deplibs_check_method=pass_all
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5919 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5920 file_magic_cmd=$lt_cv_file_magic_cmd
5921 deplibs_check_method=$lt_cv_deplibs_check_method
5922 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5935 if test -n "$ac_tool_prefix"; then
5936 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5937 set dummy ${ac_tool_prefix}ar; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5939 $as_echo_n "checking
for $ac_word...
" >&6; }
5940 if test "${ac_cv_prog_AR+set}" = set; then :
5941 $as_echo_n "(cached
) " >&6
5943 if test -n "$AR"; then
5944 ac_cv_prog_AR="$AR" # Let the user override the test.
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953 ac_cv_prog_AR="${ac_tool_prefix}ar"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5964 if test -n "$AR"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5966 $as_echo "$AR" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5969 $as_echo "no
" >&6; }
5974 if test -z "$ac_cv_prog_AR"; then
5976 # Extract the first word of "ar", so it can be a program name with args.
5977 set dummy ar; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5979 $as_echo_n "checking
for $ac_word...
" >&6; }
5980 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5981 $as_echo_n "(cached
) " >&6
5983 if test -n "$ac_ct_AR"; then
5984 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5993 ac_cv_prog_ac_ct_AR="ar"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6003 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6004 if test -n "$ac_ct_AR"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6006 $as_echo "$ac_ct_AR" >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6009 $as_echo "no
" >&6; }
6012 if test "x
$ac_ct_AR" = x; then
6015 case $cross_compiling:$ac_tool_warned in
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6018 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6019 ac_tool_warned=yes ;;
6027 test -z "$AR" && AR=ar
6028 test -z "$AR_FLAGS" && AR_FLAGS=cru
6040 if test -n "$ac_tool_prefix"; then
6041 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6042 set dummy ${ac_tool_prefix}strip; ac_word=$2
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6044 $as_echo_n "checking
for $ac_word...
" >&6; }
6045 if test "${ac_cv_prog_STRIP+set}" = set; then :
6046 $as_echo_n "(cached
) " >&6
6048 if test -n "$STRIP"; then
6049 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6058 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6068 STRIP=$ac_cv_prog_STRIP
6069 if test -n "$STRIP"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6071 $as_echo "$STRIP" >&6; }
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6074 $as_echo "no
" >&6; }
6079 if test -z "$ac_cv_prog_STRIP"; then
6081 # Extract the first word of "strip
", so it can be a program name with args.
6082 set dummy strip; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6084 $as_echo_n "checking
for $ac_word...
" >&6; }
6085 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6086 $as_echo_n "(cached
) " >&6
6088 if test -n "$ac_ct_STRIP"; then
6089 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_ac_ct_STRIP="strip
"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6108 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6109 if test -n "$ac_ct_STRIP"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6111 $as_echo "$ac_ct_STRIP" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6114 $as_echo "no
" >&6; }
6117 if test "x
$ac_ct_STRIP" = x; then
6120 case $cross_compiling:$ac_tool_warned in
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6123 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6124 ac_tool_warned=yes ;;
6129 STRIP="$ac_cv_prog_STRIP"
6132 test -z "$STRIP" && STRIP=:
6139 if test -n "$ac_tool_prefix"; then
6140 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6143 $as_echo_n "checking
for $ac_word...
" >&6; }
6144 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6145 $as_echo_n "(cached
) " >&6
6147 if test -n "$RANLIB"; then
6148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6167 RANLIB=$ac_cv_prog_RANLIB
6168 if test -n "$RANLIB"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6170 $as_echo "$RANLIB" >&6; }
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6173 $as_echo "no
" >&6; }
6178 if test -z "$ac_cv_prog_RANLIB"; then
6179 ac_ct_RANLIB=$RANLIB
6180 # Extract the first word of "ranlib
", so it can be a program name with args.
6181 set dummy ranlib; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6183 $as_echo_n "checking
for $ac_word...
" >&6; }
6184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6185 $as_echo_n "(cached
) " >&6
6187 if test -n "$ac_ct_RANLIB"; then
6188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6208 if test -n "$ac_ct_RANLIB"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6210 $as_echo "$ac_ct_RANLIB" >&6; }
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6213 $as_echo "no
" >&6; }
6216 if test "x
$ac_ct_RANLIB" = x; then
6219 case $cross_compiling:$ac_tool_warned in
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6222 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6223 ac_tool_warned=yes ;;
6225 RANLIB=$ac_ct_RANLIB
6228 RANLIB="$ac_cv_prog_RANLIB"
6231 test -z "$RANLIB" && RANLIB=:
6238 # Determine commands to create old-style static archives.
6239 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6240 old_postinstall_cmds='chmod 644 $oldlib'
6241 old_postuninstall_cmds=
6243 if test -n "$RANLIB"; then
6246 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6249 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6252 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6288 # If no C compiler was specified, use CC.
6291 # If no C compiler flags were specified, use CFLAGS.
6292 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6294 # Allow CC to be a program name with arguments.
6298 # Check for command to grab the raw symbol name followed by C symbol from nm.
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6300 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6301 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6302 $as_echo_n "(cached
) " >&6
6305 # These are sane defaults that work on at least a few old systems.
6306 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6308 # Character class describing NM global symbol codes.
6309 symcode='[BCDEGRST]'
6311 # Regexp to match symbols that can be accessed directly from C.
6312 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6314 # Define system-specific variables.
6319 cygwin* | mingw* | pw32* | cegcc*)
6320 symcode='[ABCDGISTW]'
6323 if test "$host_cpu" = ia64; then
6324 symcode='[ABCDEGRST]'
6328 symcode='[BCDEGRST]'
6331 symcode='[BCDEGQRST]'
6342 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6350 # If we're using GNU nm, then use its standard symbol codes.
6351 case `$NM -V 2>&1` in
6352 *GNU* | *'with BFD'*)
6353 symcode='[ABCDGIRSTW]' ;;
6356 # Transform an extracted symbol line into a proper C declaration.
6357 # Some systems (esp. on ia64) link data and code symbols differently,
6358 # so use this general approach.
6359 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6361 # Transform an extracted symbol line into symbol name and symbol address
6362 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6363 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'"
6365 # Handle CRLF in mingw tool chain
6369 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6373 # Try without a prefix underscore, then with it.
6374 for ac_symprfx in "" "_
"; do
6376 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6377 symxfrm="\\1 $ac_symprfx\\2 \\2"
6379 # Write the raw and C identifiers.
6380 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6381 # Fake it for dumpbin and say T for any non-static function
6382 # and D for any global variable.
6383 # Also find C++ and __fastcall symbols from MSVC++,
6384 # which start with @ or ?.
6385 lt_cv_sys_global_symbol_pipe="$AWK '"\
6386 " {last_section=section; section=\$ 3};"\
6387 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6388 " \$ 0!~/External *\|/{next};"\
6389 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6390 " {if(hide[section]) next};"\
6391 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6392 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6393 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6394 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6395 " ' prfx
=^
$ac_symprfx"
6397 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6400 # Check to see that the pipe works correctly.
6404 cat > conftest.$ac_ext <<_LT_EOF
6409 void nm_test_func(void);
6410 void nm_test_func(void){}
6414 int main(){nm_test_var='a';nm_test_func();return(0);}
6417 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6418 (eval $ac_compile) 2>&5
6420 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6421 test $ac_status = 0; }; then
6422 # Now try to grab the symbols.
6424 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6425 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6427 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6428 test $ac_status = 0; } && test -s "$nlist"; then
6429 # Try sorting and uniquifying the output.
6430 if sort "$nlist" | uniq > "$nlist"T; then
6431 mv -f "$nlist"T "$nlist"
6436 # Make sure that we snagged all the symbols we need.
6437 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6438 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6439 cat <<_LT_EOF > conftest.$ac_ext
6445 # Now generate the symbol file.
6446 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6448 cat <<_LT_EOF >> conftest.$ac_ext
6450 /* The mapping between symbol names and symbols. */
6455 lt__PROGRAM__LTX_preloaded_symbols[] =
6457 { "@PROGRAM@
", (void *) 0 },
6459 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6460 cat <<\_LT_EOF >> conftest.$ac_ext
6464 /* This works around a problem in FreeBSD linker */
6465 #ifdef FREEBSD_WORKAROUND
6466 static const void *lt_preloaded_setup() {
6467 return lt__PROGRAM__LTX_preloaded_symbols;
6475 # Now try linking the two files.
6476 mv conftest.$ac_objext conftstm.$ac_objext
6477 lt_save_LIBS="$LIBS"
6478 lt_save_CFLAGS="$CFLAGS"
6479 LIBS="conftstm.
$ac_objext"
6480 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6481 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6482 (eval $ac_link) 2>&5
6484 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6485 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6488 LIBS="$lt_save_LIBS"
6489 CFLAGS="$lt_save_CFLAGS"
6491 echo "cannot
find nm_test_func
in $nlist" >&5
6494 echo "cannot
find nm_test_var
in $nlist" >&5
6497 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6500 echo "$progname: failed program was
:" >&5
6501 cat conftest.$ac_ext >&5
6503 rm -rf conftest* conftst*
6505 # Do not use the global_symbol_pipe unless it works.
6506 if test "$pipe_works" = yes; then
6509 lt_cv_sys_global_symbol_pipe=
6515 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6516 lt_cv_sys_global_symbol_to_cdecl=
6518 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6520 $as_echo "failed
" >&6; }
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6523 $as_echo "ok
" >&6; }
6548 # Check whether --enable-libtool-lock was given.
6549 if test "${enable_libtool_lock+set}" = set; then :
6550 enableval=$enable_libtool_lock;
6553 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6555 # Some flags need to be propagated to the compiler or linker for good
6559 # Find out which ABI we are using.
6560 echo 'int i;' > conftest.$ac_ext
6561 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6562 (eval $ac_compile) 2>&5
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6565 test $ac_status = 0; }; then
6566 case `/usr/bin/file conftest.$ac_objext` in
6578 # Find out which ABI we are using.
6579 echo '#line 6579 "configure
"' > conftest.$ac_ext
6580 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6581 (eval $ac_compile) 2>&5
6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6584 test $ac_status = 0; }; then
6585 if test "$lt_cv_prog_gnu_ld" = yes; then
6586 case `/usr/bin/file conftest.$ac_objext` in
6588 LD="${LD-ld} -melf32bsmip"
6591 LD="${LD-ld} -melf32bmipn32"
6594 LD="${LD-ld} -melf64bmip"
6598 case `/usr/bin/file conftest.$ac_objext` in
6614 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6615 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6616 # Find out which ABI we are using.
6617 echo 'int i;' > conftest.$ac_ext
6618 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6619 (eval $ac_compile) 2>&5
6621 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6622 test $ac_status = 0; }; then
6623 case `/usr/bin/file conftest.o` in
6626 x86_64-*kfreebsd*-gnu)
6627 LD="${LD-ld} -m elf_i386_fbsd
"
6630 LD="${LD-ld} -m elf_i386
"
6632 ppc64-*linux*|powerpc64-*linux*)
6633 LD="${LD-ld} -m elf32ppclinux
"
6636 LD="${LD-ld} -m elf_s390
"
6639 LD="${LD-ld} -m elf32_sparc
"
6645 x86_64-*kfreebsd*-gnu)
6646 LD="${LD-ld} -m elf_x86_64_fbsd
"
6649 LD="${LD-ld} -m elf_x86_64
"
6651 ppc*-*linux*|powerpc*-*linux*)
6652 LD="${LD-ld} -m elf64ppc
"
6654 s390*-*linux*|s390*-*tpf*)
6655 LD="${LD-ld} -m elf64_s390
"
6658 LD="${LD-ld} -m elf64_sparc
"
6668 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6669 SAVE_CFLAGS="$CFLAGS"
6670 CFLAGS="$CFLAGS -belf"
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6672 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6673 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6674 $as_echo_n "(cached
) " >&6
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
6682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6693 if ac_fn_c_try_link "$LINENO"; then :
6694 lt_cv_cc_needs_belf=yes
6696 lt_cv_cc_needs_belf=no
6698 rm -f core conftest.err conftest.$ac_objext \
6699 conftest$ac_exeext conftest.$ac_ext
6701 ac_cpp='$CPP $CPPFLAGS'
6702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6708 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6709 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6710 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6711 CFLAGS="$SAVE_CFLAGS"
6715 # Find out which ABI we are using.
6716 echo 'int i;' > conftest.$ac_ext
6717 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718 (eval $ac_compile) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6721 test $ac_status = 0; }; then
6722 case `/usr/bin/file conftest.o` in
6724 case $lt_cv_prog_gnu_ld in
6725 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6727 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6739 need_locks="$enable_libtool_lock"
6743 rhapsody* | darwin*)
6744 if test -n "$ac_tool_prefix"; then
6745 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6746 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6748 $as_echo_n "checking
for $ac_word...
" >&6; }
6749 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6750 $as_echo_n "(cached
) " >&6
6752 if test -n "$DSYMUTIL"; then
6753 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir=.
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6772 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6773 if test -n "$DSYMUTIL"; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6775 $as_echo "$DSYMUTIL" >&6; }
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6778 $as_echo "no
" >&6; }
6783 if test -z "$ac_cv_prog_DSYMUTIL"; then
6784 ac_ct_DSYMUTIL=$DSYMUTIL
6785 # Extract the first word of "dsymutil
", so it can be a program name with args.
6786 set dummy dsymutil; ac_word=$2
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6788 $as_echo_n "checking
for $ac_word...
" >&6; }
6789 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6790 $as_echo_n "(cached
) " >&6
6792 if test -n "$ac_ct_DSYMUTIL"; then
6793 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir=.
6800 for ac_exec_ext in '' $ac_executable_extensions; do
6801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6802 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6812 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6813 if test -n "$ac_ct_DSYMUTIL"; then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6815 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6818 $as_echo "no
" >&6; }
6821 if test "x
$ac_ct_DSYMUTIL" = x; then
6824 case $cross_compiling:$ac_tool_warned in
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6827 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6828 ac_tool_warned=yes ;;
6830 DSYMUTIL=$ac_ct_DSYMUTIL
6833 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6836 if test -n "$ac_tool_prefix"; then
6837 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6838 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6840 $as_echo_n "checking
for $ac_word...
" >&6; }
6841 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6842 $as_echo_n "(cached
) " >&6
6844 if test -n "$NMEDIT"; then
6845 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6854 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6864 NMEDIT=$ac_cv_prog_NMEDIT
6865 if test -n "$NMEDIT"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6867 $as_echo "$NMEDIT" >&6; }
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6870 $as_echo "no
" >&6; }
6875 if test -z "$ac_cv_prog_NMEDIT"; then
6876 ac_ct_NMEDIT=$NMEDIT
6877 # Extract the first word of "nmedit
", so it can be a program name with args.
6878 set dummy nmedit; ac_word=$2
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6880 $as_echo_n "checking
for $ac_word...
" >&6; }
6881 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6882 $as_echo_n "(cached
) " >&6
6884 if test -n "$ac_ct_NMEDIT"; then
6885 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 test -z "$as_dir" && as_dir=.
6892 for ac_exec_ext in '' $ac_executable_extensions; do
6893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6894 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6904 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6905 if test -n "$ac_ct_NMEDIT"; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6907 $as_echo "$ac_ct_NMEDIT" >&6; }
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6910 $as_echo "no
" >&6; }
6913 if test "x
$ac_ct_NMEDIT" = x; then
6916 case $cross_compiling:$ac_tool_warned in
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6919 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6920 ac_tool_warned=yes ;;
6922 NMEDIT=$ac_ct_NMEDIT
6925 NMEDIT="$ac_cv_prog_NMEDIT"
6928 if test -n "$ac_tool_prefix"; then
6929 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6930 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6932 $as_echo_n "checking
for $ac_word...
" >&6; }
6933 if test "${ac_cv_prog_LIPO+set}" = set; then :
6934 $as_echo_n "(cached
) " >&6
6936 if test -n "$LIPO"; then
6937 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir=.
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6956 LIPO=$ac_cv_prog_LIPO
6957 if test -n "$LIPO"; then
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6959 $as_echo "$LIPO" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6962 $as_echo "no
" >&6; }
6967 if test -z "$ac_cv_prog_LIPO"; then
6969 # Extract the first word of "lipo
", so it can be a program name with args.
6970 set dummy lipo; ac_word=$2
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6972 $as_echo_n "checking
for $ac_word...
" >&6; }
6973 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6974 $as_echo_n "(cached
) " >&6
6976 if test -n "$ac_ct_LIPO"; then
6977 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983 test -z "$as_dir" && as_dir=.
6984 for ac_exec_ext in '' $ac_executable_extensions; do
6985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6986 ac_cv_prog_ac_ct_LIPO="lipo
"
6987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6996 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6997 if test -n "$ac_ct_LIPO"; then
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6999 $as_echo "$ac_ct_LIPO" >&6; }
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7002 $as_echo "no
" >&6; }
7005 if test "x
$ac_ct_LIPO" = x; then
7008 case $cross_compiling:$ac_tool_warned in
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7011 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7012 ac_tool_warned=yes ;;
7017 LIPO="$ac_cv_prog_LIPO"
7020 if test -n "$ac_tool_prefix"; then
7021 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7022 set dummy ${ac_tool_prefix}otool; ac_word=$2
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7024 $as_echo_n "checking
for $ac_word...
" >&6; }
7025 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7026 $as_echo_n "(cached
) " >&6
7028 if test -n "$OTOOL"; then
7029 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 test -z "$as_dir" && as_dir=.
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7038 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7048 OTOOL=$ac_cv_prog_OTOOL
7049 if test -n "$OTOOL"; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7051 $as_echo "$OTOOL" >&6; }
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7054 $as_echo "no
" >&6; }
7059 if test -z "$ac_cv_prog_OTOOL"; then
7061 # Extract the first word of "otool
", so it can be a program name with args.
7062 set dummy otool; ac_word=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7064 $as_echo_n "checking
for $ac_word...
" >&6; }
7065 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7066 $as_echo_n "(cached
) " >&6
7068 if test -n "$ac_ct_OTOOL"; then
7069 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 test -z "$as_dir" && as_dir=.
7076 for ac_exec_ext in '' $ac_executable_extensions; do
7077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7078 ac_cv_prog_ac_ct_OTOOL="otool
"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7088 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7089 if test -n "$ac_ct_OTOOL"; then
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7091 $as_echo "$ac_ct_OTOOL" >&6; }
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7094 $as_echo "no
" >&6; }
7097 if test "x
$ac_ct_OTOOL" = x; then
7100 case $cross_compiling:$ac_tool_warned in
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7103 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7104 ac_tool_warned=yes ;;
7109 OTOOL="$ac_cv_prog_OTOOL"
7112 if test -n "$ac_tool_prefix"; then
7113 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7114 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7116 $as_echo_n "checking
for $ac_word...
" >&6; }
7117 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7118 $as_echo_n "(cached
) " >&6
7120 if test -n "$OTOOL64"; then
7121 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7140 OTOOL64=$ac_cv_prog_OTOOL64
7141 if test -n "$OTOOL64"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7143 $as_echo "$OTOOL64" >&6; }
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7146 $as_echo "no
" >&6; }
7151 if test -z "$ac_cv_prog_OTOOL64"; then
7152 ac_ct_OTOOL64=$OTOOL64
7153 # Extract the first word of "otool64
", so it can be a program name with args.
7154 set dummy otool64; ac_word=$2
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7156 $as_echo_n "checking
for $ac_word...
" >&6; }
7157 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7158 $as_echo_n "(cached
) " >&6
7160 if test -n "$ac_ct_OTOOL64"; then
7161 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 test -z "$as_dir" && as_dir=.
7168 for ac_exec_ext in '' $ac_executable_extensions; do
7169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7170 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7180 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7181 if test -n "$ac_ct_OTOOL64"; then
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7183 $as_echo "$ac_ct_OTOOL64" >&6; }
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7186 $as_echo "no
" >&6; }
7189 if test "x
$ac_ct_OTOOL64" = x; then
7192 case $cross_compiling:$ac_tool_warned in
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7195 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7196 ac_tool_warned=yes ;;
7198 OTOOL64=$ac_ct_OTOOL64
7201 OTOOL64="$ac_cv_prog_OTOOL64"
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7231 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7232 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7233 $as_echo_n "(cached
) " >&6
7235 lt_cv_apple_cc_single_mod=no
7236 if test -z "${LT_MULTI_MODULE}"; then
7237 # By default we will add the -single_module flag. You can override
7238 # by either setting the environment variable LT_MULTI_MODULE
7239 # non-empty at configure time, or by adding -multi_module to the
7241 rm -rf libconftest.dylib*
7242 echo "int foo
(void
){return 1;}" > conftest.c
7243 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7244 -dynamiclib -Wl,-single_module conftest.c
" >&5
7245 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7246 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7248 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7249 lt_cv_apple_cc_single_mod=yes
7251 cat conftest.err >&5
7253 rm -rf libconftest.dylib*
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7258 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7260 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7261 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7262 $as_echo_n "(cached
) " >&6
7264 lt_cv_ld_exported_symbols_list=no
7265 save_LDFLAGS=$LDFLAGS
7266 echo "_main
" > conftest.sym
7267 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h. */
7279 if ac_fn_c_try_link "$LINENO"; then :
7280 lt_cv_ld_exported_symbols_list=yes
7282 lt_cv_ld_exported_symbols_list=no
7284 rm -f core conftest.err conftest.$ac_objext \
7285 conftest$ac_exeext conftest.$ac_ext
7286 LDFLAGS="$save_LDFLAGS"
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7290 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7292 rhapsody* | darwin1.[012])
7293 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7295 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7296 darwin*) # darwin 5.x on
7297 # if running on 10.5 or later, the deployment target defaults
7298 # to the OS version, if on x86, and 10.4, the deployment
7299 # target defaults to 10.4. Don't you love it?
7300 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7301 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7302 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7304 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7306 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7310 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7311 _lt_dar_single_mod='$single_module'
7313 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7314 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7316 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7318 if test "$DSYMUTIL" != ":"; then
7319 _lt_dsymutil='~$DSYMUTIL $lib || :'
7327 ac_cpp='$CPP $CPPFLAGS'
7328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7332 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7333 # On Suns, sometimes $CPP names a directory.
7334 if test -n "$CPP" && test -d "$CPP"; then
7337 if test -z "$CPP"; then
7338 if test "${ac_cv_prog_CPP+set}" = set; then :
7339 $as_echo_n "(cached
) " >&6
7341 # Double quotes because CPP needs to be expanded
7342 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7345 for ac_c_preproc_warn_flag in '' yes
7347 # Use a header file that comes with gcc, so configuring glibc
7348 # with a fresh cross-compiler works.
7349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7350 # <limits.h> exists even on freestanding compilers.
7351 # On the NeXT, cc -E runs the code through the compiler's parser,
7352 # not just through cpp. "Syntax error
" is here to catch this case.
7353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7354 /* end confdefs.h. */
7356 # include <limits.h>
7358 # include <assert.h>
7362 if ac_fn_c_try_cpp "$LINENO"; then :
7365 # Broken: fails on valid input.
7368 rm -f conftest.err conftest.$ac_ext
7370 # OK, works on sane cases. Now check whether nonexistent headers
7371 # can be detected and how.
7372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7373 /* end confdefs.h. */
7374 #include <ac_nonexistent.h>
7376 if ac_fn_c_try_cpp "$LINENO"; then :
7377 # Broken: success on invalid input.
7380 # Passes both tests.
7384 rm -f conftest.err conftest.$ac_ext
7387 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7388 rm -f conftest.err conftest.$ac_ext
7389 if $ac_preproc_ok; then :
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7402 $as_echo "$CPP" >&6; }
7404 for ac_c_preproc_warn_flag in '' yes
7406 # Use a header file that comes with gcc, so configuring glibc
7407 # with a fresh cross-compiler works.
7408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7409 # <limits.h> exists even on freestanding compilers.
7410 # On the NeXT, cc -E runs the code through the compiler's parser,
7411 # not just through cpp. "Syntax error
" is here to catch this case.
7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7415 # include <limits.h>
7417 # include <assert.h>
7421 if ac_fn_c_try_cpp "$LINENO"; then :
7424 # Broken: fails on valid input.
7427 rm -f conftest.err conftest.$ac_ext
7429 # OK, works on sane cases. Now check whether nonexistent headers
7430 # can be detected and how.
7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7433 #include <ac_nonexistent.h>
7435 if ac_fn_c_try_cpp "$LINENO"; then :
7436 # Broken: success on invalid input.
7439 # Passes both tests.
7443 rm -f conftest.err conftest.$ac_ext
7446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7447 rm -f conftest.err conftest.$ac_ext
7448 if $ac_preproc_ok; then :
7451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7453 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7454 See \`config.log' for more details.
" "$LINENO" 5; }
7458 ac_cpp='$CPP $CPPFLAGS'
7459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7465 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7466 if test "${ac_cv_header_stdc+set}" = set; then :
7467 $as_echo_n "(cached
) " >&6
7469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7484 if ac_fn_c_try_compile "$LINENO"; then :
7485 ac_cv_header_stdc=yes
7487 ac_cv_header_stdc=no
7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7491 if test $ac_cv_header_stdc = yes; then
7492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7494 /* end confdefs.h. */
7498 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7499 $EGREP "memchr
" >/dev/null 2>&1; then :
7502 ac_cv_header_stdc=no
7508 if test $ac_cv_header_stdc = yes; then
7509 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7515 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7516 $EGREP "free
" >/dev/null 2>&1; then :
7519 ac_cv_header_stdc=no
7525 if test $ac_cv_header_stdc = yes; then
7526 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7527 if test "$cross_compiling" = yes; then :
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7534 #if ((' ' & 0x0FF) == 0x020)
7535 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7536 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7538 # define ISLOWER(c) \
7539 (('a' <= (c) && (c) <= 'i') \
7540 || ('j' <= (c) && (c) <= 'r') \
7541 || ('s' <= (c) && (c) <= 'z'))
7542 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7545 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7550 for (i = 0; i < 256; i++)
7551 if (XOR (islower (i), ISLOWER (i))
7552 || toupper (i) != TOUPPER (i))
7557 if ac_fn_c_try_run "$LINENO"; then :
7560 ac_cv_header_stdc=no
7562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7563 conftest.$ac_objext conftest.beam conftest.$ac_ext
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7569 $as_echo "$ac_cv_header_stdc" >&6; }
7570 if test $ac_cv_header_stdc = yes; then
7572 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7576 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7577 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7578 inttypes.h stdint.h unistd.h
7580 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7581 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7583 eval as_val
=\$
$as_ac_Header
7584 if test "x$as_val" = x
""yes; then :
7585 cat >>confdefs.h
<<_ACEOF
7586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 for ac_header
in dlfcn.h
7596 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7598 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7599 cat >>confdefs.h
<<_ACEOF
7600 #define HAVE_DLFCN_H 1
7619 # Check whether --enable-shared was given.
7620 if test "${enable_shared+set}" = set; then :
7621 enableval
=$enable_shared; p
=${PACKAGE-default}
7623 yes) enable_shared
=yes ;;
7624 no
) enable_shared
=no
;;
7627 # Look at the argument we got. We use all the common list separators.
7628 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7629 for pkg
in $enableval; do
7631 if test "X$pkg" = "X$p"; then
7650 # Check whether --enable-static was given.
7651 if test "${enable_static+set}" = set; then :
7652 enableval
=$enable_static; p
=${PACKAGE-default}
7654 yes) enable_static
=yes ;;
7655 no
) enable_static
=no
;;
7658 # Look at the argument we got. We use all the common list separators.
7659 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7660 for pkg
in $enableval; do
7662 if test "X$pkg" = "X$p"; then
7682 # Check whether --with-pic was given.
7683 if test "${with_pic+set}" = set; then :
7684 withval
=$with_pic; pic_mode
="$withval"
7690 test -z "$pic_mode" && pic_mode
=default
7698 # Check whether --enable-fast-install was given.
7699 if test "${enable_fast_install+set}" = set; then :
7700 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7702 yes) enable_fast_install
=yes ;;
7703 no
) enable_fast_install
=no
;;
7705 enable_fast_install
=no
7706 # Look at the argument we got. We use all the common list separators.
7707 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7708 for pkg
in $enableval; do
7710 if test "X$pkg" = "X$p"; then
7711 enable_fast_install
=yes
7718 enable_fast_install
=yes
7731 # This can be used to rebuild libtool when needed
7732 LIBTOOL_DEPS
="$ltmain"
7734 # Always use our own libtool.
7735 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7761 test -z "$LN_S" && LN_S
="ln -s"
7776 if test -n "${ZSH_VERSION+set}" ; then
7777 setopt NO_GLOB_SUBST
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7781 $as_echo_n "checking for objdir... " >&6; }
7782 if test "${lt_cv_objdir+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7785 rm -f .libs
2>/dev
/null
7786 mkdir .libs
2>/dev
/null
7787 if test -d .libs
; then
7790 # MS-DOS does not allow filenames that begin with a dot.
7793 rmdir .libs
2>/dev
/null
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7796 $as_echo "$lt_cv_objdir" >&6; }
7797 objdir
=$lt_cv_objdir
7803 cat >>confdefs.h
<<_ACEOF
7804 #define LT_OBJDIR "$lt_cv_objdir/"
7825 # AIX sometimes has problems with the GCC collect2 program. For some
7826 # reason, if we set the COLLECT_NAMES environment variable, the problems
7827 # vanish in a puff of smoke.
7828 if test "X${COLLECT_NAMES+set}" != Xset
; then
7830 export COLLECT_NAMES
7835 # Sed substitution that helps us do robust quoting. It backslashifies
7836 # metacharacters that are still active within double-quoted strings.
7837 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7839 # Same as above, but do not quote variable references.
7840 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7842 # Sed substitution to delay expansion of an escaped shell variable in a
7843 # double_quote_subst'ed string.
7844 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7846 # Sed substitution to delay expansion of an escaped single quote.
7847 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7849 # Sed substitution to avoid accidental globbing in evaled expressions
7850 no_glob_subst
='s/\*/\\\*/g'
7854 can_build_shared
=yes
7856 # All known linkers require a `.a' archive for static linking (except MSVC,
7857 # which needs '.lib').
7860 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7863 old_CFLAGS
="$CFLAGS"
7865 # Set sane defaults for various variables
7866 test -z "$CC" && CC
=cc
7867 test -z "$LTCC" && LTCC
=$CC
7868 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7869 test -z "$LD" && LD
=ld
7870 test -z "$ac_objext" && ac_objext
=o
7872 for cc_temp
in $compiler""; do
7874 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7875 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7880 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7883 # Only perform the check for file, if the check method requires it
7884 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7885 case $deplibs_check_method in
7887 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7889 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7890 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7895 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7898 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7899 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7900 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7901 for ac_dir
in $ac_dummy; do
7903 test -z "$ac_dir" && ac_dir
=.
7904 if test -f $ac_dir/${ac_tool_prefix}file; then
7905 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7906 if test -n "$file_magic_test_file"; then
7907 case $deplibs_check_method in
7909 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7910 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7911 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7912 $EGREP "$file_magic_regex" > /dev
/null
; then
7917 *** Warning: the command libtool uses to detect shared libraries,
7918 *** $file_magic_cmd, produces output that libtool cannot recognize.
7919 *** The result is that libtool may fail to recognize shared libraries
7920 *** as such. This will affect the creation of libtool libraries that
7921 *** depend on shared libraries, but programs linked with such libtool
7922 *** libraries will work regardless of this problem. Nevertheless, you
7923 *** may want to report the problem to your system manager and/or to
7924 *** bug-libtool@gnu.org
7934 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7939 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7940 if test -n "$MAGIC_CMD"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7942 $as_echo "$MAGIC_CMD" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7952 if test -z "$lt_cv_path_MAGIC_CMD"; then
7953 if test -n "$ac_tool_prefix"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7955 $as_echo_n "checking for file... " >&6; }
7956 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7957 $as_echo_n "(cached) " >&6
7961 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7964 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7965 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7966 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7967 for ac_dir
in $ac_dummy; do
7969 test -z "$ac_dir" && ac_dir
=.
7970 if test -f $ac_dir/file; then
7971 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7972 if test -n "$file_magic_test_file"; then
7973 case $deplibs_check_method in
7975 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7976 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7977 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7978 $EGREP "$file_magic_regex" > /dev
/null
; then
7983 *** Warning: the command libtool uses to detect shared libraries,
7984 *** $file_magic_cmd, produces output that libtool cannot recognize.
7985 *** The result is that libtool may fail to recognize shared libraries
7986 *** as such. This will affect the creation of libtool libraries that
7987 *** depend on shared libraries, but programs linked with such libtool
7988 *** libraries will work regardless of this problem. Nevertheless, you
7989 *** may want to report the problem to your system manager and/or to
7990 *** bug-libtool@gnu.org
8000 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8005 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8006 if test -n "$MAGIC_CMD"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8008 $as_echo "$MAGIC_CMD" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8024 # Use C for the default configuration in the libtool script
8028 ac_cpp
='$CPP $CPPFLAGS'
8029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8034 # Source file extension for C test sources.
8037 # Object file extension for compiled C test sources.
8041 # Code to be used in simple compile tests
8042 lt_simple_compile_test_code
="int some_variable = 0;"
8044 # Code to be used in simple link tests
8045 lt_simple_link_test_code
='int main(){return(0);}'
8053 # If no C compiler was specified, use CC.
8056 # If no C compiler flags were specified, use CFLAGS.
8057 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8059 # Allow CC to be a program name with arguments.
8062 # Save the default compiler, since it gets overwritten when the other
8063 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8064 compiler_DEFAULT
=$CC
8066 # save warnings/boilerplate of simple test code
8067 ac_outfile
=conftest.
$ac_objext
8068 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8069 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8070 _lt_compiler_boilerplate
=`cat conftest.err`
8073 ac_outfile
=conftest.
$ac_objext
8074 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8075 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8076 _lt_linker_boilerplate
=`cat conftest.err`
8081 ## There is no encapsulation within the following macros, do not change
8082 ## the running order or otherwise move them around unless you know exactly
8083 ## what you are doing...
8084 if test -n "$compiler"; then
8086 lt_prog_compiler_no_builtin_flag
=
8088 if test "$GCC" = yes; then
8089 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8092 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8093 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8094 $as_echo_n "(cached) " >&6
8096 lt_cv_prog_compiler_rtti_exceptions
=no
8097 ac_outfile
=conftest.
$ac_objext
8098 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8099 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8100 # Insert the option either (1) after the last *FLAGS variable, or
8101 # (2) before a word containing "conftest.", or (3) at the end.
8102 # Note that $ac_compile itself does not contain backslashes and begins
8103 # with a dollar sign (not a hyphen), so the echo should work correctly.
8104 # The option is referenced via a variable to avoid confusing sed.
8105 lt_compile
=`echo "$ac_compile" | $SED \
8106 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8107 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8108 -e 's:$: $lt_compiler_flag:'`
8109 (eval echo "\"\$as_me:8109: $lt_compile\"" >&5)
8110 (eval "$lt_compile" 2>conftest.err
)
8112 cat conftest.err
>&5
8113 echo "$as_me:8113: \$? = $ac_status" >&5
8114 if (exit $ac_status) && test -s "$ac_outfile"; then
8115 # The compiler can only warn and ignore the option if not recognized
8116 # So say no if there are warnings other than the usual output.
8117 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8118 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8119 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8120 lt_cv_prog_compiler_rtti_exceptions
=yes
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8127 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8129 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8130 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8142 lt_prog_compiler_wl
=
8143 lt_prog_compiler_pic
=
8144 lt_prog_compiler_static
=
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8147 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8149 if test "$GCC" = yes; then
8150 lt_prog_compiler_wl
='-Wl,'
8151 lt_prog_compiler_static
='-static'
8155 # All AIX code is PIC.
8156 if test "$host_cpu" = ia64
; then
8157 # AIX 5 now supports IA64 processor
8158 lt_prog_compiler_static
='-Bstatic'
8165 # see comment about AmigaOS4 .so support
8166 lt_prog_compiler_pic
='-fPIC'
8169 # FIXME: we need at least 68020 code to build shared libraries, but
8170 # adding the `-m68020' flag to GCC prevents building anything better,
8172 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8177 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8178 # PIC is the default for these OSes.
8181 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8182 # This hack is so that the source file can tell whether it is being
8183 # built for inclusion in a dll (and should export symbols for example).
8184 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8185 # (--disable-auto-import) libraries
8186 lt_prog_compiler_pic
='-DDLL_EXPORT'
8189 darwin
* | rhapsody
*)
8190 # PIC is the default on this platform
8191 # Common symbols not allowed in MH_DYLIB files
8192 lt_prog_compiler_pic
='-fno-common'
8196 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8197 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8198 # sets the default TLS model and affects inlining.
8204 lt_prog_compiler_pic
='-fPIC'
8210 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8211 # Instead, we relocate shared libraries at runtime.
8215 # Just because we use GCC doesn't mean we suddenly get shared libraries
8216 # on systems that don't support them.
8217 lt_prog_compiler_can_build_shared
=no
8222 # QNX uses GNU C++, but need to define -shared option too, otherwise
8224 lt_prog_compiler_pic
='-fPIC -shared'
8228 if test -d /usr
/nec
; then
8229 lt_prog_compiler_pic
=-Kconform_pic
8234 lt_prog_compiler_pic
='-fPIC'
8238 # PORTME Check for flag to pass linker flags through the system compiler.
8241 lt_prog_compiler_wl
='-Wl,'
8242 if test "$host_cpu" = ia64
; then
8243 # AIX 5 now supports IA64 processor
8244 lt_prog_compiler_static
='-Bstatic'
8246 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8250 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8251 # This hack is so that the source file can tell whether it is being
8252 # built for inclusion in a dll (and should export symbols for example).
8253 lt_prog_compiler_pic
='-DDLL_EXPORT'
8256 hpux9
* | hpux10
* | hpux11
*)
8257 lt_prog_compiler_wl
='-Wl,'
8258 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8265 lt_prog_compiler_pic
='+Z'
8268 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8269 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8272 irix5
* | irix6
* | nonstopux
*)
8273 lt_prog_compiler_wl
='-Wl,'
8274 # PIC (with -KPIC) is the default.
8275 lt_prog_compiler_static
='-non_shared'
8278 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8279 case $cc_basename in
8280 # old Intel for x86_64 which still supported -KPIC.
8282 lt_prog_compiler_wl
='-Wl,'
8283 lt_prog_compiler_pic
='-KPIC'
8284 lt_prog_compiler_static
='-static'
8286 # icc used to be incompatible with GCC.
8287 # ICC 10 doesn't accept -KPIC any more.
8289 lt_prog_compiler_wl
='-Wl,'
8290 lt_prog_compiler_pic
='-fPIC'
8291 lt_prog_compiler_static
='-static'
8293 # Lahey Fortran 8.1.
8295 lt_prog_compiler_wl
='-Wl,'
8296 lt_prog_compiler_pic
='--shared'
8297 lt_prog_compiler_static
='--static'
8299 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8300 # Portland Group compilers (*not* the Pentium gcc compiler,
8301 # which looks to be a dead project)
8302 lt_prog_compiler_wl
='-Wl,'
8303 lt_prog_compiler_pic
='-fpic'
8304 lt_prog_compiler_static
='-Bstatic'
8307 lt_prog_compiler_wl
='-Wl,'
8308 # All Alpha code is PIC.
8309 lt_prog_compiler_static
='-non_shared'
8312 # IBM XL C 8.0/Fortran 10.1 on PPC
8313 lt_prog_compiler_wl
='-Wl,'
8314 lt_prog_compiler_pic
='-qpic'
8315 lt_prog_compiler_static
='-qstaticlink'
8318 case `$CC -V 2>&1 | sed 5q` in
8321 lt_prog_compiler_pic
='-KPIC'
8322 lt_prog_compiler_static
='-Bstatic'
8323 lt_prog_compiler_wl
='-Wl,'
8326 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8327 lt_prog_compiler_pic
='-KPIC'
8328 lt_prog_compiler_static
='-Bstatic'
8329 lt_prog_compiler_wl
=''
8337 lt_prog_compiler_pic
='-KPIC'
8338 lt_prog_compiler_static
='-Bstatic'
8342 # QNX uses GNU C++, but need to define -shared option too, otherwise
8344 lt_prog_compiler_pic
='-fPIC -shared'
8347 osf3
* | osf4
* | osf5
*)
8348 lt_prog_compiler_wl
='-Wl,'
8349 # All OSF/1 code is PIC.
8350 lt_prog_compiler_static
='-non_shared'
8354 lt_prog_compiler_static
='-non_shared'
8358 lt_prog_compiler_pic
='-KPIC'
8359 lt_prog_compiler_static
='-Bstatic'
8360 case $cc_basename in
8362 lt_prog_compiler_wl
='-Qoption ld ';;
8364 lt_prog_compiler_wl
='-Wl,';;
8369 lt_prog_compiler_wl
='-Qoption ld '
8370 lt_prog_compiler_pic
='-PIC'
8371 lt_prog_compiler_static
='-Bstatic'
8374 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8375 lt_prog_compiler_wl
='-Wl,'
8376 lt_prog_compiler_pic
='-KPIC'
8377 lt_prog_compiler_static
='-Bstatic'
8381 if test -d /usr
/nec
;then
8382 lt_prog_compiler_pic
='-Kconform_pic'
8383 lt_prog_compiler_static
='-Bstatic'
8387 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8388 lt_prog_compiler_wl
='-Wl,'
8389 lt_prog_compiler_pic
='-KPIC'
8390 lt_prog_compiler_static
='-Bstatic'
8394 lt_prog_compiler_wl
='-Wl,'
8395 lt_prog_compiler_can_build_shared
=no
8399 lt_prog_compiler_pic
='-pic'
8400 lt_prog_compiler_static
='-Bstatic'
8404 lt_prog_compiler_can_build_shared
=no
8410 # For platforms which do not support PIC, -DPIC is meaningless:
8412 lt_prog_compiler_pic
=
8415 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8419 $as_echo "$lt_prog_compiler_pic" >&6; }
8427 # Check to make sure the PIC flag actually works.
8429 if test -n "$lt_prog_compiler_pic"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8431 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8432 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8433 $as_echo_n "(cached) " >&6
8435 lt_cv_prog_compiler_pic_works
=no
8436 ac_outfile
=conftest.
$ac_objext
8437 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8438 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8439 # Insert the option either (1) after the last *FLAGS variable, or
8440 # (2) before a word containing "conftest.", or (3) at the end.
8441 # Note that $ac_compile itself does not contain backslashes and begins
8442 # with a dollar sign (not a hyphen), so the echo should work correctly.
8443 # The option is referenced via a variable to avoid confusing sed.
8444 lt_compile
=`echo "$ac_compile" | $SED \
8445 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8446 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8447 -e 's:$: $lt_compiler_flag:'`
8448 (eval echo "\"\$as_me:8448: $lt_compile\"" >&5)
8449 (eval "$lt_compile" 2>conftest.err
)
8451 cat conftest.err
>&5
8452 echo "$as_me:8452: \$? = $ac_status" >&5
8453 if (exit $ac_status) && test -s "$ac_outfile"; then
8454 # The compiler can only warn and ignore the option if not recognized
8455 # So say no if there are warnings other than the usual output.
8456 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8457 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8458 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8459 lt_cv_prog_compiler_pic_works
=yes
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8466 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8468 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8469 case $lt_prog_compiler_pic in
8471 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8474 lt_prog_compiler_pic
=
8475 lt_prog_compiler_can_build_shared
=no
8486 # Check to make sure the static flag actually works.
8488 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8490 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8491 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8492 $as_echo_n "(cached) " >&6
8494 lt_cv_prog_compiler_static_works
=no
8495 save_LDFLAGS
="$LDFLAGS"
8496 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8497 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8498 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8499 # The linker can only warn and ignore the option if not recognized
8500 # So say no if there are warnings
8501 if test -s conftest.err
; then
8502 # Append any errors to the config.log.
8503 cat conftest.err
1>&5
8504 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8505 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8506 if diff conftest.exp conftest.er2
>/dev
/null
; then
8507 lt_cv_prog_compiler_static_works
=yes
8510 lt_cv_prog_compiler_static_works
=yes
8514 LDFLAGS
="$save_LDFLAGS"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8518 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8520 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8523 lt_prog_compiler_static
=
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8533 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8534 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8535 $as_echo_n "(cached) " >&6
8537 lt_cv_prog_compiler_c_o
=no
8538 $RM -r conftest
2>/dev
/null
8542 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8544 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8545 # Insert the option either (1) after the last *FLAGS variable, or
8546 # (2) before a word containing "conftest.", or (3) at the end.
8547 # Note that $ac_compile itself does not contain backslashes and begins
8548 # with a dollar sign (not a hyphen), so the echo should work correctly.
8549 lt_compile
=`echo "$ac_compile" | $SED \
8550 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8552 -e 's:$: $lt_compiler_flag:'`
8553 (eval echo "\"\$as_me:8553: $lt_compile\"" >&5)
8554 (eval "$lt_compile" 2>out
/conftest.err
)
8556 cat out
/conftest.err
>&5
8557 echo "$as_me:8557: \$? = $ac_status" >&5
8558 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8560 # The compiler can only warn and ignore the option if not recognized
8561 # So say no if there are warnings
8562 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8563 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8564 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8565 lt_cv_prog_compiler_c_o
=yes
8570 # SGI C++ compiler will create directory out/ii_files/ for
8571 # template instantiation
8572 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8573 $RM out
/* && rmdir out
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8580 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8588 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8589 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8590 $as_echo_n "(cached) " >&6
8592 lt_cv_prog_compiler_c_o
=no
8593 $RM -r conftest
2>/dev
/null
8597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8599 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8600 # Insert the option either (1) after the last *FLAGS variable, or
8601 # (2) before a word containing "conftest.", or (3) at the end.
8602 # Note that $ac_compile itself does not contain backslashes and begins
8603 # with a dollar sign (not a hyphen), so the echo should work correctly.
8604 lt_compile
=`echo "$ac_compile" | $SED \
8605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8607 -e 's:$: $lt_compiler_flag:'`
8608 (eval echo "\"\$as_me:8608: $lt_compile\"" >&5)
8609 (eval "$lt_compile" 2>out
/conftest.err
)
8611 cat out
/conftest.err
>&5
8612 echo "$as_me:8612: \$? = $ac_status" >&5
8613 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8615 # The compiler can only warn and ignore the option if not recognized
8616 # So say no if there are warnings
8617 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8618 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8619 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8620 lt_cv_prog_compiler_c_o
=yes
8625 # SGI C++ compiler will create directory out/ii_files/ for
8626 # template instantiation
8627 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8628 $RM out
/* && rmdir out
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8635 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8640 hard_links
="nottested"
8641 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8642 # do not overwrite the value of need_locks provided by the user
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8644 $as_echo_n "checking if we can lock with hard links... " >&6; }
8647 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8649 ln conftest.a conftest.b
2>&5 || hard_links
=no
8650 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8652 $as_echo "$hard_links" >&6; }
8653 if test "$hard_links" = no
; then
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8655 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8668 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8671 allow_undefined_flag
=
8672 always_export_symbols
=no
8674 archive_expsym_cmds
=
8675 compiler_needs_object
=no
8676 enable_shared_with_static_runtimes
=no
8677 export_dynamic_flag_spec
=
8678 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8679 hardcode_automatic
=no
8681 hardcode_direct_absolute
=no
8682 hardcode_libdir_flag_spec
=
8683 hardcode_libdir_flag_spec_ld
=
8684 hardcode_libdir_separator
=
8686 hardcode_shlibpath_var
=unsupported
8688 link_all_deplibs
=unknown
8691 old_archive_from_new_cmds
=
8692 old_archive_from_expsyms_cmds
=
8693 thread_safe_flag_spec
=
8694 whole_archive_flag_spec
=
8695 # include_expsyms should be a list of space-separated symbols to be *always*
8696 # included in the symbol list
8698 # exclude_expsyms can be an extended regexp of symbols to exclude
8699 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8700 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8701 # as well as any symbol that contains `d'.
8702 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8703 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8704 # platforms (ab)use it in PIC code, but their linkers get confused if
8705 # the symbol is explicitly referenced. Since portable code cannot
8706 # rely on this symbol name, it's probably fine to never include it in
8707 # preloaded symbol tables.
8708 # Exclude shared library initialization/finalization symbols.
8709 extract_expsyms_cmds
=
8712 cygwin
* | mingw
* | pw32
* | cegcc
*)
8713 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8714 # When not using gcc, we currently assume that we are using
8715 # Microsoft Visual C++.
8716 if test "$GCC" != yes; then
8721 # we just hope/assume this is gcc and not c89 (= MSVC++)
8730 if test "$with_gnu_ld" = yes; then
8731 # If archive_cmds runs LD, not CC, wlarc should be empty
8734 # Set some defaults for GNU ld with shared library support. These
8735 # are reset later if shared libraries are not supported. Putting them
8736 # here allows them to be overridden if necessary.
8737 runpath_var
=LD_RUN_PATH
8738 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8739 export_dynamic_flag_spec
='${wl}--export-dynamic'
8740 # ancient GNU ld didn't support --whole-archive et. al.
8741 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8742 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8744 whole_archive_flag_spec
=
8746 supports_anon_versioning
=no
8747 case `$LD -v 2>&1` in
8748 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8749 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8750 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8751 *\
2.11.
*) ;; # other 2.11 versions
8752 *) supports_anon_versioning
=yes ;;
8755 # See if GNU ld supports shared libraries.
8758 # On AIX/PPC, the GNU linker is very broken
8759 if test "$host_cpu" != ia64
; then
8763 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8764 *** to be unable to reliably create shared libraries on AIX.
8765 *** Therefore, libtool is disabling shared libraries support. If you
8766 *** really care for shared libraries, you may want to modify your PATH
8767 *** so that a non-GNU linker is found, and then restart.
8776 # see comment about AmigaOS4 .so support
8777 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8778 archive_expsym_cmds
=''
8781 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)'
8782 hardcode_libdir_flag_spec
='-L$libdir'
8783 hardcode_minus_L
=yes
8789 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8790 allow_undefined_flag
=unsupported
8791 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8792 # support --undefined. This deserves some investigation. FIXME
8793 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8799 cygwin
* | mingw
* | pw32
* | cegcc
*)
8800 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8801 # as there is no search path for DLLs.
8802 hardcode_libdir_flag_spec
='-L$libdir'
8803 allow_undefined_flag
=unsupported
8804 always_export_symbols
=no
8805 enable_shared_with_static_runtimes
=yes
8806 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8808 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8809 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8810 # If the export-symbols file already is a .def file (1st line
8811 # is EXPORTS), use it as is; otherwise, prepend...
8812 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8813 cp $export_symbols $output_objdir/$soname.def;
8815 echo EXPORTS > $output_objdir/$soname.def;
8816 cat $export_symbols >> $output_objdir/$soname.def;
8818 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8826 hardcode_shlibpath_var
=no
8827 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8828 export_dynamic_flag_spec
='${wl}-E'
8829 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8830 # Instead, shared libraries are loaded at an image base (0x10000000 by
8831 # default) and relocated if they conflict, which is a slow very memory
8832 # consuming and fragmenting process. To avoid this, we pick a random,
8833 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8834 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8835 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8836 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'
8839 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8841 if test "$host_os" = linux-dietlibc
; then
8842 case $cc_basename in
8843 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8846 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8847 && test "$tmp_diet" = no
8850 tmp_sharedflag
='-shared'
8851 case $cc_basename,$host_cpu in
8852 pgcc
*) # Portland Group C compiler
8853 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8854 tmp_addflag
=' $pic_flag'
8856 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8857 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8858 tmp_addflag
=' $pic_flag -Mnomain' ;;
8859 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8860 tmp_addflag
=' -i_dynamic' ;;
8861 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8862 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8863 ifc
* | ifort
*) # Intel Fortran compiler
8864 tmp_addflag
=' -nofor_main' ;;
8865 lf95
*) # Lahey Fortran 8.1
8866 whole_archive_flag_spec
=
8867 tmp_sharedflag
='--shared' ;;
8868 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8869 tmp_sharedflag
='-qmkshrobj'
8872 case `$CC -V 2>&1 | sed 5q` in
8873 *Sun\ C
*) # Sun C 5.9
8874 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8875 compiler_needs_object
=yes
8876 tmp_sharedflag
='-G' ;;
8877 *Sun\ F
*) # Sun Fortran 8.3
8878 tmp_sharedflag
='-G' ;;
8880 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8882 if test "x$supports_anon_versioning" = xyes
; then
8883 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8884 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8885 echo "local: *; };" >> $output_objdir/$libname.ver~
8886 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8889 case $cc_basename in
8891 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8892 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8893 hardcode_libdir_flag_spec
=
8894 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8895 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8896 if test "x$supports_anon_versioning" = xyes
; then
8897 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8898 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8899 echo "local: *; };" >> $output_objdir/$libname.ver~
8900 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8910 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8911 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8914 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8915 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8920 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8924 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8925 *** create shared libraries on Solaris systems. Therefore, libtool
8926 *** is disabling shared libraries support. We urge you to upgrade GNU
8927 *** binutils to release 2.9.1 or newer. Another option is to modify
8928 *** your PATH or compiler configuration so that the native linker is
8929 *** used, and then restart.
8932 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8933 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8934 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8940 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8941 case `$LD -v 2>&1` in
8942 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8946 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8947 *** reliably create shared libraries on SCO systems. Therefore, libtool
8948 *** is disabling shared libraries support. We urge you to upgrade GNU
8949 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8950 *** your PATH or compiler configuration so that the native linker is
8951 *** used, and then restart.
8956 # For security reasons, it is highly recommended that you always
8957 # use absolute paths for naming shared libraries, and exclude the
8958 # DT_RUNPATH tag from executables and libraries. But doing so
8959 # requires that you compile everything twice, which is a pain.
8960 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8961 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8962 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8963 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8972 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8975 hardcode_shlibpath_var
=no
8979 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8980 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8988 if test "$ld_shlibs" = no
; then
8990 hardcode_libdir_flag_spec
=
8991 export_dynamic_flag_spec
=
8992 whole_archive_flag_spec
=
8995 # PORTME fill in a description of your system's linker (not GNU ld)
8998 allow_undefined_flag
=unsupported
8999 always_export_symbols
=yes
9000 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'
9001 # Note: this linker hardcodes the directories in LIBPATH if there
9002 # are no directories specified by -L.
9003 hardcode_minus_L
=yes
9004 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9005 # Neither direct hardcoding nor static linking is supported with a
9007 hardcode_direct
=unsupported
9012 if test "$host_cpu" = ia64
; then
9013 # On IA64, the linker does run time linking by default, so we don't
9014 # have to do anything special.
9015 aix_use_runtimelinking
=no
9016 exp_sym_flag
='-Bexport'
9019 # If we're using GNU nm, then we don't want the "-C" option.
9020 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9021 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9022 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9024 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'
9026 aix_use_runtimelinking
=no
9028 # Test if we are trying to use run time linking or normal
9029 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9030 # need to do runtime linking.
9031 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9032 for ld_flag
in $LDFLAGS; do
9033 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9034 aix_use_runtimelinking
=yes
9041 exp_sym_flag
='-bexport'
9042 no_entry_flag
='-bnoentry'
9045 # When large executables or shared objects are built, AIX ld can
9046 # have problems creating the table of contents. If linking a library
9047 # or program results in "error TOC overflow" add -mminimal-toc to
9048 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9049 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9053 hardcode_direct_absolute
=yes
9054 hardcode_libdir_separator
=':'
9055 link_all_deplibs
=yes
9056 file_list_spec
='${wl}-f,'
9058 if test "$GCC" = yes; then
9059 case $host_os in aix4.
[012]|aix4.
[012].
*)
9060 # We only want to do this on AIX 4.2 and lower, the check
9061 # below for broken collect2 doesn't work under 4.3+
9062 collect2name
=`${CC} -print-prog-name=collect2`
9063 if test -f "$collect2name" &&
9064 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9066 # We have reworked collect2
9069 # We have old collect2
9070 hardcode_direct
=unsupported
9071 # It fails to find uninstalled libraries when the uninstalled
9072 # path is not listed in the libpath. Setting hardcode_minus_L
9073 # to unsupported forces relinking
9074 hardcode_minus_L
=yes
9075 hardcode_libdir_flag_spec
='-L$libdir'
9076 hardcode_libdir_separator
=
9080 shared_flag
='-shared'
9081 if test "$aix_use_runtimelinking" = yes; then
9082 shared_flag
="$shared_flag "'${wl}-G'
9086 if test "$host_cpu" = ia64
; then
9087 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9088 # chokes on -Wl,-G. The following line is correct:
9091 if test "$aix_use_runtimelinking" = yes; then
9092 shared_flag
='${wl}-G'
9094 shared_flag
='${wl}-bM:SRE'
9099 export_dynamic_flag_spec
='${wl}-bexpall'
9100 # It seems that -bexpall does not export symbols beginning with
9101 # underscore (_), so it is better to generate a list of symbols to export.
9102 always_export_symbols
=yes
9103 if test "$aix_use_runtimelinking" = yes; then
9104 # Warning - without using the other runtime loading flags (-brtl),
9105 # -berok will link without error, but may produce a broken library.
9106 allow_undefined_flag
='-berok'
9107 # Determine the default libpath from the value encoded in an
9109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9120 if ac_fn_c_try_link
"$LINENO"; then :
9122 lt_aix_libpath_sed
='
9123 /Import File Strings/,/^$/ {
9129 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9130 # Check for a 64-bit object if we didn't find anything.
9131 if test -z "$aix_libpath"; then
9132 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9135 rm -f core conftest.err conftest.
$ac_objext \
9136 conftest
$ac_exeext conftest.
$ac_ext
9137 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9139 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9140 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9142 if test "$host_cpu" = ia64
; then
9143 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9144 allow_undefined_flag
="-z nodefs"
9145 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"
9147 # Determine the default libpath from the value encoded in an
9149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9160 if ac_fn_c_try_link
"$LINENO"; then :
9162 lt_aix_libpath_sed
='
9163 /Import File Strings/,/^$/ {
9169 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9170 # Check for a 64-bit object if we didn't find anything.
9171 if test -z "$aix_libpath"; then
9172 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9175 rm -f core conftest.err conftest.
$ac_objext \
9176 conftest
$ac_exeext conftest.
$ac_ext
9177 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9179 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9180 # Warning - without using the other run time loading flags,
9181 # -berok will link without error, but may produce a broken library.
9182 no_undefined_flag
=' ${wl}-bernotok'
9183 allow_undefined_flag
=' ${wl}-berok'
9184 # Exported symbols can be pulled into shared objects from archives
9185 whole_archive_flag_spec
='$convenience'
9186 archive_cmds_need_lc
=yes
9187 # This is similar to how AIX traditionally builds its shared libraries.
9188 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'
9196 # see comment about AmigaOS4 .so support
9197 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9198 archive_expsym_cmds
=''
9201 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)'
9202 hardcode_libdir_flag_spec
='-L$libdir'
9203 hardcode_minus_L
=yes
9209 export_dynamic_flag_spec
=-rdynamic
9212 cygwin
* | mingw
* | pw32
* | cegcc
*)
9213 # When not using gcc, we currently assume that we are using
9214 # Microsoft Visual C++.
9215 # hardcode_libdir_flag_spec is actually meaningless, as there is
9216 # no search path for DLLs.
9217 hardcode_libdir_flag_spec
=' '
9218 allow_undefined_flag
=unsupported
9219 # Tell ltmain to make .lib files, not .a files.
9221 # Tell ltmain to make .dll files, not .so files.
9223 # FIXME: Setting linknames here is a bad hack.
9224 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9225 # The linker will automatically build a .lib file if we build a DLL.
9226 old_archive_from_new_cmds
='true'
9227 # FIXME: Should let the user specify the lib program.
9228 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9229 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9230 enable_shared_with_static_runtimes
=yes
9233 darwin
* | rhapsody
*)
9236 archive_cmds_need_lc
=no
9238 hardcode_automatic
=yes
9239 hardcode_shlibpath_var
=unsupported
9240 whole_archive_flag_spec
=''
9241 link_all_deplibs
=yes
9242 allow_undefined_flag
="$_lt_dar_allow_undefined"
9243 case $cc_basename in
9244 ifort
*) _lt_dar_can_shared
=yes ;;
9245 *) _lt_dar_can_shared
=$GCC ;;
9247 if test "$_lt_dar_can_shared" = "yes"; then
9248 output_verbose_link_cmd
=echo
9249 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9250 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9251 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}"
9252 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}"
9261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262 hardcode_libdir_flag_spec
='-L$libdir'
9263 hardcode_shlibpath_var
=no
9270 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9271 # support. Future versions do this automatically, but an explicit c++rt0.o
9272 # does not break anything, and helps significantly (at the cost of a little
9275 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9276 hardcode_libdir_flag_spec
='-R$libdir'
9278 hardcode_shlibpath_var
=no
9281 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9283 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9285 hardcode_minus_L
=yes
9286 hardcode_shlibpath_var
=no
9289 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9290 freebsd
* | dragonfly
*)
9291 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9292 hardcode_libdir_flag_spec
='-R$libdir'
9294 hardcode_shlibpath_var
=no
9298 if test "$GCC" = yes; then
9299 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'
9301 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'
9303 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9304 hardcode_libdir_separator
=:
9307 # hardcode_minus_L: Not really in the search PATH,
9308 # but as the default location of the library.
9309 hardcode_minus_L
=yes
9310 export_dynamic_flag_spec
='${wl}-E'
9314 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9315 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9319 if test "$with_gnu_ld" = no
; then
9320 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9321 hardcode_libdir_flag_spec_ld
='+b $libdir'
9322 hardcode_libdir_separator
=:
9324 hardcode_direct_absolute
=yes
9325 export_dynamic_flag_spec
='${wl}-E'
9326 # hardcode_minus_L: Not really in the search PATH,
9327 # but as the default location of the library.
9328 hardcode_minus_L
=yes
9333 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9336 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9339 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9342 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9354 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9358 if test "$with_gnu_ld" = no
; then
9359 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9360 hardcode_libdir_separator
=:
9365 hardcode_shlibpath_var
=no
9369 hardcode_direct_absolute
=yes
9370 export_dynamic_flag_spec
='${wl}-E'
9372 # hardcode_minus_L: Not really in the search PATH,
9373 # but as the default location of the library.
9374 hardcode_minus_L
=yes
9380 irix5
* | irix6
* | nonstopux
*)
9381 if test "$GCC" = yes; then
9382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9383 # Try to use the -exported_symbol ld option, if it does not
9384 # work, assume that -exports_file does not work either and
9385 # implicitly export all symbols.
9386 save_LDFLAGS
="$LDFLAGS"
9387 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9392 if ac_fn_c_try_link
"$LINENO"; then :
9393 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9396 rm -f core conftest.err conftest.
$ac_objext \
9397 conftest
$ac_exeext conftest.
$ac_ext
9398 LDFLAGS
="$save_LDFLAGS"
9400 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9401 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9403 archive_cmds_need_lc
='no'
9404 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9405 hardcode_libdir_separator
=:
9407 link_all_deplibs
=yes
9411 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9412 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9414 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9416 hardcode_libdir_flag_spec
='-R$libdir'
9418 hardcode_shlibpath_var
=no
9422 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9424 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9425 hardcode_libdir_separator
=:
9426 hardcode_shlibpath_var
=no
9433 if test -f /usr
/libexec
/ld.so
; then
9435 hardcode_shlibpath_var
=no
9436 hardcode_direct_absolute
=yes
9437 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9438 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9440 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9441 export_dynamic_flag_spec
='${wl}-E'
9444 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9445 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9446 hardcode_libdir_flag_spec
='-R$libdir'
9449 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9450 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9460 hardcode_libdir_flag_spec
='-L$libdir'
9461 hardcode_minus_L
=yes
9462 allow_undefined_flag
=unsupported
9463 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'
9464 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9468 if test "$GCC" = yes; then
9469 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9470 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9472 allow_undefined_flag
=' -expect_unresolved \*'
9473 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9475 archive_cmds_need_lc
='no'
9476 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9477 hardcode_libdir_separator
=:
9480 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9481 if test "$GCC" = yes; then
9482 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9483 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9484 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9486 allow_undefined_flag
=' -expect_unresolved \*'
9487 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9488 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~
9489 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9491 # Both c and cxx compiler support -rpath directly
9492 hardcode_libdir_flag_spec
='-rpath $libdir'
9494 archive_cmds_need_lc
='no'
9495 hardcode_libdir_separator
=:
9499 no_undefined_flag
=' -z defs'
9500 if test "$GCC" = yes; then
9502 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9503 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9504 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9506 case `$CC -V 2>&1` in
9509 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9510 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9511 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9515 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9516 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9517 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9521 hardcode_libdir_flag_spec
='-R$libdir'
9522 hardcode_shlibpath_var
=no
9524 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9526 # The compiler driver will combine and reorder linker options,
9527 # but understands `-z linker_flag'. GCC discards it without `$wl',
9528 # but is careful enough not to reorder.
9529 # Supported since Solaris 2.6 (maybe 2.5.1?)
9530 if test "$GCC" = yes; then
9531 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9533 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9537 link_all_deplibs
=yes
9541 if test "x$host_vendor" = xsequent
; then
9542 # Use $CC to link under sequent, because it throws in some extra .o
9543 # files that make .init and .fini sections work.
9544 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9546 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9548 hardcode_libdir_flag_spec
='-L$libdir'
9550 hardcode_minus_L
=yes
9551 hardcode_shlibpath_var
=no
9555 case $host_vendor in
9557 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9558 hardcode_direct
=yes # is this really true???
9561 ## LD is ld it makes a PLAMLIB
9562 ## CC just makes a GrossModule.
9563 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9564 reload_cmds
='$CC -r -o $output$reload_objs'
9568 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9572 runpath_var
='LD_RUN_PATH'
9573 hardcode_shlibpath_var
=no
9577 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9578 hardcode_shlibpath_var
=no
9579 export_dynamic_flag_spec
='-Bexport'
9583 if test -d /usr
/nec
; then
9584 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9585 hardcode_shlibpath_var
=no
9586 runpath_var
=LD_RUN_PATH
9587 hardcode_runpath_var
=yes
9592 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9593 no_undefined_flag
='${wl}-z,text'
9594 archive_cmds_need_lc
=no
9595 hardcode_shlibpath_var
=no
9596 runpath_var
='LD_RUN_PATH'
9598 if test "$GCC" = yes; then
9599 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9602 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9603 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9607 sysv5
* | sco3.2v5
* | sco5v6
*)
9608 # Note: We can NOT use -z defs as we might desire, because we do not
9609 # link with -lc, and that would cause any symbols used from libc to
9610 # always be unresolved, which means just about no library would
9611 # ever link correctly. If we're not using GNU ld we use -z text
9612 # though, which does catch some bad symbols but isn't as heavy-handed
9614 no_undefined_flag
='${wl}-z,text'
9615 allow_undefined_flag
='${wl}-z,nodefs'
9616 archive_cmds_need_lc
=no
9617 hardcode_shlibpath_var
=no
9618 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9619 hardcode_libdir_separator
=':'
9620 link_all_deplibs
=yes
9621 export_dynamic_flag_spec
='${wl}-Bexport'
9622 runpath_var
='LD_RUN_PATH'
9624 if test "$GCC" = yes; then
9625 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9626 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9629 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9635 hardcode_libdir_flag_spec
='-L$libdir'
9636 hardcode_shlibpath_var
=no
9644 if test x
$host_vendor = xsni
; then
9646 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9647 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9654 $as_echo "$ld_shlibs" >&6; }
9655 test "$ld_shlibs" = no
&& can_build_shared
=no
9657 with_gnu_ld
=$with_gnu_ld
9674 # Do we need to explicitly link libc?
9676 case "x$archive_cmds_need_lc" in
9678 # Assume -lc should be added
9679 archive_cmds_need_lc
=yes
9681 if test "$enable_shared" = yes && test "$GCC" = yes; then
9682 case $archive_cmds in
9684 # FIXME: we may have to deal with multi-command sequences.
9687 # Test whether the compiler implicitly links with -lc since on some
9688 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9689 # to ld, don't add -lc before -lgcc.
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9691 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9692 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9693 $as_echo_n "(cached) " >&6
9696 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9699 (eval $ac_compile) 2>&5
9701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9702 test $ac_status = 0; } 2>conftest.err
; then
9705 libobjs
=conftest.
$ac_objext
9707 wl
=$lt_prog_compiler_wl
9708 pic_flag
=$lt_prog_compiler_pic
9714 lt_save_allow_undefined_flag
=$allow_undefined_flag
9715 allow_undefined_flag
=
9716 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9717 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9720 test $ac_status = 0; }
9722 lt_cv_archive_cmds_need_lc
=no
9724 lt_cv_archive_cmds_need_lc
=yes
9726 allow_undefined_flag
=$lt_save_allow_undefined_flag
9728 cat conftest.err
1>&5
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9734 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9735 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9899 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9901 if test "$GCC" = yes; then
9903 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9904 *) lt_awk_arg
="/^libraries:/" ;;
9906 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9907 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9908 # if the path contains ";" then we assume it to be the separator
9909 # otherwise default to the standard path separator (i.e. ":") - it is
9910 # assumed that no part of a normal pathname contains ";" but that should
9911 # okay in the real world where ";" in dirpaths is itself problematic.
9912 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9914 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9916 # Ok, now we have the path, separated by spaces, we can step through it
9917 # and add multilib dir if necessary.
9918 lt_tmp_lt_search_path_spec
=
9919 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9920 for lt_sys_path
in $lt_search_path_spec; do
9921 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9922 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9924 test -d "$lt_sys_path" && \
9925 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9928 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9929 BEGIN {RS=" "; FS="/|\n";} {
9932 for (lt_i = NF; lt_i > 0; lt_i--) {
9933 if ($lt_i != "" && $lt_i != ".") {
9934 if ($lt_i == "..") {
9937 if (lt_count == 0) {
9938 lt_foo="/" $lt_i lt_foo;
9945 if (lt_foo != "") { lt_freq[lt_foo]++; }
9946 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9948 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9950 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9953 libname_spec
='lib$name'
9961 shlibpath_overrides_runpath
=unknown
9963 dynamic_linker
="$host_os ld.so"
9964 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9965 need_lib_prefix
=unknown
9966 hardcode_into_libs
=no
9968 # when you set need_version to no, make sure it does not cause -set_version
9969 # flags to be left without arguments
9970 need_version
=unknown
9975 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9976 shlibpath_var
=LIBPATH
9978 # AIX 3 has no versioning support, so we append a major version to the name.
9979 soname_spec
='${libname}${release}${shared_ext}$major'
9986 hardcode_into_libs
=yes
9987 if test "$host_cpu" = ia64
; then
9988 # AIX 5 supports IA64
9989 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9990 shlibpath_var
=LD_LIBRARY_PATH
9992 # With GCC up to 2.95.x, collect2 would create an import file
9993 # for dependence libraries. The import file would start with
9994 # the line `#! .'. This would cause the generated library to
9995 # depend on `.', always an invalid library. This was fixed in
9996 # development snapshots of GCC prior to 3.0.
9998 aix4 | aix4.
[01] | aix4.
[01].
*)
9999 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10001 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10004 can_build_shared
=no
10008 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10009 # soname into executable. Probably we can add versioning support to
10010 # collect2, so additional links can be useful in future.
10011 if test "$aix_use_runtimelinking" = yes; then
10012 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10013 # instead of lib<name>.a to let people know that these are not
10014 # typical AIX shared libraries.
10015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10017 # We preserve .a as extension for shared libraries through AIX4.2
10018 # and later when we are not doing run time linking.
10019 library_names_spec
='${libname}${release}.a $libname.a'
10020 soname_spec
='${libname}${release}${shared_ext}$major'
10022 shlibpath_var
=LIBPATH
10029 # Since July 2007 AmigaOS4 officially supports .so libraries.
10030 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10034 library_names_spec
='$libname.ixlibrary $libname.a'
10035 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10036 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10042 library_names_spec
='${libname}${shared_ext}'
10043 dynamic_linker
="$host_os ld.so"
10044 shlibpath_var
=LIBRARY_PATH
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 soname_spec
='${libname}${release}${shared_ext}$major'
10052 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10053 shlibpath_var
=LD_LIBRARY_PATH
10054 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10055 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10056 # the default ld.so.conf also contains /usr/contrib/lib and
10057 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10058 # libtool to hard-code these into programs
10061 cygwin
* | mingw
* | pw32
* | cegcc
*)
10062 version_type
=windows
10067 case $GCC,$host_os in
10068 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10069 library_names_spec
='$libname.dll.a'
10070 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10071 postinstall_cmds
='base_file=`basename \${file}`~
10072 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10073 dldir=$destdir/`dirname \$dlpath`~
10074 test -d \$dldir || mkdir -p \$dldir~
10075 $install_prog $dir/$dlname \$dldir/$dlname~
10076 chmod a+x \$dldir/$dlname~
10077 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10078 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10080 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10081 dlpath=$dir/\$dldll~
10083 shlibpath_overrides_runpath
=yes
10087 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10088 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10089 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10092 # MinGW DLLs use traditional 'lib' prefix
10093 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10094 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10095 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10096 # It is most probably a Windows format PATH printed by
10097 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10098 # path with ; separators, and with drive letters. We can handle the
10099 # drive letters (cygwin fileutils understands them), so leave them,
10100 # especially as we might pass files found there to a mingw objdump,
10101 # which wouldn't understand a cygwinified path. Ahh.
10102 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10104 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10108 # pw32 DLLs use 'pw' prefix rather than 'lib'
10109 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10115 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10118 dynamic_linker
='Win32 ld.exe'
10119 # FIXME: first we should search . and the directory the executable is in
10123 darwin
* | rhapsody
*)
10124 dynamic_linker
="$host_os dyld"
10125 version_type
=darwin
10128 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10129 soname_spec
='${libname}${release}${major}$shared_ext'
10130 shlibpath_overrides_runpath
=yes
10131 shlibpath_var
=DYLD_LIBRARY_PATH
10132 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10134 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10135 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10143 soname_spec
='${libname}${release}${shared_ext}$major'
10144 shlibpath_var
=LD_LIBRARY_PATH
10151 freebsd
* | dragonfly
*)
10152 # DragonFly does not have aout. When/if they implement a new
10153 # versioning mechanism, adjust this.
10154 if test -x /usr
/bin
/objformat
; then
10155 objformat
=`/usr/bin/objformat`
10158 freebsd
[123]*) objformat
=aout
;;
10159 *) objformat
=elf
;;
10162 version_type
=freebsd-
$objformat
10163 case $version_type in
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10170 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10174 shlibpath_var
=LD_LIBRARY_PATH
10177 shlibpath_overrides_runpath
=yes
10179 freebsd3.
[01]* | freebsdelf3.
[01]*)
10180 shlibpath_overrides_runpath
=yes
10181 hardcode_into_libs
=yes
10183 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10184 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10185 shlibpath_overrides_runpath
=no
10186 hardcode_into_libs
=yes
10188 *) # from 4.6 on, and DragonFly
10189 shlibpath_overrides_runpath
=yes
10190 hardcode_into_libs
=yes
10199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10200 soname_spec
='${libname}${release}${shared_ext}$major'
10201 shlibpath_var
=LD_LIBRARY_PATH
10202 hardcode_into_libs
=yes
10205 hpux9
* | hpux10
* | hpux11
*)
10206 # Give a soname corresponding to the major version so that dld.sl refuses to
10207 # link against other versions.
10214 hardcode_into_libs
=yes
10215 dynamic_linker
="$host_os dld.so"
10216 shlibpath_var
=LD_LIBRARY_PATH
10217 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 soname_spec
='${libname}${release}${shared_ext}$major'
10220 if test "X$HPUX_IA64_MODE" = X32
; then
10221 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10223 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10225 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10229 hardcode_into_libs
=yes
10230 dynamic_linker
="$host_os dld.sl"
10231 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10232 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234 soname_spec
='${libname}${release}${shared_ext}$major'
10235 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10236 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10240 dynamic_linker
="$host_os dld.sl"
10241 shlibpath_var
=SHLIB_PATH
10242 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10244 soname_spec
='${libname}${release}${shared_ext}$major'
10247 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10248 postinstall_cmds
='chmod 555 $lib'
10255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10256 soname_spec
='${libname}${release}${shared_ext}$major'
10257 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10258 shlibpath_var
=LD_LIBRARY_PATH
10259 shlibpath_overrides_runpath
=no
10260 hardcode_into_libs
=yes
10263 irix5
* | irix6
* | nonstopux
*)
10265 nonstopux
*) version_type
=nonstopux
;;
10267 if test "$lt_cv_prog_gnu_ld" = yes; then
10275 soname_spec
='${libname}${release}${shared_ext}$major'
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10278 irix5
* | nonstopux
*)
10279 libsuff
= shlibsuff
=
10282 case $LD in # libtool.m4 will add one of these switches to LD
10283 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10284 libsuff
= shlibsuff
= libmagic
=32-bit;;
10285 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10286 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10287 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10288 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10289 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10293 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10294 shlibpath_overrides_runpath
=no
10295 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10296 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10297 hardcode_into_libs
=yes
10300 # No shared lib support for Linux oldld, aout, or coff.
10301 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10305 # This must be Linux ELF.
10306 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10311 soname_spec
='${libname}${release}${shared_ext}$major'
10312 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10313 shlibpath_var
=LD_LIBRARY_PATH
10314 shlibpath_overrides_runpath
=no
10316 # Some binutils ld are patched to set DT_RUNPATH
10317 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10318 $as_echo_n "(cached) " >&6
10320 lt_cv_shlibpath_overrides_runpath
=no
10321 save_LDFLAGS
=$LDFLAGS
10322 save_libdir
=$libdir
10323 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10324 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10336 if ac_fn_c_try_link
"$LINENO"; then :
10337 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10338 lt_cv_shlibpath_overrides_runpath
=yes
10341 rm -f core conftest.err conftest.
$ac_objext \
10342 conftest
$ac_exeext conftest.
$ac_ext
10343 LDFLAGS
=$save_LDFLAGS
10344 libdir
=$save_libdir
10348 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10350 # This implies no fast_install, which is unacceptable.
10351 # Some rework will be needed to allow for fast_install
10352 # before this can be enabled.
10353 hardcode_into_libs
=yes
10355 # Append ld.so.conf contents to the search path
10356 if test -f /etc
/ld.so.conf
; then
10357 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;/^$/d' | tr '\n' ' '`
10358 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10361 # We used to test for /lib/ld.so.1 and disable shared libraries on
10362 # powerpc, because MkLinux only supported shared libraries with the
10363 # GNU dynamic linker. Since this was broken with cross compilers,
10364 # most powerpc-linux boxes support dynamic linking these days and
10365 # people can always --disable-shared, the test was removed, and we
10366 # assume the GNU/Linux dynamic linker is in use.
10367 dynamic_linker
='GNU/Linux ld.so'
10374 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10376 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10377 dynamic_linker
='NetBSD (a.out) ld.so'
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10380 soname_spec
='${libname}${release}${shared_ext}$major'
10381 dynamic_linker
='NetBSD ld.elf_so'
10383 shlibpath_var
=LD_LIBRARY_PATH
10384 shlibpath_overrides_runpath
=yes
10385 hardcode_into_libs
=yes
10390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10391 shlibpath_var
=LD_LIBRARY_PATH
10392 shlibpath_overrides_runpath
=yes
10399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400 soname_spec
='${libname}${release}${shared_ext}$major'
10401 shlibpath_var
=LD_LIBRARY_PATH
10402 shlibpath_overrides_runpath
=no
10403 hardcode_into_libs
=yes
10404 dynamic_linker
='ldqnx.so'
10409 sys_lib_dlsearch_path_spec
="/usr/lib"
10411 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10413 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10414 *) need_version
=no
;;
10416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10417 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10418 shlibpath_var
=LD_LIBRARY_PATH
10419 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10421 openbsd2.
[89] | openbsd2.
[89].
*)
10422 shlibpath_overrides_runpath
=no
10425 shlibpath_overrides_runpath
=yes
10429 shlibpath_overrides_runpath
=yes
10434 libname_spec
='$name'
10437 library_names_spec
='$libname${shared_ext} $libname.a'
10438 dynamic_linker
='OS/2 ld.exe'
10439 shlibpath_var
=LIBPATH
10442 osf3
* | osf4
* | osf5
*)
10446 soname_spec
='${libname}${release}${shared_ext}$major'
10447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10448 shlibpath_var
=LD_LIBRARY_PATH
10449 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10450 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 soname_spec
='${libname}${release}${shared_ext}$major'
10463 shlibpath_var
=LD_LIBRARY_PATH
10464 shlibpath_overrides_runpath
=yes
10465 hardcode_into_libs
=yes
10466 # ldd complains unless libraries are executable
10467 postinstall_cmds
='chmod +x $lib'
10472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10473 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10474 shlibpath_var
=LD_LIBRARY_PATH
10475 shlibpath_overrides_runpath
=yes
10476 if test "$with_gnu_ld" = yes; then
10484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10485 soname_spec
='${libname}${release}${shared_ext}$major'
10486 shlibpath_var
=LD_LIBRARY_PATH
10487 case $host_vendor in
10489 shlibpath_overrides_runpath
=no
10491 runpath_var
=LD_RUN_PATH
10499 shlibpath_overrides_runpath
=no
10500 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10506 if test -d /usr
/nec
;then
10508 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10509 soname_spec
='$libname${shared_ext}.$major'
10510 shlibpath_var
=LD_LIBRARY_PATH
10514 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10515 version_type
=freebsd-elf
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10519 soname_spec
='${libname}${release}${shared_ext}$major'
10520 shlibpath_var
=LD_LIBRARY_PATH
10521 shlibpath_overrides_runpath
=yes
10522 hardcode_into_libs
=yes
10523 if test "$with_gnu_ld" = yes; then
10524 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10526 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10529 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10533 sys_lib_dlsearch_path_spec
='/usr/lib'
10537 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542 shlibpath_var
=LD_LIBRARY_PATH
10543 shlibpath_overrides_runpath
=no
10544 hardcode_into_libs
=yes
10549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550 soname_spec
='${libname}${release}${shared_ext}$major'
10551 shlibpath_var
=LD_LIBRARY_PATH
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10559 $as_echo "$dynamic_linker" >&6; }
10560 test "$dynamic_linker" = no
&& can_build_shared
=no
10562 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10563 if test "$GCC" = yes; then
10564 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10567 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10568 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10570 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10571 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10661 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10663 if test -n "$hardcode_libdir_flag_spec" ||
10664 test -n "$runpath_var" ||
10665 test "X$hardcode_automatic" = "Xyes" ; then
10667 # We can hardcode non-existent directories.
10668 if test "$hardcode_direct" != no
&&
10669 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10670 # have to relink, otherwise we might link with an installed library
10671 # when we should be linking with a yet-to-be-installed one
10672 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10673 test "$hardcode_minus_L" != no
; then
10674 # Linking always hardcodes the temporary library directory.
10675 hardcode_action
=relink
10677 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10678 hardcode_action
=immediate
10681 # We cannot hardcode anything, or else we can only hardcode existing
10683 hardcode_action
=unsupported
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10686 $as_echo "$hardcode_action" >&6; }
10688 if test "$hardcode_action" = relink ||
10689 test "$inherit_rpath" = yes; then
10690 # Fast installation is not supported
10691 enable_fast_install
=no
10692 elif test "$shlibpath_overrides_runpath" = yes ||
10693 test "$enable_shared" = no
; then
10694 # Fast installation is not necessary
10695 enable_fast_install
=needless
10703 if test "x$enable_dlopen" != xyes
; then
10704 enable_dlopen
=unknown
10705 enable_dlopen_self
=unknown
10706 enable_dlopen_self_static
=unknown
10713 lt_cv_dlopen
="load_add_on"
10715 lt_cv_dlopen_self
=yes
10718 mingw
* | pw32
* | cegcc
*)
10719 lt_cv_dlopen
="LoadLibrary"
10724 lt_cv_dlopen
="dlopen"
10729 # if libdl is installed we need to link against it
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10731 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10732 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10733 $as_echo_n "(cached) " >&6
10735 ac_check_lib_save_LIBS
=$LIBS
10737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10755 if ac_fn_c_try_link
"$LINENO"; then :
10756 ac_cv_lib_dl_dlopen
=yes
10758 ac_cv_lib_dl_dlopen
=no
10760 rm -f core conftest.err conftest.
$ac_objext \
10761 conftest
$ac_exeext conftest.
$ac_ext
10762 LIBS
=$ac_check_lib_save_LIBS
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10765 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10766 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10767 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10770 lt_cv_dlopen
="dyld"
10772 lt_cv_dlopen_self
=yes
10779 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10780 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10781 lt_cv_dlopen
="shl_load"
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10784 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10785 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10786 $as_echo_n "(cached) " >&6
10788 ac_check_lib_save_LIBS
=$LIBS
10790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10803 return shl_load ();
10808 if ac_fn_c_try_link
"$LINENO"; then :
10809 ac_cv_lib_dld_shl_load
=yes
10811 ac_cv_lib_dld_shl_load
=no
10813 rm -f core conftest.err conftest.
$ac_objext \
10814 conftest
$ac_exeext conftest.
$ac_ext
10815 LIBS
=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10818 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10819 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10820 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10822 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10823 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10824 lt_cv_dlopen
="dlopen"
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10827 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10828 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10829 $as_echo_n "(cached) " >&6
10831 ac_check_lib_save_LIBS
=$LIBS
10833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10851 if ac_fn_c_try_link
"$LINENO"; then :
10852 ac_cv_lib_dl_dlopen
=yes
10854 ac_cv_lib_dl_dlopen
=no
10856 rm -f core conftest.err conftest.
$ac_objext \
10857 conftest
$ac_exeext conftest.
$ac_ext
10858 LIBS
=$ac_check_lib_save_LIBS
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10861 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10862 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10863 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10866 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10867 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10868 $as_echo_n "(cached) " >&6
10870 ac_check_lib_save_LIBS
=$LIBS
10871 LIBS
="-lsvld $LIBS"
10872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10890 if ac_fn_c_try_link
"$LINENO"; then :
10891 ac_cv_lib_svld_dlopen
=yes
10893 ac_cv_lib_svld_dlopen
=no
10895 rm -f core conftest.err conftest.
$ac_objext \
10896 conftest
$ac_exeext conftest.
$ac_ext
10897 LIBS
=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10900 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10901 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10902 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10905 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10906 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10907 $as_echo_n "(cached) " >&6
10909 ac_check_lib_save_LIBS
=$LIBS
10911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10914 /* Override any GCC internal prototype to avoid an error.
10915 Use char because int might match the return type of a GCC
10916 builtin and then its argument prototype would still apply. */
10924 return dld_link ();
10929 if ac_fn_c_try_link
"$LINENO"; then :
10930 ac_cv_lib_dld_dld_link
=yes
10932 ac_cv_lib_dld_dld_link
=no
10934 rm -f core conftest.err conftest.
$ac_objext \
10935 conftest
$ac_exeext conftest.
$ac_ext
10936 LIBS
=$ac_check_lib_save_LIBS
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10939 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10940 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10941 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10962 if test "x$lt_cv_dlopen" != xno
; then
10968 case $lt_cv_dlopen in
10970 save_CPPFLAGS
="$CPPFLAGS"
10971 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10973 save_LDFLAGS
="$LDFLAGS"
10974 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10977 LIBS
="$lt_cv_dlopen_libs $LIBS"
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10980 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10981 if test "${lt_cv_dlopen_self+set}" = set; then :
10982 $as_echo_n "(cached) " >&6
10984 if test "$cross_compiling" = yes; then :
10985 lt_cv_dlopen_self
=cross
10987 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10988 lt_status
=$lt_dlunknown
10989 cat > conftest.
$ac_ext <<_LT_EOF
10990 #line 10990 "configure"
10991 #include "confdefs.h"
11000 # define LT_DLGLOBAL RTLD_GLOBAL
11003 # define LT_DLGLOBAL DL_GLOBAL
11005 # define LT_DLGLOBAL 0
11009 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11010 find out it does not work in some platform. */
11011 #ifndef LT_DLLAZY_OR_NOW
11013 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11016 # define LT_DLLAZY_OR_NOW DL_LAZY
11019 # define LT_DLLAZY_OR_NOW RTLD_NOW
11022 # define LT_DLLAZY_OR_NOW DL_NOW
11024 # define LT_DLLAZY_OR_NOW 0
11031 void fnord() { int i=42;}
11034 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11035 int status = $lt_dlunknown;
11039 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11040 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11041 /* dlclose (self); */
11049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11050 (eval $ac_link) 2>&5
11052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11053 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11054 (.
/conftest
; exit; ) >&5 2>/dev
/null
11056 case x
$lt_status in
11057 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11058 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11059 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11062 # compilation failed
11063 lt_cv_dlopen_self
=no
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11071 $as_echo "$lt_cv_dlopen_self" >&6; }
11073 if test "x$lt_cv_dlopen_self" = xyes
; then
11074 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11076 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11077 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11078 $as_echo_n "(cached) " >&6
11080 if test "$cross_compiling" = yes; then :
11081 lt_cv_dlopen_self_static
=cross
11083 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11084 lt_status
=$lt_dlunknown
11085 cat > conftest.
$ac_ext <<_LT_EOF
11086 #line 11086 "configure"
11087 #include "confdefs.h"
11096 # define LT_DLGLOBAL RTLD_GLOBAL
11099 # define LT_DLGLOBAL DL_GLOBAL
11101 # define LT_DLGLOBAL 0
11105 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11106 find out it does not work in some platform. */
11107 #ifndef LT_DLLAZY_OR_NOW
11109 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11112 # define LT_DLLAZY_OR_NOW DL_LAZY
11115 # define LT_DLLAZY_OR_NOW RTLD_NOW
11118 # define LT_DLLAZY_OR_NOW DL_NOW
11120 # define LT_DLLAZY_OR_NOW 0
11127 void fnord() { int i=42;}
11130 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11131 int status = $lt_dlunknown;
11135 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11136 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11137 /* dlclose (self); */
11145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11146 (eval $ac_link) 2>&5
11148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11149 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11150 (.
/conftest
; exit; ) >&5 2>/dev
/null
11152 case x
$lt_status in
11153 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11154 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11155 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11158 # compilation failed
11159 lt_cv_dlopen_self_static
=no
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11167 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11170 CPPFLAGS
="$save_CPPFLAGS"
11171 LDFLAGS
="$save_LDFLAGS"
11176 case $lt_cv_dlopen_self in
11177 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11178 *) enable_dlopen_self
=unknown
;;
11181 case $lt_cv_dlopen_self_static in
11182 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11183 *) enable_dlopen_self_static
=unknown
;;
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11206 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11207 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11208 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11209 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11211 $as_echo "yes" >&6; }
11213 # FIXME - insert some real tests, host_os isn't really good enough
11216 if test -n "$STRIP" ; then
11217 striplib
="$STRIP -x"
11218 old_striplib
="$STRIP -S"
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11220 $as_echo "yes" >&6; }
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11223 $as_echo "no" >&6; }
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11228 $as_echo "no" >&6; }
11244 # Report which library types will actually be built
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11246 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11248 $as_echo "$can_build_shared" >&6; }
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11251 $as_echo_n "checking whether to build shared libraries... " >&6; }
11252 test "$can_build_shared" = "no" && enable_shared
=no
11254 # On AIX, shared libraries and static libraries use the same namespace, and
11255 # are all built from PIC.
11258 test "$enable_shared" = yes && enable_static
=no
11259 if test -n "$RANLIB"; then
11260 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11261 postinstall_cmds
='$RANLIB $lib'
11266 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11267 test "$enable_shared" = yes && enable_static
=no
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11272 $as_echo "$enable_shared" >&6; }
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11275 $as_echo_n "checking whether to build static libraries... " >&6; }
11276 # Make sure either enable_shared or enable_static is yes.
11277 test "$enable_shared" = yes || enable_static
=yes
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11279 $as_echo "$enable_static" >&6; }
11286 ac_cpp
='$CPP $CPPFLAGS'
11287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11305 ac_config_commands
="$ac_config_commands libtool"
11310 # Only expand once:
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11318 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11319 # Check whether --enable-maintainer-mode was given.
11320 if test "${enable_maintainer_mode+set}" = set; then :
11321 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11323 USE_MAINTAINER_MODE
=no
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11327 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11328 if test $USE_MAINTAINER_MODE = yes; then
11329 MAINTAINER_MODE_TRUE
=
11330 MAINTAINER_MODE_FALSE
='#'
11332 MAINTAINER_MODE_TRUE
='#'
11333 MAINTAINER_MODE_FALSE
=
11336 MAINT
=$MAINTAINER_MODE_TRUE
11340 # We need gfortran to compile parts of the library
11341 # We can't use AC_PROG_FC because it expects a fully working gfortran.
11342 #AC_PROG_FC(gfortran)
11343 case `echo $GFORTRAN` in
11349 ac_ext
=${ac_fc_srcext-f}
11350 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11351 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11352 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11353 if test -n "$ac_tool_prefix"; then
11354 for ac_prog
in gfortran
11356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11357 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11359 $as_echo_n "checking for $ac_word... " >&6; }
11360 if test "${ac_cv_prog_FC+set}" = set; then :
11361 $as_echo_n "(cached) " >&6
11363 if test -n "$FC"; then
11364 ac_cv_prog_FC
="$FC" # Let the user override the test.
11366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11367 for as_dir
in $PATH
11370 test -z "$as_dir" && as_dir
=.
11371 for ac_exec_ext
in '' $ac_executable_extensions; do
11372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11373 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11384 if test -n "$FC"; then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11386 $as_echo "$FC" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11389 $as_echo "no" >&6; }
11393 test -n "$FC" && break
11396 if test -z "$FC"; then
11398 for ac_prog
in gfortran
11400 # Extract the first word of "$ac_prog", so it can be a program name with args.
11401 set dummy
$ac_prog; ac_word
=$2
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11403 $as_echo_n "checking for $ac_word... " >&6; }
11404 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11407 if test -n "$ac_ct_FC"; then
11408 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11411 for as_dir
in $PATH
11414 test -z "$as_dir" && as_dir
=.
11415 for ac_exec_ext
in '' $ac_executable_extensions; do
11416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11417 ac_cv_prog_ac_ct_FC
="$ac_prog"
11418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11427 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11428 if test -n "$ac_ct_FC"; then
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11430 $as_echo "$ac_ct_FC" >&6; }
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11433 $as_echo "no" >&6; }
11437 test -n "$ac_ct_FC" && break
11440 if test "x$ac_ct_FC" = x
; then
11443 case $cross_compiling:$ac_tool_warned in
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11447 ac_tool_warned
=yes ;;
11454 # Provide some information about the compiler.
11455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11458 for ac_option
in --version -v -V -qversion; do
11459 { { ac_try
="$ac_compiler $ac_option >&5"
11460 case "(($ac_try" in
11461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11462 *) ac_try_echo=$ac_try;;
11464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11465 $as_echo "$ac_try_echo"; } >&5
11466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11468 if test -s conftest.err; then
11470 ... rest of stderr output deleted ...
11471 10q' conftest.err >conftest.er1
11472 cat conftest.er1 >&5
11473 rm -f conftest.er1 conftest.err
11475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11476 test $ac_status = 0; }
11480 # If we don't use `.F
' as extension, the preprocessor is not run on the
11481 # input file. (Note that this only needs to work for GNU compilers.)
11482 ac_save_ext=$ac_ext
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11485 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11486 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11487 $as_echo_n "(cached) " >&6
11489 cat > conftest.$ac_ext <<_ACEOF
11497 if ac_fn_fc_try_compile "$LINENO"; then :
11498 ac_compiler_gnu=yes
11502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11503 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11507 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11508 ac_ext=$ac_save_ext
11509 ac_test_FCFLAGS=${FCFLAGS+set}
11510 ac_save_FCFLAGS=$FCFLAGS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11513 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11514 if test "${ac_cv_prog_fc_g+set}" = set; then :
11515 $as_echo_n "(cached) " >&6
11518 cat > conftest.$ac_ext <<_ACEOF
11523 if ac_fn_fc_try_compile "$LINENO"; then :
11524 ac_cv_prog_fc_g=yes
11528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11532 $as_echo "$ac_cv_prog_fc_g" >&6; }
11533 if test "$ac_test_FCFLAGS" = set; then
11534 FCFLAGS=$ac_save_FCFLAGS
11535 elif test $ac_cv_prog_fc_g = yes; then
11536 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11542 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11550 ac_cpp='$CPP $CPPFLAGS'
11551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11552 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11556 ac_ext=${ac_fc_srcext-f}
11557 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11558 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11559 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11560 if test -n "$ac_tool_prefix"; then
11561 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11563 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11564 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11566 $as_echo_n "checking for $ac_word... " >&6; }
11567 if test "${ac_cv_prog_FC+set}" = set; then :
11568 $as_echo_n "(cached) " >&6
11570 if test -n "$FC"; then
11571 ac_cv_prog_FC="$FC" # Let the user override the test.
11573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11574 for as_dir in $PATH
11577 test -z "$as_dir" && as_dir=.
11578 for ac_exec_ext in '' $ac_executable_extensions; do
11579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11580 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11591 if test -n "$FC"; then
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11593 $as_echo "$FC" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11596 $as_echo "no" >&6; }
11600 test -n "$FC" && break
11603 if test -z "$FC"; then
11605 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11607 # Extract the first word of "$ac_prog", so it can be a program name with args.
11608 set dummy $ac_prog; ac_word=$2
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11610 $as_echo_n "checking for $ac_word... " >&6; }
11611 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11612 $as_echo_n "(cached) " >&6
11614 if test -n "$ac_ct_FC"; then
11615 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $PATH
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11624 ac_cv_prog_ac_ct_FC="$ac_prog"
11625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11634 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11635 if test -n "$ac_ct_FC"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11637 $as_echo "$ac_ct_FC" >&6; }
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11640 $as_echo "no" >&6; }
11644 test -n "$ac_ct_FC" && break
11647 if test "x$ac_ct_FC" = x; then
11650 case $cross_compiling:$ac_tool_warned in
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11654 ac_tool_warned=yes ;;
11661 # Provide some information about the compiler.
11662 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11665 for ac_option in --version -v -V -qversion; do
11666 { { ac_try="$ac_compiler $ac_option >&5"
11667 case "(($ac_try" in
11668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11669 *) ac_try_echo=$ac_try;;
11671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11672 $as_echo "$ac_try_echo"; } >&5
11673 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11675 if test -s conftest.err; then
11677 ... rest of stderr output deleted ...
11678 10q
' conftest.err >conftest.er1
11679 cat conftest.er1 >&5
11680 rm -f conftest.er1 conftest.err
11682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11683 test $ac_status = 0; }
11687 # If we don't use
`.F' as extension, the preprocessor is not run on the
11688 # input file. (Note that this only needs to work for GNU compilers.)
11689 ac_save_ext=$ac_ext
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11692 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11693 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11694 $as_echo_n "(cached) " >&6
11696 cat > conftest.$ac_ext <<_ACEOF
11704 if ac_fn_fc_try_compile "$LINENO"; then :
11705 ac_compiler_gnu=yes
11709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11710 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11714 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11715 ac_ext=$ac_save_ext
11716 ac_test_FCFLAGS=${FCFLAGS+set}
11717 ac_save_FCFLAGS=$FCFLAGS
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11720 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11721 if test "${ac_cv_prog_fc_g+set}" = set; then :
11722 $as_echo_n "(cached) " >&6
11725 cat > conftest.$ac_ext <<_ACEOF
11730 if ac_fn_fc_try_compile "$LINENO"; then :
11731 ac_cv_prog_fc_g=yes
11735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11739 $as_echo "$ac_cv_prog_fc_g" >&6; }
11740 if test "$ac_test_FCFLAGS" = set; then
11741 FCFLAGS=$ac_save_FCFLAGS
11742 elif test $ac_cv_prog_fc_g = yes; then
11743 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11749 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11757 ac_cpp='$CPP $CPPFLAGS'
11758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11762 if test -z "$FC" || test "X$FC" = "Xno"; then
11768 ac_ext=${ac_fc_srcext-f}
11769 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11770 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11771 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11774 archive_cmds_need_lc_FC=no
11775 allow_undefined_flag_FC=
11776 always_export_symbols_FC=no
11777 archive_expsym_cmds_FC=
11778 export_dynamic_flag_spec_FC=
11779 hardcode_direct_FC=no
11780 hardcode_direct_absolute_FC=no
11781 hardcode_libdir_flag_spec_FC=
11782 hardcode_libdir_flag_spec_ld_FC=
11783 hardcode_libdir_separator_FC=
11784 hardcode_minus_L_FC=no
11785 hardcode_automatic_FC=no
11786 inherit_rpath_FC=no
11788 module_expsym_cmds_FC=
11789 link_all_deplibs_FC=unknown
11790 old_archive_cmds_FC=$old_archive_cmds
11791 no_undefined_flag_FC=
11792 whole_archive_flag_spec_FC=
11793 enable_shared_with_static_runtimes_FC=no
11795 # Source file extension for fc test sources.
11796 ac_ext=${ac_fc_srcext-f}
11798 # Object file extension for compiled fc test sources.
11802 # No sense in running all these tests if we already determined that
11803 # the FC compiler isn't working. Some variables (like enable_shared)
11804 # are currently assumed to apply to all compilers on this platform,
11805 # and will be corrupted by setting them based on a non-working compiler.
11806 if test "$_lt_disable_FC" != yes; then
11807 # Code to be used in simple compile tests
11808 lt_simple_compile_test_code="\
11814 # Code to be used in simple link tests
11815 lt_simple_link_test_code="\
11820 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11827 # If no C compiler was specified, use CC.
11830 # If no C compiler flags were specified, use CFLAGS.
11831 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11833 # Allow CC to be a program name with arguments.
11837 # save warnings/boilerplate of simple test code
11838 ac_outfile=conftest.$ac_objext
11839 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11840 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11841 _lt_compiler_boilerplate=`cat conftest.err
`
11844 ac_outfile=conftest.$ac_objext
11845 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11846 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11847 _lt_linker_boilerplate=`cat conftest.err
`
11851 # Allow CC to be a program name with arguments.
11856 GCC=$ac_cv_fc_compiler_gnu
11859 for cc_temp in $compiler""; do
11861 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11862 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11867 cc_basename=`$ECHO "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11870 if test -n "$compiler"; then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11872 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11874 $as_echo "$can_build_shared" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11877 $as_echo_n "checking whether to build shared libraries... " >&6; }
11878 test "$can_build_shared" = "no" && enable_shared=no
11880 # On AIX, shared libraries and static libraries use the same namespace, and
11881 # are all built from PIC.
11884 test "$enable_shared" = yes && enable_static=no
11885 if test -n "$RANLIB"; then
11886 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11887 postinstall_cmds='$RANLIB $lib'
11891 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11892 test "$enable_shared" = yes && enable_static=no
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11897 $as_echo "$enable_shared" >&6; }
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11900 $as_echo_n "checking whether to build static libraries... " >&6; }
11901 # Make sure either enable_shared or enable_static is yes.
11902 test "$enable_shared" = yes || enable_static=yes
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11904 $as_echo "$enable_static" >&6; }
11906 GCC_FC="$ac_cv_fc_compiler_gnu"
11910 ## There is no encapsulation within the following macros, do not change
11911 ## the running order or otherwise move them around unless you know exactly
11912 ## what you are doing...
11913 # Dependencies to place before and after the object being linked:
11915 postdep_objects_FC=
11918 compiler_lib_search_path_FC=
11920 cat > conftest.$ac_ext <<_LT_EOF
11929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11930 (eval $ac_compile) 2>&5
11932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11933 test $ac_status = 0; }; then
11934 # Parse the compiler output and extract the necessary
11935 # objects, libraries and library flags.
11937 # Sentinel used to keep track of whether or not we are before
11938 # the conftest object file.
11939 pre_test_object_deps_done=no
11941 for p in `eval "$output_verbose_link_cmd"`; do
11945 # Some compilers place space between "-{L,R}" and the path.
11946 # Remove the space.
11947 if test $p = "-L" ||
11948 test $p = "-R"; then
11955 if test "$pre_test_object_deps_done" = no; then
11958 # Internal compiler library paths should come after those
11959 # provided the user. The postdeps already come after the
11960 # user supplied libs so there is no need to process them.
11961 if test -z "$compiler_lib_search_path_FC"; then
11962 compiler_lib_search_path_FC="${prev}${p}"
11964 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11967 # The "-l" case would never come before the object being
11968 # linked, so don't bother handling this case.
11971 if test -z "$postdeps_FC"; then
11972 postdeps_FC="${prev}${p}"
11974 postdeps_FC="${postdeps_FC} ${prev}${p}"
11980 # This assumes that the test object file only shows up
11981 # once in the compiler output.
11982 if test "$p" = "conftest.$objext"; then
11983 pre_test_object_deps_done=yes
11987 if test "$pre_test_object_deps_done" = no; then
11988 if test -z "$predep_objects_FC"; then
11989 predep_objects_FC="$p"
11991 predep_objects_FC="$predep_objects_FC $p"
11994 if test -z "$postdep_objects_FC"; then
11995 postdep_objects_FC="$p"
11997 postdep_objects_FC="$postdep_objects_FC $p"
12002 *) ;; # Ignore the rest.
12010 echo "libtool.m4: error: problem compiling FC test program"
12013 $RM -f confest.$objext
12015 # PORTME: override above test on systems where it is broken
12018 case " $postdeps_FC " in
12019 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12021 compiler_lib_search_dirs_FC=
12022 if test -n "${compiler_lib_search_path_FC}"; then
12023 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" |
${SED} -e 's! -L! !g' -e 's!^ !!'`
12056 lt_prog_compiler_wl_FC=
12057 lt_prog_compiler_pic_FC=
12058 lt_prog_compiler_static_FC=
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12061 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12063 if test "$GCC" = yes; then
12064 lt_prog_compiler_wl_FC='-Wl,'
12065 lt_prog_compiler_static_FC='-static'
12069 # All AIX code is PIC.
12070 if test "$host_cpu" = ia64; then
12071 # AIX 5 now supports IA64 processor
12072 lt_prog_compiler_static_FC='-Bstatic'
12079 # see comment about AmigaOS4 .so support
12080 lt_prog_compiler_pic_FC='-fPIC'
12083 # FIXME: we need at least 68020 code to build shared libraries, but
12084 # adding the `-m68020' flag to GCC prevents building anything better,
12086 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12091 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12092 # PIC is the default for these OSes.
12095 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12096 # This hack is so that the source file can tell whether it is being
12097 # built for inclusion in a dll (and should export symbols for example).
12098 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12099 # (--disable-auto-import) libraries
12100 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12103 darwin
* | rhapsody
*)
12104 # PIC is the default on this platform
12105 # Common symbols not allowed in MH_DYLIB files
12106 lt_prog_compiler_pic_FC
='-fno-common'
12110 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12111 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12112 # sets the default TLS model and affects inlining.
12118 lt_prog_compiler_pic_FC
='-fPIC'
12124 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12125 # Instead, we relocate shared libraries at runtime.
12129 # Just because we use GCC doesn't mean we suddenly get shared libraries
12130 # on systems that don't support them.
12131 lt_prog_compiler_can_build_shared_FC
=no
12136 # QNX uses GNU C++, but need to define -shared option too, otherwise
12137 # it will coredump.
12138 lt_prog_compiler_pic_FC
='-fPIC -shared'
12142 if test -d /usr
/nec
; then
12143 lt_prog_compiler_pic_FC
=-Kconform_pic
12148 lt_prog_compiler_pic_FC
='-fPIC'
12152 # PORTME Check for flag to pass linker flags through the system compiler.
12155 lt_prog_compiler_wl_FC
='-Wl,'
12156 if test "$host_cpu" = ia64
; then
12157 # AIX 5 now supports IA64 processor
12158 lt_prog_compiler_static_FC
='-Bstatic'
12160 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12164 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12165 # This hack is so that the source file can tell whether it is being
12166 # built for inclusion in a dll (and should export symbols for example).
12167 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12170 hpux9
* | hpux10
* | hpux11
*)
12171 lt_prog_compiler_wl_FC
='-Wl,'
12172 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12173 # not for PA HP-UX.
12179 lt_prog_compiler_pic_FC
='+Z'
12182 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12183 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12186 irix5
* | irix6
* | nonstopux
*)
12187 lt_prog_compiler_wl_FC
='-Wl,'
12188 # PIC (with -KPIC) is the default.
12189 lt_prog_compiler_static_FC
='-non_shared'
12192 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12193 case $cc_basename in
12194 # old Intel for x86_64 which still supported -KPIC.
12196 lt_prog_compiler_wl_FC
='-Wl,'
12197 lt_prog_compiler_pic_FC
='-KPIC'
12198 lt_prog_compiler_static_FC
='-static'
12200 # icc used to be incompatible with GCC.
12201 # ICC 10 doesn't accept -KPIC any more.
12203 lt_prog_compiler_wl_FC
='-Wl,'
12204 lt_prog_compiler_pic_FC
='-fPIC'
12205 lt_prog_compiler_static_FC
='-static'
12207 # Lahey Fortran 8.1.
12209 lt_prog_compiler_wl_FC
='-Wl,'
12210 lt_prog_compiler_pic_FC
='--shared'
12211 lt_prog_compiler_static_FC
='--static'
12213 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
12214 # Portland Group compilers (*not* the Pentium gcc compiler,
12215 # which looks to be a dead project)
12216 lt_prog_compiler_wl_FC
='-Wl,'
12217 lt_prog_compiler_pic_FC
='-fpic'
12218 lt_prog_compiler_static_FC
='-Bstatic'
12221 lt_prog_compiler_wl_FC
='-Wl,'
12222 # All Alpha code is PIC.
12223 lt_prog_compiler_static_FC
='-non_shared'
12226 # IBM XL C 8.0/Fortran 10.1 on PPC
12227 lt_prog_compiler_wl_FC
='-Wl,'
12228 lt_prog_compiler_pic_FC
='-qpic'
12229 lt_prog_compiler_static_FC
='-qstaticlink'
12232 case `$CC -V 2>&1 | sed 5q` in
12235 lt_prog_compiler_pic_FC
='-KPIC'
12236 lt_prog_compiler_static_FC
='-Bstatic'
12237 lt_prog_compiler_wl_FC
='-Wl,'
12240 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12241 lt_prog_compiler_pic_FC
='-KPIC'
12242 lt_prog_compiler_static_FC
='-Bstatic'
12243 lt_prog_compiler_wl_FC
=''
12251 lt_prog_compiler_pic_FC
='-KPIC'
12252 lt_prog_compiler_static_FC
='-Bstatic'
12256 # QNX uses GNU C++, but need to define -shared option too, otherwise
12257 # it will coredump.
12258 lt_prog_compiler_pic_FC
='-fPIC -shared'
12261 osf3
* | osf4
* | osf5
*)
12262 lt_prog_compiler_wl_FC
='-Wl,'
12263 # All OSF/1 code is PIC.
12264 lt_prog_compiler_static_FC
='-non_shared'
12268 lt_prog_compiler_static_FC
='-non_shared'
12272 lt_prog_compiler_pic_FC
='-KPIC'
12273 lt_prog_compiler_static_FC
='-Bstatic'
12274 case $cc_basename in
12275 f77
* | f90
* | f95
*)
12276 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12278 lt_prog_compiler_wl_FC
='-Wl,';;
12283 lt_prog_compiler_wl_FC
='-Qoption ld '
12284 lt_prog_compiler_pic_FC
='-PIC'
12285 lt_prog_compiler_static_FC
='-Bstatic'
12288 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12289 lt_prog_compiler_wl_FC
='-Wl,'
12290 lt_prog_compiler_pic_FC
='-KPIC'
12291 lt_prog_compiler_static_FC
='-Bstatic'
12295 if test -d /usr
/nec
;then
12296 lt_prog_compiler_pic_FC
='-Kconform_pic'
12297 lt_prog_compiler_static_FC
='-Bstatic'
12301 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12302 lt_prog_compiler_wl_FC
='-Wl,'
12303 lt_prog_compiler_pic_FC
='-KPIC'
12304 lt_prog_compiler_static_FC
='-Bstatic'
12308 lt_prog_compiler_wl_FC
='-Wl,'
12309 lt_prog_compiler_can_build_shared_FC
=no
12313 lt_prog_compiler_pic_FC
='-pic'
12314 lt_prog_compiler_static_FC
='-Bstatic'
12318 lt_prog_compiler_can_build_shared_FC
=no
12324 # For platforms which do not support PIC, -DPIC is meaningless:
12326 lt_prog_compiler_pic_FC
=
12329 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12333 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12338 # Check to make sure the PIC flag actually works.
12340 if test -n "$lt_prog_compiler_pic_FC"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12342 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12343 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12346 lt_cv_prog_compiler_pic_works_FC
=no
12347 ac_outfile
=conftest.
$ac_objext
12348 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12349 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12350 # Insert the option either (1) after the last *FLAGS variable, or
12351 # (2) before a word containing "conftest.", or (3) at the end.
12352 # Note that $ac_compile itself does not contain backslashes and begins
12353 # with a dollar sign (not a hyphen), so the echo should work correctly.
12354 # The option is referenced via a variable to avoid confusing sed.
12355 lt_compile
=`echo "$ac_compile" | $SED \
12356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12358 -e 's:$: $lt_compiler_flag:'`
12359 (eval echo "\"\$as_me:12359: $lt_compile\"" >&5)
12360 (eval "$lt_compile" 2>conftest.err
)
12362 cat conftest.err
>&5
12363 echo "$as_me:12363: \$? = $ac_status" >&5
12364 if (exit $ac_status) && test -s "$ac_outfile"; then
12365 # The compiler can only warn and ignore the option if not recognized
12366 # So say no if there are warnings other than the usual output.
12367 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12368 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12369 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12370 lt_cv_prog_compiler_pic_works_FC
=yes
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12377 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12379 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12380 case $lt_prog_compiler_pic_FC in
12382 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12385 lt_prog_compiler_pic_FC
=
12386 lt_prog_compiler_can_build_shared_FC
=no
12394 # Check to make sure the static flag actually works.
12396 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12398 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12399 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12400 $as_echo_n "(cached) " >&6
12402 lt_cv_prog_compiler_static_works_FC
=no
12403 save_LDFLAGS
="$LDFLAGS"
12404 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12405 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12406 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12407 # The linker can only warn and ignore the option if not recognized
12408 # So say no if there are warnings
12409 if test -s conftest.err
; then
12410 # Append any errors to the config.log.
12411 cat conftest.err
1>&5
12412 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12413 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12414 if diff conftest.exp conftest.er2
>/dev
/null
; then
12415 lt_cv_prog_compiler_static_works_FC
=yes
12418 lt_cv_prog_compiler_static_works_FC
=yes
12422 LDFLAGS
="$save_LDFLAGS"
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12426 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12428 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12431 lt_prog_compiler_static_FC
=
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12438 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12439 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12440 $as_echo_n "(cached) " >&6
12442 lt_cv_prog_compiler_c_o_FC
=no
12443 $RM -r conftest
2>/dev
/null
12447 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12449 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12450 # Insert the option either (1) after the last *FLAGS variable, or
12451 # (2) before a word containing "conftest.", or (3) at the end.
12452 # Note that $ac_compile itself does not contain backslashes and begins
12453 # with a dollar sign (not a hyphen), so the echo should work correctly.
12454 lt_compile
=`echo "$ac_compile" | $SED \
12455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12457 -e 's:$: $lt_compiler_flag:'`
12458 (eval echo "\"\$as_me:12458: $lt_compile\"" >&5)
12459 (eval "$lt_compile" 2>out
/conftest.err
)
12461 cat out
/conftest.err
>&5
12462 echo "$as_me:12462: \$? = $ac_status" >&5
12463 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12465 # The compiler can only warn and ignore the option if not recognized
12466 # So say no if there are warnings
12467 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12468 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12469 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12470 lt_cv_prog_compiler_c_o_FC
=yes
12475 # SGI C++ compiler will create directory out/ii_files/ for
12476 # template instantiation
12477 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12478 $RM out
/* && rmdir out
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12485 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12490 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12491 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12492 $as_echo_n "(cached) " >&6
12494 lt_cv_prog_compiler_c_o_FC
=no
12495 $RM -r conftest
2>/dev
/null
12499 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12501 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12502 # Insert the option either (1) after the last *FLAGS variable, or
12503 # (2) before a word containing "conftest.", or (3) at the end.
12504 # Note that $ac_compile itself does not contain backslashes and begins
12505 # with a dollar sign (not a hyphen), so the echo should work correctly.
12506 lt_compile
=`echo "$ac_compile" | $SED \
12507 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12508 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12509 -e 's:$: $lt_compiler_flag:'`
12510 (eval echo "\"\$as_me:12510: $lt_compile\"" >&5)
12511 (eval "$lt_compile" 2>out
/conftest.err
)
12513 cat out
/conftest.err
>&5
12514 echo "$as_me:12514: \$? = $ac_status" >&5
12515 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12517 # The compiler can only warn and ignore the option if not recognized
12518 # So say no if there are warnings
12519 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12520 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12521 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12522 lt_cv_prog_compiler_c_o_FC
=yes
12527 # SGI C++ compiler will create directory out/ii_files/ for
12528 # template instantiation
12529 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12530 $RM out
/* && rmdir out
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12537 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12542 hard_links
="nottested"
12543 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12544 # do not overwrite the value of need_locks provided by the user
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12546 $as_echo_n "checking if we can lock with hard links... " >&6; }
12549 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12551 ln conftest.a conftest.b
2>&5 || hard_links
=no
12552 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12554 $as_echo "$hard_links" >&6; }
12555 if test "$hard_links" = no
; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12557 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12567 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12570 allow_undefined_flag_FC
=
12571 always_export_symbols_FC
=no
12573 archive_expsym_cmds_FC
=
12574 compiler_needs_object_FC
=no
12575 enable_shared_with_static_runtimes_FC
=no
12576 export_dynamic_flag_spec_FC
=
12577 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12578 hardcode_automatic_FC
=no
12579 hardcode_direct_FC
=no
12580 hardcode_direct_absolute_FC
=no
12581 hardcode_libdir_flag_spec_FC
=
12582 hardcode_libdir_flag_spec_ld_FC
=
12583 hardcode_libdir_separator_FC
=
12584 hardcode_minus_L_FC
=no
12585 hardcode_shlibpath_var_FC
=unsupported
12586 inherit_rpath_FC
=no
12587 link_all_deplibs_FC
=unknown
12589 module_expsym_cmds_FC
=
12590 old_archive_from_new_cmds_FC
=
12591 old_archive_from_expsyms_cmds_FC
=
12592 thread_safe_flag_spec_FC
=
12593 whole_archive_flag_spec_FC
=
12594 # include_expsyms should be a list of space-separated symbols to be *always*
12595 # included in the symbol list
12596 include_expsyms_FC
=
12597 # exclude_expsyms can be an extended regexp of symbols to exclude
12598 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12599 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12600 # as well as any symbol that contains `d'.
12601 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12602 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12603 # platforms (ab)use it in PIC code, but their linkers get confused if
12604 # the symbol is explicitly referenced. Since portable code cannot
12605 # rely on this symbol name, it's probably fine to never include it in
12606 # preloaded symbol tables.
12607 # Exclude shared library initialization/finalization symbols.
12608 extract_expsyms_cmds
=
12611 cygwin
* | mingw
* | pw32
* | cegcc
*)
12612 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12613 # When not using gcc, we currently assume that we are using
12614 # Microsoft Visual C++.
12615 if test "$GCC" != yes; then
12620 # we just hope/assume this is gcc and not c89 (= MSVC++)
12629 if test "$with_gnu_ld" = yes; then
12630 # If archive_cmds runs LD, not CC, wlarc should be empty
12633 # Set some defaults for GNU ld with shared library support. These
12634 # are reset later if shared libraries are not supported. Putting them
12635 # here allows them to be overridden if necessary.
12636 runpath_var
=LD_RUN_PATH
12637 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12638 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12639 # ancient GNU ld didn't support --whole-archive et. al.
12640 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12641 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12643 whole_archive_flag_spec_FC
=
12645 supports_anon_versioning
=no
12646 case `$LD -v 2>&1` in
12647 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12648 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12649 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12650 *\
2.11.
*) ;; # other 2.11 versions
12651 *) supports_anon_versioning
=yes ;;
12654 # See if GNU ld supports shared libraries.
12657 # On AIX/PPC, the GNU linker is very broken
12658 if test "$host_cpu" != ia64
; then
12662 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12663 *** to be unable to reliably create shared libraries on AIX.
12664 *** Therefore, libtool is disabling shared libraries support. If you
12665 *** really care for shared libraries, you may want to modify your PATH
12666 *** so that a non-GNU linker is found, and then restart.
12675 # see comment about AmigaOS4 .so support
12676 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12677 archive_expsym_cmds_FC
=''
12680 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)'
12681 hardcode_libdir_flag_spec_FC
='-L$libdir'
12682 hardcode_minus_L_FC
=yes
12688 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12689 allow_undefined_flag_FC
=unsupported
12690 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12691 # support --undefined. This deserves some investigation. FIXME
12692 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12698 cygwin
* | mingw
* | pw32
* | cegcc
*)
12699 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12700 # as there is no search path for DLLs.
12701 hardcode_libdir_flag_spec_FC
='-L$libdir'
12702 allow_undefined_flag_FC
=unsupported
12703 always_export_symbols_FC
=no
12704 enable_shared_with_static_runtimes_FC
=yes
12705 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12707 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12708 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12709 # If the export-symbols file already is a .def file (1st line
12710 # is EXPORTS), use it as is; otherwise, prepend...
12711 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12712 cp $export_symbols $output_objdir/$soname.def;
12714 echo EXPORTS > $output_objdir/$soname.def;
12715 cat $export_symbols >> $output_objdir/$soname.def;
12717 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12724 hardcode_direct_FC
=no
12725 hardcode_shlibpath_var_FC
=no
12726 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12727 export_dynamic_flag_spec_FC
='${wl}-E'
12728 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12729 # Instead, shared libraries are loaded at an image base (0x10000000 by
12730 # default) and relocated if they conflict, which is a slow very memory
12731 # consuming and fragmenting process. To avoid this, we pick a random,
12732 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12733 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12734 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'
12735 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'
12738 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12740 if test "$host_os" = linux-dietlibc
; then
12741 case $cc_basename in
12742 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12745 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12746 && test "$tmp_diet" = no
12749 tmp_sharedflag
='-shared'
12750 case $cc_basename,$host_cpu in
12751 pgcc
*) # Portland Group C compiler
12752 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12753 tmp_addflag
=' $pic_flag'
12755 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
12756 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12757 tmp_addflag
=' $pic_flag -Mnomain' ;;
12758 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12759 tmp_addflag
=' -i_dynamic' ;;
12760 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12761 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12762 ifc
* | ifort
*) # Intel Fortran compiler
12763 tmp_addflag
=' -nofor_main' ;;
12764 lf95
*) # Lahey Fortran 8.1
12765 whole_archive_flag_spec_FC
=
12766 tmp_sharedflag
='--shared' ;;
12767 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12768 tmp_sharedflag
='-qmkshrobj'
12771 case `$CC -V 2>&1 | sed 5q` in
12772 *Sun\ C
*) # Sun C 5.9
12773 whole_archive_flag_spec_FC
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12774 compiler_needs_object_FC
=yes
12775 tmp_sharedflag
='-G' ;;
12776 *Sun\ F
*) # Sun Fortran 8.3
12777 tmp_sharedflag
='-G' ;;
12779 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12781 if test "x$supports_anon_versioning" = xyes
; then
12782 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12783 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12784 echo "local: *; };" >> $output_objdir/$libname.ver~
12785 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12788 case $cc_basename in
12790 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12791 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12792 hardcode_libdir_flag_spec_FC
=
12793 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12794 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12795 if test "x$supports_anon_versioning" = xyes
; then
12796 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12797 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12798 echo "local: *; };" >> $output_objdir/$libname.ver~
12799 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12809 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12810 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12813 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12814 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12819 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12823 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12824 *** create shared libraries on Solaris systems. Therefore, libtool
12825 *** is disabling shared libraries support. We urge you to upgrade GNU
12826 *** binutils to release 2.9.1 or newer. Another option is to modify
12827 *** your PATH or compiler configuration so that the native linker is
12828 *** used, and then restart.
12831 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12832 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12833 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12839 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12840 case `$LD -v 2>&1` in
12841 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12845 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12846 *** reliably create shared libraries on SCO systems. Therefore, libtool
12847 *** is disabling shared libraries support. We urge you to upgrade GNU
12848 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12849 *** your PATH or compiler configuration so that the native linker is
12850 *** used, and then restart.
12855 # For security reasons, it is highly recommended that you always
12856 # use absolute paths for naming shared libraries, and exclude the
12857 # DT_RUNPATH tag from executables and libraries. But doing so
12858 # requires that you compile everything twice, which is a pain.
12859 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12860 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12861 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12871 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12873 hardcode_direct_FC
=yes
12874 hardcode_shlibpath_var_FC
=no
12878 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12879 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12880 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12887 if test "$ld_shlibs_FC" = no
; then
12889 hardcode_libdir_flag_spec_FC
=
12890 export_dynamic_flag_spec_FC
=
12891 whole_archive_flag_spec_FC
=
12894 # PORTME fill in a description of your system's linker (not GNU ld)
12897 allow_undefined_flag_FC
=unsupported
12898 always_export_symbols_FC
=yes
12899 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'
12900 # Note: this linker hardcodes the directories in LIBPATH if there
12901 # are no directories specified by -L.
12902 hardcode_minus_L_FC
=yes
12903 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12904 # Neither direct hardcoding nor static linking is supported with a
12906 hardcode_direct_FC
=unsupported
12911 if test "$host_cpu" = ia64
; then
12912 # On IA64, the linker does run time linking by default, so we don't
12913 # have to do anything special.
12914 aix_use_runtimelinking
=no
12915 exp_sym_flag
='-Bexport'
12918 # If we're using GNU nm, then we don't want the "-C" option.
12919 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12920 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12921 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12923 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'
12925 aix_use_runtimelinking
=no
12927 # Test if we are trying to use run time linking or normal
12928 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12929 # need to do runtime linking.
12930 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12931 for ld_flag
in $LDFLAGS; do
12932 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12933 aix_use_runtimelinking
=yes
12940 exp_sym_flag
='-bexport'
12941 no_entry_flag
='-bnoentry'
12944 # When large executables or shared objects are built, AIX ld can
12945 # have problems creating the table of contents. If linking a library
12946 # or program results in "error TOC overflow" add -mminimal-toc to
12947 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12948 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12951 hardcode_direct_FC
=yes
12952 hardcode_direct_absolute_FC
=yes
12953 hardcode_libdir_separator_FC
=':'
12954 link_all_deplibs_FC
=yes
12955 file_list_spec_FC
='${wl}-f,'
12957 if test "$GCC" = yes; then
12958 case $host_os in aix4.
[012]|aix4.
[012].
*)
12959 # We only want to do this on AIX 4.2 and lower, the check
12960 # below for broken collect2 doesn't work under 4.3+
12961 collect2name
=`${CC} -print-prog-name=collect2`
12962 if test -f "$collect2name" &&
12963 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12965 # We have reworked collect2
12968 # We have old collect2
12969 hardcode_direct_FC
=unsupported
12970 # It fails to find uninstalled libraries when the uninstalled
12971 # path is not listed in the libpath. Setting hardcode_minus_L
12972 # to unsupported forces relinking
12973 hardcode_minus_L_FC
=yes
12974 hardcode_libdir_flag_spec_FC
='-L$libdir'
12975 hardcode_libdir_separator_FC
=
12979 shared_flag
='-shared'
12980 if test "$aix_use_runtimelinking" = yes; then
12981 shared_flag
="$shared_flag "'${wl}-G'
12985 if test "$host_cpu" = ia64
; then
12986 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12987 # chokes on -Wl,-G. The following line is correct:
12990 if test "$aix_use_runtimelinking" = yes; then
12991 shared_flag
='${wl}-G'
12993 shared_flag
='${wl}-bM:SRE'
12998 export_dynamic_flag_spec_FC
='${wl}-bexpall'
12999 # It seems that -bexpall does not export symbols beginning with
13000 # underscore (_), so it is better to generate a list of symbols to export.
13001 always_export_symbols_FC
=yes
13002 if test "$aix_use_runtimelinking" = yes; then
13003 # Warning - without using the other runtime loading flags (-brtl),
13004 # -berok will link without error, but may produce a broken library.
13005 allow_undefined_flag_FC
='-berok'
13006 # Determine the default libpath from the value encoded in an
13007 # empty executable.
13008 cat > conftest.
$ac_ext <<_ACEOF
13013 if ac_fn_fc_try_link
"$LINENO"; then :
13015 lt_aix_libpath_sed
='
13016 /Import File Strings/,/^$/ {
13022 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13023 # Check for a 64-bit object if we didn't find anything.
13024 if test -z "$aix_libpath"; then
13025 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13028 rm -f core conftest.err conftest.
$ac_objext \
13029 conftest
$ac_exeext conftest.
$ac_ext
13030 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13032 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13033 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13035 if test "$host_cpu" = ia64
; then
13036 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13037 allow_undefined_flag_FC
="-z nodefs"
13038 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"
13040 # Determine the default libpath from the value encoded in an
13041 # empty executable.
13042 cat > conftest.
$ac_ext <<_ACEOF
13047 if ac_fn_fc_try_link
"$LINENO"; then :
13049 lt_aix_libpath_sed
='
13050 /Import File Strings/,/^$/ {
13056 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13057 # Check for a 64-bit object if we didn't find anything.
13058 if test -z "$aix_libpath"; then
13059 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13062 rm -f core conftest.err conftest.
$ac_objext \
13063 conftest
$ac_exeext conftest.
$ac_ext
13064 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13066 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13067 # Warning - without using the other run time loading flags,
13068 # -berok will link without error, but may produce a broken library.
13069 no_undefined_flag_FC
=' ${wl}-bernotok'
13070 allow_undefined_flag_FC
=' ${wl}-berok'
13071 # Exported symbols can be pulled into shared objects from archives
13072 whole_archive_flag_spec_FC
='$convenience'
13073 archive_cmds_need_lc_FC
=yes
13074 # This is similar to how AIX traditionally builds its shared libraries.
13075 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'
13083 # see comment about AmigaOS4 .so support
13084 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13085 archive_expsym_cmds_FC
=''
13088 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)'
13089 hardcode_libdir_flag_spec_FC
='-L$libdir'
13090 hardcode_minus_L_FC
=yes
13096 export_dynamic_flag_spec_FC
=-rdynamic
13099 cygwin
* | mingw
* | pw32
* | cegcc
*)
13100 # When not using gcc, we currently assume that we are using
13101 # Microsoft Visual C++.
13102 # hardcode_libdir_flag_spec is actually meaningless, as there is
13103 # no search path for DLLs.
13104 hardcode_libdir_flag_spec_FC
=' '
13105 allow_undefined_flag_FC
=unsupported
13106 # Tell ltmain to make .lib files, not .a files.
13108 # Tell ltmain to make .dll files, not .so files.
13110 # FIXME: Setting linknames here is a bad hack.
13111 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13112 # The linker will automatically build a .lib file if we build a DLL.
13113 old_archive_from_new_cmds_FC
='true'
13114 # FIXME: Should let the user specify the lib program.
13115 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13116 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13117 enable_shared_with_static_runtimes_FC
=yes
13120 darwin
* | rhapsody
*)
13123 archive_cmds_need_lc_FC
=no
13124 hardcode_direct_FC
=no
13125 hardcode_automatic_FC
=yes
13126 hardcode_shlibpath_var_FC
=unsupported
13127 whole_archive_flag_spec_FC
=''
13128 link_all_deplibs_FC
=yes
13129 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13130 case $cc_basename in
13131 ifort
*) _lt_dar_can_shared
=yes ;;
13132 *) _lt_dar_can_shared
=$GCC ;;
13134 if test "$_lt_dar_can_shared" = "yes"; then
13135 output_verbose_link_cmd
=echo
13136 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}"
13137 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13138 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}"
13139 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}"
13148 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13149 hardcode_libdir_flag_spec_FC
='-L$libdir'
13150 hardcode_shlibpath_var_FC
=no
13157 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13158 # support. Future versions do this automatically, but an explicit c++rt0.o
13159 # does not break anything, and helps significantly (at the cost of a little
13162 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13163 hardcode_libdir_flag_spec_FC
='-R$libdir'
13164 hardcode_direct_FC
=yes
13165 hardcode_shlibpath_var_FC
=no
13168 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13170 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13171 hardcode_direct_FC
=yes
13172 hardcode_minus_L_FC
=yes
13173 hardcode_shlibpath_var_FC
=no
13176 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13177 freebsd
* | dragonfly
*)
13178 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13179 hardcode_libdir_flag_spec_FC
='-R$libdir'
13180 hardcode_direct_FC
=yes
13181 hardcode_shlibpath_var_FC
=no
13185 if test "$GCC" = yes; then
13186 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'
13188 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'
13190 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13191 hardcode_libdir_separator_FC
=:
13192 hardcode_direct_FC
=yes
13194 # hardcode_minus_L: Not really in the search PATH,
13195 # but as the default location of the library.
13196 hardcode_minus_L_FC
=yes
13197 export_dynamic_flag_spec_FC
='${wl}-E'
13201 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13202 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13204 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13206 if test "$with_gnu_ld" = no
; then
13207 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13208 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13209 hardcode_libdir_separator_FC
=:
13210 hardcode_direct_FC
=yes
13211 hardcode_direct_absolute_FC
=yes
13212 export_dynamic_flag_spec_FC
='${wl}-E'
13213 # hardcode_minus_L: Not really in the search PATH,
13214 # but as the default location of the library.
13215 hardcode_minus_L_FC
=yes
13220 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13223 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13226 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13229 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13235 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13238 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13241 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13245 if test "$with_gnu_ld" = no
; then
13246 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13247 hardcode_libdir_separator_FC
=:
13251 hardcode_direct_FC
=no
13252 hardcode_shlibpath_var_FC
=no
13255 hardcode_direct_FC
=yes
13256 hardcode_direct_absolute_FC
=yes
13257 export_dynamic_flag_spec_FC
='${wl}-E'
13259 # hardcode_minus_L: Not really in the search PATH,
13260 # but as the default location of the library.
13261 hardcode_minus_L_FC
=yes
13267 irix5
* | irix6
* | nonstopux
*)
13268 if test "$GCC" = yes; then
13269 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13270 # Try to use the -exported_symbol ld option, if it does not
13271 # work, assume that -exports_file does not work either and
13272 # implicitly export all symbols.
13273 save_LDFLAGS
="$LDFLAGS"
13274 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13275 cat > conftest.
$ac_ext <<_ACEOF
13278 if ac_fn_fc_try_link
"$LINENO"; then :
13279 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13282 rm -f core conftest.err conftest.
$ac_objext \
13283 conftest
$ac_exeext conftest.
$ac_ext
13284 LDFLAGS
="$save_LDFLAGS"
13286 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13287 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13289 archive_cmds_need_lc_FC
='no'
13290 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13291 hardcode_libdir_separator_FC
=:
13292 inherit_rpath_FC
=yes
13293 link_all_deplibs_FC
=yes
13297 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13298 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13300 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13302 hardcode_libdir_flag_spec_FC
='-R$libdir'
13303 hardcode_direct_FC
=yes
13304 hardcode_shlibpath_var_FC
=no
13308 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13309 hardcode_direct_FC
=yes
13310 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13311 hardcode_libdir_separator_FC
=:
13312 hardcode_shlibpath_var_FC
=no
13319 if test -f /usr
/libexec
/ld.so
; then
13320 hardcode_direct_FC
=yes
13321 hardcode_shlibpath_var_FC
=no
13322 hardcode_direct_absolute_FC
=yes
13323 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13324 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13325 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13326 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13327 export_dynamic_flag_spec_FC
='${wl}-E'
13330 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13331 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13332 hardcode_libdir_flag_spec_FC
='-R$libdir'
13335 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13336 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13346 hardcode_libdir_flag_spec_FC
='-L$libdir'
13347 hardcode_minus_L_FC
=yes
13348 allow_undefined_flag_FC
=unsupported
13349 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'
13350 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13354 if test "$GCC" = yes; then
13355 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13356 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13358 allow_undefined_flag_FC
=' -expect_unresolved \*'
13359 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13361 archive_cmds_need_lc_FC
='no'
13362 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13363 hardcode_libdir_separator_FC
=:
13366 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13367 if test "$GCC" = yes; then
13368 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13369 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13370 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13372 allow_undefined_flag_FC
=' -expect_unresolved \*'
13373 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13374 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~
13375 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13377 # Both c and cxx compiler support -rpath directly
13378 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13380 archive_cmds_need_lc_FC
='no'
13381 hardcode_libdir_separator_FC
=:
13385 no_undefined_flag_FC
=' -z defs'
13386 if test "$GCC" = yes; then
13388 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13389 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13390 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13392 case `$CC -V 2>&1` in
13395 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13396 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13397 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13401 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13402 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13403 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13407 hardcode_libdir_flag_spec_FC
='-R$libdir'
13408 hardcode_shlibpath_var_FC
=no
13410 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13412 # The compiler driver will combine and reorder linker options,
13413 # but understands `-z linker_flag'. GCC discards it without `$wl',
13414 # but is careful enough not to reorder.
13415 # Supported since Solaris 2.6 (maybe 2.5.1?)
13416 if test "$GCC" = yes; then
13417 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13419 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13423 link_all_deplibs_FC
=yes
13427 if test "x$host_vendor" = xsequent
; then
13428 # Use $CC to link under sequent, because it throws in some extra .o
13429 # files that make .init and .fini sections work.
13430 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13432 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13434 hardcode_libdir_flag_spec_FC
='-L$libdir'
13435 hardcode_direct_FC
=yes
13436 hardcode_minus_L_FC
=yes
13437 hardcode_shlibpath_var_FC
=no
13441 case $host_vendor in
13443 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13444 hardcode_direct_FC
=yes # is this really true???
13447 ## LD is ld it makes a PLAMLIB
13448 ## CC just makes a GrossModule.
13449 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13450 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13451 hardcode_direct_FC
=no
13454 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13455 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13458 runpath_var
='LD_RUN_PATH'
13459 hardcode_shlibpath_var_FC
=no
13463 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13464 hardcode_shlibpath_var_FC
=no
13465 export_dynamic_flag_spec_FC
='-Bexport'
13469 if test -d /usr
/nec
; then
13470 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13471 hardcode_shlibpath_var_FC
=no
13472 runpath_var
=LD_RUN_PATH
13473 hardcode_runpath_var
=yes
13478 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13479 no_undefined_flag_FC
='${wl}-z,text'
13480 archive_cmds_need_lc_FC
=no
13481 hardcode_shlibpath_var_FC
=no
13482 runpath_var
='LD_RUN_PATH'
13484 if test "$GCC" = yes; then
13485 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13486 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13488 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13489 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13493 sysv5
* | sco3.2v5
* | sco5v6
*)
13494 # Note: We can NOT use -z defs as we might desire, because we do not
13495 # link with -lc, and that would cause any symbols used from libc to
13496 # always be unresolved, which means just about no library would
13497 # ever link correctly. If we're not using GNU ld we use -z text
13498 # though, which does catch some bad symbols but isn't as heavy-handed
13500 no_undefined_flag_FC
='${wl}-z,text'
13501 allow_undefined_flag_FC
='${wl}-z,nodefs'
13502 archive_cmds_need_lc_FC
=no
13503 hardcode_shlibpath_var_FC
=no
13504 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13505 hardcode_libdir_separator_FC
=':'
13506 link_all_deplibs_FC
=yes
13507 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13508 runpath_var
='LD_RUN_PATH'
13510 if test "$GCC" = yes; then
13511 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13512 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13514 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13515 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13520 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13521 hardcode_libdir_flag_spec_FC
='-L$libdir'
13522 hardcode_shlibpath_var_FC
=no
13530 if test x
$host_vendor = xsni
; then
13532 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13533 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13540 $as_echo "$ld_shlibs_FC" >&6; }
13541 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13543 with_gnu_ld_FC
=$with_gnu_ld
13551 # Do we need to explicitly link libc?
13553 case "x$archive_cmds_need_lc_FC" in
13555 # Assume -lc should be added
13556 archive_cmds_need_lc_FC
=yes
13558 if test "$enable_shared" = yes && test "$GCC" = yes; then
13559 case $archive_cmds_FC in
13561 # FIXME: we may have to deal with multi-command sequences.
13564 # Test whether the compiler implicitly links with -lc since on some
13565 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13566 # to ld, don't add -lc before -lgcc.
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13568 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13569 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13570 $as_echo_n "(cached) " >&6
13573 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13576 (eval $ac_compile) 2>&5
13578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13579 test $ac_status = 0; } 2>conftest.err
; then
13582 libobjs
=conftest.
$ac_objext
13584 wl
=$lt_prog_compiler_wl_FC
13585 pic_flag
=$lt_prog_compiler_pic_FC
13591 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13592 allow_undefined_flag_FC
=
13593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13594 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13597 test $ac_status = 0; }
13599 lt_cv_archive_cmds_need_lc_FC
=no
13601 lt_cv_archive_cmds_need_lc_FC
=yes
13603 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13605 cat conftest.err
1>&5
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13611 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13612 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13683 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13685 library_names_spec
=
13686 libname_spec
='lib$name'
13690 postuninstall_cmds
=
13694 shlibpath_overrides_runpath
=unknown
13696 dynamic_linker
="$host_os ld.so"
13697 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13698 need_lib_prefix
=unknown
13699 hardcode_into_libs
=no
13701 # when you set need_version to no, make sure it does not cause -set_version
13702 # flags to be left without arguments
13703 need_version
=unknown
13708 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13709 shlibpath_var
=LIBPATH
13711 # AIX 3 has no versioning support, so we append a major version to the name.
13712 soname_spec
='${libname}${release}${shared_ext}$major'
13719 hardcode_into_libs
=yes
13720 if test "$host_cpu" = ia64
; then
13721 # AIX 5 supports IA64
13722 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13723 shlibpath_var
=LD_LIBRARY_PATH
13725 # With GCC up to 2.95.x, collect2 would create an import file
13726 # for dependence libraries. The import file would start with
13727 # the line `#! .'. This would cause the generated library to
13728 # depend on `.', always an invalid library. This was fixed in
13729 # development snapshots of GCC prior to 3.0.
13731 aix4 | aix4.
[01] | aix4.
[01].
*)
13732 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13734 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13737 can_build_shared
=no
13741 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13742 # soname into executable. Probably we can add versioning support to
13743 # collect2, so additional links can be useful in future.
13744 if test "$aix_use_runtimelinking" = yes; then
13745 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13746 # instead of lib<name>.a to let people know that these are not
13747 # typical AIX shared libraries.
13748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13750 # We preserve .a as extension for shared libraries through AIX4.2
13751 # and later when we are not doing run time linking.
13752 library_names_spec
='${libname}${release}.a $libname.a'
13753 soname_spec
='${libname}${release}${shared_ext}$major'
13755 shlibpath_var
=LIBPATH
13762 # Since July 2007 AmigaOS4 officially supports .so libraries.
13763 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13767 library_names_spec
='$libname.ixlibrary $libname.a'
13768 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13769 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
13775 library_names_spec
='${libname}${shared_ext}'
13776 dynamic_linker
="$host_os ld.so"
13777 shlibpath_var
=LIBRARY_PATH
13783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784 soname_spec
='${libname}${release}${shared_ext}$major'
13785 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13786 shlibpath_var
=LD_LIBRARY_PATH
13787 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13788 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13789 # the default ld.so.conf also contains /usr/contrib/lib and
13790 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13791 # libtool to hard-code these into programs
13794 cygwin
* | mingw
* | pw32
* | cegcc
*)
13795 version_type
=windows
13800 case $GCC,$host_os in
13801 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13802 library_names_spec
='$libname.dll.a'
13803 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13804 postinstall_cmds
='base_file=`basename \${file}`~
13805 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13806 dldir=$destdir/`dirname \$dlpath`~
13807 test -d \$dldir || mkdir -p \$dldir~
13808 $install_prog $dir/$dlname \$dldir/$dlname~
13809 chmod a+x \$dldir/$dlname~
13810 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13811 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13813 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13814 dlpath=$dir/\$dldll~
13816 shlibpath_overrides_runpath
=yes
13820 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13821 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13822 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13825 # MinGW DLLs use traditional 'lib' prefix
13826 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13827 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13828 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13829 # It is most probably a Windows format PATH printed by
13830 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13831 # path with ; separators, and with drive letters. We can handle the
13832 # drive letters (cygwin fileutils understands them), so leave them,
13833 # especially as we might pass files found there to a mingw objdump,
13834 # which wouldn't understand a cygwinified path. Ahh.
13835 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13837 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13841 # pw32 DLLs use 'pw' prefix rather than 'lib'
13842 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13848 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13851 dynamic_linker
='Win32 ld.exe'
13852 # FIXME: first we should search . and the directory the executable is in
13856 darwin
* | rhapsody
*)
13857 dynamic_linker
="$host_os dyld"
13858 version_type
=darwin
13861 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13862 soname_spec
='${libname}${release}${major}$shared_ext'
13863 shlibpath_overrides_runpath
=yes
13864 shlibpath_var
=DYLD_LIBRARY_PATH
13865 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13867 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13875 soname_spec
='${libname}${release}${shared_ext}$major'
13876 shlibpath_var
=LD_LIBRARY_PATH
13883 freebsd
* | dragonfly
*)
13884 # DragonFly does not have aout. When/if they implement a new
13885 # versioning mechanism, adjust this.
13886 if test -x /usr
/bin
/objformat
; then
13887 objformat
=`/usr/bin/objformat`
13890 freebsd
[123]*) objformat
=aout
;;
13891 *) objformat
=elf
;;
13894 version_type
=freebsd-
$objformat
13895 case $version_type in
13897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13902 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13906 shlibpath_var
=LD_LIBRARY_PATH
13909 shlibpath_overrides_runpath
=yes
13911 freebsd3.
[01]* | freebsdelf3.
[01]*)
13912 shlibpath_overrides_runpath
=yes
13913 hardcode_into_libs
=yes
13915 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13916 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13917 shlibpath_overrides_runpath
=no
13918 hardcode_into_libs
=yes
13920 *) # from 4.6 on, and DragonFly
13921 shlibpath_overrides_runpath
=yes
13922 hardcode_into_libs
=yes
13931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13932 soname_spec
='${libname}${release}${shared_ext}$major'
13933 shlibpath_var
=LD_LIBRARY_PATH
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'
13987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13988 soname_spec
='${libname}${release}${shared_ext}$major'
13989 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13990 shlibpath_var
=LD_LIBRARY_PATH
13991 shlibpath_overrides_runpath
=no
13992 hardcode_into_libs
=yes
13995 irix5
* | irix6
* | nonstopux
*)
13997 nonstopux
*) version_type
=nonstopux
;;
13999 if test "$lt_cv_prog_gnu_ld" = yes; then
14007 soname_spec
='${libname}${release}${shared_ext}$major'
14008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14010 irix5
* | nonstopux
*)
14011 libsuff
= shlibsuff
=
14014 case $LD in # libtool.m4 will add one of these switches to LD
14015 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14016 libsuff
= shlibsuff
= libmagic
=32-bit;;
14017 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14018 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14019 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14020 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14021 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14025 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14026 shlibpath_overrides_runpath
=no
14027 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14028 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14029 hardcode_into_libs
=yes
14032 # No shared lib support for Linux oldld, aout, or coff.
14033 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14037 # This must be Linux ELF.
14038 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14043 soname_spec
='${libname}${release}${shared_ext}$major'
14044 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14045 shlibpath_var
=LD_LIBRARY_PATH
14046 shlibpath_overrides_runpath
=no
14048 # Some binutils ld are patched to set DT_RUNPATH
14049 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14050 $as_echo_n "(cached) " >&6
14052 lt_cv_shlibpath_overrides_runpath
=no
14053 save_LDFLAGS
=$LDFLAGS
14054 save_libdir
=$libdir
14055 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14056 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14057 cat > conftest.
$ac_ext <<_ACEOF
14062 if ac_fn_fc_try_link
"$LINENO"; then :
14063 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14064 lt_cv_shlibpath_overrides_runpath
=yes
14067 rm -f core conftest.err conftest.
$ac_objext \
14068 conftest
$ac_exeext conftest.
$ac_ext
14069 LDFLAGS
=$save_LDFLAGS
14070 libdir
=$save_libdir
14074 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14076 # This implies no fast_install, which is unacceptable.
14077 # Some rework will be needed to allow for fast_install
14078 # before this can be enabled.
14079 hardcode_into_libs
=yes
14081 # Append ld.so.conf contents to the search path
14082 if test -f /etc
/ld.so.conf
; then
14083 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;/^$/d' | tr '\n' ' '`
14084 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14087 # We used to test for /lib/ld.so.1 and disable shared libraries on
14088 # powerpc, because MkLinux only supported shared libraries with the
14089 # GNU dynamic linker. Since this was broken with cross compilers,
14090 # most powerpc-linux boxes support dynamic linking these days and
14091 # people can always --disable-shared, the test was removed, and we
14092 # assume the GNU/Linux dynamic linker is in use.
14093 dynamic_linker
='GNU/Linux ld.so'
14100 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14103 dynamic_linker
='NetBSD (a.out) ld.so'
14105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14106 soname_spec
='${libname}${release}${shared_ext}$major'
14107 dynamic_linker
='NetBSD ld.elf_so'
14109 shlibpath_var
=LD_LIBRARY_PATH
14110 shlibpath_overrides_runpath
=yes
14111 hardcode_into_libs
=yes
14116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14117 shlibpath_var
=LD_LIBRARY_PATH
14118 shlibpath_overrides_runpath
=yes
14125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14126 soname_spec
='${libname}${release}${shared_ext}$major'
14127 shlibpath_var
=LD_LIBRARY_PATH
14128 shlibpath_overrides_runpath
=no
14129 hardcode_into_libs
=yes
14130 dynamic_linker
='ldqnx.so'
14135 sys_lib_dlsearch_path_spec
="/usr/lib"
14137 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14139 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14140 *) need_version
=no
;;
14142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14143 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14144 shlibpath_var
=LD_LIBRARY_PATH
14145 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14147 openbsd2.
[89] | openbsd2.
[89].
*)
14148 shlibpath_overrides_runpath
=no
14151 shlibpath_overrides_runpath
=yes
14155 shlibpath_overrides_runpath
=yes
14160 libname_spec
='$name'
14163 library_names_spec
='$libname${shared_ext} $libname.a'
14164 dynamic_linker
='OS/2 ld.exe'
14165 shlibpath_var
=LIBPATH
14168 osf3
* | osf4
* | osf5
*)
14172 soname_spec
='${libname}${release}${shared_ext}$major'
14173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14174 shlibpath_var
=LD_LIBRARY_PATH
14175 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14176 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14188 soname_spec
='${libname}${release}${shared_ext}$major'
14189 shlibpath_var
=LD_LIBRARY_PATH
14190 shlibpath_overrides_runpath
=yes
14191 hardcode_into_libs
=yes
14192 # ldd complains unless libraries are executable
14193 postinstall_cmds
='chmod +x $lib'
14198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14199 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14200 shlibpath_var
=LD_LIBRARY_PATH
14201 shlibpath_overrides_runpath
=yes
14202 if test "$with_gnu_ld" = yes; then
14210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 soname_spec
='${libname}${release}${shared_ext}$major'
14212 shlibpath_var
=LD_LIBRARY_PATH
14213 case $host_vendor in
14215 shlibpath_overrides_runpath
=no
14217 runpath_var
=LD_RUN_PATH
14225 shlibpath_overrides_runpath
=no
14226 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14232 if test -d /usr
/nec
;then
14234 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14235 soname_spec
='$libname${shared_ext}.$major'
14236 shlibpath_var
=LD_LIBRARY_PATH
14240 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14241 version_type
=freebsd-elf
14244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14245 soname_spec
='${libname}${release}${shared_ext}$major'
14246 shlibpath_var
=LD_LIBRARY_PATH
14247 shlibpath_overrides_runpath
=yes
14248 hardcode_into_libs
=yes
14249 if test "$with_gnu_ld" = yes; then
14250 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14252 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14255 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14259 sys_lib_dlsearch_path_spec
='/usr/lib'
14263 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14268 shlibpath_var
=LD_LIBRARY_PATH
14269 shlibpath_overrides_runpath
=no
14270 hardcode_into_libs
=yes
14275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14276 soname_spec
='${libname}${release}${shared_ext}$major'
14277 shlibpath_var
=LD_LIBRARY_PATH
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14285 $as_echo "$dynamic_linker" >&6; }
14286 test "$dynamic_linker" = no
&& can_build_shared
=no
14288 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14289 if test "$GCC" = yes; then
14290 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14293 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14294 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14296 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14297 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14336 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14337 hardcode_action_FC
=
14338 if test -n "$hardcode_libdir_flag_spec_FC" ||
14339 test -n "$runpath_var_FC" ||
14340 test "X$hardcode_automatic_FC" = "Xyes" ; then
14342 # We can hardcode non-existent directories.
14343 if test "$hardcode_direct_FC" != no
&&
14344 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14345 # have to relink, otherwise we might link with an installed library
14346 # when we should be linking with a yet-to-be-installed one
14347 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14348 test "$hardcode_minus_L_FC" != no
; then
14349 # Linking always hardcodes the temporary library directory.
14350 hardcode_action_FC
=relink
14352 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14353 hardcode_action_FC
=immediate
14356 # We cannot hardcode anything, or else we can only hardcode existing
14358 hardcode_action_FC
=unsupported
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14361 $as_echo "$hardcode_action_FC" >&6; }
14363 if test "$hardcode_action_FC" = relink ||
14364 test "$inherit_rpath_FC" = yes; then
14365 # Fast installation is not supported
14366 enable_fast_install
=no
14367 elif test "$shlibpath_overrides_runpath" = yes ||
14368 test "$enable_shared" = no
; then
14369 # Fast installation is not necessary
14370 enable_fast_install
=needless
14379 fi # test -n "$compiler"
14383 fi # test "$_lt_disable_FC" != yes
14386 ac_cpp
='$CPP $CPPFLAGS'
14387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14392 FCFLAGS
="$FCFLAGS -Wall"
14394 # For libtool versioning info, format is CURRENT:REVISION:AGE
14395 libtool_VERSION
=1:0:0
14398 # Check header files.
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14400 $as_echo_n "checking for ANSI C header files... " >&6; }
14401 if test "${ac_cv_header_stdc+set}" = set; then :
14402 $as_echo_n "(cached) " >&6
14404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 #include <stdlib.h>
14407 #include <stdarg.h>
14408 #include <string.h>
14419 if ac_fn_c_try_compile
"$LINENO"; then :
14420 ac_cv_header_stdc
=yes
14422 ac_cv_header_stdc
=no
14424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14426 if test $ac_cv_header_stdc = yes; then
14427 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14430 #include <string.h>
14433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14434 $EGREP "memchr" >/dev
/null
2>&1; then :
14437 ac_cv_header_stdc
=no
14443 if test $ac_cv_header_stdc = yes; then
14444 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 #include <stdlib.h>
14450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14451 $EGREP "free" >/dev
/null
2>&1; then :
14454 ac_cv_header_stdc
=no
14460 if test $ac_cv_header_stdc = yes; then
14461 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14462 if test "$cross_compiling" = yes; then :
14465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14468 #include <stdlib.h>
14469 #if ((' ' & 0x0FF) == 0x020)
14470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14471 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14473 # define ISLOWER(c) \
14474 (('a' <= (c) && (c) <= 'i') \
14475 || ('j' <= (c) && (c) <= 'r') \
14476 || ('s' <= (c) && (c) <= 'z'))
14477 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14485 for (i = 0; i < 256; i++)
14486 if (XOR (islower (i), ISLOWER (i))
14487 || toupper (i) != TOUPPER (i))
14492 if ac_fn_c_try_run
"$LINENO"; then :
14495 ac_cv_header_stdc
=no
14497 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14498 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14504 $as_echo "$ac_cv_header_stdc" >&6; }
14505 if test $ac_cv_header_stdc = yes; then
14507 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14512 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14513 if test "${ac_cv_header_time+set}" = set; then :
14514 $as_echo_n "(cached) " >&6
14516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 #include <sys/types.h>
14519 #include <sys/time.h>
14525 if ((struct tm *) 0)
14531 if ac_fn_c_try_compile
"$LINENO"; then :
14532 ac_cv_header_time
=yes
14534 ac_cv_header_time
=no
14536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14539 $as_echo "$ac_cv_header_time" >&6; }
14540 if test $ac_cv_header_time = yes; then
14542 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14547 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14548 if test "${gcc_cv_header_string+set}" = set; then :
14549 $as_echo_n "(cached) " >&6
14551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 #include <string.h>
14554 #include <strings.h>
14563 if ac_fn_c_try_compile
"$LINENO"; then :
14564 gcc_cv_header_string
=yes
14566 gcc_cv_header_string
=no
14568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14571 $as_echo "$gcc_cv_header_string" >&6; }
14572 if test $gcc_cv_header_string = yes; then
14574 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14578 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h sys
/time.h
14580 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14581 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14582 eval as_val
=\$
$as_ac_Header
14583 if test "x$as_val" = x
""yes; then :
14584 cat >>confdefs.h
<<_ACEOF
14585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14595 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14597 acx_cv_header_stdint
=stddef.h
14598 acx_cv_header_stdint_kind
="(already complete)"
14599 for i
in stdint.h
$inttype_headers; do
14600 unset ac_cv_type_uintptr_t
14601 unset ac_cv_type_uintmax_t
14602 unset ac_cv_type_int_least32_t
14603 unset ac_cv_type_int_fast32_t
14604 unset ac_cv_type_uint64_t
14605 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
14606 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
14609 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
14610 acx_cv_header_stdint
=$i
14615 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14618 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14621 acx_cv_header_stdint_kind
="(mostly complete)"
14624 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
14627 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
14630 acx_cv_header_stdint_kind
="(mostly complete)"
14633 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
14636 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
14639 acx_cv_header_stdint_kind
="(mostly complete)"
14642 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14645 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14648 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14653 if test "$acx_cv_header_stdint" = stddef.h
; then
14654 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14655 for i
in stdint.h
$inttype_headers; do
14656 unset ac_cv_type_uintptr_t
14657 unset ac_cv_type_uint32_t
14658 unset ac_cv_type_uint64_t
14659 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
14660 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
14663 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
14664 acx_cv_header_stdint
=$i
14669 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14672 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14676 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14679 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14686 if test "$acx_cv_header_stdint" = stddef.h
; then
14687 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14688 for i
in sys
/types.h
$inttype_headers; do
14689 unset ac_cv_type_u_int32_t
14690 unset ac_cv_type_u_int64_t
14691 $as_echo_n "looking for u_intXX_t types in $i, " >&6
14692 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
14695 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
14696 acx_cv_header_stdint
=$i
14701 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
14704 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
14711 if test "$acx_cv_header_stdint" = stddef.h
; then
14712 acx_cv_header_stdint_kind
="(using manual detection)"
14715 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14716 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14717 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14718 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14719 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14721 # ----------------- Summarize what we found so far
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
14724 $as_echo_n "checking what to include in gstdint.h... " >&6; }
14726 case `$as_basename -- gstdint.h ||
14727 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14728 Xgstdint.h : 'X\(//\)$' \| \
14729 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
14730 $as_echo X/gstdint.h |
14731 sed '/^.*\/\([^/][^/]*\)\/*$/{
14744 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14745 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14746 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14747 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14752 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
14754 # ----------------- done included file, check C basic types --------
14756 # Lacking an uintptr_t? Test size of void *
14757 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14758 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
14759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14761 # This bug is HP SR number 8606223364.
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14763 $as_echo_n "checking size of void *... " >&6; }
14764 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14765 $as_echo_n "(cached) " >&6
14767 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14770 if test "$ac_cv_type_void_p" = yes; then
14771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14773 { as_fn_set_status
77
14774 as_fn_error
"cannot compute sizeof (void *)
14775 See \`config.log' for more details." "$LINENO" 5; }; }
14777 ac_cv_sizeof_void_p
=0
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14783 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14787 cat >>confdefs.h
<<_ACEOF
14788 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14794 # Lacking an uint64_t? Test size of long
14795 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14796 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
14797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14799 # This bug is HP SR number 8606223364.
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14801 $as_echo_n "checking size of long... " >&6; }
14802 if test "${ac_cv_sizeof_long+set}" = set; then :
14803 $as_echo_n "(cached) " >&6
14805 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14808 if test "$ac_cv_type_long" = yes; then
14809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14811 { as_fn_set_status
77
14812 as_fn_error
"cannot compute sizeof (long)
14813 See \`config.log' for more details." "$LINENO" 5; }; }
14815 ac_cv_sizeof_long
=0
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14821 $as_echo "$ac_cv_sizeof_long" >&6; }
14825 cat >>confdefs.h
<<_ACEOF
14826 #define SIZEOF_LONG $ac_cv_sizeof_long
14832 if test $acx_cv_header_stdint = stddef.h
; then
14833 # Lacking a good header? Test size of everything and deduce all types.
14834 # The cast to long int works around a bug in the HP C Compiler
14835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14837 # This bug is HP SR number 8606223364.
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14839 $as_echo_n "checking size of int... " >&6; }
14840 if test "${ac_cv_sizeof_int+set}" = set; then :
14841 $as_echo_n "(cached) " >&6
14843 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14846 if test "$ac_cv_type_int" = yes; then
14847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14849 { as_fn_set_status
77
14850 as_fn_error
"cannot compute sizeof (int)
14851 See \`config.log' for more details." "$LINENO" 5; }; }
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14859 $as_echo "$ac_cv_sizeof_int" >&6; }
14863 cat >>confdefs.h
<<_ACEOF
14864 #define SIZEOF_INT $ac_cv_sizeof_int
14868 # The cast to long int works around a bug in the HP C Compiler
14869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14871 # This bug is HP SR number 8606223364.
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14873 $as_echo_n "checking size of short... " >&6; }
14874 if test "${ac_cv_sizeof_short+set}" = set; then :
14875 $as_echo_n "(cached) " >&6
14877 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
14880 if test "$ac_cv_type_short" = yes; then
14881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14883 { as_fn_set_status
77
14884 as_fn_error
"cannot compute sizeof (short)
14885 See \`config.log' for more details." "$LINENO" 5; }; }
14887 ac_cv_sizeof_short
=0
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14893 $as_echo "$ac_cv_sizeof_short" >&6; }
14897 cat >>confdefs.h
<<_ACEOF
14898 #define SIZEOF_SHORT $ac_cv_sizeof_short
14902 # The cast to long int works around a bug in the HP C Compiler
14903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14905 # This bug is HP SR number 8606223364.
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
14907 $as_echo_n "checking size of char... " >&6; }
14908 if test "${ac_cv_sizeof_char+set}" = set; then :
14909 $as_echo_n "(cached) " >&6
14911 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
14914 if test "$ac_cv_type_char" = yes; then
14915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14917 { as_fn_set_status
77
14918 as_fn_error
"cannot compute sizeof (char)
14919 See \`config.log' for more details." "$LINENO" 5; }; }
14921 ac_cv_sizeof_char
=0
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
14927 $as_echo "$ac_cv_sizeof_char" >&6; }
14931 cat >>confdefs.h
<<_ACEOF
14932 #define SIZEOF_CHAR $ac_cv_sizeof_char
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
14938 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
14939 case "$ac_cv_sizeof_char" in
14940 1) acx_cv_type_int8_t
=char
;;
14941 *) { as_fn_set_status please report a bug
14942 as_fn_error
"no 8-bit type" "$LINENO" 5; }
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
14945 $as_echo "$acx_cv_type_int8_t" >&6; }
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
14948 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
14949 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14950 2:*) acx_cv_type_int16_t
=int
;;
14951 *:2) acx_cv_type_int16_t
=short
;;
14952 *) { as_fn_set_status please report a bug
14953 as_fn_error
"no 16-bit type" "$LINENO" 5; }
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
14956 $as_echo "$acx_cv_type_int16_t" >&6; }
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
14959 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
14960 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14961 4:*) acx_cv_type_int32_t
=int
;;
14962 *:4) acx_cv_type_int32_t
=long
;;
14963 *) { as_fn_set_status please report a bug
14964 as_fn_error
"no 32-bit type" "$LINENO" 5; }
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
14967 $as_echo "$acx_cv_type_int32_t" >&6; }
14970 # These tests are here to make the output prettier
14972 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14973 case "$ac_cv_sizeof_long" in
14974 8) acx_cv_type_int64_t
=long
;;
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
14977 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14979 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
14982 # Now we can use the above types
14984 if test "$ac_cv_type_uintptr_t" != yes; then
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
14986 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
14987 case $ac_cv_sizeof_void_p in
14988 2) acx_cv_type_intptr_t
=int16_t
;;
14989 4) acx_cv_type_intptr_t
=int32_t
;;
14990 8) acx_cv_type_intptr_t
=int64_t
;;
14991 *) { as_fn_set_status please report a bug
14992 as_fn_error
"no equivalent for intptr_t" "$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 *a_in_other_thread;
15403 thread_func (void *arg)
15405 a_in_other_thread = &a;
15412 void *thread_retval;
15413 int *a_in_main_thread;
15414 if (pthread_create (&thread, (pthread_attr_t *)0,
15415 thread_func, (void *)0))
15417 a_in_main_thread = &a;
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
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...
15788 # FIXME The following test is too strict, in theory.
15789 if test $enable_shared = no ||
15791 test x
$libgomp_gnu_ld_version = x
; then
15795 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
15796 if test $enable_symvers != no
; then
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
15798 $as_echo_n "checking for shared libgcc... " >&6; }
15799 ac_save_CFLAGS
="$CFLAGS"
15801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15812 if ac_fn_c_try_link
"$LINENO"; then :
15813 libgomp_shared_libgcc
=yes
15815 libgomp_shared_libgcc
=no
15817 rm -f core conftest.err conftest.
$ac_objext \
15818 conftest
$ac_exeext conftest.
$ac_ext
15819 CFLAGS
="$ac_save_CFLAGS"
15820 if test $libgomp_shared_libgcc = no
; then
15821 cat > conftest.c
<<EOF
15822 int main (void) { return 0; }
15824 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
15825 -shared -shared-libgcc -o conftest.so \
15826 conftest.c -v 2>&1 >/dev/null \
15827 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
15828 rm -f conftest.c conftest.so
15829 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
15830 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
15831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15842 if ac_fn_c_try_link
"$LINENO"; then :
15843 libgomp_shared_libgcc
=yes
15845 rm -f core conftest.err conftest.
$ac_objext \
15846 conftest
$ac_exeext conftest.
$ac_ext
15847 CFLAGS
="$ac_save_CFLAGS"
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
15851 $as_echo "$libgomp_shared_libgcc" >&6; }
15854 # For GNU ld, we need at least this version. The format is described in
15855 # LIBGOMP_CHECK_LINKER_FEATURES above.
15856 libgomp_min_gnu_ld_version
=21400
15857 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
15859 # Check to see if unspecified "yes" value can win, given results above.
15860 # Change "yes" into either "no" or a style name.
15861 if test $enable_symvers = yes; then
15862 if test $with_gnu_ld = yes &&
15863 test $libgomp_shared_libgcc = yes;
15865 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
15867 elif test $libgomp_ld_is_gold = yes ; then
15870 # The right tools, the right setup, but too old. Fallbacks?
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
15872 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
15874 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
15876 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
15878 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
15879 if test $libgomp_gnu_ld_version -ge 21200 ; then
15880 # Globbing fix is present, proper block support is not.
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15882 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15887 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15892 # just fail for now
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
15894 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
15896 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
15898 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15900 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
15906 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
15907 if test "${libgomp_cv_have_as_symver_directive+set}" = set; then :
15908 $as_echo_n "(cached) " >&6
15911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 void foo (void); __asm (".symver foo, bar@SYMVER");
15922 if ac_fn_c_try_compile
"$LINENO"; then :
15923 libgomp_cv_have_as_symver_directive
=yes
15925 libgomp_cv_have_as_symver_directive
=no
15927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
15930 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
15931 if test $libgomp_cv_have_as_symver_directive = yes; then
15933 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
15937 if test $enable_symvers != no
; then
15938 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
15939 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
15941 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
15942 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
15946 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
15949 if test $enable_symvers = gnu
; then
15951 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
15955 # Get target configury.
15956 .
${srcdir}/configure.tgt
15957 CFLAGS
="$save_CFLAGS $XCFLAGS"
15959 # Check for __sync_val_compare_and_swap, but only after the target has
15960 # had a chance to set XCFLAGS.
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
15963 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
15964 if test "${libgomp_cv_have_sync_builtins+set}" = set; then :
15965 $as_echo_n "(cached) " >&6
15968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15974 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
15979 if ac_fn_c_try_link
"$LINENO"; then :
15980 libgomp_cv_have_sync_builtins
=yes
15982 libgomp_cv_have_sync_builtins
=no
15984 rm -f core conftest.err conftest.
$ac_objext \
15985 conftest
$ac_exeext conftest.
$ac_ext
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
15988 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
15989 if test $libgomp_cv_have_sync_builtins = yes; then
15991 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
15995 XCFLAGS
="$XCFLAGS$XPCFLAGS"
16001 # Cleanup and exit.
16002 CFLAGS
="$save_CFLAGS"
16003 cat >confcache
<<\_ACEOF
16004 # This file is a shell script that caches the results of configure
16005 # tests run on this system so they can be shared between configure
16006 # scripts and configure runs, see configure's option --config-cache.
16007 # It is not useful on other systems. If it contains results you don't
16008 # want to keep, you may remove or edit it.
16010 # config.status only pays attention to the cache file if you give it
16011 # the --recheck option to rerun configure.
16013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16015 # following values.
16019 # The following way of writing the cache mishandles newlines in values,
16020 # but we know of no workaround that is simple, portable, and efficient.
16021 # So, we kill variables containing newlines.
16022 # Ultrix sh set writes to stderr and can't be redirected directly,
16023 # and sets the high bit in the cache file unless we assign to the vars.
16025 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16026 eval ac_val
=\$
$ac_var
16030 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16034 _ | IFS | as_nl
) ;; #(
16035 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16036 *) { eval $ac_var=; unset $ac_var;} ;;
16042 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16043 *${as_nl}ac_space
=\
*)
16044 # `set' does not quote correctly, so add quotes: double-quote
16045 # substitution turns \\\\ into \\, and sed turns \\ into \.
16048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16051 # `set' quotes correctly as required by POSIX, so do not add quotes.
16052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16063 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16065 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16066 if test -w "$cache_file"; then
16067 test "x$cache_file" != "x/dev/null" &&
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16069 $as_echo "$as_me: updating cache $cache_file" >&6;}
16070 cat confcache
>$cache_file
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16073 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16078 if test ${multilib} = yes; then
16079 multilib_arg
="--enable-multilib"
16084 # Set up the set of libraries that we need to link against for libgomp.
16085 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
16086 # which will force linkage against -lpthread (or equivalent for the system).
16087 # That's not 100% ideal, but about the best we can do easily.
16088 if test $enable_shared = yes; then
16089 link_gomp
="-lgomp %{static: $LIBS}"
16091 link_gomp
="-lgomp $LIBS"
16095 if test "$ac_cv_fc_compiler_gnu" = yes; then
16097 USE_FORTRAN_FALSE
='#'
16099 USE_FORTRAN_TRUE
='#'
16104 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
16105 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
16106 # the underscore here and update the PREREQ. If it doesn't, then we'll
16107 # need to copy this macro to our acinclude.m4.
16108 save_CFLAGS
="$CFLAGS"
16109 for i
in $config_path; do
16110 if test -f $srcdir/config
/$i/omp-lock.h
; then
16111 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
16116 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE" ""; then :
16119 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
16123 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN" ""; then :
16128 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE" ""; then :
16133 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN" ""; then :
16138 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE" ""; then :
16141 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
16145 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN" ""; then :
16150 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE" ""; then :
16155 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN" ""; then :
16161 # If the lock fits in an integer, then arrange for Fortran to use that
16162 # integer. If it doesn't, then arrange for Fortran to use a pointer.
16163 # Except that we don't have a way at present to multi-lib the installed
16164 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
16166 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
16167 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
16168 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
16171 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
16172 OMP_NEST_LOCK_KIND
=8
16174 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
16175 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
16176 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
16179 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
16180 OMP_NEST_LOCK_25_KIND
=8
16195 CFLAGS
="$save_CFLAGS"
16197 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
16199 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
16201 cat >confcache
<<\_ACEOF
16202 # This file is a shell script that caches the results of configure
16203 # tests run on this system so they can be shared between configure
16204 # scripts and configure runs, see configure's option --config-cache.
16205 # It is not useful on other systems. If it contains results you don't
16206 # want to keep, you may remove or edit it.
16208 # config.status only pays attention to the cache file if you give it
16209 # the --recheck option to rerun configure.
16211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16213 # following values.
16217 # The following way of writing the cache mishandles newlines in values,
16218 # but we know of no workaround that is simple, portable, and efficient.
16219 # So, we kill variables containing newlines.
16220 # Ultrix sh set writes to stderr and can't be redirected directly,
16221 # and sets the high bit in the cache file unless we assign to the vars.
16223 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16224 eval ac_val
=\$
$ac_var
16228 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16229 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16232 _ | IFS | as_nl
) ;; #(
16233 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16234 *) { eval $ac_var=; unset $ac_var;} ;;
16240 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16241 *${as_nl}ac_space
=\
*)
16242 # `set' does not quote correctly, so add quotes: double-quote
16243 # substitution turns \\\\ into \\, and sed turns \\ into \.
16246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16249 # `set' quotes correctly as required by POSIX, so do not add quotes.
16250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16261 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16263 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16264 if test -w "$cache_file"; then
16265 test "x$cache_file" != "x/dev/null" &&
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16267 $as_echo "$as_me: updating cache $cache_file" >&6;}
16268 cat confcache
>$cache_file
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16271 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16276 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16277 # Let make expand exec_prefix.
16278 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16280 DEFS
=-DHAVE_CONFIG_H
16284 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16285 # 1. Remove the extension, and $U if already installed.
16286 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16287 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16289 # will be set to the directory where LIBOBJS objects are built.
16290 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16291 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16293 LIBOBJS
=$ac_libobjs
16295 LTLIBOBJS
=$ac_ltlibobjs
16298 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
16299 as_fn_error
"conditional \"GENINSRC\" was never defined.
16300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16302 if test -n "$EXEEXT"; then
16304 am__EXEEXT_FALSE
='#'
16306 am__EXEEXT_TRUE
='#'
16310 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16311 as_fn_error
"conditional \"AMDEP\" was never defined.
16312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16314 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16315 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16318 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
16319 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
16320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16322 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16323 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16326 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
16327 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
16328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16330 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
16331 as_fn_error
"conditional \"USE_FORTRAN\" was never defined.
16332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16335 : ${CONFIG_STATUS=./config.status}
16337 ac_clean_files_save
=$ac_clean_files
16338 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16340 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16342 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16344 # Generated by $as_me.
16345 # Run this file to recreate the current configuration.
16346 # Compiler output produced by configure, useful for debugging
16347 # configure, is in config.log if it exists.
16350 ac_cs_recheck=false
16353 SHELL=\${CONFIG_SHELL-$SHELL}
16356 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16357 ## -------------------- ##
16358 ## M4sh Initialization. ##
16359 ## -------------------- ##
16361 # Be more Bourne compatible
16362 DUALCASE
=1; export DUALCASE
# for MKS sh
16363 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16366 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16367 # is contrary to our usage. Disable this feature.
16368 alias -g '${1+"$@"}'='"$@"'
16369 setopt NO_GLOB_SUBST
16371 case `(set -o) 2>/dev/null` in #(
16383 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16384 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16387 # Prefer a ksh shell builtin over an external printf program on Solaris,
16388 # but without wasting forks for bash or zsh.
16389 if test -z "$BASH_VERSION$ZSH_VERSION" \
16390 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16391 as_echo='print
-r --'
16392 as_echo_n='print
-rn --'
16393 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16394 as_echo='printf %s
\n'
16395 as_echo_n='printf %s
'
16397 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16398 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16399 as_echo_n='/usr
/ucb
/echo -n'
16401 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16402 as_echo_n_body='eval
16406 expr "X$arg" : "X\\(.*\\)$as_nl";
16407 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16409 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16411 export as_echo_n_body
16412 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16414 export as_echo_body
16415 as_echo='sh
-c $as_echo_body as_echo
'
16418 # The user is always right.
16419 if test "${PATH_SEPARATOR+set}" != set; then
16421 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16422 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16429 # We need space, tab and new line, in precisely that order. Quoting is
16430 # there to prevent editors from complaining about space-tab.
16431 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16432 # splitting by setting IFS to empty value.)
16435 # Find who we are. Look in the path if we contain no directory separator.
16437 *[\\/]* ) as_myself=$0 ;;
16438 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16439 for as_dir in $PATH
16442 test -z "$as_dir" && as_dir=.
16443 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16449 # We did not find ourselves, most probably we were run as `sh COMMAND'
16450 # in which case we are not to be found in the path.
16451 if test "x$as_myself" = x
; then
16454 if test ! -f "$as_myself"; then
16455 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16459 # Unset variables that we do not need and which cause bugs (e.g. in
16460 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16461 # suppresses any "Segmentation fault" message there. '((' could
16462 # trigger a bug in pdksh 5.2.14.
16463 for as_var
in BASH_ENV ENV MAIL MAILPATH
16464 do eval test x\
${$as_var+set} = xset \
16465 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16478 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16481 # as_fn_error ERROR [LINENO LOG_FD]
16482 # ---------------------------------
16483 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16484 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16485 # script with status $?, using 1 if that was 0.
16488 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16490 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16491 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16493 $as_echo "$as_me: error: $1" >&2
16494 as_fn_exit
$as_status
16498 # as_fn_set_status STATUS
16499 # -----------------------
16500 # Set $? to STATUS, without forking.
16501 as_fn_set_status
()
16504 } # as_fn_set_status
16506 # as_fn_exit STATUS
16507 # -----------------
16508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16512 as_fn_set_status
$1
16518 # Portably unset VAR.
16521 { eval $1=; unset $1;}
16523 as_unset
=as_fn_unset
16524 # as_fn_append VAR VALUE
16525 # ----------------------
16526 # Append the text in VALUE to the end of the definition contained in VAR. Take
16527 # advantage of any shell optimizations that allow amortized linear growth over
16528 # repeated appends, instead of the typical quadratic growth present in naive
16530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16531 eval 'as_fn_append ()
16542 # as_fn_arith ARG...
16543 # ------------------
16544 # Perform arithmetic evaluation on the ARGs, and store the result in the
16545 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16546 # must be portable across $(()) and expr.
16547 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16548 eval 'as_fn_arith ()
16555 as_val
=`expr "$@" || test $? -eq 1`
16560 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16561 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16567 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16568 as_basename
=basename
16573 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16579 as_me
=`$as_basename -- "$0" ||
16580 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16581 X"$0" : 'X\(//\)$' \| \
16582 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16584 sed '/^.*\/\([^/][^/]*\)\/*$/{
16598 # Avoid depending upon Character Ranges.
16599 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16600 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16601 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16602 as_cr_digits
='0123456789'
16603 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16605 ECHO_C
= ECHO_N
= ECHO_T
=
16606 case `echo -n x` in #(((((
16608 case `echo 'xy\c'` in
16609 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16611 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16618 rm -f conf$$ conf$$.exe conf$$.
file
16619 if test -d conf$$.dir
; then
16620 rm -f conf$$.dir
/conf$$.
file
16623 mkdir conf$$.dir
2>/dev
/null
16625 if (echo >conf$$.
file) 2>/dev
/null
; then
16626 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16628 # ... but there are two gotchas:
16629 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16630 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16631 # In both cases, we have to default to `cp -p'.
16632 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16634 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16642 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16643 rmdir conf$$.dir
2>/dev
/null
16648 # Create "$as_dir" as a directory, including parents if necessary.
16653 -*) as_dir
=.
/$as_dir;;
16655 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16659 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16660 *) as_qdir
=$as_dir;;
16662 as_dirs
="'$as_qdir' $as_dirs"
16663 as_dir
=`$as_dirname -- "$as_dir" ||
16664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16665 X"$as_dir" : 'X\(//\)[^/]' \| \
16666 X"$as_dir" : 'X\(//\)$' \| \
16667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16668 $as_echo X"$as_dir" |
16669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16673 /^X\(\/\/\)[^/].*/{
16686 test -d "$as_dir" && break
16688 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16689 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16693 if mkdir
-p .
2>/dev
/null
; then
16694 as_mkdir_p
='mkdir -p "$as_dir"'
16696 test -d .
/-p && rmdir .
/-p
16700 if test -x / >/dev
/null
2>&1; then
16701 as_test_x
='test -x'
16703 if ls -dL / >/dev
/null
2>&1; then
16710 if test -d "$1"; then
16716 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16717 ???[sx]*):;;*)false;;esac;fi
16721 as_executable_p
=$as_test_x
16723 # Sed expression to map a string onto a valid CPP name.
16724 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16726 # Sed expression to map a string onto a valid variable name.
16727 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16731 ## ----------------------------------- ##
16732 ## Main body of $CONFIG_STATUS script. ##
16733 ## ----------------------------------- ##
16735 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16738 # Save the log message, to keep $0 and so on meaningful, and to
16739 # report actual input values of CONFIG_FILES etc. instead of their
16740 # values after options handling.
16742 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
16743 generated by GNU Autoconf 2.64. Invocation command line was
16745 CONFIG_FILES = $CONFIG_FILES
16746 CONFIG_HEADERS = $CONFIG_HEADERS
16747 CONFIG_LINKS = $CONFIG_LINKS
16748 CONFIG_COMMANDS = $CONFIG_COMMANDS
16751 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16756 case $ac_config_files in *"
16757 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16760 case $ac_config_headers in *"
16761 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16766 # Files that config.status was made for.
16767 config_files="$ac_config_files"
16768 config_headers="$ac_config_headers"
16769 config_commands="$ac_config_commands"
16773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16775 \`$as_me' instantiates files and other configuration actions
16776 from templates according to the current configuration. Unless the files
16777 and actions are specified as TAGs, all are instantiated by default.
16779 Usage: $0 [OPTION]... [TAG]...
16781 -h, --help print this help, then exit
16782 -V, --version print version number and configuration settings, then exit
16783 -q, --quiet, --silent
16784 do not print progress messages
16785 -d, --debug don't remove temporary files
16786 --recheck update $as_me by reconfiguring in the same conditions
16787 --file=FILE[:TEMPLATE]
16788 instantiate the configuration file FILE
16789 --header=FILE[:TEMPLATE]
16790 instantiate the configuration header FILE
16792 Configuration files:
16795 Configuration headers:
16798 Configuration commands:
16801 Report bugs to the package provider.
16802 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
16803 General help using GNU software: <http://www.gnu.org/gethelp/>."
16806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16808 GNU OpenMP Runtime Library config.status 1.0
16809 configured by $0, generated by GNU Autoconf 2.64,
16810 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16812 Copyright (C) 2009 Free Software Foundation, Inc.
16813 This config.status script is free software; the Free Software Foundation
16814 gives unlimited permission to copy, distribute and modify it."
16821 test -n "\$AWK" || AWK=awk
16824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16825 # The default lists apply if the user does not specify any file.
16831 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16832 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16843 # Handling of the options.
16844 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16846 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16847 $as_echo "$ac_cs_version"; exit ;;
16848 --debug |
--debu |
--deb |
--de |
--d |
-d )
16850 --file |
--fil |
--fi |
--f )
16853 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16855 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16856 ac_need_defaults
=false
;;
16857 --header |
--heade |
--head |
--hea )
16860 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16862 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16863 ac_need_defaults
=false
;;
16865 # Conflict between --help and --header
16866 as_fn_error
"ambiguous option: \`$1'
16867 Try \`$0 --help' for more information.";;
16868 --help |
--hel |
-h )
16869 $as_echo "$ac_cs_usage"; exit ;;
16870 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16871 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16874 # This is an error.
16875 -*) as_fn_error
"unrecognized option: \`$1'
16876 Try \`$0 --help' for more information." ;;
16878 *) as_fn_append ac_config_targets
" $1"
16879 ac_need_defaults
=false
;;
16885 ac_configure_extra_args
=
16887 if $ac_cs_silent; then
16889 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16894 if \$ac_cs_recheck; then
16895 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16897 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16898 CONFIG_SHELL='$SHELL'
16899 export CONFIG_SHELL
16904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16908 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16909 ## Running $as_me. ##
16915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16923 with_multisubdir="$with_multisubdir"
16924 with_multisrctop="$with_multisrctop"
16925 with_target_subdir="$with_target_subdir"
16926 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16927 multi_basedir="$multi_basedir"
16928 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16931 GFORTRAN="$GFORTRAN"
16933 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16936 # The HP-UX ksh and POSIX shell print the target directory to stdout
16937 # if CDPATH is set.
16938 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16940 sed_quote_subst='$sed_quote_subst'
16941 double_quote_subst='$double_quote_subst'
16942 delay_variable_subst='$delay_variable_subst'
16943 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16944 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16945 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16946 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16947 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16948 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16949 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16950 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16951 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16952 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16953 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16954 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16955 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16956 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16957 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16958 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16959 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16960 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16961 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16962 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16963 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16964 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16965 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16966 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16967 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16968 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16969 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16970 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16971 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16972 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16973 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16974 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16975 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16976 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16977 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16978 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16979 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16980 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16981 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16982 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16983 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16984 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16985 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16986 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16987 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16989 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16990 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16991 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16992 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16993 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16994 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16995 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16996 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16997 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16998 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16999 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17000 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17001 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17002 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17003 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17004 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17005 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17006 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17007 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17008 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17009 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17010 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17011 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17012 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17013 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17014 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17015 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17016 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17017 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17018 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17019 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17020 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17021 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17022 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17023 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17024 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17025 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17026 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17027 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17028 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17029 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17030 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17031 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17032 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17033 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17034 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17035 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17036 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17037 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17038 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17039 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17040 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17041 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17042 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17043 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17044 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17045 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17046 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17047 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17048 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17049 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17050 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17051 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17052 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17053 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17054 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17055 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17056 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17057 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17058 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17059 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17060 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17061 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17062 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17063 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17064 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17065 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17066 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17067 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
17068 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17069 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
17070 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
17071 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
17072 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
17073 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
17074 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
17075 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
17076 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
17077 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
17078 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
17079 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
17080 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
17081 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17082 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17083 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17084 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17085 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17086 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17087 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
17088 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
17089 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
17090 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
17091 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
17092 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
17093 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
17094 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
17095 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
17096 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
17097 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
17098 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
17099 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
17100 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
17101 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
17102 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17103 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
17104 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
17105 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
17106 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
17107 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
17108 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
17109 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
17110 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
17111 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
17112 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
17113 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
17116 LTCFLAGS='$LTCFLAGS'
17117 compiler='$compiler_DEFAULT'
17119 # Quote evaled strings.
17131 deplibs_check_method \
17140 lt_cv_sys_global_symbol_pipe \
17141 lt_cv_sys_global_symbol_to_cdecl \
17142 lt_cv_sys_global_symbol_to_c_name_address \
17143 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17146 lt_prog_compiler_no_builtin_flag \
17147 lt_prog_compiler_wl \
17148 lt_prog_compiler_pic \
17149 lt_prog_compiler_static \
17150 lt_cv_prog_compiler_c_o \
17158 export_dynamic_flag_spec \
17159 whole_archive_flag_spec \
17160 compiler_needs_object \
17162 allow_undefined_flag \
17163 no_undefined_flag \
17164 hardcode_libdir_flag_spec \
17165 hardcode_libdir_flag_spec_ld \
17166 hardcode_libdir_separator \
17171 variables_saved_for_relink \
17173 library_names_spec \
17178 compiler_lib_search_dirs \
17183 compiler_lib_search_path \
17186 lt_prog_compiler_no_builtin_flag_FC \
17187 lt_prog_compiler_wl_FC \
17188 lt_prog_compiler_pic_FC \
17189 lt_prog_compiler_static_FC \
17190 lt_cv_prog_compiler_c_o_FC \
17191 export_dynamic_flag_spec_FC \
17192 whole_archive_flag_spec_FC \
17193 compiler_needs_object_FC \
17195 allow_undefined_flag_FC \
17196 no_undefined_flag_FC \
17197 hardcode_libdir_flag_spec_FC \
17198 hardcode_libdir_flag_spec_ld_FC \
17199 hardcode_libdir_separator_FC \
17200 fix_srcfile_path_FC \
17201 exclude_expsyms_FC \
17202 include_expsyms_FC \
17203 file_list_spec_FC \
17204 compiler_lib_search_dirs_FC \
17205 predep_objects_FC \
17206 postdep_objects_FC \
17209 compiler_lib_search_path_FC; do
17210 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17211 *[\\\\\\\`\\"\\\$]*)
17212 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17215 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17220 # Double-quote double-evaled strings.
17221 for var in reload_cmds \
17222 old_postinstall_cmds \
17223 old_postuninstall_cmds \
17225 extract_expsyms_cmds \
17226 old_archive_from_new_cmds \
17227 old_archive_from_expsyms_cmds \
17229 archive_expsym_cmds \
17231 module_expsym_cmds \
17232 export_symbols_cmds \
17235 postuninstall_cmds \
17237 sys_lib_search_path_spec \
17238 sys_lib_dlsearch_path_spec \
17239 old_archive_cmds_FC \
17240 old_archive_from_new_cmds_FC \
17241 old_archive_from_expsyms_cmds_FC \
17243 archive_expsym_cmds_FC \
17245 module_expsym_cmds_FC \
17246 export_symbols_cmds_FC \
17247 prelink_cmds_FC; do
17248 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17249 *[\\\\\\\`\\"\\\$]*)
17250 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17253 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17258 # Fix-up fallback echo if it was mangled by the above quoting rules.
17260 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17264 ac_aux_dir='$ac_aux_dir'
17265 xsi_shell='$xsi_shell'
17266 lt_shell_append='$lt_shell_append'
17268 # See if we are running on zsh, and set the options which allow our
17269 # commands through without removal of \ escapes INIT.
17270 if test -n "\${ZSH_VERSION+set}" ; then
17271 setopt NO_GLOB_SUBST
17277 TIMESTAMP='$TIMESTAMP'
17288 acx_cv_header_stdint="$acx_cv_header_stdint"
17289 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17290 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17291 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17292 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17293 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17294 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17295 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17296 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17297 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17298 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17299 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17300 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17301 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17308 # Handling of arguments.
17309 for ac_config_target
in $ac_config_targets
17311 case $ac_config_target in
17312 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17313 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17314 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17315 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17316 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17317 "omp.h") CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
17318 "omp_lib.h") CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
17319 "omp_lib.f90") CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
17320 "libgomp_f.h") CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
17321 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17322 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17323 "libgomp.spec") CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
17325 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17330 # If the user did not use the arguments to specify the items to instantiate,
17331 # then the envvar interface is used. Set only those that are not.
17332 # We use the long form for the default assignment because of an extremely
17333 # bizarre bug on SunOS 4.1.3.
17334 if $ac_need_defaults; then
17335 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17336 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17337 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17340 # Have a temporary directory for convenience. Make it in the build tree
17341 # simply because there is no reason against having it here, and in addition,
17342 # creating and moving files from /tmp can sometimes cause problems.
17343 # Hook for its removal unless debugging.
17344 # Note that there is a small window in which the directory will not be cleaned:
17345 # after its creation but before its name has been assigned to `$tmp'.
17349 trap 'exit_status=$?
17350 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17352 trap 'as_fn_exit 1' 1 2 13 15
17354 # Create a (secure) tmp directory for tmp files.
17357 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17358 test -n "$tmp" && test -d "$tmp"
17361 tmp
=.
/conf$$
-$RANDOM
17362 (umask 077 && mkdir
"$tmp")
17363 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17365 # Set up the scripts for CONFIG_FILES section.
17366 # No need to generate them if there are no CONFIG_FILES.
17367 # This happens for instance with `./config.status config.h'.
17368 if test -n "$CONFIG_FILES"; then
17371 ac_cr
=`echo X | tr X '\015'`
17372 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17373 # But we know of no other shell where ac_cr would be empty at this
17374 # point, so we can use a bashism as a fallback.
17375 if test "x$ac_cr" = x
; then
17376 eval ac_cr
=\$
\'\\r
\'
17378 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17379 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17382 ac_cs_awk_cr
=$ac_cr
17385 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17390 echo "cat >conf$$subs.awk <<_ACEOF" &&
17391 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17393 } >conf$$subs.sh ||
17394 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17395 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17397 for ac_last_try in false false false false false :; do
17398 . ./conf$$subs.sh ||
17399 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17401 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17402 if test $ac_delim_n = $ac_delim_num; then
17404 elif $ac_last_try; then
17405 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17407 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17410 rm -f conf$$subs.sh
17412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17413 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17417 s/^/S["/; s
/!.
*/"]=/
17427 s/\(.\{148\}\).*/\1/
17429 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17434 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17441 s/\(.\{148\}\).*/\1/
17443 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17447 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17452 ' <conf$$subs.awk | sed '
17457 ' >>$CONFIG_STATUS || ac_write_fail=1
17458 rm -f conf$$subs.awk
17459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17461 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17462 for (key in S) S_is_set[key] = 1
17468 nfields = split(line, field, "@
")
17470 len = length(field[1])
17471 for (i = 2; i < nfields; i++) {
17473 keylen = length(key)
17474 if (S_is_set[key]) {
17476 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17477 len += length(value) + length(field[++i])
17488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17489 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17490 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17493 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17494 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17497 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17498 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17499 # trailing colons and then remove the whole line if VPATH becomes empty
17500 # (actually we leave an empty line to preserve line numbers).
17501 if test "x
$srcdir" = x.; then
17502 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17503 s/:*\$(srcdir):*/:/
17504 s/:*\${srcdir}:*/:/
17506 s/^\([^=]*=[ ]*\):*/\1/
17512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17513 fi # test -n "$CONFIG_FILES"
17515 # Set up the scripts for CONFIG_HEADERS section.
17516 # No need to generate them if there are no CONFIG_HEADERS.
17517 # This happens for instance with `./config.status Makefile'.
17518 if test -n "$CONFIG_HEADERS"; then
17519 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17523 # Transform confdefs.h into an awk script `defines.awk', embedded as
17524 # here-document in config.status, that substitutes the proper values into
17525 # config.h.in to produce config.h.
17527 # Create a delimiter string that does not exist in confdefs.h, to ease
17528 # handling of long lines.
17530 for ac_last_try in false false :; do
17531 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17532 if test -z "$ac_t"; then
17534 elif $ac_last_try; then
17535 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17537 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17541 # For the awk script, D is an array of macro values keyed by name,
17542 # likewise P contains macro parameters if any. Preserve backslash
17543 # newline sequences.
17545 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17547 s/.\{148\}/&'"$ac_delim"'/g
17550 s/^[ ]*#[ ]*define[ ][ ]*/ /
17557 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17559 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17563 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17564 D["\
1"]=" \
3\\\\\\n
"\\/p
17566 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17571 s/.\{148\}/&'"$ac_delim"'/g
17576 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17579 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17581 ' <confdefs.h | sed '
17582 s/'"$ac_delim"'/"\\\
17583 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17586 for (key in D) D_is_set[key] = 1
17589 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17591 split(line, arg, " ")
17592 if (arg[1] == "#") {
17596 defundef
= substr
(arg
[1], 2)
17599 split(mac1
, mac2
, "(") #)
17601 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17602 if (D_is_set
[macro
]) {
17603 # Preserve the white space surrounding the "#".
17604 print prefix
"define", macro P
[macro
] D
[macro
]
17607 # Replace #undef with comments. This is necessary, for example,
17608 # in the case of _POSIX_SOURCE, which is predefined and required
17609 # on some systems where configure will not decide to define it.
17610 if (defundef
== "undef") {
17611 print
"/*", prefix defundef
, macro
, "*/"
17619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17620 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17621 fi # test -n "$CONFIG_HEADERS"
17624 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17629 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17631 case $ac_mode$ac_tag in
17633 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17634 :[FH
]-) ac_tag
=-:-;;
17635 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17652 -) ac_f
="$tmp/stdin";;
17653 *) # Look for the file first in the build tree, then in the source tree
17654 # (if the path is not absolute). The absolute path cannot be DOS-style,
17655 # because $ac_f cannot contain `:'.
17659 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17661 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17663 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17664 as_fn_append ac_file_inputs
" '$ac_f'"
17667 # Let's still pretend it is `configure' which instantiates (i.e., don't
17668 # use $as_me), people would be surprised to read:
17669 # /* config.h. Generated by config.status. */
17670 configure_input
='Generated from '`
17671 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17673 if test x
"$ac_file" != x-
; then
17674 configure_input
="$ac_file. $configure_input"
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17676 $as_echo "$as_me: creating $ac_file" >&6;}
17678 # Neutralize special characters interpreted by sed in replacement strings.
17679 case $configure_input in #(
17680 *\
&* |
*\|
* |
*\\* )
17681 ac_sed_conf_input
=`$as_echo "$configure_input" |
17682 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17683 *) ac_sed_conf_input
=$configure_input;;
17687 *:-:* |
*:-) cat >"$tmp/stdin" \
17688 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17693 ac_dir
=`$as_dirname -- "$ac_file" ||
17694 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17695 X"$ac_file" : 'X\(//\)[^/]' \| \
17696 X"$ac_file" : 'X\(//\)$' \| \
17697 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17698 $as_echo X"$ac_file" |
17699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17703 /^X\(\/\/\)[^/].*/{
17716 as_dir
="$ac_dir"; as_fn_mkdir_p
17720 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17722 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17723 # A ".." for each directory in $ac_dir_suffix.
17724 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17725 case $ac_top_builddir_sub in
17726 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17727 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17730 ac_abs_top_builddir
=$ac_pwd
17731 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17732 # for backward compatibility:
17733 ac_top_builddir
=$ac_top_build_prefix
17736 .
) # We are building in place.
17738 ac_top_srcdir
=$ac_top_builddir_sub
17739 ac_abs_top_srcdir
=$ac_pwd ;;
17740 [\\/]* | ?
:[\\/]* ) # Absolute name.
17741 ac_srcdir
=$srcdir$ac_dir_suffix;
17742 ac_top_srcdir
=$srcdir
17743 ac_abs_top_srcdir
=$srcdir ;;
17744 *) # Relative name.
17745 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17746 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17747 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17749 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17759 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17760 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17762 ac_MKDIR_P
=$MKDIR_P
17764 [\\/$
]* | ?
:[\\/]* ) ;;
17765 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17770 # If the template does not know about datarootdir, expand it.
17771 # FIXME: This hack should be removed a few years after 2.60.
17772 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17783 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17784 *datarootdir
*) ac_datarootdir_seen
=yes;;
17785 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17787 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17790 ac_datarootdir_hack='
17791 s&@datadir@&$datadir&g
17792 s&@docdir@&$docdir&g
17793 s&@infodir@&$infodir&g
17794 s&@localedir@&$localedir&g
17795 s&@mandir@&$mandir&g
17796 s&\\\${datarootdir}&$datarootdir&g' ;;
17800 # Neutralize VPATH when `$srcdir' = `.'.
17801 # Shell code in configure.ac might set extrasub.
17802 # FIXME: do we really want to maintain this feature?
17803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17804 ac_sed_extra="$ac_vpsub
17807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17809 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17810 s|@configure_input@|
$ac_sed_conf_input|
;t t
17811 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17812 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17813 s
&@srcdir@
&$ac_srcdir&;t t
17814 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17815 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17816 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17817 s
&@builddir@
&$ac_builddir&;t t
17818 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17819 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17820 s
&@INSTALL@
&$ac_INSTALL&;t t
17821 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17822 $ac_datarootdir_hack
17824 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17825 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17827 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17828 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17829 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17831 which seems to be undefined. Please make sure it is defined." >&5
17832 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17833 which seems to be undefined. Please make sure it is defined." >&2;}
17837 -) cat "$tmp/out" && rm -f "$tmp/out";;
17838 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17840 || as_fn_error "could not create $ac_file" "$LINENO" 5
17846 if test x"$ac_file" != x-; then
17848 $as_echo "/* $configure_input */" \
17849 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17850 } >"$tmp/config.h" \
17851 || as_fn_error "could not create $ac_file" "$LINENO" 5
17852 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17854 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17857 mv "$tmp/config.h" "$ac_file" \
17858 || as_fn_error "could not create $ac_file" "$LINENO" 5
17861 $as_echo "/* $configure_input */" \
17862 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17863 || as_fn_error "could not create -" "$LINENO" 5
17865 # Compute "$ac_file"'s index
in $config_headers.
17868 for _am_header
in $config_headers :; do
17869 case $_am_header in
17870 $_am_arg |
$_am_arg:* )
17873 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17876 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17877 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17878 X"$_am_arg" : 'X\(//\)[^/]' \| \
17879 X"$_am_arg" : 'X\(//\)$' \| \
17880 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17881 $as_echo X"$_am_arg" |
17882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17886 /^X\(\/\/\)[^/].*/{
17898 s/.*/./; q'`/stamp-h
$_am_stamp_count
17901 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17902 $as_echo "$as_me: executing $ac_file commands" >&6;}
17907 case $ac_file$ac_mode in
17909 # Only add multilib support code if we just rebuilt the top-level
17911 case " $CONFIG_FILES " in
17913 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17916 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17917 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17918 # are listed without --file. Let's play safe and only enable the eval
17919 # if we detect the quoting.
17920 case $CONFIG_FILES in
17921 *\'*) eval set x
"$CONFIG_FILES" ;;
17922 *) set x
$CONFIG_FILES ;;
17927 # Strip MF so we end up with the name of the file.
17928 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17929 # Check whether this is an Automake generated Makefile or not.
17930 # We used to match only the files named `Makefile.in', but
17931 # some people rename them; so instead we look at the file content.
17932 # Grep'ing the first line is not enough: some people post-process
17933 # each Makefile.in and add a new line on top of each file to say so.
17934 # Grep'ing the whole file is not good either: AIX grep has a line
17935 # limit of 2048, but all sed's we know have understand at least 4000.
17936 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17937 dirpart
=`$as_dirname -- "$mf" ||
17938 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17939 X"$mf" : 'X\(//\)[^/]' \| \
17940 X"$mf" : 'X\(//\)$' \| \
17941 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17947 /^X\(\/\/\)[^/].*/{
17963 # Extract the definition of DEPDIR, am__include, and am__quote
17964 # from the Makefile without running `make'.
17965 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17966 test -z "$DEPDIR" && continue
17967 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17968 test -z "am__include" && continue
17969 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17970 # When using ansi2knr, U may be empty or an underscore; expand it
17971 U
=`sed -n 's/^U = //p' < "$mf"`
17972 # Find all dependency output files, they are included files with
17973 # $(DEPDIR) in their names. We invoke sed twice because it is the
17974 # simplest approach to changing $(DEPDIR) to its actual value in the
17976 for file in `sed -n "
17977 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17978 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17979 # Make sure the directory exists.
17980 test -f "$dirpart/$file" && continue
17981 fdir
=`$as_dirname -- "$file" ||
17982 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17983 X"$file" : 'X\(//\)[^/]' \| \
17984 X"$file" : 'X\(//\)$' \| \
17985 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17986 $as_echo X"$file" |
17987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17991 /^X\(\/\/\)[^/].*/{
18004 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18005 # echo "creating $dirpart/$file"
18006 echo '# dummy' > "$dirpart/$file"
18013 # See if we are running on zsh, and set the options which allow our
18014 # commands through without removal of \ escapes.
18015 if test -n "${ZSH_VERSION+set}" ; then
18016 setopt NO_GLOB_SUBST
18019 cfgfile
="${ofile}T"
18020 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18023 cat <<_LT_EOF >> "$cfgfile"
18026 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18027 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18028 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18029 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18031 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18032 # 2006, 2007, 2008 Free Software Foundation, Inc.
18033 # Written by Gordon Matzigkeit, 1996
18035 # This file is part of GNU Libtool.
18037 # GNU Libtool is free software; you can redistribute it and/or
18038 # modify it under the terms of the GNU General Public License as
18039 # published by the Free Software Foundation; either version 2 of
18040 # the License, or (at your option) any later version.
18042 # As a special exception to the GNU General Public License,
18043 # if you distribute this file as part of a program or library that
18044 # is built using GNU Libtool, you may include this file under the
18045 # same distribution terms that you use for the rest of that program.
18047 # GNU Libtool is distributed in the hope that it will be useful,
18048 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18049 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18050 # GNU General Public License for more details.
18052 # You should have received a copy of the GNU General Public License
18053 # along with GNU Libtool; see the file COPYING. If not, a copy
18054 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18055 # obtained by writing to the Free Software Foundation, Inc.,
18056 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18059 # The names of the tagged configurations supported by this script.
18060 available_tags="FC "
18062 # ### BEGIN LIBTOOL CONFIG
18064 # Which release of libtool.m4 was used?
18065 macro_version=$macro_version
18066 macro_revision=$macro_revision
18068 # Whether or not to build shared libraries.
18069 build_libtool_libs=$enable_shared
18071 # Whether or not to build static libraries.
18072 build_old_libs=$enable_static
18074 # What type of objects to build.
18077 # Whether or not to optimize for fast installation.
18078 fast_install=$enable_fast_install
18081 host_alias=$host_alias
18085 # The build system.
18086 build_alias=$build_alias
18090 # A sed program that does not truncate output.
18093 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18094 Xsed="\$SED -e 1s/^X//"
18096 # A grep program that handles long lines.
18102 # A literal string matcher.
18105 # A BSD- or MS-compatible name lister.
18108 # Whether we need soft or hard links.
18111 # What is the maximum length of a command?
18112 max_cmd_len=$max_cmd_len
18114 # Object file suffix (normally "o").
18117 # Executable file suffix (normally "").
18120 # whether the shell understands "unset".
18123 # turn spaces into newlines.
18126 # turn newlines into spaces.
18129 # How to create reloadable object files.
18130 reload_flag=$lt_reload_flag
18131 reload_cmds=$lt_reload_cmds
18133 # An object symbol dumper.
18134 OBJDUMP=$lt_OBJDUMP
18136 # Method to check whether dependent libraries are shared objects.
18137 deplibs_check_method=$lt_deplibs_check_method
18139 # Command to use when deplibs_check_method == "file_magic".
18140 file_magic_cmd=$lt_file_magic_cmd
18144 AR_FLAGS=$lt_AR_FLAGS
18146 # A symbol stripping program.
18149 # Commands used to install an old-style archive.
18151 old_postinstall_cmds=$lt_old_postinstall_cmds
18152 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18157 # LTCC compiler flags.
18158 LTCFLAGS=$lt_CFLAGS
18160 # Take the output of nm and produce a listing of raw symbols and C names.
18161 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18163 # Transform the output of nm in a proper C declaration.
18164 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18166 # Transform the output of nm in a C name address pair.
18167 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18169 # Transform the output of nm in a C name address pair when lib prefix is needed.
18170 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18172 # The name of the directory that contains temporary libtool files.
18175 # Shell to use when invoking shell scripts.
18178 # An echo program that does not interpret backslashes.
18181 # Used to examine libraries when file_magic_cmd begins with "file".
18182 MAGIC_CMD=$MAGIC_CMD
18184 # Must we lock files when doing compilation?
18185 need_locks=$lt_need_locks
18187 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18188 DSYMUTIL=$lt_DSYMUTIL
18190 # Tool to change global to local symbols on Mac OS X.
18193 # Tool to manipulate fat objects and archives on Mac OS X.
18196 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18199 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18200 OTOOL64=$lt_OTOOL64
18202 # Old archive suffix (normally "a").
18205 # Shared library suffix (normally ".so").
18206 shrext_cmds=$lt_shrext_cmds
18208 # The commands to extract the exported symbol list from a shared archive.
18209 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18211 # Variables whose values should be saved in libtool wrapper scripts and
18212 # restored at link time.
18213 variables_saved_for_relink=$lt_variables_saved_for_relink
18215 # Do we need the "lib" prefix for modules?
18216 need_lib_prefix=$need_lib_prefix
18218 # Do we need a version for libraries?
18219 need_version=$need_version
18221 # Library versioning type.
18222 version_type=$version_type
18224 # Shared library runtime path variable.
18225 runpath_var=$runpath_var
18227 # Shared library path variable.
18228 shlibpath_var=$shlibpath_var
18230 # Is shlibpath searched before the hard-coded library search path?
18231 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18233 # Format of library name prefix.
18234 libname_spec=$lt_libname_spec
18236 # List of archive names. First name is the real one, the rest are links.
18237 # The last name is the one that the linker finds with -lNAME
18238 library_names_spec=$lt_library_names_spec
18240 # The coded name of the library, if different from the real name.
18241 soname_spec=$lt_soname_spec
18243 # Command to use after installation of a shared archive.
18244 postinstall_cmds=$lt_postinstall_cmds
18246 # Command to use after uninstallation of a shared archive.
18247 postuninstall_cmds=$lt_postuninstall_cmds
18249 # Commands used to finish a libtool library installation in a directory.
18250 finish_cmds=$lt_finish_cmds
18252 # As "finish_cmds", except a single script fragment to be evaled but
18254 finish_eval=$lt_finish_eval
18256 # Whether we should hardcode library paths into libraries.
18257 hardcode_into_libs=$hardcode_into_libs
18259 # Compile-time system search path for libraries.
18260 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18262 # Run-time system search path for libraries.
18263 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18265 # Whether dlopen is supported.
18266 dlopen_support=$enable_dlopen
18268 # Whether dlopen of programs is supported.
18269 dlopen_self=$enable_dlopen_self
18271 # Whether dlopen of statically linked programs is supported.
18272 dlopen_self_static=$enable_dlopen_self_static
18274 # Commands to strip libraries.
18275 old_striplib=$lt_old_striplib
18276 striplib=$lt_striplib
18279 # The linker used to build libraries.
18282 # Commands used to build an old-style archive.
18283 old_archive_cmds=$lt_old_archive_cmds
18285 # A language specific compiler.
18288 # Is the compiler the GNU compiler?
18291 # Compiler flag to turn off builtin functions.
18292 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18294 # How to pass a linker flag through the compiler.
18295 wl=$lt_lt_prog_compiler_wl
18297 # Additional compiler flags for building library objects.
18298 pic_flag=$lt_lt_prog_compiler_pic
18300 # Compiler flag to prevent dynamic linking.
18301 link_static_flag=$lt_lt_prog_compiler_static
18303 # Does compiler simultaneously support -c and -o options?
18304 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18306 # Whether or not to add -lc for building shared libraries.
18307 build_libtool_need_lc=$archive_cmds_need_lc
18309 # Whether or not to disallow shared libs when runtime libs are static.
18310 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18312 # Compiler flag to allow reflexive dlopens.
18313 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18315 # Compiler flag to generate shared objects directly from archives.
18316 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18318 # Whether the compiler copes with passing no objects directly.
18319 compiler_needs_object=$lt_compiler_needs_object
18321 # Create an old-style archive from a shared archive.
18322 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18324 # Create a temporary old-style archive to link instead of a shared archive.
18325 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18327 # Commands used to build a shared archive.
18328 archive_cmds=$lt_archive_cmds
18329 archive_expsym_cmds=$lt_archive_expsym_cmds
18331 # Commands used to build a loadable module if different from building
18332 # a shared archive.
18333 module_cmds=$lt_module_cmds
18334 module_expsym_cmds=$lt_module_expsym_cmds
18336 # Whether we are building with GNU ld or not.
18337 with_gnu_ld=$lt_with_gnu_ld
18339 # Flag that allows shared libraries with undefined symbols to be built.
18340 allow_undefined_flag=$lt_allow_undefined_flag
18342 # Flag that enforces no undefined symbols.
18343 no_undefined_flag=$lt_no_undefined_flag
18345 # Flag to hardcode \$libdir into a binary during linking.
18346 # This must work even if \$libdir does not exist
18347 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18349 # If ld is used when linking, flag to hardcode \$libdir into a binary
18350 # during linking. This must work even if \$libdir does not exist.
18351 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18353 # Whether we need a single "-rpath" flag with a separated argument.
18354 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18356 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18357 # DIR into the resulting binary.
18358 hardcode_direct=$hardcode_direct
18360 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18361 # DIR into the resulting binary and the resulting library dependency is
18362 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18363 # library is relocated.
18364 hardcode_direct_absolute=$hardcode_direct_absolute
18366 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18367 # into the resulting binary.
18368 hardcode_minus_L=$hardcode_minus_L
18370 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18371 # into the resulting binary.
18372 hardcode_shlibpath_var=$hardcode_shlibpath_var
18374 # Set to "yes" if building a shared library automatically hardcodes DIR
18375 # into the library and all subsequent libraries and executables linked
18377 hardcode_automatic=$hardcode_automatic
18379 # Set to yes if linker adds runtime paths of dependent libraries
18380 # to runtime path list.
18381 inherit_rpath=$inherit_rpath
18383 # Whether libtool must link a program against all its dependency libraries.
18384 link_all_deplibs=$link_all_deplibs
18386 # Fix the shell variable \$srcfile for the compiler.
18387 fix_srcfile_path=$lt_fix_srcfile_path
18389 # Set to "yes" if exported symbols are required.
18390 always_export_symbols=$always_export_symbols
18392 # The commands to list exported symbols.
18393 export_symbols_cmds=$lt_export_symbols_cmds
18395 # Symbols that should not be listed in the preloaded symbols.
18396 exclude_expsyms=$lt_exclude_expsyms
18398 # Symbols that must always be exported.
18399 include_expsyms=$lt_include_expsyms
18401 # Commands necessary for linking programs (against libraries) with templates.
18402 prelink_cmds=$lt_prelink_cmds
18404 # Specify filename containing input files.
18405 file_list_spec=$lt_file_list_spec
18407 # How to hardcode a shared library path into an executable.
18408 hardcode_action=$hardcode_action
18410 # The directories searched by this compiler when creating a shared library.
18411 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18413 # Dependencies to place before and after the objects being linked to
18414 # create a shared library.
18415 predep_objects=$lt_predep_objects
18416 postdep_objects=$lt_postdep_objects
18417 predeps=$lt_predeps
18418 postdeps=$lt_postdeps
18420 # The library search path used internally by the compiler when linking
18421 # a shared library.
18422 compiler_lib_search_path=$lt_compiler_lib_search_path
18424 # ### END LIBTOOL CONFIG
18430 cat <<\_LT_EOF
>> "$cfgfile"
18431 # AIX sometimes has problems with the GCC collect2 program. For some
18432 # reason, if we set the COLLECT_NAMES environment variable, the problems
18433 # vanish in a puff of smoke.
18434 if test "X${COLLECT_NAMES+set}" != Xset
; then
18436 export COLLECT_NAMES
18443 ltmain
="$ac_aux_dir/ltmain.sh"
18446 # We use sed instead of cat because bash on DJGPP gets confused if
18447 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18448 # text mode, it properly converts lines to CR/LF. This bash problem
18449 # is reportedly fixed, but why not run on old versions too?
18450 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18451 ||
(rm -f "$cfgfile"; exit 1)
18455 cat << \_LT_EOF
>> "$cfgfile"
18457 # func_dirname file append nondir_replacement
18458 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18459 # otherwise set result to NONDIR_REPLACEMENT.
18463 */*) func_dirname_result
="${1%/*}${2}" ;;
18464 * ) func_dirname_result
="${3}" ;;
18468 # func_basename file
18471 func_basename_result
="${1##*/}"
18474 # func_dirname_and_basename file append nondir_replacement
18475 # perform func_basename and func_dirname in a single function
18477 # dirname: Compute the dirname of FILE. If nonempty,
18478 # add APPEND to the result, otherwise set result
18479 # to NONDIR_REPLACEMENT.
18480 # value returned in "$func_dirname_result"
18481 # basename: Compute filename of FILE.
18482 # value retuned in "$func_basename_result"
18483 # Implementation must be kept synchronized with func_dirname
18484 # and func_basename. For efficiency, we do not delegate to
18485 # those functions but instead duplicate the functionality here.
18486 func_dirname_and_basename
()
18489 */*) func_dirname_result
="${1%/*}${2}" ;;
18490 * ) func_dirname_result
="${3}" ;;
18492 func_basename_result
="${1##*/}"
18495 # func_stripname prefix suffix name
18496 # strip PREFIX and SUFFIX off of NAME.
18497 # PREFIX and SUFFIX must not contain globbing or regex special
18498 # characters, hashes, percent signs, but SUFFIX may contain a leading
18499 # dot (in which case that matches only a dot).
18502 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18503 # positional parameters, so assign one to ordinary parameter first.
18504 func_stripname_result
=${3}
18505 func_stripname_result
=${func_stripname_result#"${1}"}
18506 func_stripname_result
=${func_stripname_result%"${2}"}
18512 func_opt_split_opt
=${1%%=*}
18513 func_opt_split_arg
=${1#*=}
18520 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18521 *) func_lo2o_result
=${1} ;;
18525 # func_xform libobj-or-source
18528 func_xform_result
=${1%.*}.lo
18531 # func_arith arithmetic-term...
18534 func_arith_result
=$
(( $
* ))
18538 # STRING may not start with a hyphen.
18541 func_len_result
=${#1}
18546 *) # Bourne compatible functions.
18547 cat << \_LT_EOF
>> "$cfgfile"
18549 # func_dirname file append nondir_replacement
18550 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18551 # otherwise set result to NONDIR_REPLACEMENT.
18554 # Extract subdirectory from the argument.
18555 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18556 if test "X$func_dirname_result" = "X${1}"; then
18557 func_dirname_result
="${3}"
18559 func_dirname_result
="$func_dirname_result${2}"
18563 # func_basename file
18566 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18570 # func_stripname prefix suffix name
18571 # strip PREFIX and SUFFIX off of NAME.
18572 # PREFIX and SUFFIX must not contain globbing or regex special
18573 # characters, hashes, percent signs, but SUFFIX may contain a leading
18574 # dot (in which case that matches only a dot).
18575 # func_strip_suffix prefix name
18579 .
*) func_stripname_result
=`$ECHO "X${3}" \
18580 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18581 *) func_stripname_result
=`$ECHO "X${3}" \
18582 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18587 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18588 my_sed_long_arg
='1s/^-[^=]*=//'
18593 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18594 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18600 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18603 # func_xform libobj-or-source
18606 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18609 # func_arith arithmetic-term...
18612 func_arith_result
=`expr "$@"`
18616 # STRING may not start with a hyphen.
18619 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18625 case $lt_shell_append in
18627 cat << \_LT_EOF
>> "$cfgfile"
18629 # func_append var value
18630 # Append VALUE to the end of shell variable VAR.
18638 cat << \_LT_EOF
>> "$cfgfile"
18640 # func_append var value
18641 # Append VALUE to the end of shell variable VAR.
18652 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18653 ||
(rm -f "$cfgfile"; exit 1)
18655 mv -f "$cfgfile" "$ofile" ||
18656 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18660 cat <<_LT_EOF >> "$ofile"
18662 # ### BEGIN LIBTOOL TAG CONFIG: FC
18664 # The linker used to build libraries.
18667 # Commands used to build an old-style archive.
18668 old_archive_cmds=$lt_old_archive_cmds_FC
18670 # A language specific compiler.
18673 # Is the compiler the GNU compiler?
18676 # Compiler flag to turn off builtin functions.
18677 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
18679 # How to pass a linker flag through the compiler.
18680 wl=$lt_lt_prog_compiler_wl_FC
18682 # Additional compiler flags for building library objects.
18683 pic_flag=$lt_lt_prog_compiler_pic_FC
18685 # Compiler flag to prevent dynamic linking.
18686 link_static_flag=$lt_lt_prog_compiler_static_FC
18688 # Does compiler simultaneously support -c and -o options?
18689 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
18691 # Whether or not to add -lc for building shared libraries.
18692 build_libtool_need_lc=$archive_cmds_need_lc_FC
18694 # Whether or not to disallow shared libs when runtime libs are static.
18695 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
18697 # Compiler flag to allow reflexive dlopens.
18698 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
18700 # Compiler flag to generate shared objects directly from archives.
18701 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
18703 # Whether the compiler copes with passing no objects directly.
18704 compiler_needs_object=$lt_compiler_needs_object_FC
18706 # Create an old-style archive from a shared archive.
18707 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
18709 # Create a temporary old-style archive to link instead of a shared archive.
18710 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
18712 # Commands used to build a shared archive.
18713 archive_cmds=$lt_archive_cmds_FC
18714 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
18716 # Commands used to build a loadable module if different from building
18717 # a shared archive.
18718 module_cmds=$lt_module_cmds_FC
18719 module_expsym_cmds=$lt_module_expsym_cmds_FC
18721 # Whether we are building with GNU ld or not.
18722 with_gnu_ld=$lt_with_gnu_ld_FC
18724 # Flag that allows shared libraries with undefined symbols to be built.
18725 allow_undefined_flag=$lt_allow_undefined_flag_FC
18727 # Flag that enforces no undefined symbols.
18728 no_undefined_flag=$lt_no_undefined_flag_FC
18730 # Flag to hardcode \$libdir into a binary during linking.
18731 # This must work even if \$libdir does not exist
18732 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
18734 # If ld is used when linking, flag to hardcode \$libdir into a binary
18735 # during linking. This must work even if \$libdir does not exist.
18736 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
18738 # Whether we need a single "-rpath" flag with a separated argument.
18739 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
18741 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18742 # DIR into the resulting binary.
18743 hardcode_direct=$hardcode_direct_FC
18745 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18746 # DIR into the resulting binary and the resulting library dependency is
18747 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18748 # library is relocated.
18749 hardcode_direct_absolute=$hardcode_direct_absolute_FC
18751 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18752 # into the resulting binary.
18753 hardcode_minus_L=$hardcode_minus_L_FC
18755 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18756 # into the resulting binary.
18757 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
18759 # Set to "yes" if building a shared library automatically hardcodes DIR
18760 # into the library and all subsequent libraries and executables linked
18762 hardcode_automatic=$hardcode_automatic_FC
18764 # Set to yes if linker adds runtime paths of dependent libraries
18765 # to runtime path list.
18766 inherit_rpath=$inherit_rpath_FC
18768 # Whether libtool must link a program against all its dependency libraries.
18769 link_all_deplibs=$link_all_deplibs_FC
18771 # Fix the shell variable \$srcfile for the compiler.
18772 fix_srcfile_path=$lt_fix_srcfile_path_FC
18774 # Set to "yes" if exported symbols are required.
18775 always_export_symbols=$always_export_symbols_FC
18777 # The commands to list exported symbols.
18778 export_symbols_cmds=$lt_export_symbols_cmds_FC
18780 # Symbols that should not be listed in the preloaded symbols.
18781 exclude_expsyms=$lt_exclude_expsyms_FC
18783 # Symbols that must always be exported.
18784 include_expsyms=$lt_include_expsyms_FC
18786 # Commands necessary for linking programs (against libraries) with templates.
18787 prelink_cmds=$lt_prelink_cmds_FC
18789 # Specify filename containing input files.
18790 file_list_spec=$lt_file_list_spec_FC
18792 # How to hardcode a shared library path into an executable.
18793 hardcode_action=$hardcode_action_FC
18795 # The directories searched by this compiler when creating a shared library.
18796 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
18798 # Dependencies to place before and after the objects being linked to
18799 # create a shared library.
18800 predep_objects=$lt_predep_objects_FC
18801 postdep_objects=$lt_postdep_objects_FC
18802 predeps=$lt_predeps_FC
18803 postdeps=$lt_postdeps_FC
18805 # The library search path used internally by the compiler when linking
18806 # a shared library.
18807 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
18809 # ### END LIBTOOL TAG CONFIG: FC
18814 if test "$GCC" = yes; then
18815 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
18817 echo "/* generated for $CC */" > tmp-stdint.h
18820 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18822 #ifndef GCC_GENERATED_STDINT_H
18823 #define GCC_GENERATED_STDINT_H 1
18825 #include <sys/types.h>
18828 if test "$acx_cv_header_stdint" != stdint.h
; then
18829 echo "#include <stddef.h>" >> tmp-stdint.h
18831 if test "$acx_cv_header_stdint" != stddef.h
; then
18832 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
18835 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18836 /* glibc uses these symbols as guards to prevent redefinitions. */
18837 #ifdef __int8_t_defined
18842 #ifdef __uint32_t_defined
18848 # ----------------- done header, emit basic int types -------------
18849 if test "$acx_cv_header_stdint" = stddef.h
; then
18850 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18854 #ifndef __uint8_t_defined
18855 #define __uint8_t_defined
18856 typedef unsigned $acx_cv_type_int8_t uint8_t;
18862 #ifndef __uint16_t_defined
18863 #define __uint16_t_defined
18864 typedef unsigned $acx_cv_type_int16_t uint16_t;
18870 #ifndef __uint32_t_defined
18871 #define __uint32_t_defined
18872 typedef unsigned $acx_cv_type_int32_t uint32_t;
18878 #ifndef __int8_t_defined
18879 #define __int8_t_defined
18880 typedef $acx_cv_type_int8_t int8_t;
18886 #ifndef __int16_t_defined
18887 #define __int16_t_defined
18888 typedef $acx_cv_type_int16_t int16_t;
18894 #ifndef __int32_t_defined
18895 #define __int32_t_defined
18896 typedef $acx_cv_type_int32_t int32_t;
18900 elif test "$ac_cv_type_u_int32_t" = yes; then
18901 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18903 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
18916 #ifndef __uint8_t_defined
18917 #define __uint8_t_defined
18918 typedef u_int8_t uint8_t;
18924 #ifndef __uint16_t_defined
18925 #define __uint16_t_defined
18926 typedef u_int16_t uint16_t;
18932 #ifndef __uint32_t_defined
18933 #define __uint32_t_defined
18934 typedef u_int32_t uint32_t;
18939 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18941 /* Some systems have guard macros to prevent redefinitions, define them. */
18963 # ------------- done basic int types, emit int64_t types ------------
18964 if test "$ac_cv_type_uint64_t" = yes; then
18965 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18967 /* system headers have good uint64_t and int64_t */
18975 elif test "$ac_cv_type_u_int64_t" = yes; then
18976 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18978 /* system headers have an u_int64_t (and int64_t) */
18984 #ifndef __uint64_t_defined
18985 #define __uint64_t_defined
18986 typedef u_int64_t uint64_t;
18990 elif test -n "$acx_cv_type_int64_t"; then
18991 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18993 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
18996 typedef $acx_cv_type_int64_t int64_t;
19000 #ifndef __uint64_t_defined
19001 #define __uint64_t_defined
19002 typedef unsigned $acx_cv_type_int64_t uint64_t;
19007 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19009 /* some common heuristics for int64_t, using compiler-specific tests */
19010 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19013 #ifndef __int64_t_defined
19014 typedef long long int64_t;
19019 typedef unsigned long long uint64_t;
19022 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19023 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19024 does not implement __extension__. But that compiler doesn't define
19026 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19027 # define __extension__
19032 __extension__ typedef long long int64_t;
19036 __extension__ typedef unsigned long long uint64_t;
19039 #elif !defined __STRICT_ANSI__
19040 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19044 typedef __int64 int64_t;
19048 typedef unsigned __int64 uint64_t;
19050 # endif /* compiler */
19052 #endif /* ANSI version */
19056 # ------------- done int64_t types, emit intptr types ------------
19057 if test "$ac_cv_type_uintptr_t" != yes; then
19058 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19060 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19061 #ifndef __uintptr_t_defined
19062 typedef u$acx_cv_type_intptr_t uintptr_t;
19064 #ifndef __intptr_t_defined
19065 typedef $acx_cv_type_intptr_t intptr_t;
19070 # ------------- done intptr types, emit int_least types ------------
19071 if test "$ac_cv_type_int_least32_t" != yes; then
19072 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19074 /* Define int_least types */
19075 typedef int8_t int_least8_t;
19076 typedef int16_t int_least16_t;
19077 typedef int32_t int_least32_t;
19079 typedef int64_t int_least64_t;
19082 typedef uint8_t uint_least8_t;
19083 typedef uint16_t uint_least16_t;
19084 typedef uint32_t uint_least32_t;
19086 typedef uint64_t uint_least64_t;
19091 # ------------- done intptr types, emit int_fast types ------------
19092 if test "$ac_cv_type_int_fast32_t" != yes; then
19093 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19095 /* Define int_fast types. short is often slow */
19096 typedef int8_t int_fast8_t;
19097 typedef int int_fast16_t;
19098 typedef int32_t int_fast32_t;
19100 typedef int64_t int_fast64_t;
19103 typedef uint8_t uint_fast8_t;
19104 typedef unsigned int uint_fast16_t;
19105 typedef uint32_t uint_fast32_t;
19107 typedef uint64_t uint_fast64_t;
19112 if test "$ac_cv_type_uintmax_t" != yes; then
19113 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19115 /* Define intmax based on what we found */
19117 typedef int64_t intmax_t;
19119 typedef long intmax_t;
19122 typedef uint64_t uintmax_t;
19124 typedef unsigned long uintmax_t;
19129 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19131 #endif /* GCC_GENERATED_STDINT_H */
19134 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19137 mv -f tmp-stdint.h gstdint.h
19148 ac_clean_files
=$ac_clean_files_save
19150 test $ac_write_fail = 0 ||
19151 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19154 # configure is writing to config.log, and then calls config.status.
19155 # config.status does its own redirection, appending to config.log.
19156 # Unfortunately, on DOS this fails, as config.log is still kept open
19157 # by configure, so config.status won't be able to write to it; its
19158 # output is simply discarded. So we exec the FD to /dev/null,
19159 # effectively closing config.log, so it can be properly (re)opened and
19160 # appended to by config.status. When coming back to configure, we
19161 # need to make the FD available again.
19162 if test "$no_create" != yes; then
19164 ac_config_status_args
=
19165 test "$silent" = yes &&
19166 ac_config_status_args
="$ac_config_status_args --quiet"
19168 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19170 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19171 # would make configure fail if this is the last instruction.
19172 $ac_cs_success || as_fn_exit $?
19174 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19176 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}